Skip to content

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

Closed
@PerennialNovice

Description

@PerennialNovice

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

image

When I switch to 2.7.1 in sloeber project properties, I get some "xyz undeclared" errors

image

and scrolling through the console output I see that several files are taken from 2.8.1 STM32core

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions