This compiles like it should.. it works fine.
I add a ESP WLAN component to it and it compiles without errors.
I initialise the ESP component with the component macro and it doesn't compile anymore.
There are a lot of error like this:
I don't know if I've ever experienced this. I don't know where to start searching.
Any ideas?
I've tried this with a project that compiled OK in FC9 and this shows the same errors.
Tried it with an example for the FC Wiki... same compiling errors..
Is there something wrong with the ESP WLAN component?
Code: Select all
CUT...
Checking if Python packages are up to date...
Python requirements from C:\espidf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
Target: esp32 ...
[1/9] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\FC10\ESP\Clock\build\bootloader\esp-idf\esptool_py && C:\espidftools\.espressif\python_env\idf4.4_py3.7_env\Scripts\python.exe C:/espidf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 D:/FC10/ESP/Clock/build/bootloader/bootloader.bin"
Bootloader binary size 0x6430 bytes. 0xbd0 bytes (11%) free.
[2/7] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp-project.c.obj
In file included from D:/FC10/ESP/Clock/main/esp-project.c:40:
C:/espidf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:110,
from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/FC10/ESP/Clock/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_Float.c:91:6: warning: conflicting types for built-in function '__builtin_isinf_sign' [-Wbuiltin-declaration-mismatch]
char isinf(float f)
^~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:52,
from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
from D:/FC10/ESP/Clock/main/esp-project.c:209:
C:/espidf/components/tcpip_adapter/include/tcpip_adapter.h:15:2: warning: #warning "This header is deprecated, please use new network related API in esp_netif.h" [-Wcpp]
#warning "This header is deprecated, please use new network related API in esp_netif.h"
^~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
from D:/FC10/ESP/Clock/main/esp-project.c:209:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c: In function 'wifi_initialise':
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:369:3: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
tcpip_adapter_init();
^~~~~~~~~~~~~~~~~~
In file included from C:/espidf/components/esp_netif/include/esp_netif.h:35,
from C:/espidf/components/esp_event/include/esp_event_legacy.h:22,
from C:/espidf/components/esp_event/include/esp_event.h:28,
from C:/espidf/components/esp_wifi/include/esp_wifi.h:55,
from D:/FC10/ESP/Clock/main/esp-project.c:38:
C:/espidf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
void tcpip_adapter_init(void) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_01531_cal_spi1__Master_Enable_CS':
D:/FC10/ESP/Clock/main/esp-project.c:430:11: warning: unused variable 'FCL_STR' [-Wunused-variable]
#if (1) // 0 == 0
^~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_01531_cal_spi1__Prv_TextConsole':
D:/FC10/ESP/Clock/main/esp-project.c:465:11: warning: unused variable 'FCL_TSTR' [-Wunused-variable]
// #else
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_01531_cal_spi1__Master_Disable_CS':
D:/FC10/ESP/Clock/main/esp-project.c:497:11: warning: unused variable 'FCL_STR' [-Wunused-variable]
#if (0)
^~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__SumWidths':
D:/FC10/ESP/Clock/main/esp-project.c:614:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
FCR_RETVAL = 0;
^~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadWidth':
D:/FC10/ESP/Clock/main/esp-project.c:641:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
//Code has been optimised out by the pre-processor
^~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c:640:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
#if (0)
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e54_gLCD_Font4__ReadASCIILUT':
D:/FC10/ESP/Clock/main/esp-project.c:696:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
//Code has been optimised out by the pre-processor
^~~~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__SumWidths':
D:/FC10/ESP/Clock/main/esp-project.c:807:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
FCR_RETVAL = 0;
^~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadWidth':
D:/FC10/ESP/Clock/main/esp-project.c:834:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
//Code has been optimised out by the pre-processor
^~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c:833:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
#if (0)
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e53_gLCD_Font3__ReadASCIILUT':
D:/FC10/ESP/Clock/main/esp-project.c:889:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
//Code has been optimised out by the pre-processor
^~~~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e52_gLCD_Font2__ReadWidth':
D:/FC10/ESP/Clock/main/esp-project.c:1056:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
#if (0) // 255 < 255
^~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c:1055:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
#if (1)
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__SumWidths':
D:/FC10/ESP/Clock/main/esp-project.c:1305:12: warning: unused variable 'FCL_WIDTH' [-Wunused-variable]
FCR_RETVAL = 0;
^~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_09e51_gLCD_Font1__ReadWidth':
D:/FC10/ESP/Clock/main/esp-project.c:1337:12: warning: unused variable 'FCL_PWIDTH' [-Wunused-variable]
#if (1) // 127 < 255
^~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c:1336:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
#if (1)
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontStat':
D:/FC10/ESP/Clock/main/esp-project.c:1571:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
FCR_RETVAL = 0;
^~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_0ba71_Base_GLCD__ReadFontByte':
D:/FC10/ESP/Clock/main/esp-project.c:1631:13: warning: unused variable 'FCL_POSITION' [-Wunused-variable]
FCR_RETVAL = 0;
^~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_0a2b1_gLCD_ILI9341_SPI1__FastBPlot':
D:/FC10/ESP/Clock/main/esp-project.c:1745:32: warning: passing argument 1 of 'FC_CAL_SPI_Transaction_1' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
^
In file included from D:/FC10/ESP/Clock/main/esp-project.c:209:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_SPI.c:599:61: note: expected 'MX_UINT8 *' {aka 'unsigned char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
CALFUNCTION(MX_UINT8, FC_CAL_SPI_Transaction_, (MX_UINT8* Buffer, MX_UINT16 Size, MX_UINT16 Length))
~~~~~~~~~~^~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:1279:73: note: in definition of macro 'CALFUNCTION'
#define CALFUNCTION(type, name, args) type CAL_APPEND(name, MX_SPI_NUM) args
^~~~
D:/FC10/ESP/Clock/main/esp-project.c:1724:12: warning: unused variable 'FCL_DATA' [-Wunused-variable]
FCV_0a2b1_gLCD_ILI9341_SPI1__PIXELBUFFER[FCV_0a2b1_gLCD_ILI9341_SPI1__PIXELPOINTER + 1] = FCV_0a2b1_gLCD_ILI9341_SPI1__BACKGROUND_COL_VAR;
^~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_0a2b1_gLCD_ILI9341_SPI1__FastPlot':
D:/FC10/ESP/Clock/main/esp-project.c:2271:32: warning: passing argument 1 of 'FC_CAL_SPI_Transaction_1' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
// PixelPointer = 0
^
In file included from D:/FC10/ESP/Clock/main/esp-project.c:209:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_SPI.c:599:61: note: expected 'MX_UINT8 *' {aka 'unsigned char *'} but argument is of type 'volatile MX_UINT8 *' {aka 'volatile unsigned char *'}
CALFUNCTION(MX_UINT8, FC_CAL_SPI_Transaction_, (MX_UINT8* Buffer, MX_UINT16 Size, MX_UINT16 Length))
~~~~~~~~~~^~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:1279:73: note: in definition of macro 'CALFUNCTION'
#define CALFUNCTION(type, name, args) type CAL_APPEND(name, MX_SPI_NUM) args
^~~~
D:/FC10/ESP/Clock/main/esp-project.c:2250:12: warning: unused variable 'FCL_DATA' [-Wunused-variable]
^
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCD_0a2b1_gLCD_ILI9341_SPI1__ClearDisplay':
D:/FC10/ESP/Clock/main/esp-project.c:2909:12: warning: unused variable 'FCL_BUFFIDX' [-Wunused-variable]
^
D:/FC10/ESP/Clock/main/esp-project.c:2908:12: warning: unused variable 'FCL_BUFF' [-Wunused-variable]
FCD_0a2b1_gLCD_ILI9341_SPI1__Window(0, 0, 320 - 1, 240 - 1);
^~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCM_VertSeg':
D:/FC10/ESP/Clock/main/esp-project.c:3746:12: warning: variable 'FCL_BREEDTE' set but not used [-Wunused-but-set-variable]
// Name: Decision, Type: Decision: .Draw = 1?
^~~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCM_Tellen':
D:/FC10/ESP/Clock/main/esp-project.c:3872:13: warning: unused variable 'FCL_X_CURRENT' [-Wunused-variable]
// X_current = X_1
^~~~~~~~~~~~
D:/FC10/ESP/Clock/main/esp-project.c: In function 'FCM_HorSeg':
D:/FC10/ESP/Clock/main/esp-project.c:4273:12: warning: unused variable 'FCL_BREEDTE' [-Wunused-variable]
{
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
from D:/FC10/ESP/Clock/main/esp-project.c:209:
At top level:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:566:17: warning: 'wifi_accept_open' defined but not used [-Wunused-function]
static MX_UINT8 wifi_accept_open(void)
^~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:550:17: warning: 'wifi_socket_listen' defined but not used [-Wunused-function]
static MX_UINT8 wifi_socket_listen(MX_UINT16 port)
^~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:536:18: warning: 'wifi_socket_write' defined but not used [-Wunused-function]
static MX_UINT16 wifi_socket_write(void* buffer, MX_UINT16 bufferLen, MX_UINT16 size)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:522:18: warning: 'wifi_socket_read' defined but not used [-Wunused-function]
static MX_UINT16 wifi_socket_read(void* buffer, MX_UINT16 bufferLen, MX_UINT16 size)
^~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:485:17: warning: 'wifi_socket_connect' defined but not used [-Wunused-function]
static MX_UINT8 wifi_socket_connect(MX_STRING url, MX_UINT16 urlLen, MX_UINT16 port)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:471:12: warning: 'wifi_socket_open' defined but not used [-Wunused-function]
static int wifi_socket_open(void)
^~~~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\includes.c:53,
from D:/FC10/ESP/Clock/main/esp-project.c:209:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:386:17: warning: 'wifi_uninitialise' defined but not used [-Wunused-function]
static MX_UINT8 wifi_uninitialise(void)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:324:17: warning: 'wifi_disconnect' defined but not used [-Wunused-function]
static MX_UINT8 wifi_disconnect()
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:165:14: warning: 'wifi_scan_ssid' defined but not used [-Wunused-function]
static void* wifi_scan_ssid(MX_UINT16 index)
^~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:148:13: warning: 'wifi_sta_disconnected' defined but not used [-Wunused-function]
static void wifi_sta_disconnected(void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data)
^~~~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_WIFI.c:68:20: warning: 'TAG' defined but not used [-Wunused-variable]
static const char *TAG = "wifi";
^~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/FC10/ESP/Clock/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:795:18: warning: 'FCI_STRMOV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRMOV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:771:18: warning: 'FCI_STRREV' defined but not used [-Wunused-function]
static MX_UINT16 FCI_STRREV(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:701:17: warning: 'FCI_STRING_TO_FLOAT' defined but not used [-Wunused-function]
static MX_FLOAT FCI_STRING_TO_FLOAT(MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:598:18: warning: 'FCI_NUMBER_TO_HEX' defined but not used [-Wunused-function]
static MX_STRING FCI_NUMBER_TO_HEX(MX_ULONG Number, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:531:18: warning: 'FCI_FLOAT_TO_STRING' defined but not used [-Wunused-function]
static MX_STRING FCI_FLOAT_TO_STRING(MX_FLOAT Number, MX_UINT8 Precision, MX_STRING String, MX_UINT16 MSZ_String)
^~~~~~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:476:17: warning: 'FCI_COMPARE' defined but not used [-Wunused-function]
static MX_UINT8 FCI_COMPARE(MX_STRING sSrc1, MX_UINT16 iSrc1_len, MX_STRING sSrc2, MX_UINT16 iSrc2_len, MX_UINT8 iNoCase)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:450:13: warning: 'FCI_TOUPPER' defined but not used [-Wunused-function]
static void FCI_TOUPPER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:424:13: warning: 'FCI_TOLOWER' defined but not used [-Wunused-function]
static void FCI_TOLOWER(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:331:10: warning: 'FCI_TOSTRU32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU32(MX_UINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:297:10: warning: 'FCI_TOSTRU16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRU16(MX_UINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:254:10: warning: 'FCI_TOSTRS32' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS32(MX_SINT32 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:211:10: warning: 'FCI_TOSTRS16' defined but not used [-Wunused-function]
MX_UINT8 FCI_TOSTRS16(MX_SINT16 iSrc1, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:182:18: warning: 'FCI_RIGHTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_RIGHTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:159:18: warning: 'FCI_LEFTSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_LEFTSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~~
In file included from C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\internals.c:568,
from D:/FC10/ESP/Clock/main/esp-project.c:49:
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:129:18: warning: 'FCI_MIDSTRING' defined but not used [-Wunused-function]
static MX_STRING FCI_MIDSTRING(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_UINT16 iStart, MX_UINT16 iCount, MX_STRING sDst, MX_UINT16 iDst_len)
^~~~~~~~~~~~~
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\ESP\ESP_CAL_String.c:113:17: warning: 'FCI_GETCHAR' defined but not used [-Wunused-function]
static MX_UINT8 FCI_GETCHAR(MX_STRING sStr1, MX_UINT16 iStr1_len, MX_UINT16 iPos)
^~~~~~~~~~~
[3/7] Linking C static library esp-idf\main\libmain.a
[4/7] Generating ld/sections.ld
. .
[5/7] Linking CXX executable esp-project.elf
FAILED: esp-project.elf
cmd.exe /C "cd . && C:\espidftools\.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\esp-project.elf.rsp -o esp-project.elf && cd ."
c:/espidftools/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/espidf/components/esp_wifi/lib/esp32/libcoexist.a(coexist_hw.o):(.iram1.18+0x0): undefined reference to `btdm_rf_bb_reg_init'
c:/espidftools/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/espidf/components/esp_wifi/lib/esp32/libcoexist.a(coexist_hw.o):(.iram1.18+0x16): undefined reference to `btdm_rf_bb_reg_init'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Executing action: all (aliases: build)
Running ninja in directory D:\FC10\ESP\Clock\build
Executing "ninja all"...
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED