Closed BardiaBaraei closed 4 years ago
Weird, there are no issues in that repository. v1.0.4 uploaded today.
My Error Massage:
Arduino: 1.8.9 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default, 80MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
C:\Users\bardi\Documents\Arduino\hardware\espressif\esp32/tools/sdk/lib\libesp32.a(cpu_start.o):(.iram1.literal+0x84): undefined reference to `esp_coex_adapter_register'
C:\Users\bardi\Documents\Arduino\hardware\espressif\esp32/tools/sdk/lib\libesp32.a(cpu_start.o):(.iram1.literal+0xac): undefined reference to `bootloader_common_set_flash_cs_timing'
C:\Users\bardi\Documents\Arduino\hardware\espressif\esp32/tools/sdk/lib\libesp32.a(cpu_start.o): In function `start_cpu0_default':
/home/larryb/esp32/esp-idf/components/esp32/cpu_start.c:380: undefined reference to `esp_coex_adapter_register'
C:\Users\bardi\Documents\Arduino\hardware\espressif\esp32/tools/sdk/lib\libesp32.a(cpu_start.o): In function `call_start_cpu0':
/home/larryb/esp32/esp-idf/components/esp32/cpu_start.c:158: undefined reference to `bootloader_common_set_flash_cs_timing'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "WiFi.h" Used: C:\Users\bardi\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi Not used: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 Error compiling for board ESP32 Dev Module.
@lbernstone How to install this library?
@bfaliszek, on Mac, navigate to the board sdk directory (/Users/your_name/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/sdk). In this directory you will find include/config and lib subdirectory. Use the files provided by the https://github.com/lbernstone/arduino-esp32-solo (but check out the correct version from commits https://github.com/lbernstone/arduino-esp32-solo/commits/master). Replace the corresponding files in those subdirectories (but maybe keep the old ones by renaming them). Hope this helps.
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
copy and replace C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools
Hi, I changed the files of https://github.com/lbernstone/arduino-esp32-solo in the direction that you said, but now it shows me this error. I don´t know what to do.
Arduino: 1.8.12 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default, 80MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, None"
In file included from C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-bt.c:22:0:
C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-bt.c: In function 'btStart':
C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32/tools/sdk/include/bt/esp_bt.h:120:24: error: 'CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF' undeclared (first use in this function)
.bt_sco_datapath = CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF, \
^
C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-bt.c:35:38: note: in expansion of macro 'BT_CONTROLLER_INIT_CONFIG_DEFAULT'
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
^
C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32/tools/sdk/include/bt/esp_bt.h:120:24: note: each undeclared identifier is reported only once for each function it appears in
.bt_sco_datapath = CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF, \
^
C:\Users\andre\OneDrive\Documentos\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-bt.c:35:38: note: in expansion of macro 'BT_CONTROLLER_INIT_CONFIG_DEFAULT'
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
^
exit status 1 Error compilando para la tarjeta ESP32 Dev Module.
..\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools
Thank you, it works!, The main problem was that I installed the ESP32 library whit the steps shown in https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/windows.md and it didn´t creat these folders AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools. To solve the problem I install the ESP32 library direct from the Arduino IDE and replace the files that you said.
Referencing #5183.
Hello, Is there any way to use Arduino IDE for ESP32-SOLO-1 (the single core version of ESP32)? By the way I checked https://github.com/lbernstone/arduino-esp32-solo, This doesn't work and it has some errors after compiling.