Refers to this board: viewtopic.php?f=8&t=3278&start=10
Since I've started to build my second revision of my Pecan Pico board, I switched over to the master branch while I wanted to get the watchdog working. I kept my project up to date with the newest ChibiOS updates.
Now I want to get rid one of my old boards and took one of my older software branches. Because I want to implement the watchdog,
I tried to migrate from Commit f5e06da07e1e515ad481d087c44ca3cd6deb5fa9 to the current master. Some locations of files changed but since I've done this before, I thought this wouldn't be a big problem. But somehow something isn't working the right way
Code: Select all
sven@sven-desktop:/src/pecan-stm32f429$ make
ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:221: target 'build/obj/crt0_v7m.S' doesn't match the target pattern
ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:221: target 'build/obj/chcoreasm_v7m.S' doesn't match the target pattern
Compiler Options
arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -Wall -Wextra -Wundef -Wstrict-prototypes -std=c99 -Wa,-alms=build/lst/ -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/build.d -I. -IChibiOS/os/common/startup/ARMCMx/compilers/GCC -IChibiOS/os/common/startup/ARMCMx/devices/STM32F4xx -IChibiOS/os/common/ext/CMSIS/include -IChibiOS/os/common/ext/CMSIS/ST/STM32F4xx -IChibiOS/os/rt/include -IChibiOS/os/common/oslib/include -IChibiOS/os/common/ports/ARMCMx -IChibiOS/os/common/ports/ARMCMx/compilers/GCC -IChibiOS/os/hal/osal/rt -IChibiOS/os/hal/include -IChibiOS/os/hal/ports/common/ARMCMx -IChibiOS/os/hal/ports/STM32/STM32F4xx -IChibiOS/os/hal/ports/STM32/LLD/ADCv2 -IChibiOS/os/hal/ports/STM32/LLD/CANv1 -IChibiOS/os/hal/ports/STM32/LLD/DACv1 -IChibiOS/os/hal/ports/STM32/LLD/DMAv2 -IChibiOS/os/hal/ports/STM32/LLD/EXTIv1 -IChibiOS/os/hal/ports/STM32/LLD/GPIOv2 -IChibiOS/os/hal/ports/STM32/LLD/I2Cv1 -IChibiOS/os/hal/ports/STM32/LLD/MACv1 -IChibiOS/os/hal/ports/STM32/LLD/OTGv1 -IChibiOS/os/hal/ports/STM32/LLD/QUADSPIv1 -IChibiOS/os/hal/ports/STM32/LLD/RTCv2 -IChibiOS/os/hal/ports/STM32/LLD/SDIOv1 -IChibiOS/os/hal/ports/STM32/LLD/SPIv1 -IChibiOS/os/hal/ports/STM32/LLD/TIMv1 -IChibiOS/os/hal/ports/STM32/LLD/USARTv1 -IChibiOS/os/hal/ports/STM32/LLD/xWDGv1 -Iboard_pecanpico7a/ -IChibiOS/os/hal/lib/streams -IChibiOS/os/various -Imodules/ -Idrivers -Iprotocols/aprs -Iprotocols/ssdv -Iprotocols/cw -Imath/ -ISTM32F4xx_StdPeriph_Driver/inc -Iimages/ main.c -o main.o
Compiling
arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:226: recipe for target 'build/obj/crt0_v7m.S' failed
make: *** [build/obj/crt0_v7m.S] Error 1