Giter Club home page Giter Club logo

Comments (6)

terjeio avatar terjeio commented on June 5, 2024

You have to add a search path for include files to the FatFs directory in the .ini file.
And currently the new code will not build unless FatFs is configured for read/write (#define FF_FS_READONLY 0) in ffconf.h - I'll fix that in the next release.

from stm32f1xx.

MeKeCNC avatar MeKeCNC commented on June 5, 2024

You have to add a search path for include files to the FatFs directory in the .ini file. And currently the new code will not build unless FatFs is configured for read/write (#define FF_FS_READONLY 0) in ffconf.h - I'll fix that in the next release.

Yes I already have added a search path for include files to the FatFs directory in the .ini file.
also changed (#define FF_FS_READONLY 0) in ffconf.h , but still gave compiling error
platformio.txt

from stm32f1xx.

terjeio avatar terjeio commented on June 5, 2024

I have commited a fix for the FatFs wrapper and I can build successfully with your platformio.ini above. There are a bunch of warnings but no errors:

...
Linking .pio\build\BTT_SKR_MINI_E3_V20_USB\firmware.elf
Checking size .pio\build\BTT_SKR_MINI_E3_V20_USB\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [===       ]  34.4% (used 16896 bytes from 49152 bytes)
Flash: [======    ]  56.3% (used 147660 bytes from 262144 bytes)
Building .pio\build\BTT_SKR_MINI_E3_V20_USB\firmware.bin

from stm32f1xx.

MeKeCNC avatar MeKeCNC commented on June 5, 2024

The cause of the problem is due to the FatFs version.
I was trying the latest version of FatFs (FatFs R0.14b), still error, it worked in previous version (FatFs R0.13c).
Thank you very much for your interest

from stm32f1xx.

terjeio avatar terjeio commented on June 5, 2024

Last commit has been updated for 0.14.

from stm32f1xx.

MeKeCNC avatar MeKeCNC commented on June 5, 2024

cool, it is working right now

from stm32f1xx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.