Closed 726D closed 3 years ago
Thank you for filing this issue. You can use ESP-IDF version 4.2.x. This has not been tested with 4.3.
The commit addresses the typo and missing sdkconfig file that your encountered at first.
pulled repo, then
(base) [user esp32]$ make
....
[1097/1329] Generating ../../frozen_content.c
FAILED: frozen_content.c
cd /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/esp-idf/main && /usr/bin/python3.9 /home/user/esp/Core2forAWS-MicroPython/tools/makemanifest.py -o /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/frozen_content.c -v MPY_DIR=/home/user/esp/Core2forAWS-MicroPython -v PORT_DIR=/home/user/esp/Core2forAWS-MicroPython/ports/esp32 -b /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS -f-march=xtensawin /home/user/esp/Core2forAWS-MicroPython/ports/esp32/boards/Core2forAWS/manifest.py
mpy-cross not found at /home/user/esp/Core2forAWS-MicroPython/mpy-cross/mpy-cross, please build it first
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
make: *** [Makefile:24: all] Fehler 2
...
(base) [user mpy-cross]$ make
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
...
CC ../lib/utils/gchelper_generic.c
LINK mpy-cross
text data bss dec hex filename
269756 768 904 271428 42444 mpy-cross
...
(base) [user esp32]$ make
idf.py -D MICROPY_BOARD=Core2forAWS -B build-Core2forAWS build
Executing action: all (aliases: build)
Running ninja in directory /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS
Executing "ninja all"...
[2/237] Performing build step for 'bootloader'
ninja: no work to do.
[3/235] Generating ../../frozen_content.c
MPY neopixel.py
MPY flashbdev.py
MPY inisetup.py
MPY apa106.py
MPY upip.py
MPY upip_utarfile.py
MPY ntptime.py
MPY dht.py
MPY ds18x20.py
MPY onewire.py
MPY uasyncio/__init__.py
MPY uasyncio/core.py
MPY uasyncio/event.py
MPY uasyncio/funcs.py
MPY uasyncio/lock.py
MPY uasyncio/stream.py
MPY webrepl.py
MPY webrepl_setup.py
MPY websocket_helper.py
MPY mpu6886.py
MPY _boot.py
MPY bm8563.py
MPY Edukit.py
MPY sk6812.py
MPY axp192.py
MPY umqtt/simple.py
MPY umqtt/robust.py
GEN /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/frozen_content.c
[234/235] Linking CXX executable micropython.elf
FAILED: micropython.elf
: && /home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address CMakeFiles/micropython.elf.dir/project_elf_src.c.obj -o micropython.elf esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.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/nvs_flash/libnvs_flash.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/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/pthread/libpthread.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.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/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_gdbstub/libesp_gdbstub.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/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/ulp/libulp.a esp-idf/unity/libunity.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/esp-cryptoauthlib/libesp-cryptoauthlib.a esp-idf/main/libmain.a -Wl,--cref -Wl,--Map=/home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/micropython.map -fno-rtti -fno-lto esp-idf/wear_levelling/libwear_levelling.a esp-idf/protocomm/libprotocomm.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/json/libjson.a esp-idf/bt/libbt.a -L/home/user/esp/esp-idf/components/bt/controller/lib/esp32 -lbtdm_app esp-idf/mdns/libmdns.a esp-idf/console/libconsole.a esp-idf/sdmmc/libsdmmc.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.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/nvs_flash/libnvs_flash.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/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/pthread/libpthread.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.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/ulp/libulp.a esp-idf/esp-cryptoauthlib/libesp-cryptoauthlib.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/librtc.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.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/nvs_flash/libnvs_flash.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/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/pthread/libpthread.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.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/ulp/libulp.a esp-idf/esp-cryptoauthlib/libesp-cryptoauthlib.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/librtc.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.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/nvs_flash/libnvs_flash.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/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/pthread/libpthread.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.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/ulp/libulp.a esp-idf/esp-cryptoauthlib/libesp-cryptoauthlib.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/librtc.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libphy.a esp-idf/xtensa/libxtensa.a esp-idf/mbedtls/libmbedtls.a esp-idf/efuse/libefuse.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/app_update/libapp_update.a esp-idf/esp_ipc/libesp_ipc.a esp-idf/spi_flash/libspi_flash.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/soc/libsoc.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/nvs_flash/libnvs_flash.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/esp_ringbuf/libesp_ringbuf.a esp-idf/driver/libdriver.a esp-idf/pthread/libpthread.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/esp32/libesp32.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/ulp/libulp.a esp-idf/esp-cryptoauthlib/libesp-cryptoauthlib.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a esp-idf/soc/soc/esp32/libsoc_esp32.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libcore.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libespnow.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libmesh.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libpp.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/librtc.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a /home/user/esp/esp-idf/components/esp_wifi/lib/esp32/libphy.a /home/user/esp/esp-idf/components/xtensa/esp32/libhal.a -u esp_app_desc -L /home/user/esp/esp-idf/components/esp_rom/esp32/ld -T esp32.rom.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -Wl,--wrap=longjmp -u vfs_include_syscalls_impl -L /home/user/esp/esp-idf/components/esp_wifi/lib/esp32 -Wl,--wrap=vPortCleanUpTCB -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -L /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/esp-idf/esp32 -T esp32_out.ld -u app_main -L /home/user/esp/Core2forAWS-MicroPython/ports/esp32/build-Core2forAWS/esp-idf/esp32/ld -T esp32.project.ld -L /home/user/esp/esp-idf/components/esp32/ld -T esp32.peripherals.ld -u call_user_start_cpu0 -u ld_include_panic_highint_hdl -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Wl,--gc-sections -Wl,--undefined=uxTopUsedPriority -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_locks_impl -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_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 && :
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj):(.literal.mp_bluetooth_deinit+0x8): undefined reference to `mp_bluetooth_nimble_port_shutdown'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj):(.literal.mp_bluetooth_deinit+0xc): undefined reference to `mp_bluetooth_nimble_port_hci_deinit'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj):(.literal.mp_bluetooth_init+0x14): undefined reference to `mp_bluetooth_nimble_port_hci_init'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj):(.literal.mp_bluetooth_init+0x18): undefined reference to `mp_bluetooth_nimble_port_start'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj): in function `mp_bluetooth_deinit':
/home/user/esp/Core2forAWS-MicroPython/extmod/nimble/modbluetooth_nimble.c:664: undefined reference to `mp_bluetooth_nimble_port_shutdown'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/Core2forAWS-MicroPython/extmod/nimble/modbluetooth_nimble.c:674: undefined reference to `mp_bluetooth_nimble_port_hci_deinit'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj): in function `mp_bluetooth_gatts_db_create':
/home/user/esp/Core2forAWS-MicroPython/extmod/modbluetooth.h:498: undefined reference to `mp_bluetooth_nimble_port_hci_init'
/home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(modbluetooth_nimble.c.obj): in function `mp_bluetooth_init':
/home/user/esp/Core2forAWS-MicroPython/extmod/nimble/modbluetooth_nimble.c:612: undefined reference to `mp_bluetooth_nimble_port_start'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
make: *** [Makefile:24: all] Fehler 2
problem with modbluetooth_nimble.c still there
setup fedora 34, $HOME is /home/user, esp idf 4.2 release is /home/user/esp/esp-idf Core2forAWS-MicroPython is /home/user/esp/Core2forAWS-MicroPython
a) first make / make after clean
second make finds a sdkconfig in build-Core2forAWS
b) second make
-> should idf 4.2 be used or 4.2.1 or 4.3 ?
-> the readme says
change port to ports