Skip to content

Instantly share code, notes, and snippets.

@RyanMacG
Created December 17, 2019 15:25
Show Gist options
  • Save RyanMacG/65b12ca38cdb57c9eaf199387c95460e to your computer and use it in GitHub Desktop.
Save RyanMacG/65b12ca38cdb57c9eaf199387c95460e to your computer and use it in GitHub Desktop.
make CTPC=yes kingly_keys/romac:default
QMK Firmware 0.7.97
Making kingly_keys/romac with keymap default
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling: tmk_core/common/chibios/bootloader.c In file included from ./lib/chibios/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xc.h:168,
from ./lib/chibios/os/common/ext/CMSIS/ST/STM32F3xx/stm32f3xx.h:153,
from ./lib/chibios/os/common/startup/ARMCMx/devices/STM32F3xx/cmparams.h:72,
from ./lib/chibios/os/common/ports/ARMCMx/chcore.h:70,
from ./lib/chibios/os/rt/include/ch.h:81,
from tmk_core/common/chibios/bootloader.c:3:
./lib/chibios/os/common/ext/CMSIS/include/cmsis_gcc.h: In function 'enter_bootloader_mode_if_requested':
./lib/chibios/os/common/ext/CMSIS/include/core_cm4.h:93:28: error: listing the stack pointer register 'sp' in a clobber list is deprecated [-Werror=deprecated]
93 | #define __ASM __asm /*!< asm keyword for GNU Compiler */
| ^~~~~
./lib/chibios/os/common/ext/CMSIS/include/cmsis_gcc.h:190:3: note: in expansion of macro '__ASM'
190 | __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp");
| ^~~~~
./lib/chibios/os/common/ext/CMSIS/include/core_cm4.h:93:28: note: the value of the stack pointer after an 'asm' statement must be the same as it was before the statement
93 | #define __ASM __asm /*!< asm keyword for GNU Compiler */
| ^~~~~
./lib/chibios/os/common/ext/CMSIS/include/cmsis_gcc.h:190:3: note: in expansion of macro '__ASM'
190 | __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp");
| ^~~~~
cc1: all warnings being treated as errors
[ERRORS]
|
|
|
make[1]: *** [.build/obj_kingly_keys_romac_default_proton_c/common/chibios/bootloader.o] Error 1
make: *** [kingly_keys/romac:default] Error 1
Make finished with errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment