You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using simpleFOC with PlatformIO one currently has to set lib_archive = false in the platformio.ini file. This is a little bug-prone, as forgetting that line leads to some hard to troubleshoot failure modes (On my RP2040 it made it impossible to change the PWM frequency, with everything else working as expected).
In my opinion a less bug-prone way of dealing with this would be to add the following library.json file in the root of the project:
{
"build": {
"libArchive": false
}
}
As far as I can tell this has the same effect and can't be forgotten by the user :)
The text was updated successfully, but these errors were encountered:
Hi,
When using simpleFOC with PlatformIO one currently has to set
lib_archive = false
in the platformio.ini file. This is a little bug-prone, as forgetting that line leads to some hard to troubleshoot failure modes (On my RP2040 it made it impossible to change the PWM frequency, with everything else working as expected).In my opinion a less bug-prone way of dealing with this would be to add the following library.json file in the root of the project:
As far as I can tell this has the same effect and can't be forgotten by the user :)
The text was updated successfully, but these errors were encountered: