Replies: 6 comments
-
This is a issue about ESP32 using a undocumented feature arduino/arduino-cli#2369 |
Beta Was this translation helpful? Give feedback.
-
@jantje: OK first issue regarding file_opts is solved by adding two lines in platform.txt and following the #1533 But I still have the '... could not be resolved' errors at hand. But how to get rid of all those '...could not be resolved' errors in the IDE please? |
Beta Was this translation helpful? Give feedback.
-
Check the sloeber tutorial: https://github.com/Sloeber/arduino-eclipse-plugin/discussions/1555 |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks, I already right clicked the project and chose 'Freshen all files'. But it seems nothing happens inside the IDE. Am I still missing something? |
Beta Was this translation helpful? Give feedback.
-
The indexer (Which is a CDT thing not Sloeber thing) is picky and sometimes the indexer just doesn't want to do it. |
Beta Was this translation helpful? Give feedback.
-
Starting the IDE new and Index-->Rebuild did help - thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
today I installed Sloeber 4.4.1 on my Windows 11 machine.
I installed the ESP32 platform (https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json).
Then I wanted to start with simple Blink example for my ESP32 WROOM. The board I used is 'ESP32 Dev Module'.
But I get following compile error:
`...
DARDUINO_BOARD="ESP32S3_DEV"" -DARDUINO_VARIANT="esp32s3" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\Users\Thomas\Documents\sloeber441workspace\Test\Release/file_opts" -I"C:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\variants\esp32s3" -I"C:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\cores\esp32" -MMD -MP -MF"sloeber.ino.cpp.d" -MT"sloeber.ino.cpp.o" -D__IN_ECLIPSE__=1 -x c++ "..\sloeber.ino.cpp" -o "sloeber.ino.cpp.o"
xtensa-esp32s3-elf-g++: error: C:\Users\Thomas\Documents\sloeber441workspace\Test\Release/file_opts: No such file or directory
make[1]: *** [subdir.mk:20: sloeber.ino.cpp.o] Error 1
make: *** [makefile:97: all] Error 2
"C:/Sloeber441/arduinoPlugin/tools/make/make all" terminated with exit code 2. Build might be incomplete.
12:20:24 Build Failed. 2 errors, 0 warnings. (took 2s.115ms)
`
The blink.ino looks like this:
`// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
`
In the IDE I get red underlines, if I hover the mouse it says:
Function pinMode could not be resolved
Function delay could not be resolved
Function digotalWrite could not be resolved
and further:
Symbol LED_BUILTIN could not be resolved
Symbol OUTPUT could not be resolved
Symbol HIGH could not be resolved
Symbol LOW could not be resolved
What I am missing please?
Beta Was this translation helpful? Give feedback.
All reactions