duff2013 / ulptool

Program the esp32 ULP coprocessor in Arduino
272 stars 65 forks source link

Add build hook to copy `.s` files #90

Open per1234 opened 1 year ago

per1234 commented 1 year ago

Previously, the project relied on undefined behavior of older versions of the Arduino build system, where correct file extension case was not enforced when copying files from the sketch folder to the build folder, in order to .

This stopped working at Arduino IDE 1.8.14, meaning that users were forced to use a significantly outdated version of the IDE; a requirement which was undocumented.

This is fixed by adding an additional build hook to platform.local.txt that copies the .s files from the sketch folder to the build folder.

Due to limitations of the Arduino platform framework, it was necessary to jump through some hoops to get working patterns for these commands:


Fixes https://github.com/duff2013/ulptool/issues/74