Replies: 7 comments 5 replies
-
|
If you use the boards manager to install esp32 packages (like in arduino ide) there are no additional actions needed. |
Beta Was this translation helpful? Give feedback.
-
|
@jantje thanks for the reply, I'm not sure I understand. Are you saying I should be good to build ESP32 programs in Sloeber 4.4.3.202402080117? By "boards manager" do you mean Sloeber -> Preferences -> Platforms and Boards ? If so then that's done, I don't know another way. I've got ESP32 version 3.3.1 enabled. What about the missing environment variables? (build.fqbn = "ESP32:esp32:esp32", build.variant = "esp32", runtime.os = "generic_os") and then having to remove the FreeRTOS library? No matter what I've tried I still have (inconsistent) unresolved symbols even when the code compiles. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks again for your reply. The tutorial is good - wish I had seen it a while ago as I kind of gave up on 4.4.3 and installed V5 separately and have had more success with that... no index errors, compiles ok and uploads ok. But I have some code using the ATC_MiThermometer library which uses some standard C++ features like std::string and std::vector. These get flagged as unresolved although again they seem to compile (code crashes on an ESP32 but that may be for another reason, I've not had a chance to check yet.) What is the situation with the C++ standard library? BTW, I used your YouTube video on installing arduino-esp32 as a GitHub project. I got it working but I didn't notice the pathname suggested by Sloeber contained the literal "%userprofile%" and happily put the project files in a folder named "...%userprofile%..." which only caused a problem when I tried to run "get.exe" - I assume the Windows command interpreter saw the literal as an environment variable and basically just sat there doing nothing. Renaming the folder, and updating the references fixed it. I don' know if the %userprofile% was intended and I just wasn't observant enough. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
I'm sorry to hear that, I like Eclipse and it was a big plus for me to be able to code for numerous targets in the one app. My exchange with CDT is here: [(https://github.com/eclipse-cdt/cdt/discussions/1314)] Thanks for your efforts. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Well as long as I'm alive Sloeber will probably be alive as well. So enjoy as long as it lasts. As to the exchange with CDT I'm happy to see jonahgraham sees the current eclipse/CDT state -at the technological level- pretty much like I do. He is a bit dishonest about the following though
As I had the same problem with eclipse provided plug-ins but the problem is probably worse in 3rd party plug-ins.
Basically nobody can fix someone doing stupid things. However Eclipse could do a way better job at documenting how to do it correctly.
And here I fully agree with Jonah.
I'm not sure how oomph work with this "shared storage" and that is again why I opted to provide the sloeber product as an stand alone archive without oomph.
Absolutely 100% agree with Jonah here that there is no capability for this.
This is the way forward CDT decided upon and which will lead to Sloeber having to switch (I don't see a real problem here) or work with degraded functionality. As far as I understand the LSP editor is no longer using the CDT indexer (it has it's own) and Sloeber uses the indexer for include headers to find libraries to add to the project and to open the serial monitor with the correct baud rate. |
Beta Was this translation helpful? Give feedback.
-
I couldn't remember, so I had to check. The code compiled and uploaded but showed errors on-screen.
Lol, at university I was taught that computers were deterministic, finite state machines, now it seems like (to misquote) do the same thing over and over and get different results :-)
I didn't realise I had a choice. I'm using V5 as installed. That's CDT, right?
Yes, I've used Eclipse long enough to know this only too well, but usually it doesn't take this much effort to fix it. Thanks for your comments on the CDT conversation, I appreciate your time and your efforts on Sloeber. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've used Eclipse for some time but the last update trashed my installation and the advice I basically got from the CDT team was don't use any plugins - go figure. I'm looking to start developing for the ESP32 so decided to try the Sloeber product and installed 4.4.3. Eventually got it to work after reading about adding missing environment variables which is less than ideal. But now I have the indexing problem where the program compiles ok but the IDE is full of errors. I've seen posts referring to version 5 fixing this, but I haven't seen any advice on how to upgrade from 4 to 5. Am I missing something?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions