Skip to content

All Cortex-M platforms broken on current master #5726

@haukepetersen

Description

@haukepetersen

Just wanted to bulid something for the arduino-due on the current master, but something broke (actually it broke for all cortex-m based boards):

/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c: In function `hard_fault_handler':
/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c:276:9: error: `orig_sp' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         __asm__ volatile (
         ^
/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c:271:15: error: `pc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         printf("In GDB:\n  set $pc=0x%" PRIx32 "\n  frame 0\n  bt\n", pc);
               ^
cc1: all warnings being treated as errors

What happened here?

Metadata

Metadata

Assignees

Labels

Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions