Hi,
I would like to use Arduino code in Eclipse and from the command line, but I am having difficulties doing so.
I've followed the instructions in https://github.com/espressif/arduino-es ... mponent.md and I got some build errors.
I then tried to follow Ibernstone's instructions here: https://github.com/espressif/arduino-esp32/issues/1142. However I am running Windows and I can't find the arduino-esp32/tools/sdk/ directory so I'm stuck.
I have installed the latest version of Arduino (1.8.6) and the lastest ESP-IDF. I have also made a project as per the instructions above ("To use as a component of ESP-IDF").
When I ran make the first time on my test project (basic Arduino Blink sketch) I got a load of configuration questions (I just selected the defaults), followed by the build (in attached file). The build ends with 2 errors.
Arduino ESP32
Arduino ESP32
- Attachments
-
- ArduinoESP32MakeLog.zip
- (5.43 KiB) Downloaded 560 times
Re: Arduino ESP32
I can't comment on compiling Arduino core from Eclipse, but I was able to successfully install and compile from the Arduino IDE using these steps:
https://learn.sparkfun.com/tutorials/es ... duino-core
https://learn.sparkfun.com/tutorials/es ... duino-core
Re: Arduino ESP32
Thanks, but I already have the Arduino IDE and Eclipse-Arduino (Sloeber). I can also run C/C++ ESP32 programs either from the command line or from Eclipse.
My issue is that I have quite a lot of code written for Arduino that I would like to convert to C++. I could do this manually, but it's time-consuming, so I would like to run the code as a C++ component. This would allow me to build on the code in C++ without having to modify the existing Arduino code ... or it would give me more time to modify the Arduino code bit by bit.
My issue is that I have quite a lot of code written for Arduino that I would like to convert to C++. I could do this manually, but it's time-consuming, so I would like to run the code as a C++ component. This would allow me to build on the code in C++ without having to modify the existing Arduino code ... or it would give me more time to modify the Arduino code bit by bit.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 103 guests