Hauke Petersen
ad69413d22
Merge pull request #2669 from gebart/pr/cortex-thread-arch-asm
...
cortex-m4_common: Refactor context save/restore
2015-03-25 18:21:11 +01:00
Joakim Gebart
791c57720a
cortex-m4_common: Refactor context save/restore
...
Clang 3.6 is stricter than GCC and previous releases of Clang regarding
naked functions and now only allows inline asm inside naked functions.
This is a refactoring of the functions isr_pendsv, isr_svc,
context_save, context_restore to still be naked functions but allow
building with Clang 3.6
2015-03-21 18:43:01 +01:00
Ludwig Ortmann
cf637942cc
*: add missing blank lines
...
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
James Hollister
93cff5613f
cpu/native: Fix for missing malloc.h in OSX
2015-03-21 01:41:54 -07:00
Hauke Petersen
66e7646091
cpu/nrf51822: added SPI driver implementation
2015-03-17 10:37:47 +01:00
Hauke Petersen
4ad36a799e
cpu/stm32f0: added support for stm32f091rc
2015-03-16 16:23:44 +01:00
Thomas Eichinger
c633c083db
Merge pull request #2597 from haukepetersen/add_stm32f0_corepanic
...
cpu/stm32f0: included core_panic module
2015-03-16 15:15:33 +01:00
Hauke Petersen
3436a10039
cpu/stm32f0: included core_panic module
2015-03-13 17:40:37 +01:00
Hauke Petersen
ec17730c38
cpu/stm32f0: fixed gpio interrupt routines
...
- guarded calls in case no interrupt is defined
- eneabled detection of multiple, simoultaneous events
2015-03-13 15:32:48 +01:00
Thomas Eichinger
1eac81b562
Merge pull request #2593 from haukepetersen/fix_stm32f0_timerdef
...
cpu/stm32f0: cleanup for timer IRQ macro
2015-03-13 14:23:41 +01:00
Thomas Eichinger
64410350bd
Merge pull request #2552 from jhollister/add_cpuid
...
Added cpuid_get for STM boards
2015-03-13 10:59:09 +01:00
Hauke Petersen
49491cf66d
cpu/stm32f0discovery: fixed timer irq prio macro
2015-03-13 10:21:18 +01:00
Joakim Gebart
f8eb76caec
kinetis: Enable UART hardware FIFO buffers.
2015-03-10 17:52:07 +01:00
kushalsingh007
390e030f84
Removing the warnings after running static code analyser.
...
-Changes to fix all the clarifyCalulation warnings.
-Fixes a part of issue number 480
2015-03-10 04:08:43 +05:30
James Hollister
722835989d
cpu/stm32f4: added cpuid_get to stm32f4
2015-03-08 12:18:37 -07:00
James Hollister
10f4aacf6c
cpu/stm32f3: added cpui_get for stm32f3
2015-03-08 12:14:19 -07:00
James Hollister
3d6ab85bb3
cpu/stm32f0: added cpuid_get for stm32f0
2015-03-08 12:13:10 -07:00
Hauke Petersen
d19515d590
cpu/stm32f3: set cpu specific hwtimer spin barrier
2015-03-04 10:44:26 +01:00
Joakim Gebart
f317cf42a8
kinetis: Add configuration macros for I2C bus speed parameters.
2015-03-04 08:55:06 +01:00
Thomas Eichinger
bc378dbb23
Merge pull request #2378 from locicontrols/vtor
...
cpu/cc2538: set the VTOR register to the actual address of the vector table
2015-03-03 18:25:47 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Lotte Steenbrink
f08a371f1f
Merge pull request #2466 from LudwigOrtmann/pr/trailing_whitespace
...
cpu, drivers, boards, tests: remove trailing whitespace
2015-02-18 19:10:22 +01:00
Ludwig Ortmann
51a4f8a43c
cpu/kinetis_common/i2c: fix indent, trailing space
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
e9e3f3d148
cpu/samd21/periph/i2c: fix spacing, comment length
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
2015-02-18 13:52:48 +01:00
Ludwig Ortmann
88f1dc5cbc
cpu/native: improve daemonization
...
- detach from working directory
- detach from process group
- set umask
2015-02-17 22:01:02 +01:00
Ludwig Ortmann
9a130e2e84
cpu/native: add some syscall wrappers
...
Add wrappers for chdir, setsid, and umask.
2015-02-17 22:00:14 +01:00
Joakim Gebart
b6eeb65f70
Merge pull request #2420 from gebart/pr/cortex-m4-crash-bkpt
...
cortex-m4_common: Add debugger break in crash.c + minor string handling fix
2015-02-17 16:06:33 +01:00
Joakim Gebart
5a09e54e1b
cortex-m0_common: Update crash.c with changes from Cortex-M4.
2015-02-17 13:16:40 +01:00
Joakim Gebart
2605b57a35
cortex-m3_common: Update crash.c with changes from Cortex-M4.
2015-02-17 13:16:26 +01:00
Joakim Gebart
972e61529c
cortex-m4_common: Update crash.c author and copyright after recent changes.
2015-02-17 13:15:40 +01:00
Joakim Gebart
f6ce0561ed
Merge pull request #2412 from jfischer-phytec-iot/pr@kinetis-startup
...
Add common startup.c for Kinetis MCUs.
2015-02-15 18:48:19 +01:00
haukepetersen
28655049a5
cpu/sam3x8e: use core_panic for fault ISRs
2015-02-15 11:20:59 +01:00
Johann Fischer
8afc8dfdc3
cpu/kinetis_common: add common startup.c
...
cpu/kinetis_common/wdog.c: move wdog disable code to initial wdog driver
cpu/kinetis_common/wdog.c: add COP WDOG
cpu/kinetis_common/include/wdog.h: add configuration example
cpu/kinetis_common: add fault handlers
cpu/kinetis_common: add .ramcode and ISR vector relocation to startup.c
2015-02-15 10:28:13 +01:00
Joakim Gebart
a745c018da
kinetis: Refactor RTC into RTT, add RTC wrapper.
2015-02-14 14:20:26 +01:00
Martine Lenders
9077299d06
msp430: add assert header
2015-02-12 14:24:06 +01:00
Ian Martin
c3417d151a
cpu/cc2538: vector table address and alignment
...
Enforce the 512-byte vector table alignment and set the
VTOR register to the actual address of the vector table.
2015-02-11 11:09:19 -05:00
Fabian Nack
36025280de
cpu/stm32f4: Add low power mode implementation
2015-02-11 10:04:26 +01:00
Joakim Gebart
7829a55a8c
cortex-m4_common: Minor fixes for string handling in core_panic()
2015-02-10 13:33:30 +01:00
Joakim Gebart
0b7a929ec6
cortex-m4_common: Add debugger break in crash.c
2015-02-10 13:09:43 +01:00
Hauke Petersen
02831e325f
cpu/nrf51822: use of core_panic in startup code
2015-02-10 09:40:35 +01:00
Joakim Gebart
bf730c1c60
Merge pull request #2415 from haukepetersen/add_m0_crash
...
cpu/cortex_m0_common: added crash.c
2015-02-10 09:18:01 +01:00
Joakim Gebart
4d47e652dc
Merge pull request #2416 from haukepetersen/add_m4_crash
...
cpu/cortex-m4_common: added crash.c
2015-02-10 08:07:19 +01:00
Hauke Petersen
68b167ca77
cpu/cortex-m4_common: added crash.c
2015-02-09 18:28:32 +01:00
Hauke Petersen
7a11301451
cpu/cortex_m0_common: added crash.c
2015-02-09 18:27:42 +01:00
Joakim Gebart
29d3959b10
kinetis: Add shared Kinetis linker script.
2015-02-09 17:52:04 +01:00
Ludwig Ortmann
dd2da2fb71
Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
...
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
432f0014c0
cpu: restrict => __restrict
2015-02-08 19:15:14 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00