You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought it'd be fun to use git sub-modules to install all the dependencies for homie-esp8266. Everything seems to be working fine for esp8266, but when I installed the dependencies for esp32 I started having issues.
I added arduino-esp32 and ASyncTCP to my sketch folder. I set the board to ESP32 and compile the minimal example.
Lots of errors and warning about SEMAPHORE not declared stuff
/home/user/Arduino/libraries/async-mqtt-client/src/AsyncMqttClient.cpp:353:3: error: 'SEMAPHORE_TAKE' was not declared in this scope
SEMAPHORE_TAKE();
^~~~~~~~~~~~~~
and an error about GET_FREE_MEMORY
/home/user/Arduino/libraries/async-mqtt-client/src/AsyncMqttClient.cpp: In member function 'uint16_t AsyncMqttClient::publish(const char*, uint8_t, bool, const char*, size_t, bool, uint16_t)':
/home/user/Arduino/libraries/async-mqtt-client/src/AsyncMqttClient.cpp:739:30: error: 'GET_FREE_MEMORY' was not declared in this scope
if (_state != CONNECTED || GET_FREE_MEMORY() < MQTT_MIN_FREE_MEMORY) return 0;
^~~~~~~~~~~~~~~
I have cloned the development versions of all libraries:
I've obviously made some nooby error, but I don't know what it is. I'm filing an issue because I think it might be worth clarifying the documentation to avoid this if it is as easy to reproduce as it seems.
The text was updated successfully, but these errors were encountered:
I thought it'd be fun to use git sub-modules to install all the dependencies for homie-esp8266. Everything seems to be working fine for esp8266, but when I installed the dependencies for esp32 I started having issues.
I added arduino-esp32 and ASyncTCP to my sketch folder. I set the board to ESP32 and compile the minimal example.
Lots of errors and warning about SEMAPHORE not declared stuff
and an error about GET_FREE_MEMORY
I have cloned the development versions of all libraries:
I've obviously made some nooby error, but I don't know what it is. I'm filing an issue because I think it might be worth clarifying the documentation to avoid this if it is as easy to reproduce as it seems.
The text was updated successfully, but these errors were encountered: