when are the platform.sloeber.txt; board.sloeber.txt created? #1443
-
I'm looking into creating a NULCEO-L4P5 variant for STM32duino and therefor am modifying boards.txt and some more files. Do I have to apply changes to them manually? I want to work on the original STM32duino files so if I am successful, I can contribute and make it available for everyone. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The *.sloeber.txt files are there for performance reasons and are created/updated when read. The read procedure is as follows
My advice for platform developers in regards to modifying *.txt *.sloeber.txt filesI advice to focus on making your changes to the root files (boards.txt platform.txt programmers.txt) and delete the sloeber workaround versions after you modified a root file.
If the workaround implementation that the sloeber version you are using, doesn't work for you; make an issue explaining the problem and make it very clear you are doing your own platform development. If you want to test your changes.
Your questions
No see above
They will be overwritten when sloeber is upgraded to a new version that contains a different workaround implementation.
Great. If you work as described above that seems a very legit way to work to me. |
Beta Was this translation helpful? Give feedback.
The *.sloeber.txt files are there for performance reasons and are created/updated when read.
Simplified a read is done when a project is opened (for the first time?) or when project properties->sloeber apply is done.
The read procedure is as follows
My advice for platform developers in regards to modifying…