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

1925 Commits

Author SHA1 Message Date
a6a98dc5a9 cpu: cc2538: add missing include to periph_cpu.h 2016-03-07 23:25:20 +01:00
Peter Kietzmann
e5500072d2 Merge pull request #4957 from botmayank/develop
stm32f0: GPIO enable IRQ for EXTI0_1
2016-03-07 21:36:15 +01:00
kYc0o
740635daaa Merge pull request #3765 from locicontrols/cc2538-i2c
cpu/cc2538: add periph/i2c driver
2016-03-07 18:22:32 +01:00
Peter Kietzmann
dcc58da35a Merge pull request #4959 from shady33/fix-stm32l1-timer
Mistyped argument name
2016-03-07 15:50:12 +01:00
botmayank
35154e0c84 cpu/stm32f0: GPIO enable IRQ for EXTI0_1
Removed unnecessary EXTI2_3 interrupt enable

cpu/stm32f0: gpio removed trailing whitespace
2016-03-07 14:18:39 +01:00
lakshbhatia
773453e187 stm32l1/timer: fix callback argument initialization 2016-03-07 12:41:15 +01:00
ed03204fe2 cpu: lpc11u34: gpio: adapt to thread.h 2016-03-05 18:20:17 +01:00
142bbef721 cpu: atmega2560: timer: adapt to thread.h 2016-03-05 18:20:17 +01:00
a7adbac4c5 cpu: msp430: adapt to thread.h 2016-03-05 18:20:17 +01:00
6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 2016-03-05 18:20:17 +01:00
2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 2016-03-05 18:20:17 +01:00
Joakim Nohlgård
f98b80f75f Merge pull request #3504 from locicontrols/cc2538-gpio-init
cpu/cc2538: initialize the GPIO controller to a default state
2016-03-04 16:01:18 +01:00
Cenk Gündoğan
d15bc43302 Merge pull request #4688 from OlegHahm/valgrind_debug_for_native
native: add debug-valgrind target
2016-03-04 07:55:45 +01:00
Martine Lenders
7ee8c5c66d Merge pull request #3834 from michz/master
fixed bug in stm32f0 uart implementation
2016-03-04 05:42:10 +01:00
Martine Lenders
01248f0599 Merge pull request #4944 from gebart/pr/cortexm-irqn-unsigned-int
cpu/cortexm_common: use int for counter in startup IRQn loop
2016-03-04 05:40:51 +01:00
Ian Martin
4936edb80f cpu/cc2538: initialize the GPIO controller to a default state 2016-03-03 11:16:24 -05:00
Ian Martin
9642f2531a cpu/cc2538: add periph/i2c driver 2016-03-03 11:04:39 -05:00
Oleg Hahm
cdd6878fca Merge pull request #4942 from gebart/pr/clang-asm
cpu/cortexm_common: Fix inline asm for ARMv6-M so that it compiles in Clang as well
2016-03-03 12:53:24 +01:00
Oleg Hahm
2b949fcce1 native: add debug-valgrind target
debug-valgrind-server: Starts valgrind as gdb-server (vgdb)
debug-valgrind:        Connects to vgdb
2016-03-03 11:26:17 +01:00
Peter Kietzmann
367d8af649 Merge pull request #4840 from haukepetersen/opt_nrf_hwrng
cpu/nrf5x: unified hwrng driver
2016-03-03 11:16:26 +01:00
kYc0o
e730f1bdc3 Merge pull request #4878 from locicontrols/cc2538-periph-timer
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
Peter Kietzmann
2f0901bc64 Merge pull request #4932 from haukepetersen/opt_f1_timer
cpu/stm32f1: reworked timer implementation
2016-03-03 10:00:38 +01:00
Peter Kietzmann
3f99028b19 Merge pull request #4839 from haukepetersen/opt_nrf_timer
cpu/nrf5x: unified and reworked timer driver
2016-03-03 09:10:53 +01:00
Peter Kietzmann
e186eb9f70 Merge pull request #4736 from lebrush/stm32f1-i2c-fixes
stm32f1 i2c fixes
2016-03-02 16:55:13 +01:00
Michael Zapf
dfe5c273d1 stm32f0: fixed bug in uart implementation
alternate function register was written incorrectly for pin numbers > 8
+ cpu/stm32f0: fixed possible null-ptr deref
2016-03-02 13:46:38 +01:00
kYc0o
ec1bea389b Merge pull request #2753 from locicontrols/baudrate-fix
cpu/cc2538: avoid using bitfields with the LCRH register
2016-03-02 11:41:02 +01:00
Joakim Nohlgård
3da2c2d1c1 cpu/cortexm_common: use int for counter in startup IRQn loop 2016-03-02 10:58:59 +01:00
Joakim Nohlgård
0ae11cc9bc cpu/cortexm_common: call hard_fault_handler using bl
Fixes this error when building with Clang 3.7.1:

fatal error: error in backend: unsupported relocation on symbol
x86_64-pc-linux-gnu-clang-3.7: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 3.7.1 (tags/RELEASE_371/final)
Target: arm-none--eabi
Thread model: posix
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: /tmp/vectors_cortexm-54333e.c
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: /tmp/vectors_cortexm-54333e.sh
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg:

********************
2016-03-02 10:28:10 +01:00
Joakim Nohlgård
efa5cd4066 cpu/cortexm_common: Fix inline asm for ARMv6-M so that it compiles in Clang as well
ARMv6 does not have the mov instruction, only movs
2016-03-02 10:26:55 +01:00
Peter Kietzmann
8e05e3152d Merge pull request #4933 from haukepetersen/opt_sam3_clksetup
cpu/sam3: cleaned up clock initialization
2016-03-02 10:07:43 +01:00
Hauke Petersen
eb79646ab1 cpu/cortexm_common: added sleep_until_event 2016-03-01 23:22:03 +01:00
Hauke Petersen
a182a44147 cpu/nrf5x: unified hwrng driver 2016-03-01 23:22:03 +01:00
Oleg Hahm
61579d3be4 Merge pull request #4887 from locicontrols/objdump
make: set OBJDUMP = $(PREFIX)objdump for gnu targets.
2016-03-01 23:10:04 +01:00
Hauke Petersen
360e392d69 cpu/stm32f1: reworked timer driver 2016-03-01 22:39:36 +01:00
Hauke Petersen
28976ec126 cpu/stm32f1: vendor header: opt timer CCR reg defs 2016-03-01 22:39:36 +01:00
Hauke Petersen
2a92907c96 cpu/nrf: unified and optimized timer driver 2016-03-01 22:20:27 +01:00
Ian Martin
b6fbdb2f79 Avoid rounding errors during frequency scaling. 2016-03-01 15:18:45 -05:00
Ian Martin
4176d04b02 cpu/cc2538/periph/timer overhaul
* Use the 32-bit counter mode.
 * Apply frequency scaling for non-16 MHz frequencies.
2016-03-01 15:15:16 -05:00
Ian Martin
92a16a50dd cc2538 gptimer corrections. 2016-03-01 14:59:50 -05:00
Ian Martin
c91ae645a5 cpu/cc2538: break-out the bitfields in the GPTimer IMR register. 2016-03-01 14:59:50 -05:00
Hauke Petersen
080638ab37 cpu/sam3: removed system_sam3xa.h header 2016-03-01 15:56:59 +01:00
Hauke Petersen
6ae8c42880 cpu/sam3: added clock initialization code 2016-03-01 15:43:01 +01:00
Peter Kietzmann
c8829a49b8 Merge pull request #4838 from haukepetersen/fix_periph_timerarg
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
Hauke Petersen
34f9deecb7 cpu/kinetis_common: reworked GPIO driver 2016-02-29 11:08:45 +01:00
9b7ebb9f30 cpu: msp430-common: fix unistd.h 2016-02-28 22:46:28 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Joakim Nohlgård
5df3357818 Merge pull request #4916 from gebart/pr/unsigned-enum-compare
cpu: Cast enum to unsigned int before comparing against DEV_NUMOF
2016-02-28 06:59:59 +01:00
Joakim Nohlgård
f0584f8ee0 cpu/saml21: spi: Cast enum to unsigned int for comparison 2016-02-28 00:09:29 +01:00