[riot-commits] [RIOT-OS/RIOT] a5449b: cpu/cortexm_common: only set naked attribute on DE...
Hauke Petersen
devel at haukepetersen.de
Mon Nov 2 18:04:57 CET 2015
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: a5449bcbd4e8a69d5d9805af4d211527516be5f0
https://github.com/RIOT-OS/RIOT/commit/a5449bcbd4e8a69d5d9805af4d211527516be5f0
Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
Date: 2015-10-28 (Wed, 28 Oct 2015)
Changed paths:
M cpu/cortexm_common/include/vectors_cortexm.h
M cpu/cortexm_common/vectors_cortexm.c
Log Message:
-----------
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.
Commit: c3340b7ccf166385ecddb4f1b613d0dbd216e853
https://github.com/RIOT-OS/RIOT/commit/c3340b7ccf166385ecddb4f1b613d0dbd216e853
Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
Date: 2015-10-28 (Wed, 28 Oct 2015)
Changed paths:
M cpu/cortexm_common/vectors_cortexm.c
Log Message:
-----------
cpu/cortexm_common: Use PRIx32 for printing uint32_t in hard fault handler
fixes errors like:
error: format specifies type 'unsigned long' but the argument has
type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
Commit: 3ab389b1fd3a708a3198d3549be240031d316ef0
https://github.com/RIOT-OS/RIOT/commit/3ab389b1fd3a708a3198d3549be240031d316ef0
Author: Hauke Petersen <devel at haukepetersen.de>
Date: 2015-11-02 (Mon, 02 Nov 2015)
Changed paths:
M cpu/cortexm_common/include/vectors_cortexm.h
M cpu/cortexm_common/vectors_cortexm.c
Log Message:
-----------
Merge pull request #4134 from gebart/pr/cortexm-hardfault-naked-fix
cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
Compare: https://github.com/RIOT-OS/RIOT/compare/be7a34b1b85b...3ab389b1fd3a
More information about the commits
mailing list