GithubHelp home page GithubHelp logo

Comments (2)

DeveloperSpawn avatar DeveloperSpawn commented on August 17, 2024

Most of my erros refer to arduino_homekit_server_esp32.cpp file. I think it is related to libraries versions my error list looks like this:

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3:

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp: In function 'void homekit_server_on_pair_verify(client_context_t*, const byte*, size_t)':

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:43: error: 'system_get_free_heap_size' was not declared in this scope
 #define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
 #define XPGM_PRINTF(fmt, ...)   printf_P(PSTR(fmt) , ##__VA_ARGS__);
                                                        ^~~~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
 #define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
                     ^~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
  INFO_HEAP();
  ^~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:43: note: suggested alternative: 'esp_get_free_heap_size'
 #define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/esp_xpgm.h:28:56: note: in definition of macro 'XPGM_PRINTF'
 #define XPGM_PRINTF(fmt, ...)   printf_P(PSTR(fmt) , ##__VA_ARGS__);
                                                        ^~~~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src/homekit_debug.h:40:21: note: in expansion of macro 'INFO'
 #define INFO_HEAP() INFO("Free heap: %u", system_get_free_heap_size());
                     ^~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:1774:2: note: in expansion of macro 'INFO_HEAP'
  INFO_HEAP();
  ^~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp: In function 'void homekit_server_init(homekit_server_config_t*)':

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3439:4: error: 'system_restart' was not declared in this scope
    system_restart();
    ^~~~~~~~~~~~~~

...\Arduino\libraries\Arduino-HomeKit-ESP32-master\src\arduino_homekit_server_esp32.cpp:3439:4: note: suggested alternative: 'system_event_t'
    system_restart();
    ^~~~~~~~~~~~~~
    system_event_t


Using library WiFi at version 2.0.0 in folder: 
...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\WiFi 
Using library HomeKit-ESP32 at version 1.0.0 in folder: 
...\Arduino\libraries\Arduino-HomeKit-ESP32-master 
Using library Ticker at version 2.0.0 in folder: ...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\Ticker 
Using library ESPmDNS at version 2.0.0 in folder: ...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\ESPmDNS 


Compiling in Arduino IDE 2.0.3
Using board 'node32s' from platform in folder: C:\Users\Sensei\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6
Using core 'esp32' from platform in folder: C:\Users\Sensei\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6

I used you sketch before and succsesfully improved it with ESPConnect. How I did it before: I played with different versions of libraries and it worked, but now I got this errors even with your reference

from arduino-homekit-esp32.

DeveloperSpawn avatar DeveloperSpawn commented on August 17, 2024

I have solved this issue, Inside board manager of your arduino install esp32 by Espressif Systems version 1.0.4

from arduino-homekit-esp32.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.