Teufelchen1
c8d5fe2352
boards/cpu: Add limited GBA boot support to RIOT
2024-04-10 17:06:14 +02:00
Benjamin Valentin
aa376f05c0
cpu/arm7_common: drop cyclic include
2022-12-13 15:55:17 +01:00
Benjamin Valentin
41a5b7ef7a
core: change return type of irq_is_in(), irq_is_enabled() to bool
...
This only cleans up the API, no change in behavior or users of the API
is expected.
2021-12-08 15:53:15 +01:00
Jean-Pierre De Jesus DIAZ
8c9759063e
cpu/arm7_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-05 20:38:30 +02:00
Hauke Petersen
7baf5b4a46
cpu/arm7: add irq_is_enabled()
2021-08-25 08:01:05 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
84dfc88ca3
cpu/arm7_common: Inline thread_yield_higher function
2021-01-20 10:37:42 +01:00
Marian Buschsieweke
dd48ced151
cpu/*/atomic_utils_arch.h: Add volatile qualifier
2020-11-24 14:00:52 +01:00
792e031a95
Merge pull request #14331 from maribu/atomic_utils
...
sys/atomic_utils: Functions for atomic access
2020-11-12 21:44:53 +01:00
Marian Buschsieweke
9c6aed75e6
cpu/arm7_common: Add atomic_utils_arch.h
2020-11-10 10:55:13 +01:00
Marian Buschsieweke
29132c9013
cpu/arm7_common: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Benjamin Valentin
464dc63f08
cpu/arm7_common: add __ARM_FEATURE_CLZ feature test
...
The feature test macro should work on all ARM CPUs supported by gcc.
2020-07-21 16:03:59 +02:00
Benjamin Valentin
e26ed32cd6
cpu/arm7_common: simplify irq_restore()
...
We do not manipulate the CPSR register outside of irq_%, so we can just
restore it's previous value and don't have to fiddle with the IRQ MASK bit.
See https://www.keil.com/pack/doc/CMSIS/Core_A/html/group__CMSIS__CPSR.html
2020-05-15 13:43:04 +02:00
Benjamin Valentin
8d0e902d38
cpu/arm7_common: add inlined header only def for irq_%
2020-05-15 13:43:04 +02:00
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