Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware failes to compile, littlefs bug #51

Closed
angrox opened this issue Nov 12, 2020 · 1 comment · Fixed by #53
Closed

Firmware failes to compile, littlefs bug #51

angrox opened this issue Nov 12, 2020 · 1 comment · Fixed by #53
Assignees
Labels
bug Something isn't working firmware Affects the development of the firmware

Comments

@angrox
Copy link
Collaborator

angrox commented Nov 12, 2020

Describe the bug
Firmware fails to compile due to littlefs library error.

To Reproduce
Steps to reproduce the behavior:

  1. Compile firmware

Expected behavior
Build firmware without error.

Screenshots

Compiling .pio/build/esp32/libba2/LittleFS_esp32/lfs.c.o
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c: In function 'esp_vfs_littlefs_register':
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c:208:9: error: unknown field 'utime_p' specified in initializer
         .utime_p     = &vfs_littlefs_utime,
         ^
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c:208:24: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
         .utime_p     = &vfs_littlefs_utime,
                        ^
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c:208:24: note: (near initialization for 'vfs.<anonymous>.access_p')
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c:179:27: warning: missing braces around initializer [-Wmissing-braces]
     const esp_vfs_t vfs = {
                           ^
.pio/libdeps/esp32/LittleFS_esp32/src/esp_littlefs.c:179:27: note: (near initialization for 'vfs')
*** [.pio/build/esp32/libba2/LittleFS_esp32/esp_littlefs.c.o] Error 1
@angrox angrox added bug Something isn't working firmware Affects the development of the firmware labels Nov 12, 2020
@angrox
Copy link
Collaborator Author

angrox commented Nov 12, 2020

Used littlefs library: https://github.com/lorol/LITTLEFS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working firmware Affects the development of the firmware
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants