Sloeber does not update the hardware libraries when changing the boards.txtx (F.I. when switching between two versions of STM32 the hardware libs will point to the original STM32 libs ) #1679
Labels
status: known limitation
This is soimething we can live with
Since I ran into problems after upgrading from STM32core 2.7.1 to STM32core 2.8.1, I installed 2.7.1 again side by side with 2.8.1
When I switch to 2.7.1 in sloeber project properties, I get some "xyz undeclared" errors
and scrolling through the console output I see that several files are taken from 2.8.1 STM32core
I suspect this is the cause for the "undeclared" errors?
removing the 2.8.1 folder from the disk did not solve it.
I then noticed that several libraries where still pointing to the 2.8.1 version, but reattaching them via the "reattach all libraries" command did not work out. It attached libraries vor AVR arduino boards. I have configurations for both AVR and STM32 for this project.
I then manually removed and reattached the libraries via the "add a library" button, which did not help either. I checked all libraries and their path in the ressource properties dialog and they all point to 2.7.1
Still I got errors regarding Wire.h that would not go away.
Only way to get it to compile again, was to copy over .project, .cproject, .sproject and sloeber.cfg from a local backup I luckily did just before ...
Describe your environment
sloeber product 4.4.3 on Win11
The text was updated successfully, but these errors were encountered: