Ive followed the guide in the wiki and that no longer works… My trouble when i upgraded from neon to oxygen…
I get all sorts of strange random errors from boards not loading to core folders not listing everything in the core.
heck even get unresolved or undeclared errors with data types like uint32_t…
I have tried so many times to get this working liturally spent the last couple of weeks.
Ive uninstalled eclipse and reinstalled and reinstalled sloeber and cdt and still Nothing.
So for macs windows anything is can I please have a working fool proof guide to getting it to work?
I would recommend to use PlatformIO, then export project to Eclipse. It works.
It really has been causing so much headache for me…
ArduinoIDE for STM32 ???
It’s not like I do not understand the benefits of using Eclipse, but unless you are very familiar with the product, it is like taking a stroll through a field of poison ivy naked
Ray
every update , maybe if there is away to use otto stm32f4 resources maybe things will be much easier, i do understand the beauty of having arduino coding syntax over complicated st time consuming algorithms. and yes i will have no hair left in my body trying to catch all the tricks and tips just to make this work on stm32f4, yes it is a great and appreciated effort no doubt about that. arduino.org with st may have started new business away from atmel still days will tell how far ST will take newly configured IDE to win this makers wave.
After I installed “Sloeber” it did not compile correctly any more.
There is a lot of topics I posted on it with very details.
Everything works on a few clicks, switching between about 6 core repositories by 5 clicks, having about 60 projects, building/compiling everyday for Roger’s and Daniel’s core repos in their several versions, for F103 and F407 (to switch between mcus and the core used takes about 5-8 clicks based on config options, all config options are taken over by Sloeber from respective boards.txt), no problem. Uploading via ..duino bootloader or via j-Link, debugging via J-link. To build and upload takes 1 click (in j-link as well bootloader version).
Plus you will get a professional Eclipse editing environment.
Of course, you have to invest some time to configure it and to learn the right clicks under specific situations.. Do not expect you will be as fast as with Arduino IDE with your lead-in..
Thumbs up..
I still have the issue with custom function calls throwing faulse errors about the call… But i do a index rebuild and it works again for a while… If i ass several more functions or details it looses it again and i have to index rebuild again…
And i still cant do a build from eclipse, though for now I dont mind using the arduino ide for the actual building.
And yes eclipse with all its faults and over complicated jack of all trades approach in its settings, i really love the layout and working environment, the code auto complete, the library including folder struct on the left and the defines and function lists on the right…it all makes navigating around a large project like my speedo really a lot easier.
I just wish I could lock down whats causing this little niggling faults.
2. Also mind the platform.txt for F4 of Roger’s libmapble needs a small fix in order to get it working with Sloeber.
Remove this from “## Combine gc-sections, archives, and objects” recipe
--whole-archive "{build.path}/{archive_file}" -Wl,--no-whole-archive
Another bug ive always had as well is even though Im on a mac eclipse kept trying to trigger the windows tools…
i just gave the mac url into the windows flags in the config
2. Also mind the platform.txt for F4 of Roger’s ..


