duff2013 / ulptool

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

Cannot find ulptool.h #72

Closed nottledim closed 3 years ago

nottledim commented 3 years ago

I've tried installing ulptool several times now an I cannot get past this problem:

Alternatives for ulptool.h: []
ResolveLibrary(ulptool.h)
  -> candidates: []
ulp-test:7:41: fatal error: ulptool.h: No such file or directory
compilation terminated.
exit status 1
ulptool.h: No such file or directory

ulptool.h is in ~/.arduino15/packages/esp32/tools/ulptool/src/include/ulptool/ulptool.h which I guess is not in any include path. Something is not right and I'd appreciate some help fixing it.

arduino: 1.8.13 Debian GNU/Linux 'Buster'

nottledim commented 3 years ago

I've got a very strange problem which I think is related. I have two entries in the arduino IDE tools/Board menu: Both called 'ESP32 Arduino' and both menus are the same. However...

The error above occurs is I select my board from the first menu entry. It compiles OK if I select the same board from the second menu entry.

How can I have 2 menus for the same thing and how can I remove the "bad" one?

nottledim commented 3 years ago

OK fixed it. There were two installations of esp software: ~/Arduino/hardware/espressive/esp32 and ~/arduino15/packages/esp32 I guess boards-manager install was the latter and an earlier direct download the former.