-
Notifications
You must be signed in to change notification settings - Fork 132
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
How to handle persistant inclusions of not wanted libraries. #1295
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
Comments
Workaround (not including libraries automatically) helps and is acceptable. |
Even i comment the includes, sloeber.ino.cpp ask to put a new version with the includes... Here is the complete console output message (with out any visible reference to SD & WiFi): |
Here is the out console message for a working project Toto5, the same then Toto4 before including anything |
A) Effect of direct build B) Multi step C) Reality verification (Living or dead?)
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) So it is really not include... D) Stopping the artificial life: |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Description
espressif ESP32 (Board: Dev Module or M5Stack) provides logging by macros reacting to the "Core Debug Level" board setting.
(https://dl.espressif.com/dl/package_esp32_index.json, v1.0.7)
Once a log level is set FreeRTOS library gets included, but the builds fail due to an unresolved dependency to <avr/io.h>. Setting log level back to none and detaching FreeRTOS library enables successful builds again. Arduino IDE builds successfully. (Issue persits with Sloeber independently from whether Arduino IDE is installed or not).
So ESP32 default logging does not work.
To Reproduce
Source ino:
....
\eclipse\arduinoPlugin\libraries\FreeRTOS\10.4.3-8\src" -MMD -MP -MF"libraries\FreeRTOS\src\croutine.c.d" -MT"libraries\FreeRTOS\src\croutine.c.o" -D__IN_ECLIPSE__=1 "E:\dev\eclipse\arduinoPlugin\libraries\FreeRTOS\10.4.3-8\src\croutine.c" -o "libraries\FreeRTOS\src\croutine.c.o"
In file included from E:\dev\eclipse\arduinoPlugin\libraries\FreeRTOS\10.4.3-8\src\Arduino_FreeRTOS.h:57:0,
from E:\dev\eclipse\arduinoPlugin\libraries\FreeRTOS\10.4.3-8\src\croutine.c:27:
E:\dev\eclipse\arduinoPlugin\libraries\FreeRTOS\10.4.3-8\src\FreeRTOSConfig.h:30:20: fatal error: avr/io.h: No such file or directory
compilation terminated.
libraries\FreeRTOS\src\subdir.mk:49: recipe for target 'libraries\FreeRTOS\src\croutine.c.o' failed
make: *** [libraries\FreeRTOS\src\croutine.c.o] Error 1
"E:/dev/eclipse/arduinoPlugin/tools/make/make all" terminated with exit code 2. Build might be incomplete.
18:15:39 Build Failed. 3 errors, 0 warnings. (took 1s.266ms)
Expected behavior
Successful build & logging.
The text was updated successfully, but these errors were encountered: