I just synced down the latest commits to 3.0.0, and whenever I try to compile now (a completely new and clean project, including demos, with FPU enabled) I get these errors:
Compiling chcore_v7m.c
Compiling chdebug.c
../ChibiOS-RT/os/rt/ports/ARMCMx/chcore_v7m.c: In function 'SVC_Handler':
../ChibiOS-RT/os/rt/ports/ARMCMx/chcore_v7m.c:67:3: error: 'SCB_FPCCR' undeclared (first use in this function)
SCB_FPCCR &= ~FPCCR_LSPACT;
^
../ChibiOS-RT/os/rt/ports/ARMCMx/chcore_v7m.c:67:3: note: each undeclared identifier is reported only once for each function it appears in
../ChibiOS-RT/os/rt/ports/ARMCMx/chcore_v7m.c:67:17: error: 'FPCCR_LSPACT' undeclared (first use in this function)
SCB_FPCCR &= ~FPCCR_LSPACT;
^
make: *** [build/obj/chcore_v7m.o] Error 1
make: *** Waiting for unfinished jobs....
And when I search the entire repository for FPCCR_LSPACT I cannot seem to find its definition.
Is this a new compile bug or have I made an error?
It works if you disable the FPU in:
Code: Select all
ifeq ($(USE_FPU),)
USE_FPU = softfp
endif
Edit: This is done with the STM32F4xx demos.
Best Regards
Emil