Vincent Dupont
f656a31e58
cpu/cortexm_common: use linker variable to initialize SCB->VTOR
6 years ago
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
6 years ago
Michael Andersen
a72df9f015
cpu/cortexm_common: fix periph_pm typo
6 years ago
Joakim Nohlgård
20b184604b
cortexm_common: Remove atomic_arch
6 years ago
Hauke Petersen
3da9ceb705
cpu/cortexm: fixed cortexm_sleep()
6 years ago
Oleg Hahm
c5abb08316
Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
...
cortex_m: Add debug symbols for OpenOCD/GDB thread support
6 years ago
Kaspar Schleiser
be7771e0b9
cpu: cortexm_common: add define for number of non-isr exceptions
6 years ago
Kaspar Schleiser
d8f0eaf127
cpu: cortexm: fix signed<->unsigned compare
6 years ago
Kaspar Schleiser
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
6 years ago
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
6 years ago
Hauke Petersen
801eeceb59
cpu/cortexm: removed unused pm include in panic.c
6 years ago
Hauke Petersen
409516c4d2
cpu/cortexm: moved pm.c to periph/pm.c
6 years ago
Kaspar Schleiser
079a6ec5f4
Merge pull request #6346 from haukepetersen/opt_pm_cortexmsleep
...
cpu/cortexm: added shared cortexm_sleep() function
6 years ago
daniel-k
9d403d95ce
cortex_m: Add debug symbols for OpenOCD/GDB thread support
6 years ago
Joakim Nohlgård
8c82d9952b
cortexm_common: Fix -Wsign-compare warning in cortexm_init
6 years ago
Joakim Nohlgård
2c5e1065c5
cortexm_common: Fix unused parameter warnings in mpu_configure
6 years ago
Hauke Petersen
ed5d7ac0fd
cpu/cortexm: added shared cortexm_sleep() function
6 years ago
Kaspar Schleiser
807a190e20
cpu: cortexm: adapt to periph/pm
6 years ago
Kaspar Schleiser
ca7bf15ac4
core: panic: adapt to pariph/pm
6 years ago
Kaspar Schleiser
0194091673
remove obsolete lpm code
6 years ago
Hauke Petersen
04b246cb01
cpu/cortexm_common: added cortexm_isr_end() function
7 years ago
Ian Martin
299a3eed3b
cpu/cortexm_common: simplify ARVALID tests and fix BFARVALID test.
7 years ago
zhuoshuguo
a60fa5b8d3
cpu/cortexm_common: fix include guards.
7 years ago
Kaspar Schleiser
0dfcefc003
cpu: cortexm_common: fix compile warning
7 years ago
Ian Martin
22b5de86a5
add mpu_stack_guard pseudomodule (just Cortex-M for now)
...
triggers an exception during stack overflow,
but at a cost of 32-63 bytes of RAM per thread.
7 years ago
Ian Martin
b7bd6b3479
cpu/cortexm_common: add Memory Protection Unit (MPU) driver
7 years ago
Joakim Nohlgård
11c11a5ecf
Merge pull request #5727 from kaspar030/fix_panic_compile
...
cpu: cortexm_common: fix compile warning
7 years ago
Kaspar Schleiser
3dfafde027
cpu: cortexm_common: fix compile warning
7 years ago
Kaspar Schleiser
5a03f08f91
cpu: cortexm_common: compile thread_arch.c without LTO
7 years ago
Kaspar Schleiser
0bd2805b0c
cpu: cortexm_common: explicitly define isr_pendsv and isr_svc
7 years ago
Antoine Faure
31e675b359
cpu: cortex_common: Add entry point to tell gdb where to start
7 years ago
Joakim Nohlgård
5cd91bc784
cortexm: Hard fault: Try to output as much as possible even with corrupt stack
7 years ago
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
7 years ago
Joakim Nohlgård
cb19a4c709
cortexm_common: Fix isr_stack_usage
...
Refactor and add multiply by word size to get the usage in number of
bytes instead of in number of words.
Verified implementation by manual memory inspection in GDB.
7 years ago
Joakim Nohlgård
4c91121372
Merge pull request #5455 from locicontrols/move-stack
...
cortexm_common: move the stack to the bottom of RAM
7 years ago
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
7 years ago
Martine Lenders
9b1ad7820c
Merge pull request #5491 from MohmadAyman/isr_stack_usage
...
cpu: add capability to show stack usage of ISR
7 years ago
MohmadAyman
53df3e8b57
core: cpu: provide function to acquire ISR stack usage
7 years ago
Joakim Nohlgård
9ad9f400e6
cpu/cortexm_common: Remove register keyword from variables
...
register is deprecated when building C++11 code and removed in C++17,
using it will cause build failures with C++ and -Werror. The register
hint keyword is likely ignored in GCC anyway.
7 years ago
Ian Martin
87e06756a5
cortexm_common: move the stack to the bottom of RAM
7 years ago
Toon Stegen
63c0e9bec6
cortexm_common: print trapped interrupt from ipsr
...
The IPSR (=Interrupt Program Status Register) contains the exception
type number of the current Interrupt Service Routine. Printing this
out can be useful to detect if a certain interrupt is not implemented.
7 years ago
DipSwitch
b6140f15f3
cpu/cortex-m: Enable STKALIGN to make the Cortex-M keep the stack 8 byte aligned on 4 byte aligned stack pointers
7 years ago
Kaspar Schleiser
c3f7186d4e
unify usage of inline assembly
7 years ago
DipSwitch
64b3957323
cpu/cortexm_common: Fix cpu_sleep_until_event()
7 years ago
Joakim Nohlgård
d8b01a714c
cpu/cortexm_common: Doxygen fix for cmsis_gcc.h
7 years ago
Joakim Nohlgård
61c9ba2c64
cpu/cortexm_common: Whitespace fix CMSIS header
7 years ago
Joakim Gebart
bea6cb9f15
cortexm: CMSIS: Add extern "C" to CMSIS headers
7 years ago
Joakim Nohlgård
26f43786b8
cpu/cortexm_common: Update CMSIS v4.5
...
Original headers unmodified from CMSIS-SP-00300-r4p5-00rel0.zip
7 years ago
Kaspar Schleiser
6881f65f46
cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h
7 years ago
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
7 years ago