Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-Solo-1 with Arduino IDE #3324

Closed
BardiaBaraei opened this issue Oct 5, 2019 · 12 comments
Closed

ESP32-Solo-1 with Arduino IDE #3324

BardiaBaraei opened this issue Oct 5, 2019 · 12 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@BardiaBaraei
Copy link

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.

@lbernstone
Copy link
Contributor

Weird, there are no issues in that repository. v1.0.4 uploaded today.

@BardiaBaraei
Copy link
Author

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.

@bfaliszek
Copy link

@lbernstone How to install this library?

@ghost
Copy link

ghost commented Jan 22, 2020

@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
Copy link

stale bot commented Mar 22, 2020

[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 stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Mar 22, 2020
@stale
Copy link

stale bot commented Apr 5, 2020

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Apr 5, 2020
@lamloei
Copy link
Contributor

lamloei commented Apr 10, 2020

copy and replace
C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools

@andrew9404-bq
Copy link

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.

@lamloei
Copy link
Contributor

lamloei commented May 9, 2020

..\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools

@andrew9404-bq
Copy link

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.

@sixtyfive
Copy link

Referencing #5183.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

6 participants