1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

1023 Commits

Author SHA1 Message Date
Kévin Roussel
25ac0db606 Robust use of TimerA for 'hwtimer' module 2014-12-19 10:53:12 +01:00
Oleg Hahm
a17d89fbed Merge pull request #1619 from rousselk/msp430-hwtimer-16bit
Only use 16 significative bits for MSP430 hwtimers
2014-12-18 18:49:02 +01:00
bapclenet
55aabf9dfb cpu/samd21: add rtc periph implementation 2014-12-18 15:25:49 +01:00
Thomas Eichinger
ca53077e3c Merge pull request #1998 from Troels51/samr21-hwtimer-fix
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Troels Hoffmeyer
7124ec6258 samr21: implemented 32 bit hwtimer 2014-12-17 14:44:54 +01:00
Kévin Roussel
1fb12b770e Reduce variable scope in init function 2014-12-17 12:21:16 +01:00
Kévin Roussel
d101b30dd8 Make hwtimer_spin() work even with interrupts disabled
by using only 16 significative bits on MSP430 hardware timers
2014-12-17 12:21:07 +01:00
Thomas Eichinger
5689a7d218 Merge pull request #1997 from Troels51/samr21-transceiver-port
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Joakim Gebart
390b8394d6 msba2: Use --gc-sections when linking.
- Add `-Wl,--gc-sections` to LDFLAGS
 - Add `-fdata-sections` and `-ffunction-sections` to CFLAGS
 - Update lpc2387 linker script to keep the isr vector and init
   sections when garbage collecting.
 - Keep .ctors and .dtors sections (similar to what binutils default
   linker script does when building for Linux targets)

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2014-12-17 11:37:58 +01:00
Hauke Petersen
765c4f38e5 Merge pull request #2201 from BytesGalore/mbed_lpc1768_uartUSB
board/mbed_lpc1768 changed the serial device to UART0
2014-12-17 10:35:03 +01:00
BytesGalore
c40e5267a6 board/mbed_lpc1768 changed the serial device to UART0
-> enables USB/serial communication
2014-12-17 07:27:28 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
849580a9c9 cpu: lpc2387: further rtc cleanup 2014-12-16 17:02:44 +01:00
Oleg Hahm
587920cc49 cpu: remove superfluous gettimeofday functions 2014-12-16 17:02:44 +01:00
Oleg Hahm
93cf446b55 rtc: cleanup of lpc2387-rtc implementation 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Hauke Petersen
78eed22dd2 cpu/lpc1768: added basic timer implementation 2014-12-16 16:57:31 +01:00
Ludwig Ortmann
2ec0a1ca02 native/rtc: apply naming conventions 2014-12-16 15:46:56 +01:00
Ludwig Ortmann
474c8afd93 native/rtc: define ENABLE_DEBUG, move include 2014-12-16 15:41:51 +01:00
Thomas Eichinger
29c5822e02 Merge pull request #2016 from bapclenet/master
cpu/samd21: I2C driver implementation (Master mode)
2014-12-15 16:58:19 +01:00
Ludwig Ortmann
f35981a6d7 native/rtc: improve implementation
* add error checking / warnings
* implement parts of alarm functionality
* clean up
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
37a1a105bc native/rtc: clean up documentation 2014-12-13 15:21:52 +01:00
Ludwig Ortmann
c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Oleg Hahm
e79e00ef7f doc: add documentation for packet format in mc1322x 2014-12-11 17:26:26 +01:00
bapclenet
54fb0f0610 cpu/samd21: add i2c periph implementation 2014-12-11 08:32:27 +01:00
Hauke Petersen
67b4dfd89d cpu/lpc1768: added basic UART driver 2014-12-08 19:48:20 +01:00
Ludwig Ortmann
0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Oleg Hahm
a5dc951ef2 doc: fix doxygen group for cc2538 memory map 2014-12-06 14:32:22 +01:00
Oleg Hahm
04b67f1ff0 doc: avr cleanup 2014-12-06 01:12:31 +01:00
Oleg Hahm
cd81c040d8 uart0: remove superfluous prototype from header
Declare and document prototype in CPU part instead.
2014-12-05 20:33:10 +01:00
Oleg Hahm
000450c894 Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e doc: fix remaining doxygen warnings 2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de doc: fixed broken doxygen references 2014-12-04 17:16:57 +01:00
Ludwig Ortmann
015f5598e4 native: cleanup irq_cpu, native_cpu debug output 2014-12-04 10:48:15 +01:00
Ludwig Ortmann
eb2cc522cd native: forced debug message for SIGUSR1 2014-12-04 10:38:12 +01:00
Ian Martin
58e413afce cpu/cc2538: add eh_frame section to the linkerscript
Fixes linker errors on some toolchains, for example:
  ld: foo.elf section `.eh_frame' will not fit in region `cca'
  ld: region `cca' overflowed by 40 bytes
2014-12-03 11:41:59 -05:00
Oleg Hahm
42436c9c37 Merge pull request #2120 from OlegHahm/fix_1235
native: removing externs from native tramp
2014-12-03 16:40:45 +01:00
Oleg Hahm
54bdc35ac8 native: removing externs from native tramp 2014-12-03 15:50:53 +01:00
Peter Kietzmann
8c189ce56e Merge pull request #2127 from thomaseichinger/stm32f1-fix-TIMER_1
cpu/stm32f1: use correct timer device in timer interrupt
2014-12-03 14:35:25 +01:00
Thomas Eichinger
18647bb5ac cpu/stm32f1: use correct timer device in timer interrupt 2014-12-03 13:28:55 +01:00
Martin
bfaacbbd38 cpu/arm_common: c++: initial support for c++ added _kill (weak) and weak attribute for _kill_r
boards/msba2: provided c++ feature (cpp)
2014-12-03 07:30:29 +01:00
Oleg Hahm
17929a5ce4 cpu: lpc2387: integrated lpc_common into lpc2387
Rationale 1: The common part made only sense for (some) NXP ARM7 MCUs,
but was misleading for MCUs like the LPC1768.

Rationale 2: The common part was only used by one specific MCU
implementation - no need to outsource it.
2014-12-02 17:47:10 +01:00
Oleg Hahm
0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 2014-12-02 17:46:57 +01:00
Fabian Nack
dc658f8be0 boards - msbiot: prepare msbiot for new cc110x driver 2014-12-01 17:14:09 +01:00
Oleg Hahm
d92e9af91c doc: fixed broken param descriptions 2014-11-30 22:34:50 +01:00
Oleg Hahm
953a21b7a5 doc: remove doxygen duplication 2014-11-30 21:46:31 +01:00
Oleg Hahm
f8ecbf2a0a doc: add to group instead of redefining 2014-11-30 21:45:24 +01:00
Oleg Hahm
fc7606a94b doc: use doxygen li tags 2014-11-30 21:39:53 +01:00
Oleg Hahm
c5395342dc doc: use @false instead of 0 2014-11-30 21:36:04 +01:00
Oleg Hahm
df9c09d946 doc: fixed typos and other misspellings 2014-11-30 21:32:12 +01:00
Oleg Hahm
cc73296d43 doc: added missing titles 2014-11-30 21:22:52 +01:00
Oleg Hahm
d3d68c876f doc: use @brief for single defines 2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884 doc: added missing closing doxygen brackets 2014-11-30 21:16:41 +01:00
Ludwig Ortmann
d11238a5ab native: fix some debug messages
`name` isn't part of `tcb_t` anymore, also some function identified itself
wrongly.
2014-11-28 15:37:28 +01:00
DangNhat Pham-Huu
3e86b86472 Merge pull request #2083 from dangnhat/added_externc_for_missed_header
cpu/cc2538: added extern C for rfcore.h
2014-11-27 20:38:31 +07:00
Peter Kietzmann
ea77608297 Merge pull request #2097 from haukepetersen/fix_stm32f0_spinbarrier
cpu/stm32f0: set hwtimer spin barrier value
2014-11-27 08:32:41 +01:00
Hauke Petersen
3026e55c14 Merge pull request #1868 from haukepetersen/fix_stm32f4_gpiootp
cpu/stm32f4: optimized GPIO driver implementation
2014-11-26 23:40:50 +01:00
Hauke Petersen
36b3b9b457 cpu/stm32f0: set hwtimer spin barrier value 2014-11-26 18:40:17 +01:00
Hauke Petersen
f1fda21ab7 Merge pull request #2018 from brummer-simon/devel-dac_driver
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
Hauke Petersen
426060875c cpu/stm32f3: added low-level PWM driver 2014-11-26 16:56:59 +01:00
Ludwig Ortmann
50ec8d10c9 Merge pull request #2029 from LudwigOrtmann/native-more-syscalls
native: more syscalls
2014-11-26 10:47:27 +01:00
Christian Mehlis
3cd370ff6b Merge pull request #2005 from haukepetersen/fix_nrf_enablehfclk
cpu/nrf51822: added HFCLK initialization
2014-11-25 23:41:34 +01:00
Ludwig Ortmann
00092e8308 native: add time syscalls 2014-11-25 22:47:27 +01:00
Ludwig Ortmann
4de10a2ecb native: coding conventions 2014-11-25 22:47:27 +01:00
Ludwig Ortmann
7901d24053 native: add missing syscall declarations 2014-11-25 22:47:26 +01:00
Simon Brummer
5a4b966d9c Basic DAC Driver, implementation on stm32f4discovery 2014-11-25 22:37:32 +01:00
Thomas Eichinger
b5071385db Merge pull request #2036 from haukepetersen/fix_openmote_cpp
boards: enable C++ for CC2538 based boards
2014-11-25 18:57:40 +01:00
Pham Huu Dang Nhat
964d96e362 cpu/cc2538: added extern C for rfcore.h 2014-11-25 22:10:36 +07:00
DangNhat Pham-Huu
785fc1f5a8 Merge pull request #1803 from BytesGalore/extern_C_in_headers_cpus
cpu: added `extern "C"` to headers
2014-11-25 08:49:57 +07:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
René Kijewski
f258c3e7ac nrf51822: Suppress unused argument warnings 2014-11-24 18:43:14 +01:00
René Kijewski
7d7002305d nrf51822: error was not checked b/c of wrong signedness 2014-11-24 16:23:58 +01:00
René Kijewski
96fe9f012c nrf51822: Fix indentation in lpm_arch.c 2014-11-24 16:23:58 +01:00
René Kijewski
6f8377cf26 nrf51822: test arguments for read/write even in stubs 2014-11-24 16:23:58 +01:00
Thomas Eichinger
57470eb77e Merge pull request #2065 from LudwigOrtmann/issue-392
license header + pattern cleanup
2014-11-24 10:36:16 +01:00
Oleg Hahm
5e2b43452c cpu: arm7_common: added extern C guards 2014-11-21 21:00:52 +01:00
Oleg Hahm
20ce2aee8b cpu: rename arm_common to arm7_common
To be more accurate with the naming and avoid confusions.
2014-11-21 20:27:19 +01:00
Ludwig Ortmann
01800f15f5 cpu/board: update stale redbee license headers 2014-11-21 15:18:11 +01:00
Oleg Hahm
10a4540f2d license: added missing license for msp430 time.h 2014-11-21 15:10:19 +01:00
Hauke Petersen
2220a9fab0 core/cpu/boards: removed fw_puts from RIOT 2014-11-21 13:09:02 +01:00
Hauke Petersen
7ca2f9ccc8 Merge pull request #2047 from haukepetersen/fix_cortex_reboot
cpu: fixed and moved reboot_arch for cortex cpus
2014-11-21 12:56:41 +01:00
Hauke Petersen
f5480234c3 cpu/cc2538: made _kill(_r) syscalls weak 2014-11-21 11:43:21 +01:00
Hauke Petersen
9214990aee cpu/lpc1768: heavy clean-up of existing code
- moved to new port structure
- rewrote startup code
- added implementation dummies for UART and timer
- switched to atmel linkerscript
- cleaned up Makefiles
2014-11-20 17:40:57 +01:00
Hauke Petersen
1e863a322d cpu/cortex-mX_common: added delay to reboot_arch 2014-11-20 17:22:39 +01:00
Hauke Petersen
5600d86253 cpu/cortex-mX_common: fixed reboot_arch return val 2014-11-20 17:22:39 +01:00
Hauke Petersen
62b6522e01 cpu: moved reboot_arch for cortex cpus 2014-11-20 17:22:39 +01:00
PeterKietzmann
6d091245a4 Initial import of i2c lowlevel driver for stm32f4 2014-11-20 14:46:13 +01:00
Hauke Petersen
58fffcb50f Merge pull request #2030 from haukepetersen/fix_nrf_cpp
boards: added C++ support for NRF51822 based boards
2014-11-19 15:59:42 +01:00
Hauke Petersen
ebf572d2d3 cpu/nrf51822: added made _kill(_r) syscall weak 2014-11-19 15:40:28 +01:00
Ludwig Ortmann
6eaaac6372 Merge pull request #2041 from LudwigOrtmann/native-random
native: peripheral random interface
2014-11-19 06:25:39 -08:00
Ludwig Ortmann
adb24b06b8 native: add random peripheral implementation 2014-11-19 14:26:58 +01:00
Ludwig Ortmann
d8641ff525 native: add random syscalls 2014-11-19 14:26:58 +01:00
9ce0b676b4 core: sys: move ringbuffer to core 2014-11-19 14:18:39 +01:00
Oleg Hahm
73dddfb601 Merge pull request #1635 from thomaseichinger/import_agilefox
boards: initial import for HiKoB Agilefox
2014-11-18 19:44:24 +01:00
Hauke Petersen
cff1dfc32d Merge pull request #2034 from haukepetersen/fix_mbed_cpp
board/mbed_lpc1768: enabled C++ support
2014-11-18 19:43:42 +01:00
Hauke Petersen
92f5b150b6 cpu/lpc1768: made _kill(_r) syscalls weak 2014-11-18 18:34:30 +01:00
Hauke Petersen
e7f2e04a6a cpu/sam3x8e: made _kill(_r) syscalls weak 2014-11-18 18:10:15 +01:00
Thomas Eichinger
256ce73d2c boards: initial import for HiKoB fox 2014-11-18 17:24:47 +01:00
Hauke Petersen
594d9251c9 Merge pull request #1987 from BytesGalore/EasyCPPMixing_stm32f0discovery_support_fix
cpu/stm32f0 C++ stmf0discovery support fix
2014-11-17 18:21:19 +01:00
Hauke Petersen
d1e57faf34 Merge pull request #1994 from BytesGalore/EasyCPPMixing_samr21_xpro_support_fix
cpu/samd21 C++ samr21-xpro support fix
2014-11-17 18:20:50 +01:00
Martine Lenders
d4e651ad8b Merge pull request #2015 from LudwigOrtmann/native_real-accept
native: add missing syscall declarations
2014-11-17 17:40:32 +01:00
Ludwig Ortmann
8d2a5b22b4 native: add daemonize argv filter
When daemonizing, only the first instance should do so.
2014-11-17 12:51:42 +01:00
Hauke Petersen
bb347e0a30 Merge pull request #1989 from BytesGalore/EasyCPPMixing_stm32f3discovery_support_fix
cpu/stm32f3 C++ stm32f3discovery support fix
2014-11-17 11:21:04 +01:00
Ludwig Ortmann
42e43d5e12 FIXUP: remove erroneous comment 2014-11-17 09:56:03 +01:00
Christian Mehlis
d56ebcbff2 Merge pull request #1932 from haukepetersen/fix_nrf_isrstacksize
cpu/nrf51822: changed ISR stack size to 512 byte
2014-11-16 17:44:20 +01:00
Ludwig Ortmann
acaa6481cb native: add more syscall declarations 2014-11-14 20:52:17 +01:00
Ludwig Ortmann
a1b530a98d native: shutdown -> native_shutdown 2014-11-14 20:51:34 +01:00
Ludwig Ortmann
641cb4c488 native: add accept syscall declaration 2014-11-14 17:49:56 +01:00
BytesGalore
8060825c81 cpu/stm32f3: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/stm32f3discovery: provided c++ feature (cpp)
2014-11-14 13:26:15 +01:00
BytesGalore
3154bc8bc5 cpu/stm32f0: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/stm32f0discovery: provided c++ feature (cpp)
2014-11-14 13:25:02 +01:00
BytesGalore
ae3492b017 cpu/samd12: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/samr21-xpro: provided c++ feature (cpp)
2014-11-14 13:20:54 +01:00
Hauke Petersen
6b33ff1a31 Merge pull request #2004 from dangnhat/cpp_for_iot_lab_m3
iot-lab_m3: C++ support
2014-11-14 13:00:49 +01:00
BytesGalore
0de260f5a2 Merge pull request #1985 from BytesGalore/EasyCPPMixing_stm32f4discovery_support_fix
squashed, changed comment and go.
2014-11-14 12:53:22 +01:00
BytesGalore
8c5418e9e5 initial support for c++ for this cpu/board 2014-11-14 11:19:34 +01:00
Pham Huu Dang Nhat
df192b0f25 cpu/stm32f1: c++: added _kill (weak) and weak attribute for _kill_r 2014-11-14 16:55:30 +07:00
Thomas Eichinger
2b0d49c8b1 Merge pull request #1954 from haukepetersen/fix_cortex_irqstacksize
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-14 10:50:51 +01:00
Thomas Eichinger
2382a4d320 native: fix Makefiles for OSX 2014-11-13 16:00:52 +01:00
Hauke Petersen
a3061bccc2 Merge pull request #1827 from haukepetersen/fix_nrf_timer
cpu/nrf51822: fixed timers
2014-11-12 13:21:44 +01:00
Hauke Petersen
2278e72952 cpu/nrf51822: added HFCLK initialization 2014-11-12 13:17:13 +01:00
Hauke Petersen
dc79675888 cpu/sam3x8e: made UART0 work by editing syscalls 2014-11-11 13:05:43 +01:00
Hauke Petersen
3c9c95f7b1 cpu/sam3x8e: added interrupt mode to uart driver 2014-11-11 13:05:02 +01:00
René Kijewski
fdb1190cfa avr: define ssize_t 2014-11-11 10:45:56 +01:00
Ian Martin
7bbdbcc7cb Allow the application's makefile to specify a custom linker script, for example:
LINKERSCRIPT = custom-linkerscript.ld
2014-11-10 14:28:35 -05:00
Oleg Hahm
037571445c Merge pull request #1974 from OlegHahm/cleanup_licenses
licenses: fix miss-spelled & missing boiler plates
2014-11-10 19:53:40 +01:00
Oleg Hahm
39abba1bc2 licenses: fix miss-spelled & missing boiler plates 2014-11-10 18:59:55 +01:00
Hauke Petersen
6cc4a7a6eb Merge pull request #1956 from haukepetersen/fix_stm32f0_timer
cpu/stm32f0: fixed low-level timer driver
2014-11-10 13:58:41 +01:00
Martine Lenders
bbeb4941fa nativenet: add missing include 2014-11-10 05:19:28 +01:00
Hauke Petersen
65520865b1 cpu/stm32f1: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Hauke Petersen
636287a1aa cpu/nrf51822: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Hauke Petersen
19a95bbfbe cpu/stm32f0: fixed low-level timer driver 2014-11-06 17:23:26 +01:00
Hauke Petersen
72b68bc9f0 cpu: adjusted IRQ stack sizes for Cortex CPUs 2014-11-06 15:16:33 +01:00
Thomas Eichinger
d43367e0a2 cpu/stm32f1: fix wrong bit operation in SPI init 2014-11-06 15:09:35 +01:00
benpicco
cedc588d77 Merge pull request #1782 from benpicco/fix_malloc
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Benjamin Valentin
879768397e malloc: check if the requested memory is really available 2014-11-05 12:11:24 +01:00
Hauke Petersen
ac2ff23020 cpu/stm32f1: fixes to i2c driver
- fixes BUSY on initialization
2014-11-04 21:09:40 +01:00
Hauke Petersen
1b1f44c899 cpu/nrf51822: fixed timers
- changed TIMER_0 to be a 24-bit timer -> see Nordic PAN #32
- cleaned up timer initialization code
- added check if an interrupt channel was active
2014-11-04 18:18:23 +01:00
Hauke Petersen
505e184ee5 cpu/nrf51822: changed ISR stack size to 512 byte 2014-11-04 14:50:44 +01:00
Thomas Eichinger
76d0d6c4a2 cpu/stm32f1: fixes for the cpuid driver 2014-11-04 13:11:30 +01:00
Ian Martin
b37698a064 cpu/cc2538: Enable the CC2538's more compact alternate interrupt mapping. 2014-11-03 14:17:00 -05:00
Benjamin Valentin
73f6ac6bce Revert "cpu/cc2538: sbrk() checks if the requested memory is really available."
This reverts commit 81dea364a5.
2014-11-03 18:46:49 +01:00
Christian Mehlis
f3b1753ac7 added spark core board 2014-11-02 14:36:42 +01:00
Hauke Petersen
13a417d02a cpu/stm32f0: optimized GPIO driver implementation 2014-10-31 14:00:46 +01:00
Hinnerk van Bruinehsen
0e065cff2c lint: fix va_end_missing in cpu/native/syscalls.c 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
9ba980dfd9 cpu: stm32f1 spi: fix typos 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
145d345edf lint: fix syntaxError warning 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
e3aa222d6c lint: fix nullPointer errors 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
aca4724447 lint: fix warnings of possible nullPointer dereferences 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00