I pulled the latest commits and suddenly I get error like this:
../ChibiOS-RT/os/ext/CMSIS/ST/stm32f4xx.h:144:3: error: #error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)" #error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)" ^ In file included from ../ChibiOS-RT/os/common/ports/ARMCMx/compilers/GCC/vectors.c:32:0: ../ChibiOS-RT/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h:79:2: error: #error "CMSIS __FPU_PRESENT mismatch" #error "CMSIS __FPU_PRESENT mismatch" ^ ../ChibiOS-RT/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h:83:2: error: #error "CMSIS __NVIC_PRIO_BITS mismatch" #error "CMSIS __NVIC_PRIO_BITS mismatch"
What has been changed? I could compile it fine before I pulled the new commits for the master branch.
I was able to fix the ST MCU error (added #define STM32F405xx) but I still have an error of the form:
../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c: In function 'ext_lld_exti_irq_enable': ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c:312:20: error: 'ETH_WKUP_IRQn' undeclared (first use in this function) nvicEnableVector(ETH_WKUP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY); ^ ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c:312:20: note: each undeclared identifier is reported only once for each function it appears in ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c: In function 'ext_lld_exti_irq_disable': ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx
You are my hero! But it did not seem to fix the problem. I synced, cleaned and recompiled and still get:
../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c: In function 'ext_lld_exti_irq_enable': ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c:314:20: error: 'ETH_WKUP_IRQn' undeclared (first use in this function) nvicEnableVector(ETH_WKUP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY); ^ ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c:314:20: note: each undeclared identifier is reported only once for each function it appears in ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c: In function 'ext_lld_exti_irq_disable': ../ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c:343:21: error: 'ETH_WKUP_IRQn' undeclared (first use in this function) nvicDisableVector(ETH_WKUP_IRQn);
EDIT: It seems to be defined as true in. ./ChibiOS-RT/os/hal/ports/STM32/STM32F4xx/stm32_registry.h:377.