jbaumann / pio_and_stm32cubeide

Use PlatformIO with Projects generated by STM32CubeIDE
Apache License 2.0
23 stars 9 forks source link

FatFs library doesn't compile? #14

Open IndianBoy42 opened 1 month ago

IndianBoy42 commented 1 month ago
lib/STLinkedResources/ccsbcs.c:24:10: fatal error: ../ff.h: No such file or directory
   24 | #include "../ff.h"
      |          ^~~~~~~~~
compilation terminated.

The include path of the fatfs library seems strange in a way that makes this not work, because the parent dir is not linked

IndianBoy42 commented 1 month ago

temporarily patched using: cp /home/amedhi/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.0/Middlewares/Third_Party/FatFs/src/*.h lib/