lbernstone / arduino-esp32-solo

Compiled libraries for ESP32-SOLO
57 stars 19 forks source link

Newer versions (2.0.3+) #11

Open astrowalker2013 opened 2 years ago

astrowalker2013 commented 2 years ago

Hi, Thanks for your work, but we are having difficulties to compile your library with our library for shelly device who are embedded esp32 unicore.

we developed an OS for ESP32 and ESP8266, our project compiles and runs on different devices. we developed with ARduino ide 1.8.15 in windows 10.

The Compilation was OK before using your library.

we upgraded in 2.0.2 for esp32 device and replaced by your file, but the compilation doesn't work.

The error display :

c:/users/xxxxxxxxxxl/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\xxxxxxxxxxl\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/lib\libesp_littlefs.a(esp_littlefs.c.obj):(.literal.esp_littlefs_init+0x50): undefined reference to `xPortEnterCriticalTimeout'
c:/users/xxxxxxxxxxl/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\xxxxxxxxxxl\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2/tools/sdk/esp32/lib\libesp_littlefs.a(esp_littlefs.c.obj): in function `vPortEnterCritical':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/esp_littlefs/src/esp_littlefs.c:325: undefined reference to `xPortEnterCriticalTimeout'

What could be the issue ? could it be a missing library ?

Jason2866 commented 2 years ago

You can use this it is a complete framework which i provide for Tasmota. Ibernstone is linking in his readme to this build when using Platformio.

lbernstone commented 2 years ago

@Jason2866 Can you change the README.md on your repo to show a platformio.ini env using your release?

Jason2866 commented 2 years ago

@lbernstone Like this https://github.com/Jason2866/esp32-arduino-lib-builder/blob/main_idf441/README.md