Open mcpat-it opened 3 years ago
@pwallner , the lightbulb example indeed does not compile for esp32c3 since the led driver does not seem compatible with esp32c3. However, the Fan example is compiling well. Can you double check that all your esp-idf git submodules are in sync by executing git submodule update --init --recursive
in esp-idf? Also perform ./install.sh
and . ./export.sh
once again in your esp-idf folder just to be sure that you have latest toolchain and correct environment set.
@shahpiyushv , I did now like written above
then
idf.py set-target esp32c3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32c3, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /home/mcpat/esp/esp-homekit-sdk/examples/fan2"...
-- Found Git: /usr/bin/git (found version "2.30.2")
-- Component directory /home/mcpat/esp/esp-homekit-sdk/components/homekit does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c3
-- Project sdkconfig file /home/mcpat/esp/esp-homekit-sdk/examples/fan2/sdkconfig
Loading defaults file /home/mcpat/esp/esp-homekit-sdk/examples/fan2/sdkconfig.defaults...
-- Found PythonInterp: /home/mcpat/.espressif/python_env/idf4.4_py3.9_env/bin/python (found version "3.9.2")
-- Found Perl: /usr/bin/perl (found version "5.32.1")
-- App "fan" version: c62f64d
-- Adding linker script /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_system/ld/esp32c3/sections.ld.in
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld
-- Adding linker script /home/mcpat/esp/esp-idf/components/soc/esp32c3/ld/esp32c3.peripherals.ld
4.0-c62f64d
ESP HomeKit SDK Project commit: c62f64d
-- Components: app_hap_setup_payload app_trace app_update app_wifi asio bootloader bootloader_support bt button cbor cmock coap console cxx driver efuse esp-tls esp32c3 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hap_apple_profiles esp_hap_core esp_hap_extras esp_hap_platform esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap hkdf-sha idf_test ieee802154 jsmn json json_generator json_parser libsodium log lwip main mbedtls mdns mqtt mu_srp newlib nghttp nvs_flash openssl openthread partition_table protobuf-c protocomm pthread qrcode riscv sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /home/mcpat/esp/esp-homekit-sdk/examples/common/app_hap_setup_payload /home/mcpat/esp/esp-idf/components/app_trace /home/mcpat/esp/esp-idf/components/app_update /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi /home/mcpat/esp/esp-idf/components/asio /home/mcpat/esp/esp-idf/components/bootloader /home/mcpat/esp/esp-idf/components/bootloader_support /home/mcpat/esp/esp-idf/components/bt /home/mcpat/esp/esp-homekit-sdk/components/button /home/mcpat/esp/esp-idf/components/cbor /home/mcpat/esp/esp-idf/components/cmock /home/mcpat/esp/esp-idf/components/coap /home/mcpat/esp/esp-idf/components/console /home/mcpat/esp/esp-idf/components/cxx /home/mcpat/esp/esp-idf/components/driver /home/mcpat/esp/esp-idf/components/efuse /home/mcpat/esp/esp-idf/components/esp-tls /home/mcpat/esp/esp-idf/components/esp32c3 /home/mcpat/esp/esp-idf/components/esp_adc_cal /home/mcpat/esp/esp-idf/components/esp_common /home/mcpat/esp/esp-idf/components/esp_eth /home/mcpat/esp/esp-idf/components/esp_event /home/mcpat/esp/esp-idf/components/esp_gdbstub /home/mcpat/esp/esp-homekit-sdk/components/homekit/esp_hap_apple_profiles /home/mcpat/esp/esp-homekit-sdk/components/homekit/esp_hap_core /home/mcpat/esp/esp-homekit-sdk/components/homekit/esp_hap_extras /home/mcpat/esp/esp-homekit-sdk/components/homekit/esp_hap_platform /home/mcpat/esp/esp-idf/components/esp_hid /home/mcpat/esp/esp-idf/components/esp_http_client /home/mcpat/esp/esp-idf/components/esp_http_server /home/mcpat/esp/esp-idf/components/esp_https_ota /home/mcpat/esp/esp-idf/components/esp_https_server /home/mcpat/esp/esp-idf/components/esp_hw_support /home/mcpat/esp/esp-idf/components/esp_ipc /home/mcpat/esp/esp-idf/components/esp_lcd /home/mcpat/esp/esp-idf/components/esp_local_ctrl /home/mcpat/esp/esp-idf/components/esp_netif /home/mcpat/esp/esp-idf/components/esp_phy /home/mcpat/esp/esp-idf/components/esp_pm /home/mcpat/esp/esp-idf/components/esp_ringbuf /home/mcpat/esp/esp-idf/components/esp_rom /home/mcpat/esp/esp-idf/components/esp_serial_slave_link /home/mcpat/esp/esp-idf/components/esp_system /home/mcpat/esp/esp-idf/components/esp_timer /home/mcpat/esp/esp-idf/components/esp_websocket_client /home/mcpat/esp/esp-idf/components/esp_wifi /home/mcpat/esp/esp-idf/components/espcoredump /home/mcpat/esp/esp-idf/components/esptool_py /home/mcpat/esp/esp-idf/components/expat /home/mcpat/esp/esp-idf/components/fatfs /home/mcpat/esp/esp-idf/components/freemodbus /home/mcpat/esp/esp-idf/components/freertos /home/mcpat/esp/esp-idf/components/hal /home/mcpat/esp/esp-idf/components/heap /home/mcpat/esp/esp-homekit-sdk/components/homekit/hkdf-sha /home/mcpat/esp/esp-idf/components/idf_test /home/mcpat/esp/esp-idf/components/ieee802154 /home/mcpat/esp/esp-idf/components/jsmn /home/mcpat/esp/esp-idf/components/json /home/mcpat/esp/esp-homekit-sdk/components/homekit/json_generator /home/mcpat/esp/esp-homekit-sdk/components/homekit/json_parser /home/mcpat/esp/esp-idf/components/libsodium /home/mcpat/esp/esp-idf/components/log /home/mcpat/esp/esp-idf/components/lwip /home/mcpat/esp/esp-homekit-sdk/examples/fan2/main /home/mcpat/esp/esp-idf/components/mbedtls /home/mcpat/esp/esp-idf/components/mdns /home/mcpat/esp/esp-idf/components/mqtt /home/mcpat/esp/esp-homekit-sdk/components/homekit/mu_srp /home/mcpat/esp/esp-idf/components/newlib /home/mcpat/esp/esp-idf/components/nghttp /home/mcpat/esp/esp-idf/components/nvs_flash /home/mcpat/esp/esp-idf/components/openssl /home/mcpat/esp/esp-idf/components/openthread /home/mcpat/esp/esp-idf/components/partition_table /home/mcpat/esp/esp-idf/components/protobuf-c /home/mcpat/esp/esp-idf/components/protocomm /home/mcpat/esp/esp-idf/components/pthread /home/mcpat/esp/esp-homekit-sdk/examples/common/qrcode /home/mcpat/esp/esp-idf/components/riscv /home/mcpat/esp/esp-idf/components/sdmmc /home/mcpat/esp/esp-idf/components/soc /home/mcpat/esp/esp-idf/components/spi_flash /home/mcpat/esp/esp-idf/components/spiffs /home/mcpat/esp/esp-idf/components/tcp_transport /home/mcpat/esp/esp-idf/components/tcpip_adapter /home/mcpat/esp/esp-idf/components/tinyusb /home/mcpat/esp/esp-idf/components/unity /home/mcpat/esp/esp-idf/components/usb /home/mcpat/esp/esp-idf/components/vfs /home/mcpat/esp/esp-idf/components/wear_levelling /home/mcpat/esp/esp-idf/components/wifi_provisioning /home/mcpat/esp/esp-idf/components/wpa_supplicant
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build
result:
[88/88] cd /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build/bootloader/esp-idf/esptool_py && /home/mcpat/.espressif/python_env/idf4.4_py3.9_env/bin/python /home/mcpat/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build/bootloader/bootloader.bin
Bootloader binary size 0x4e20 bytes. 0x31e0 bytes (39%) free.
[1252/1313] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_main.c.obj
../main/app_main.c: In function 'fan_thread_entry':
../main/app_main.c:313:61: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
esp_event_handler_register(HAP_EVENT, ESP_EVENT_ANY_ID, &fan_hap_event_handler, NULL);
^~~~~~~~~~~~~~~~~~~~~~
In file included from ../main/app_main.c:32:
/home/mcpat/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, long int, void *)'} but argument is of type 'void (*)(void *, const char *, int, void *)'
esp_event_handler_t event_handler,
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[1306/1313] Building C object esp-idf/app_wifi/CMakeFiles/__idf_app_wifi.dir/app_wifi.c.obj
In file included from /home/mcpat/esp/esp-idf/components/esp_timer/include/esp_timer.h:45,
from /home/mcpat/esp/esp-idf/components/freertos/port/riscv/include/freertos/portmacro.h:41,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/portable.h:51,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/FreeRTOS.h:63,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:26:
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c: In function 'app_wifi_init':
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:262:78: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, wifi_netif));
^~~~~~~~~~~~~~
/home/mcpat/esp/esp-idf/components/esp_common/include/esp_err.h:122:30: note: in definition of macro 'ESP_ERROR_CHECK'
esp_err_t err_rc_ = (x); \
^
In file included from /home/mcpat/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:29:
/home/mcpat/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, long int, void *)'} but argument is of type 'void (*)(void *, const char *, int, void *)'
esp_event_handler_t event_handler,
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/mcpat/esp/esp-idf/components/esp_timer/include/esp_timer.h:45,
from /home/mcpat/esp/esp-idf/components/freertos/port/riscv/include/freertos/portmacro.h:41,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/portable.h:51,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/FreeRTOS.h:63,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:26:
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:266:79: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL));
^~~~~~~~~~~~~~
/home/mcpat/esp/esp-idf/components/esp_common/include/esp_err.h:122:30: note: in definition of macro 'ESP_ERROR_CHECK'
esp_err_t err_rc_ = (x); \
^
In file included from /home/mcpat/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:29:
/home/mcpat/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, long int, void *)'} but argument is of type 'void (*)(void *, const char *, int, void *)'
esp_event_handler_t event_handler,
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/mcpat/esp/esp-idf/components/esp_timer/include/esp_timer.h:45,
from /home/mcpat/esp/esp-idf/components/freertos/port/riscv/include/freertos/portmacro.h:41,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/portable.h:51,
from /home/mcpat/esp/esp-idf/components/freertos/include/freertos/FreeRTOS.h:63,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:26:
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:267:76: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_GOT_IP6, &event_handler, NULL));
^~~~~~~~~~~~~~
/home/mcpat/esp/esp-idf/components/esp_common/include/esp_err.h:122:30: note: in definition of macro 'ESP_ERROR_CHECK'
esp_err_t err_rc_ = (x); \
^
In file included from /home/mcpat/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:29:
/home/mcpat/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, long int, void *)'} but argument is of type 'void (*)(void *, const char *, int, void *)'
esp_event_handler_t event_handler,
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c: In function 'app_wifi_start':
/home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:360:71: warning: passing argument 3 of 'esp_event_handler_register' from incompatible pointer type [-Wincompatible-pointer-types]
esp_event_handler_register(WIFI_PROV_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL);
^~~~~~~~~~~~~~
In file included from /home/mcpat/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from /home/mcpat/esp/esp-homekit-sdk/examples/common/app_wifi/app_wifi.c:29:
/home/mcpat/esp/esp-idf/components/esp_event/include/esp_event.h:153:58: note: expected 'esp_event_handler_t' {aka 'void (*)(void *, const char *, long int, void *)'} but argument is of type 'void (*)(void *, const char *, int, void *)'
esp_event_handler_t event_handler,
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[1311/1313] Linking CXX executable fan.elf
FAILED: fan.elf
: && /home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -march=rv32imc -nostartfiles -march=rv32imc --specs=nosys.specs CMakeFiles/fan.elf.dir/project_elf_src_esp32c3.c.obj -o fan.elf esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/asio/libasio.a esp-idf/bt/libbt.a esp-idf/cbor/libcbor.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/coap/libcoap.a esp-idf/console/libconsole.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc_cal/libesp_adc_cal.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/mdns/libmdns.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/esp_websocket_client/libesp_websocket_client.a esp-idf/expat/libexpat.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/fatfs/libfatfs.a esp-idf/freemodbus/libfreemodbus.a esp-idf/jsmn/libjsmn.a esp-idf/json/libjson.a esp-idf/libsodium/liblibsodium.a esp-idf/mqtt/libmqtt.a esp-idf/openssl/libopenssl.a esp-idf/spiffs/libspiffs.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/main/libmain.a esp-idf/button/libbutton.a esp-idf/hkdf-sha/libhkdf-sha.a esp-idf/mu_srp/libmu_srp.a esp-idf/json_generator/libjson_generator.a esp-idf/json_parser/libjson_parser.a esp-idf/esp_hap_platform/libesp_hap_platform.a esp-idf/esp_hap_core/libesp_hap_core.a esp-idf/esp_hap_apple_profiles/libesp_hap_apple_profiles.a esp-idf/esp_hap_extras/libesp_hap_extras.a esp-idf/qrcode/libqrcode.a esp-idf/app_hap_setup_payload/libapp_hap_setup_payload.a esp-idf/app_wifi/libapp_wifi.a -Wl,--cref -Wl,--Map=/home/mcpat/esp/esp-homekit-sdk/examples/fan2/build/fan.map -Wl,--gc-sections -fno-rtti -fno-lto esp-idf/asio/libasio.a esp-idf/cbor/libcbor.a esp-idf/cmock/libcmock.a esp-idf/unity/libunity.a esp-idf/coap/libcoap.a esp-idf/esp_adc_cal/libesp_adc_cal.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/esp_websocket_client/libesp_websocket_client.a esp-idf/expat/libexpat.a esp-idf/fatfs/libfatfs.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/freemodbus/libfreemodbus.a esp-idf/jsmn/libjsmn.a esp-idf/mqtt/libmqtt.a esp-idf/openssl/libopenssl.a esp-idf/spiffs/libspiffs.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/bt/libbt.a -L/home/mcpat/esp/esp-idf/components/bt/controller/lib_esp32c3_family/esp32c3 -lbtdm_app esp-idf/protobuf-c/libprotobuf-c.a esp-idf/json/libjson.a esp-idf/esp_hap_platform/libesp_hap_platform.a esp-idf/esp_hap_core/libesp_hap_core.a esp-idf/esp_hap_apple_profiles/libesp_hap_apple_profiles.a esp-idf/esp_hap_platform/libesp_hap_platform.a esp-idf/esp_hap_core/libesp_hap_core.a esp-idf/esp_hap_apple_profiles/libesp_hap_apple_profiles.a esp-idf/mdns/libmdns.a esp-idf/console/libconsole.a esp-idf/libsodium/liblibsodium.a esp-idf/mu_srp/libmu_srp.a esp-idf/hkdf-sha/libhkdf-sha.a esp-idf/json_generator/libjson_generator.a esp-idf/json_parser/libjson_parser.a esp-idf/qrcode/libqrcode.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/app_update/libapp_update.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/spi_flash/libspi_flash.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/espcoredump/libespcoredump.a esp-idf/esp_phy/libesp_phy.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/vfs/libvfs.a esp-idf/esp_eth/libesp_eth.a esp-idf/tcpip_adapter/libtcpip_adapter.a esp-idf/esp_netif/libesp_netif.a esp-idf/esp_event/libesp_event.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/lwip/liblwip.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/riscv/libriscv.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/app_trace/libapp_trace.a esp-idf/nghttp/libnghttp.a esp-idf/esp-tls/libesp-tls.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/sdmmc/libsdmmc.a esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcoexist.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libcore.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libespnow.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libmesh.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libnet80211.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libpp.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libsmartconfig.a /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3/libwapi.a -Wl,--wrap=mbedtls_mpi_exp_mod -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -L /home/mcpat/esp/esp-idf/components/esp_phy/lib/esp32c3 -lphy -lbtbb esp-idf/esp_phy/libesp_phy.a -lphy -lbtbb esp-idf/esp_phy/libesp_phy.a -lphy -lbtbb -u start_app -L /home/mcpat/esp/esp-homekit-sdk/examples/fan2/build/esp-idf/esp_system/ld -T memory.ld -T sections.ld -u __ubsan_include -L /home/mcpat/esp/esp-idf/components/esp_rom/esp32c3/ld -T esp32c3.rom.ld -T esp32c3.rom.api.ld -T esp32c3.rom.libgcc.ld -T esp32c3.rom.newlib.ld -T esp32c3.rom.version.ld -T esp32c3.rom.eco3.ld -u __assert_func -u vfs_include_syscalls_impl -L /home/mcpat/esp/esp-idf/components/esp_wifi/lib/esp32c3 -L /home/mcpat/esp/esp-idf/components/soc/esp32c3/ld -T esp32c3.peripherals.ld -Wl,--undefined=uxTopUsedPriority -u app_main -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=__register_frame_info_bases -Wl,--wrap=__register_frame_info -Wl,--wrap=__register_frame -Wl,--wrap=__register_frame_info_table_bases -Wl,--wrap=__register_frame_info_table -Wl,--wrap=__register_frame_table -Wl,--wrap=__deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=__cxa_call_unexpected -Wl,--wrap=__gxx_personality_v0 -u __cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u __cxx_fatal_exception esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/app_trace/libapp_trace.a -lgcov -lc && :
/home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/protocomm/libprotocomm.a(simple_ble.c.obj): in function `gap_event_handler':
/home/mcpat/esp/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:56: undefined reference to `esp_ble_gap_start_advertising'
/home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: /home/mcpat/esp/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:62: undefined reference to `esp_ble_gap_start_advertising'
/home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/protocomm/libprotocomm.a(simple_ble.c.obj): in function `gatts_profile_event_handler':
/home/mcpat/esp/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:101: undefined reference to `esp_ble_gap_config_adv_data_raw'
/home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: /home/mcpat/esp/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:111: undefined reference to `esp_ble_gap_config_scan_rsp_data_raw'
/home/mcpat/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld: /home/mcpat/esp/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:155: undefined reference to `esp_ble_gap_start_advertising'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Forgot to mention that I am using debian at Windows 10 (Windows-Subsystems for Linux (WSL)), but I don't hope this is the problem.
Downloaded and installed everything for Windows (VS Code), this is working for fan example, but I have to change from BlueDroid - Dual-Mode to NimBLE - BLE only, otherwise I get errors. What's the difference?
Also try now to modify the lightbulb to include esp-idf example "led_strip". This example works with the embedded RGB LED on my ESP32-C3-DevKITM-1. Had also to modify this example a little bit ("RMT TX GPIO" to 8 and "Number of LEDs" to 1 in menuconfig).
This a type error, and has been fixed from app_wifi.c#L163
I tried to build for esp32c3, but it fails (also tried esp32 and esp32s2 and they worked!). Lightbulb example:
and fan example:
I don't know whats going wrong...
Using Debian 11.
Thx for help, Patrick