Closed tao480 closed 5 months ago
That's odd: HotButton should have been installed automatically by the Arduino IDE, as it is listed as a dependency in this library's library.properties
.
Yes, certainly odd. Interestingly, I also had an issue with another dependency that wasn't automatically installed by the Arduino IDE.
The problem was caused by a different expressif Additional Boards Manager URL to the Github version you had recommended and referenced, namey https://espressif.github.io/arduino-esp32/package_esp32_index.json.
I've now lost the previous link to package_esp32_index.json, however it was the one hosted on expressif's own domain.
This is the dependency that was failing: { "packager": "esp32", "name": "openocd-esp32", "version": "v0.12.0-esp32-20230419" },
The expressif hosted version of package_esp32_index.json didn't include the 19Apr2023 version of the openocd-esp32 tool set. The problem was fixed by changing the expressif boards manager URL to the Github version: https://espressif.github.io/arduino-esp32/package_esp32_index.json, however I also had to switch to Arduino IDE version 2.x to force it to execute the download.
The Arduino IDE can be strange: I've had to restart it two times sometimes before it wanted to load new board defs. The way boards are defined is arcane and does not reflect how the world works in 2024: this notion that a manufacturer like Espressif will somehow disseminate up-to-date definitions for all hardware with an ESP32 in it. Hmmm
The HotButton.h file is missing from src directory of this library.
Edit: Found it here is a separate library, also by Rop: https://www.arduino.cc/reference/en/libraries/hotbutton/