-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to custom board option definitions in boards.txt
are not picked up
#1030
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Comments
Thanks for the report @KurtE. This caching issue also affects the Tools > Programmer menu contents: #591 I'll share the workaround:
The custom board options menus should now reflect any changes that were made to |
3 tasks
3 tasks
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This was referenced Dec 10, 2022
3 tasks
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Same issue when adding new board type in stm32duino on 2.0.4. Deleting "User data" folder helps. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
per1234
changed the title
changes to boards.txt are not picked up
Changes to custom board option definitions in May 4, 2024
boards.txt
are not picked up
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
I install in this case support for Teensy boards.
I verify that it works and notice some of the options were not enabled in boards.txt.
So I go and edit the boards.txt to enable it. So I then restart the IDE and my changes are not reflected in menu.
To reproduce
Install support for Teensy:
:update preferences with: https://www.pjrc.com/teensy/td_156/package_teensy_index.json
Install the boards, and then for example Choose Teensy 3.2 / 3.1
Look at the CPU speed menu item and see that 144mhz is not in the list.
Go edit the boards.txt file:
And lets say uncomment the 144 Mhz line.
And save the changes
restart the IDE and then look at the CPU speeds for and the new item is not in the list.
Expected behavior
I would expect in this case the 144 mhz cpu speed to show up, like it does in Arduino 1.x
I am assuming you are caching the data out of the different tools.txt files and as such not being seen. Maybe the cache code need to remember modification dates or the like.
Alternatively need some mechanism to tell the IDE to refresh it's cache.
Arduino IDE version
RC7 which was released today
Operating system
Windows
Operating system version
Windows 10
Additional context
Note: I first noticed this when I was trying to update @PaulStoffregen package for TD1.56 to use the stuff from 1.57 Beta 2, so I was updating the boards.txt to have an additional USB type for T4.x and soon T3.x
But used the CPU speed example as it is easier to reproduce.
I have not yet checked to see if you pickup changes or the creation of the local.boards.txt file or not
Edit: I tried adding the line for 144mhz to local.boards.txt and restarted the IDE and it still was not seen
Additional reports:
Issue checklist
The text was updated successfully, but these errors were encountered: