Benjamin Valentin
a90663c9e7
cpu/lpc2387: provide ISR_STACKSIZE & thread_isr_stack_start()
...
Those are needed by MicroPython
2019-12-17 13:37:32 +01:00
Benjamin Valentin
a9d1825e2e
cpu/lpc2387: implement periph/pm
...
Enable IDLE and Deep Powerdown mode.
IDLE is pretty straightforward - insteady of busy waiting, the CPU will
enter an idle state from which it will resume on any event.
Deep Power Down shuts off the entite system except for the battery backup
power domain.
That means the CPU will reset on resume and can be woken by e.g. RTC.
SLEEP and POWERDOWN disable the PLL and the PLL and Flash respectively.
This requires some proper wake-up handling.
Since this turned out to be a major time sink and those modes are never
currently never used in RIOT outside of tests, I left this as an exercise
for a future reader.
2019-11-22 09:11:39 +01:00
Marian Buschsieweke
314184adb5
cpu: Platform specific C11 atomics compat headers
...
Added headers to define platform specific sizes and types for the C11 atomics
compatibility module for C++.
2019-10-24 23:08:36 +02:00
7847a91e12
cpu: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Joakim Gebart
6473fa77d4
cpu/arm7_common: remove dINT/eINT definitions
2015-09-19 10:37:20 +02:00
012d82ecaf
cpu: arm7_common: remove obsolete hwtimer support
2015-09-16 10:58:53 +02:00
a13bc46f3e
sys: remove uart0
2015-09-04 17:46:23 +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
7ff26d12ea
cpu/arm7_common: Rename Doxygen group to cpu_arm7_common
2015-07-20 12:40:31 +02:00
Joakim Gebart
dc6ab7a3a0
arm7: Remove atomic.s
2015-05-26 21:28:31 +02:00
Joakim Gebart
f15fc173b9
arm7: Add ARCH_HAS_ATOMIC_SET_RETURN
2015-05-07 18:52:13 +02: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
BytesGalore
a4d2ee307c
cpu: added extern "C"
to headers
2014-11-24 19:10:15 +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