Commit Graph

46 Commits (62fc1e0c3d1d766eb187fbf9a662144a7a4786a8)

Author SHA1 Message Date
Joakim Nohlgård 20b184604b cortexm_common: Remove atomic_arch 7 years ago
Hauke Petersen 3da9ceb705 cpu/cortexm: fixed cortexm_sleep() 7 years ago
Kaspar Schleiser be7771e0b9 cpu: cortexm_common: add define for number of non-isr exceptions 7 years ago
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 7 years ago
Hauke Petersen ed5d7ac0fd cpu/cortexm: added shared cortexm_sleep() function 7 years ago
Hauke Petersen 04b246cb01 cpu/cortexm_common: added cortexm_isr_end() function 7 years ago
zhuoshuguo a60fa5b8d3 cpu/cortexm_common: fix include guards. 7 years ago
Ian Martin b7bd6b3479 cpu/cortexm_common: add Memory Protection Unit (MPU) driver 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
DipSwitch 64b3957323 cpu/cortexm_common: Fix cpu_sleep_until_event() 8 years ago
Joakim Nohlgård d8b01a714c cpu/cortexm_common: Doxygen fix for cmsis_gcc.h 8 years ago
Joakim Nohlgård 61c9ba2c64 cpu/cortexm_common: Whitespace fix CMSIS header 8 years ago
Joakim Gebart bea6cb9f15 cortexm: CMSIS: Add extern "C" to CMSIS headers 8 years ago
Joakim Nohlgård 26f43786b8 cpu/cortexm_common: Update CMSIS v4.5
Original headers unmodified from CMSIS-SP-00300-r4p5-00rel0.zip
8 years ago
Kaspar Schleiser 6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 8 years ago
Hauke Petersen eb79646ab1 cpu/cortexm_common: added sleep_until_event 8 years ago
Oleg Hahm f24e810de5 cpu cortexm_common: fix pedantic compiler warnings 8 years ago
Hauke Petersen cf11b073d6 cpu/cortexm_common: define ISR stacksize in cpu.h 8 years ago
Joakim Nohlgård a5449bcbd4 cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
Fixes error on LLVM/Clang:

   cpu/cortexm_common/vectors_cortexm.c:287:5: error: non-ASM statement in naked function is not supported
       core_panic(PANIC_HARD_FAULT, "HARD FAULT HANDLER");
       ^
   cpu/cortexm_common/include/vectors_cortexm.h:65:46: note: attribute is here
   void hard_fault_default(void) __attribute__((naked));
                                                ^
   1 error generated.
8 years ago
Kaspar Schleiser effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
8 years ago
Joakim Nohlgård 98c465008b all: Update @gebart family name, email 8 years ago
Joakim Gebart b6a88cba5f cpu/cortexm_common: remove dINT/eINT definitions 8 years ago
Martine Lenders 93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
8 years ago
Oleg Hahm f3245cecac core: panic: last instruction's address for assert 8 years ago
Oleg Hahm d7161b6d4b cpu: inline function to print instruction register 8 years ago
Kaspar Schleiser d3006b171a cpu: cortexm_common: remove obsolete UART0_BUFSIZE define 8 years ago
Oleg Hahm e2639d7f83 core: use enums for panic 8 years ago
daniel-k 7a86344c4d cpu/cortexm_common: gather addition information on hardfault 8 years ago
Cenk Gündoğan 6e1a593e28 cortexm_common: use doxygen todo 8 years ago
Hauke Petersen c286da8d7f cpu/cortexm: unified startup code and isr handlers 8 years ago
Joakim Gebart fc92ec98bf cortexm: CMSIS: Add extern "C" to CMSIS headers 8 years ago
Joakim Gebart 1cfb11bcde cortexm: CMSIS: Suppress cppcheck error about uninitialized result
False positive, the variable result is assigned from within inline assembly
8 years ago
Joakim Gebart 9511027946 cortexm: CMSIS: Replace tabs by spaces 8 years ago
Joakim Gebart 5bfed6c3f7 cortexm: Update CMSIS to v4.3
found at www.arm.com/cmsis
8 years ago
Peter Kietzmann 6dc0e789e1 Merge pull request #3101 from gebart/pr/warning-fixes
Various warning fixes
8 years ago
Hauke Petersen 78d65a4dec cpu/cortexm_common: centralized init and defines
- added a centralized core implementation for all cortex CPUs
- moved default stack size defines to cpu.h in cortexm_common
- moved uart0 bufsize define to cpu.h in cortexm_common
- moved typed of panic_t to cpu.h in cortexm_common
8 years ago
Joakim Gebart 8a34b15964 cortexm_common: Conditionally define __set_FPSCR
It is an error to call __set_FPSCR if no FPU is present in the CPU.
8 years ago
Hauke Petersen b8dd144e03 cpu: unified cortexm_common folder
- removed coretx-m[0|3|4]
- moved their content to cortexm_common
- adjusted cortex Makefiles to this new name
- adjusted cortex Makefiles new structure
8 years ago
Hauke Petersen ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 9 years ago
Martin Lenders 2362623490 Fix trailing whitespaces
Fixes #1138
9 years ago
Oleg Hahm ef4fe6616c documentation: unified descriptive text for cpu 9 years ago
Ludwig Ortmann aa4e61fab2 documentation: clean up doxygen mess after cortex
fixes #1190
10 years ago
Hauke Petersen 27133d25fe cpu: Initial import of cortexm_common files
- fixes to cortexm-common
- Added ARM CMSIS headers to cortexm_common
- thread_exit fixes to cortexm-common
- cortexm-common adjusted documentation

- cortexm_common added eINT dINT defines for now
10 years ago