grblHAL / STM32F1xx

grblHAL driver for ST STM32F1xx (Redpill, Bluepill)
Other
39 stars 27 forks source link

Compiling error occurred, When enabled SD card #13

Closed MeKeCNC closed 2 years ago

MeKeCNC commented 2 years ago

Processing BTT_SKR_MINI_E3_V20_USB (board: genericSTM32F103RC; platform: ststm32; framework: stm32cube) ---------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 (15.1.0) > STM32F103RC (48k RAM. 256k Flash) HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 256KB Flash DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:

:0:0: note: this is the location of the previous definition Archiving .pio\build\BTT_SKR_MINI_E3_V20_USB\libFrameworkCMSISDevice.a Linking .pio\build\BTT_SKR_MINI_E3_V20_USB\firmware.elf .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `file_read': sdcard.c:(.text.file_read+0xe): undefined reference to `f_read' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `file_close': sdcard.c:(.text.file_close+0x8): undefined reference to `f_close' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `file_open': sdcard.c:(.text.file_open+0x16): undefined reference to `f_open' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `sd_cmd_unmount': sdcard.c:(.text.sd_cmd_unmount+0x28): undefined reference to `f_mount' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `sdcard_on_program_completed': sdcard.c:(.text.sdcard_on_program_completed+0x12): undefined reference to `f_lseek' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `sdcard_mount': sdcard.c:(.text.sdcard_mount+0x30): undefined reference to `f_mount' .pio/build/BTT_SKR_MINI_E3_V20_USB/lib0f3/sdcard/sdcard.o: In function `scan_dir': sdcard.c:(.text.scan_dir+0x1a): undefined reference to `f_opendir' sdcard.c:(.text.scan_dir+0x38): undefined reference to `f_readdir' sdcard.c:(.text.scan_dir+0x114): undefined reference to `f_readdir' sdcard.c:(.text.scan_dir+0x124): undefined reference to `f_readdir' sdcard.c:(.text.scan_dir+0x176): undefined reference to `f_closedir' collect2.exe: error: ld returned 1 exit status *** [.pio\build\BTT_SKR_MINI_E3_V20_USB\firmware.elf] Error 1 ============================================================== [FAILED] Took 18.81 seconds ============================================================== Environment Status Duration ----------------------- -------- ------------ BTT_SKR_MINI_E3_V20_USB FAILED 00:00:18.808 ========================================================= 1 failed, 0 succeeded in Terminal will be reused by tasks, press any key to close it. my platformio.ini file: [platformio.txt](https://github.com/grblHAL/STM32F1xx/files/7920511/platformio.txt)