duff2013 / ulptool

Program the esp32 ULP coprocessor in Arduino
275 stars 69 forks source link

undefined reference to `ulp_count' and `ulp_entry' Error #93

Open gurs opened 6 months ago

gurs commented 6 months ago

Hello, i'm getting an error during compilation:

*\sketch\ulp_README.ino.cpp.o:(.literal._Z5setupv+0x18): undefined reference to `ulp_count'
*\sketch\ulp_README.ino.cpp.o:(.literal._Z5setupv+0x1c): undefined reference to `ulp_entry'

collect2.exe: error: ld returned 1 exit status

I tried changing the esp32 version, tried ulptools master and the release version in the readme file. I copy the files to the correct location according to the instructions in the readme file. Arduino IDE version: 2.3.2

I also get this error when I use the release version.This part is for informational purposes only.

\src/esp32ulp_build_recipe.py:178: SyntaxWarning: invalid escape sequence '\.'
  SECTIONS = dict(re.findall('^(\.+[0-9a-zA-Z_]+)\s+([0-9]+)', out, re.MULTILINE))
  File "C:\Users\-\AppData\Local\Arduino15\packages\esp32\tools\ulptool\src/esp32ulp_build_recipe.py", line 305
    print e
    ^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Thanks.