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

994 Commits

Author SHA1 Message Date
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
Hinnerk van Bruinehsen
4b68b9e547 lint: fix redundantAssignment warnings
SQUASH ME: redundantAssignment (remove FAT stuff)

SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
ec98c85a05 lint: fix unusedVariable warnings
SQUASH ME: into unusedVariable (annotated)

SQUASH ME: into unusedVariable (II)

SQUASH ME: into unreadVariable (II)
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
2103249815 lint: fix unassignedVariable warnings in stm32f1 2014-10-31 01:24:28 +01:00
Hauke Petersen
56062b0f23 Merge pull request #1872 from thomaseichinger/stm32f1-i2c-multibyte-fix
cpu/stm32f1: fix i2c master read for N=2 and N>2 bytes
2014-10-30 23:24:00 +01:00
Hauke Petersen
64c5ee3322 cpu/nrf51822: made syscalls aware of uart0 2014-10-30 21:51:31 +01:00
Hauke Petersen
2bab8aed2e cpu/nrf51822: added interrupt mode to UART driver 2014-10-30 21:51:31 +01:00
Hauke Petersen
e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Thomas Eichinger
a11e4fe534 Merge pull request #1712 from haukepetersen/fix_stm32f0_hardfault
cpu/stm32f0: fixed hardfault indication
2014-10-30 19:05:04 +01:00
Oleg Hahm
eb40993d8b native: remove obsolete line 2014-10-30 16:37:10 +01:00
Oleg Hahm
9a61d8cf1c core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
Hauke Petersen
a51bfeb5d7 SQUASH: cpu/f4: changed order of irq enabling seq 2014-10-30 13:59:19 +01:00
Hauke Petersen
a057f3aa74 SQUASH: cpu: fixed some typos 2014-10-30 13:59:19 +01:00
Hauke Petersen
4546a87ded cpu/stm32f4: optimized GPIO driver implementation 2014-10-30 13:59:19 +01:00
Hauke Petersen
4d97f1752b cpu/sam3x8e: fixed style in startup.c 2014-10-30 13:53:44 +01:00
Hauke Petersen
e71d37ba05 cpu/sam3x8e: added output to isr_hard_fault 2014-10-30 13:52:56 +01:00
Hauke Petersen
8b992d03c2 cpu/sam3x8e: put PendSV IRQ to lowest prio 2014-10-30 13:50:12 +01:00
Hauke Petersen
a4d7ee8d4d cpu/sam3x8e: fixes to timer driver
- renamed config variable
- placed thread_yield() correctly
2014-10-30 13:50:12 +01:00
Ludwig Ortmann
4545c15f70 native: inrease default transceiver buffer 2014-10-30 13:20:51 +01:00
Ludwig Ortmann
5d606b676d native: set net buffer defaults conditionally 2014-10-30 13:20:45 +01:00
Ludwig Ortmann
7bcf896ec6 native: add and use callback type 2014-10-30 12:11:22 +01:00
Ludwig Ortmann
245df3f028 cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
ebc122bff1 cpu/arm_common: purge FEUERWARE_CONF_ENABLE_HAL 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
f30ce433fc board/avsextrem, cpu/lpc2387: purge FEUERWARE_CONF_CPU_NAME 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
c006c69218 cpu/lpc2387: purge FEUERWARE_CONF_CORE_SUPPORTS_TIME 2014-10-28 18:04:26 +01:00
Thomas Eichinger
b756534a58 Merge pull request #1874 from locicontrols/cc2538-oe
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-28 16:43:50 +01:00
Ian Martin
81dea364a5 cpu/cc2538: sbrk() checks if the requested memory is really available. 2014-10-27 20:00:52 -04:00
Ludwig Ortmann
c540c8a3a9 cpu/mc1322x: fix mc1322x-adc.h cpp compatability 2014-10-27 16:36:43 +01:00
Ludwig Ortmann
5dbab29df0 cpu/mc1322x: fix mc1322x-adc.h license 2014-10-27 16:34:24 +01:00
Ludwig Ortmann
324a57a914 cpu/mc1322x: rename adc header to mc1322x-adc 2014-10-25 17:11:18 +02:00