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

1732 Commits

Author SHA1 Message Date
a22f0a3c78 cpu: msp430*: remove obsolete hwtimer_compat dependency 2015-09-16 10:58:54 +02:00
832539fc88 cpu: cc430: remove hwtimer support, switch gpioint to xtimer 2015-09-16 10:58:53 +02:00
87d2596819 cpu: cc430: make adc use xtimer 2015-09-16 10:58:53 +02:00
9d088bb3d7 cpu: lpc2387: mci: use xwtimer 2015-09-16 10:58:53 +02:00
4e8bf2cb69 cpu: native: remove hwtimer traces 2015-09-16 10:58:53 +02:00
48b21f00c3 cpu: x86: remove obsolete hwtimer support 2015-09-16 10:58:53 +02:00
b0893a99ba cpu: lpc2387: adc: use xtimer 2015-09-16 10:58:53 +02:00
2cd4a80054 cpu: native: minor timer-related doxygen updates 2015-09-16 10:58:53 +02:00
012d82ecaf cpu: arm7_common: remove obsolete hwtimer support 2015-09-16 10:58:53 +02:00
8c147f1e3c cpu: cc2538: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
d239f3c4fd cpu: k60: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
c0d3524132 cpu: kinetis_common: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
16e19f3975 cpu: lm4f120: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
8b46d1dfc4 cpu: lpc1768: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
c3fa148256 cpu: msp430-common: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
ea2013ff16 cpu: nrf51: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
90c1e7ce74 cpu: sam3: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
889991503e cpu: saml21: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
9d75b2f2d9 cpu: stm32f0: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
d7a4f90e69 cpu: stm32f1: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
3e0bcd45c5 cpu: stm32f3: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
01f87b9df0 cpu: stm32f4: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
8e475fa57d cpu: stm32l1: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
41dff1052e cpu: x86: remove obsolete hwtimer support 2015-09-16 10:58:52 +02:00
d82ca16b5a cpu: atmega2560: drop obsolete hwtimer support 2015-09-16 10:58:52 +02:00
a23169b831 cpu: stmf32f1: remove obsolete hwtimer_compat dependency 2015-09-16 10:58:51 +02:00
391bc02c06 cpu: cortexm_common: busywait before resetting 2015-09-16 10:58:51 +02:00
dd9de14e49 cpu: samd21: remove hwtimer support 2015-09-16 10:58:51 +02:00
fb773bf90a cpu: native: remove hwtimer_compat dependency 2015-09-16 10:58:51 +02:00
Peter Kietzmann
0f740f611c Merge pull request #3829 from DipSwitch/spi_set_pin_speed
cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed
2015-09-16 10:23:43 +02:00
dd87073a60 Merge pull request #3826 from OlegHahm/netdev2_tap_buffer_size
netdev2_tap: set maximum buffer size correctly
2015-09-15 13:23:28 +02:00
Hauke Petersen
1a29163b63 cpu/samd21: optimized UART implementation 2015-09-14 17:20:01 +02:00
bd27feefec cpu: atmega2560: simplify periph/timer implementation 2015-09-14 10:47:35 +02:00
7fcb2b718e cpu: atmega: implement irq_arch_in 2015-09-14 10:47:28 +02:00
Martine Lenders
93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
DipSwitch
1fe296d707 cpu/stm32l1-f0/spi: Configure the SPI pins as highspeed 2015-09-12 12:47:32 +02:00
Oleg Hahm
49917a5797 core: cpu: fix check for DEVELHELP 2015-09-12 12:43:15 +02:00
Oleg Hahm
fd121a94e6 netdev2_tap: set maximum buffer size correctly 2015-09-12 12:02:48 +02:00
Oleg Hahm
f3245cecac core: panic: last instruction's address for assert 2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b cpu: inline function to print instruction register 2015-09-11 23:23:31 +02:00
Oleg Hahm
143d613307 x86: added missing panic function 2015-09-11 16:09:28 +02:00
Martine Lenders
1c0cf3bf9c native: netdev2_tap: fix NETOPT_IS_WIRED flag 2015-09-11 13:11:33 +02:00
Thomas Eichinger
5a6bc8c284 Merge pull request #3569 from authmillenon/msp430/enh/use-log
msp430: use assert instead of printf
2015-09-11 12:47:15 +02:00
Hauke Petersen
a4d393eea3 cpu/stm32f4: fixed typo in prescaler for timer1 2015-09-08 16:22:24 +02:00
Peter Kietzmann
b4bd18e220 Merge pull request #3792 from haukepetersen/fix_stm32f3_gpio_debug
cpu/stm32f3: disable debug in GPIO driver
2015-09-07 21:49:34 +02:00
Peter Kietzmann
4e47e909ba Merge pull request #2799 from ReneHerthel/arduino_2560_gpio
Arduino-mega2560 GPIO implementation
2015-09-07 21:43:30 +02:00
Hauke Petersen
32cf5423a2 cpu/stm32f3: disable debug in GPIO driver 2015-09-07 18:13:00 +02:00
Hauke Petersen
92c8f279d9 Merge pull request #3725 from avmelnikoff/cpu/stm32f1
cpu/stm32f1: added stm32f103c8 linkerscript
2015-09-07 17:05:33 +02:00
René Herthel
d05151fdef cpu/mega2560: initial import of a gpio driver 2015-09-07 14:48:15 +02:00
344b56bca8 Merge pull request #3167 from haukepetersen/fix_native_stacksizes
cpu/native: adjusted stacksizes
2015-09-05 23:17:45 +02:00
efbd5518f6 cpu: stm32f1: timer: fix race when combining two 16bit timer values 2015-09-05 12:43:37 +02:00
Hauke Petersen
7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
2015-09-04 18:54:30 +02:00
48baf5ddcf Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
fe594126e6 cpu: x86: remove obsolete uart0 code 2015-09-04 17:47:01 +02:00
f433c9a5c7 cpu: msp430-common: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
087f11db09 cpu: lpc2387: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
d3006b171a cpu: cortexm_common: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
f2825d2b55 cpu: atmega2560: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
ab863cf831 cpu: x86: remove obsolete uart0 header include 2015-09-04 17:46:23 +02:00
0e4386a46f native: remove uart0 2015-09-04 17:46:23 +02:00
a13bc46f3e sys: remove uart0 2015-09-04 17:46:23 +02:00
Oleg Hahm
e2639d7f83 core: use enums for panic 2015-09-04 16:14:35 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
Hauke Petersen
56ffc5672c cpu/lpc2387: use hwtimer_compat module 2015-09-04 15:32:50 +02:00
Hauke Petersen
342d292889 cpu/lpc2387: added low-level timer implementation 2015-09-04 15:32:50 +02:00
128d9db0a5 Merge pull request #3766 from haukepetersen/rm_econotag
boards: removed support for redbee-econotag
2015-09-04 12:35:41 +02:00
Peter Kietzmann
ef000d46af Merge pull request #3426 from kaspar030/make_arduino-mega2560_use_uart_stdio
board: arduino-mega2560: use uart_stdio
2015-09-03 18:04:19 +02:00
Hauke Petersen
4f0bd75a99 cpu/msp430fxyz: added periph GPIO driver 2015-09-03 16:29:55 +02:00
Hauke Petersen
62d4981457 cpu/arm7_common: removed mc1322x code 2015-09-03 16:09:42 +02:00
Hauke Petersen
4e45d4640c cpu: removed support for the mc1322x CPU 2015-09-03 16:07:20 +02:00
73e15bdde1 atmega2560: remove uart0, adapt to uart_stdio 2015-09-03 15:53:01 +02:00
Thomas Eichinger
fa11195e38 Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
Hauke Petersen
ed71388532 cpu/msp430fxyz: make use of uart_stdio module 2015-09-03 12:00:33 +02:00
Hauke Petersen
2f63bac318 cpu/msp430fxyz: added low-level UART driver 2015-09-03 12:00:33 +02:00
Hauke Petersen
fb8d15d34a Merge pull request #3724 from haukepetersen/add_msp430_periph_timer
cpu/[msp|cc]430: added peripheral timer driver
2015-09-03 12:00:07 +02:00
Thomas Eichinger
3fba38e47b cpu/native: fix wrong type for _sigio_child() 2015-09-03 11:49:57 +02:00
Hauke Petersen
68e7965b50 cpu/msp43-common: re-added deprecated e|dINT defs 2015-09-03 10:31:30 +02:00
Thomas Eichinger
f841811a49 cpu/native: fix OS X includes and declarations 2015-09-02 17:34:47 +02:00
Thomas Eichinger
f10939c01e cpu/native: add conditional include on OS X for IFNAMSIZ 2015-09-02 17:34:47 +02:00
Hauke Petersen
fd8c0de3d2 cpu/msp430-common: simplified hwtimer configuration 2015-09-02 17:10:28 +02:00
Hauke Petersen
c20af817c7 cpu/msp430fxyz: added peripheral timer driver 2015-09-02 17:10:27 +02:00
Hauke Petersen
335ec926de cpu/cc430: added peripheral timer implementation 2015-09-02 17:10:27 +02:00
Hauke Petersen
69e83bbab3 cpu: removed hwtimer code from msp430 CPUs 2015-09-02 17:10:27 +02:00
Hauke Petersen
0cdda8bad6 boards/chronos: fixed after removing legacy header 2015-09-02 17:10:27 +02:00
Hauke Petersen
7d25b41610 cpu/msp430-common: removed legacymsp430.h code 2015-09-02 16:47:52 +02:00
6dec2efdd6 saml21: add lpm support 2015-09-02 16:46:42 +02:00
daniel-k
c747d7dae4 samd21/i2c: add feedback in case transfer failed 2015-08-31 17:31:17 +02:00
Iván Briano
1481b01df8 cpu: samd21: Enable the interrupt line for PA28
So the onboard button on the Samr21-xpro works again.
2015-08-27 14:08:16 -03:00
Alex V. Melnikov
8d47f83964 cpu/stm32f1: added stm32f103c8 linkerscript
Added stm32f103c8 memory definitions for cortexm common linkerscript
2015-08-27 11:52:44 +03:00
Martine Lenders
dc82939eb3 atmega_common: give distinct numbers to errnos 2015-08-25 22:07:22 +02:00
Emmanuel Baccelli
014939805e Merge pull request #3062 from alignan/pull/remote-port
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-08-25 21:18:13 +02:00
Thomas Eichinger
82aff54a74 Merge pull request #3703 from DipSwitch/add_clock_selection_stm32l1
Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32L1 family
2015-08-25 12:22:46 +02:00
DipSwitch
148acc684b cpu: Add clock source selection based on CLOCK_HSE or CLOCK_HSI for STM32L1 family 2015-08-25 10:12:48 +02:00
DipSwitch
04f49a1929 cpu: fix stm32l1 cpuid driver for cat 1/2 2015-08-24 21:46:36 +02:00
Lari Lehtomäki
1ecaadab4e cpu/stm32f0: RTC implementation with external clock
tests: Tests for RTC clock
2015-08-20 13:09:43 +03:00
Peter Kietzmann
86af1969b5 Merge pull request #3666 from daniel-k/cortexm_r13_deprecated
cortexm_common: don't compare with r13/sp in assembly, fix #3664
2015-08-20 11:48:13 +02:00
Joakim Gebart
56b0beeebe Merge pull request #3107 from gebart/pr/cppsupport
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +02:00
Daniel Krebs
cb4aec676b cortexm_common: don't compare with r13/sp in assembly, fix #3664 2015-08-19 20:56:43 +02:00
daniel-k
7a86344c4d cpu/cortexm_common: gather addition information on hardfault 2015-08-19 14:24:54 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
87c222d2fa Merge pull request #3595 from authmillenon/gnrc/api/mv
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00
Hauke Petersen
3922b6c852 Merge pull request #3530 from kaspar030/update_msba2
cpu: lpc2387: provide periph/* implementations, update to use newlib module.
2015-08-17 21:45:16 +02:00
Antonio Lignan
b8823b7afe Zolertia Re-Mote platform (cc2538 + cc1120) port 2015-08-17 14:17:32 +02:00
Joakim Gebart
ff05007a6e boards/mulle: cleanup
Remove old syscalls implementation from before cortexm_common unification and sys/newlib introduction.
2015-08-14 20:09:44 +02:00
3b94a0d497 lpc2387/msba2/avsextrem: fix doxygen warnings 2015-08-14 16:50:41 +02:00
a03ff202cf cpu: lpc2387: switch to newlib module 2015-08-14 16:50:41 +02:00
4dd63dd24e cpu: lpc2387: add periph/spi support 2015-08-14 16:50:41 +02:00
bd76626fb5 cpu: lpc2387: add periph/uart driver 2015-08-14 16:50:41 +02:00
3c5f31eb95 cpu: lpc2387: add periph/gpio imlementation 2015-08-14 16:50:41 +02:00
223ef9fe66 cpu: lpc2387: drop gpioint 2015-08-14 16:50:41 +02:00
0541d21f86 Merge pull request #3620 from kaspar030/add_generic_spi_fallbacks
drivers: periph: add generic spi fallbacks
2015-08-14 16:47:48 +02:00
6b2b5eb5e4 cpu: stm32l1: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
4b15cc635e cpu: stm32f4: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
fa00154f2a cpu: stm32f3: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
6c185655c8 cpu: stm32f1: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
336c5300cd cpu: stm32f0: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
21c774fd82 cpu: saml21: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
0a859b91ee cpu: samd21: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
626289b5c7 cpu: sam3: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Martine Lenders
664f51e149 doc: adapt documentation on tapsetup script 2015-08-14 12:05:34 +02:00
Martine Lenders
5760f9042d native: unify and simplify usage of tapsetup script 2015-08-14 12:05:34 +02:00
Joakim Gebart
cf5db434e6 cpu/kinetis_common: periph/timer, read PIT value before stopping
Reading CVAL after stopping timer seem to return zero.
Ref. manual states: "The counter period can be restarted, by first
disabling, and then enabling the timer with TCTRLn[TEN]", but does not
state whether the reset of CVAL happens on TEN 0->1 transition, or 1->0
transtion. Empirical evidence suggests the latter is the implemented behaviour.
2015-08-13 21:06:50 +02:00
Peter Kietzmann
77ca7a50bc Merge pull request #3509 from katezilla/LimiFrog-v1
board: limifrog-v1 initial commit
2015-08-13 15:45:27 +02:00
Katja Kirstein
c95612295e cpu/stm32l1: remodel to new GPIO interface 2015-08-13 15:07:49 +02:00
Katja Kirstein
bda86cfcd3 boards: limifrog-v1 initial commit 2015-08-13 14:14:18 +02:00
Hauke Petersen
af10ab64a7 cpu/stm32f1: simplified pin init in periph drivers 2015-08-12 10:50:17 +02:00
Martine Lenders
f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59 dev_eth: fix documentation 2015-08-09 22:02:10 +02:00
Joakim Gebart
62b1435646 cortexm: Remove __dso_handle from startup.c in favour of sys/cpp11-compat/cppsupport.cpp 2015-08-08 14:44:41 +02:00
Martine Lenders
472ee315f0 ethernet/ethertype: remove ng_ prefix 2015-08-07 17:09:19 +02:00
Hauke Petersen
97a19016cf drivers: adapted to renamed NETOPT header 2015-08-06 15:36:56 +02:00
Oleg Hahm
f90032f94f Merge pull request #3334 from kaspar030/remove_old_net
remove old network stack
2015-08-06 15:10:11 +02:00
Hauke Petersen
bcb9aebadd cpu/stm32f1: modernized the GPIO driver 2015-08-06 13:48:25 +02:00
Hauke Petersen
75472eddf4 cpu: remove transceiver defines from cpu_conf files 2015-08-06 12:13:54 +02:00
723d0b2479 remove legacy board specific cc110x code 2015-08-06 12:13:19 +02:00
09fb612ceb cpu: lpc2387: remove obsolete transceiver defines 2015-08-06 12:13:18 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Martine Lenders
cef0857992 msp430: use assert instead of printf 2015-08-05 19:43:51 +02:00
Martine Lenders
6d9b928818 Merge pull request #3536 from cgundogan/pr/doc/todo
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Benoît Canet
22da1f834b native: ng: net: Close tap device and cleanup on reboot 2015-08-03 18:17:53 +02:00
Benoît Canet
008b105166 native: net: Take care of unregistering SIGIO on reboot 2015-08-03 18:17:53 +02:00
Benoît Canet
800b057fac native: net: Make _native_tap_fd static
One global variable less is always good.
2015-08-03 18:17:52 +02:00
Hauke Petersen
3caa44ca95 cpu/lm4f120: included dev_enums.h in periph_cpu.h 2015-08-03 13:56:16 +02:00
Hauke Petersen
3d6661fa62 cpu/lpc1768: included dev_enums.h in periph_cpu.h 2015-08-03 13:56:16 +02:00
Cenk Gündoğan
6e1a593e28 cortexm_common: use doxygen todo 2015-08-03 11:00:21 +02:00
f584bd6921 cpu: stm32f1: fix timer auto reload value
Previously, the auto-reload register was set to TIMERx_MAXVALUE. This is
incorrect, as TIMERx combines two 16bit timers.

This commit fixes the assignment.
2015-07-30 14:35:27 +02:00
Benoît Canet
4893d4daea native: irq: Get rid of dINT() and eINT()
Get rid of internal usage of the old IRQ
API and keep it's implementation while
waiting for other modules to kill it.
2015-07-29 16:51:22 +02:00
21238b2ccc Merge pull request #3347 from benoit-canet/timer
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
2015-07-29 10:14:58 +02:00
d359c86c60 cpu: cortexm_common: set pendSV to default priority 2015-07-28 20:02:45 +02:00
Oleg Hahm
03b7c7349a Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Andreas "Paul" Pauli
82c16f2b93 cpu/stm32f3: corrected register and return value, edit comment 2015-07-28 14:52:52 +02:00
Martine Lenders
6f56b983f0 gnrc: replace all instances of ng_netconf with ng_netopt 2015-07-28 13:33:12 +02:00
Rakendra Thapa
da91eba1ca Converting C++ style coding to C style 2015-07-24 08:59:55 +05:30
rakendrathapa
3761ebcc21 VariableScope fix: Reducing scope of local var 2015-07-24 08:59:54 +05:30
rakendrathapa
de98cdf8be Modify: C++ compatible header files_3 2015-07-24 08:59:54 +05:30
rakendrathapa
e4c281a0ff Modify: C++ compatible header files_2 2015-07-24 08:59:54 +05:30
rakendrathapa
d263a9b2c5 Modify: C++ compatible headers 2015-07-24 08:59:54 +05:30
rakendrathapa
2dc37817bc Modify to have C++ compatible header 2015-07-24 08:59:54 +05:30
rakendrathapa
63cb5cee4e Converting from DOS endings to UNIX _2 2015-07-24 08:59:54 +05:30
rakendrathapa
60fc3f2511 Convert from Windows to Dos endings 2015-07-24 08:59:54 +05:30
Raken
186041b553 Addition for doxygen documentation 2015-07-24 08:59:54 +05:30
Rakendra Thapa
aa30ecd04f Interrupt file to include isr correctly. 2015-07-24 08:59:54 +05:30
Rakendra Thapa
38d70a3356 Remove trailing whitespace_3 2015-07-24 08:59:54 +05:30
Rakendra Thapa
1227cb30f6 Including CPU_MODEL_ guard in cpu config file.
Remove CC110X definitions.
 Changes to be committed:
	modified:   cpu/lm4f120/include/cpu_conf.h
2015-07-24 08:59:54 +05:30
Rakendra Thapa
2d656b8732 Define CLOCK_SOURCE and move the clock defines to appropriate files. 2015-07-24 08:59:54 +05:30
Rakendra Thapa
c99de05d23 Remove Not yet supported ADC peripheral. ToDo task 2015-07-24 08:59:54 +05:30
Rakendra Thapa
dad274ccea Makefile changes.
License edit in stellaris_common
2015-07-24 08:59:53 +05:30
Rakendra Thapa
8e24860266 Commits: - Indentation Edits. - Edit Header Files. - Change comments to C-style indentation. - Edit Periph_conf file to exclude not used peripherals. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: boards/ek-lm4f120xl/board.c # modified: boards/ek-lm4f120xl/include/board.h # modified: boards/ek-lm4f120xl/include/periph_conf.h # modified: cpu/lm4f120/cpu.c # modified: cpu/lm4f120/include/cpu_conf.h # modified: cpu/lm4f120/include/hwtimer_cpu.h # modified: cpu/lm4f120/include/lm4f120h5qr.h # modified: cpu/lm4f120/lpm_arch.c # modified: cpu/lm4f120/periph/adc.c # modified: cpu/lm4f120/periph/cpuid.c # modified: cpu/lm4f120/periph/timer.c # modified: cpu/lm4f120/periph/uart.c # modified: cpu/lm4f120/vectors.c # 2015-07-24 08:59:53 +05:30
Rakendra Thapa
dc2bbffcc7 Formatting: Delete blank line at EOF 2015-07-24 08:59:53 +05:30
Rakendra Thapa
1165d91b6f Remove trailing whitespace_2 2015-07-24 08:59:53 +05:30
Rakendra Thapa
be15d5c973 removing trailing whitespace 2015-07-24 08:59:53 +05:30
Rakendra Thapa
4757e30e10 Remove tabs to spaces 2015-07-24 08:59:53 +05:30
Rakendra Thapa
9c4a5f5d86 Applying Coding Conventions correction 2015-07-24 08:59:53 +05:30
Rakendra Thapa
8c1abd716d Adding Files for Stellaris Porting 2015-07-24 08:59:53 +05:30
Rakendra Thapa
0b673e66da Adding Support for Stellaris Launchpad LM4f120. This board is based on ARM Cortex M4 from TI. 2015-07-24 08:59:53 +05:30
Thomas Eichinger
e416937398 Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
native: fix warning errors freebsd
2015-07-23 10:11:29 +02:00
Oleg Hahm
9922d2600c native: removed dead code
num was never read, because native will exit before.
2015-07-22 14:36:21 +02:00
Thomas Eichinger
cbc9ddc639 native: add missing include for FreeBSD 2015-07-21 18:31:13 +02:00
Thomas Eichinger
0c15084db5 native: fix wrong pointer type warning 2015-07-21 18:31:13 +02:00
Oleg Hahm
75f38c026b Merge pull request #3412 from OlegHahm/doxygen_fixes_ng
doxygen: documentation hierarchy fixes
2015-07-21 11:04:42 +02:00
Oleg Hahm
6a035fe910 doc: exclude sam3* completely from doxygen
Also remove doc.txt for sam3 (moved to cpu_conf.h)
2015-07-21 10:00:11 +02:00
Joakim Gebart
601c3002c3 cpu/kinetis_common: Cast device index enums to unsigned int before comparing for out of range values
Suppresses false warning in Clang:

    warning: comparison of constant 42 with expression of type 'xxx_t'
    is always false [-Wtautological-constant-out-of-range-compare]

See:
 - https://llvm.org/bugs/show_bug.cgi?id=16154
 - https://llvm.org/bugs/show_bug.cgi?id=22062
2015-07-21 07:21:51 +02:00
Joakim Gebart
70d59331b8 arm7_common: Build fixes after discovering an include guard overlap 2015-07-20 12:40:32 +02:00
Joakim Gebart
897f40fabe cpu/msp430-common: Clean up Doxygen groups 2015-07-20 12:40:31 +02:00
Joakim Gebart
7ff26d12ea cpu/arm7_common: Rename Doxygen group to cpu_arm7_common 2015-07-20 12:40:31 +02:00
Hauke Petersen
25abd13fb5 cpu/sam3: use hwtimer_compat module 2015-07-15 16:06:34 +02:00
Hauke Petersen
7173b41069 cpu/lpc1768: use hwtimer_compat module 2015-07-15 16:06:08 +02:00
Hauke Petersen
809b99f648 cpu/atmega2560: make use of hwtimer_compat 2015-07-15 16:05:28 +02:00
Hauke Petersen
86261e03e6 cpu/nrf51: make use of hwtimer_compat module 2015-07-15 16:02:43 +02:00
Hauke Petersen
696dff5da3 cpu/nrf51: fixedd cppcheck issue in spi.c 2015-07-14 18:22:03 +02:00
haukepetersen
1cd18f92c9 cpu/nrf51: updated CPU headers 2015-07-14 18:15:42 +02:00
haukepetersen
431ac7b3c5 cpu/nrf51: added linkerscript for 128kb variant 2015-07-14 18:15:42 +02:00
haukepetersen
987dbe983a cpu/nrf51: generalized linkerscript 2015-07-14 18:15:42 +02:00
haukepetersen
9c46a40005 cpu: renamed nrf51822 to nrf51 2015-07-14 18:15:42 +02:00
Hauke Petersen
3be56ba97e cpu/sam3: fixed vectors.c
This was an error introduced by merging #3194...
2015-07-14 16:32:06 +02:00
Hauke Petersen
3ec9c7b2cb cpu/cc430: fixed missing include in adc driver 2015-07-14 16:15:13 +02:00
Oleg Hahm
c0d5d2e9b6 Merge pull request #2571 from haukepetersen/rm_msp430_edint
cpu/msp430-common: removed e|dINT calls
2015-07-14 15:46:33 +02:00
Thomas Eichinger
7e88358135 Merge pull request #3194 from haukepetersen/mv_sam3x
cpu: rename SAM3X8E to SAM3
2015-07-14 15:42:45 +02:00
Hauke Petersen
08c4732fba cpu/native: adjusted stacksizes
The stacksizes for native were defined in a way, so that
DEBUG did not work inside of interrupt routines. The new
values should still be large enough but allow now for this.
2015-07-14 15:06:50 +02:00
Joakim Gebart
fa4e059588 Merge pull request #3319 from gebart/pr/warning-fixes-3
Makefile.cflags: Build with -Wall -Werror by default (including fixes to correct all existing warnings)
2015-07-14 08:50:31 +02:00
Joakim Gebart
499666f24a cpu/msp430-common: Add getchar declaration 2015-07-14 08:11:19 +02:00
Joakim Gebart
153c97fc74 cpu/msp430-common: Add stdlib.h header to ensure malloc is defined.
Fixes warnings of the kind:

/data/riotbuild/riotbase/sys/bloom/bloom.c: In function 'bloom_new':
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:5: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration]
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:22: error: incompatible implicit declaration of built-in function 'calloc' [-Werror]
2015-07-14 08:11:15 +02:00
Joakim Gebart
d8e9b62c75 cpu/cc430/flashrom.c: Fix warning about unused static function by declaring inline 2015-07-14 08:11:14 +02:00
Joakim Gebart
c274558e91 cpu/arm7_common/syscalls: Fix warnings and comment style 2015-07-14 08:11:14 +02:00
Joakim Gebart
32c213d0b0 cpu/cortexm_common: Fix signedness warning 2015-07-14 08:11:14 +02:00
Joakim Gebart
84bf05a0bd cpu/cc430: fix unused-but-set-variable 2015-07-14 08:11:14 +02:00
Oleg Hahm
91da19d500 Merge pull request #3381 from gebart/pr/kinetis-spi-unused-byte-in
cpu/kinetis_common/spi: Fix byte_in unused.
2015-07-14 01:17:56 +02:00
Joakim Gebart
53d81bd58d cpu/x86: rename stack_t -> stack_info_t
Avoids collision with libc defined stack_t in #include <sys/signal.h>
2015-07-13 19:57:55 +02:00
Joakim Gebart
624c241ec6 cpu/kinetis_common/spi: Fix byte_in unused.
Bug reported by the clang static analyzer.

Description: Value stored to 'byte_in' is never read
File: .../riot/cpu/kinetis_common/spi.c
Line: 1261
2015-07-13 17:24:00 +02:00
Johann Fischer
cb8ff544d5 cpu/kinetis_common/i2c.c: add _i2c_reset function, minor fixes 2015-07-09 23:19:56 +02:00
Joakim Gebart
eef8f25a44 kinetis: i2c: Handle ARBL flag in master mode.
The ARBL flag signals that bus master arbitration has been lost.
This may occur if devices on the bus misbehave, or in a multi-master
situation, or if devices are not powered and pull the SDA line down, or
if the communication wires are disconnected while communicating.
2015-07-09 23:19:55 +02:00
Joakim Gebart
cba6a81a73 kinetis: i2c: only send STOP in _i2c_stop() 2015-07-09 23:19:55 +02:00
d15f0990b3 Merge pull request #3344 from kaspar030/fix_native_timer_possible_underflow
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 22:17:44 +02:00
Benoît Canet
e01329796d native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
This keeps the test/hwtimer_wait test duration correct.
2015-07-09 20:42:21 +02:00
Peter Kietzmann
f95aaa6bf6 Merge pull request #3327 from authmillenon/native/enh/address-sanitizer
native: add address sanitizer make target
2015-07-09 16:07:00 +02:00
ec441e9aa6 native: periph/timer: prevent underflow in timer_set_absolute 2015-07-09 15:23:21 +02:00
Benoît Canet
e8e89d8ca9 native: timer: Do not cancel timer when setting it to 0 2015-07-09 15:08:47 +02:00
Martine Lenders
8a33a62914 native: add address sanitizer make target 2015-07-09 15:00:19 +02:00
Joakim Gebart
b949b5b539 Merge pull request #3335 from gebart/pr/kinetis-ldscript-cleanup
cpu/kinetis_common: refactor ldscripts
2015-07-09 12:59:02 +02:00
b2272fc016 Merge pull request #3282 from benoit-canet/timer
native: Resurect native/perif/timer and handle #715 (WIP)
2015-07-09 11:12:24 +02:00
Benoît Canet
dfbd4f946e cpu: native: switch to hwtimer_compat
The hwtimer_wait test was tortured with the
following script which ran several hours.

----

make clean all-debug

while :
do

date
./bin/native/hwtimer_wait.elf > log &
pid=$!
sleep 20

success=$(cat log|grep success)

if [ "$success" != "success"  ]
then
date
echo "BUG"
exit
fi

kill $pid

done
----

Closes #715.
2015-07-09 02:43:04 +02:00
fe96d379f6 native: add periph/timer.h timer implementation 2015-07-09 02:43:04 +02:00
Benoît Canet
ced541cc67 native: irq_cpu: Rewrite IRQs (de)registration 2015-07-09 02:43:04 +02:00
Benoît Canet
4832a1a6b0 native: irq_cpu: Whitelist signals 2015-07-09 02:43:03 +02:00
Benoît Canet
a035d27414 native: irq_cpu: Make IRQ enabling/disabling safe 2015-07-09 02:43:01 +02:00
52599fde66 cpu: native: work around shared errno in _native_lpm_sleep 2015-07-09 00:31:31 +02:00
Joakim Gebart
ed81e35e4c cpu/kinetis_common: refactor ldscripts
- Merged the two kinetis_common ldscripts into a single script.
 - Updated cpus to use the new script
 - Updated K60 to merge sram_l and sram_u into one segment
2015-07-08 19:20:00 +02:00
Joakim Gebart
ee4182b246 cpu/cortexm_common: Overwrite stack up until the current stack pointer only. 2015-07-07 18:04:30 +02:00
Joakim Gebart
63bde8906e cpu/atmega_common/avr-libc-extra/inttypes.h: Correct format strings for 64 bit numbers 2015-07-07 00:53:26 +02:00
Peter Kietzmann
004a83c44d Merge pull request #3028 from gebart/pr/cmsis-dsp
pkg/cmsis-dsp: Add CMSIS-DSP as a package
2015-07-04 09:39:22 +02:00
Lari Lehtomäki
85cf28451b cpu/stm32f3: Split the RAM on STM32F334 into RAM and CCM RAM 2015-07-03 16:45:39 +03:00
Johann F
d614cbe066 cpu/k64f: initial import for the Freescale K64F Cortex-M4 MCU 2015-07-01 23:08:02 +02:00
bapclenet
10f3f715cb Merge pull request #3205 from kaspar030/fix_samr21-xpro_clock_setup
cpu: samd21: fix synchronization loop in clk_init
2015-06-28 20:15:08 +02:00
Joakim Gebart
2f47ec6057 cortexm_common: Add CMSIS DSP defines 2015-06-25 08:00:59 +02:00
Joakim Gebart
fc4ab35140 Merge pull request #3116 from gebart/pr/lpc2387-extab
lpc2387: Add missing exception tables to linker script
2015-06-24 14:46:50 +02:00
Hauke Petersen
5a163b2e61 Merge pull request #3230 from benoit-canet/add_missing_addtogroup_brace
cpu/stm32f3: Add missing closing Doxygen braces for addtogroup
2015-06-23 09:56:23 +02:00
Peter Kietzmann
f62bc56648 Merge pull request #3215 from haukepetersen/fix_periphcpu_addenums
cpu: added dev_enums.h include to all periph_cpu.h
2015-06-22 08:44:26 +02:00
Benoît Canet
8c6c1114f3 cpu/stm32f3: Add missing closing Doxygen braces for addtogroup
The candidates locations for the closing braces were confirmed by looking at
cpu/stm32f0 headers.

The closing brace styles stick with the style of each file.

Closes #2956
2015-06-22 00:08:13 +02:00
Hauke Petersen
765c013834 Merge pull request #3155 from haukepetersen/opt_cortex_startup
cpu: centralized startup code for cortexm CPUs
2015-06-17 00:01:56 +02:00
Hauke Petersen
4ae5204b36 cpu: added dev_enums.h include to all periph_cpu.h 2015-06-16 22:41:16 +02:00
Peter Kietzmann
666ad5da5f Merge pull request #3165 from katezilla/nucleo-f303
board/Nucleo-f303: initial support for the Nucleo-f303
2015-06-16 09:17:10 +02:00
Peter Kietzmann
938d12c2d8 Merge pull request #3204 from haukepetersen/fix_f3_gpio
cpu/stm32f3: fixed init_af in GPIO driver
2015-06-16 08:05:42 +02:00
1172597594 cpu: samd21: fix synchronization loop in clk_init 2015-06-15 21:33:13 +02:00
Hauke Petersen
7216f21122 cpu/stm32f4: fix init_af in GPIO driver 2015-06-15 20:41:49 +02:00
Hauke Petersen
ad0e9c26b6 cpu/stm32f3: fixed init_af in GPIO driver 2015-06-15 20:40:40 +02:00
Hauke Petersen
88130fcb54 cpu/kw2x: optimization of startup code 2015-06-15 16:00:51 +02:00
Hauke Petersen
253e7ce715 cpu/kinetis_common: optimization of startup code 2015-06-15 16:00:51 +02:00
Hauke Petersen
8db0a57a81 cpu/k60: optimization of startup code 2015-06-15 16:00:51 +02:00
Hauke Petersen
983e8abd74 cpu/lpc1768: optimized startup code
- make use of common cortexm isr vectors
- use common cortexm startup code
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00