I'm trying to interface with an SD card so I tried compiling the SDC example for F4 and that worked, THen I copied "HAL_USE_SDC TRUE" over to my halconf.h for my F0 project, and got a "hal_sdc_lld.h not found" or something like that.
Since I was using a version that's a few months old. I decided to upgrade. On the upgraded version, the SDC example no longer compiles:
Code: Select all
arm-none-eabi-gcc -E -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -flto -fno-rtti -Wall -Wextra -Wundef -Wa,-alms=build/lst/crt0_v7m.S -DCORTEX_USE_FPU=FALSE -DSHELL_CMD_TEST_ENABLED=0 -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/crt0_v7m.s.d ../../../../os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S > ../../../../os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.s
../../../../os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S:1:0: error: target CPU does not support ARM mode
Update: I don't need SDC< but SD_MMC or whatever it's called.... Now working with the released chibios. Seems no SD-MMC example exists....