Closed drandreas closed 4 years ago
Thanks! just fixed it.
Thank you for the prompt response. Sadly the fix addresses only the "it has to be the first and last line" issue.
I suggest the following new code instead of https://github.com/duff2013/ulptool/blob/21e08961dd37bd58a5f0ef47707bbc2a5c7ff589/src/esp32ulp_build_recipe.py#L300 https://github.com/duff2013/ulptool/blob/21e08961dd37bd58a5f0ef47707bbc2a5c7ff589/src/esp32ulp_build_recipe.py#L301
if top.startswith("#ifdef _ULPCC_"):
if bottom.startswith("#endif"):
Ok I see that looks good do you want to do pull request?
The README.md contains the following snippet:
However
gen_assembly
expects a clean file:Therefore the documentation disables/breaks the compilation of
ulp_counter.c
.Everything else works flawlessly on MacOS Catalina 👍 .