Skip to content

Can't get ESP32 working with Arduino IDE on macOS Big Sur: xtensa-esp32-elf-g++: error #4871

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

Closed
wouterds opened this issue Feb 28, 2021 · 9 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@wouterds
Copy link

I keep getting this when trying to install a program to my Wemos Lolin32 Lite ESP32 development board on macOS Big Sur with latest version of the Arduino IDE. It works however on an older macOS device.

Console output:

xtensa-esp32-elf-g++: error: Lite: No such file or directory
xtensa-esp32-elf-g++: error: Lite": No such file or directory
exit status 1
Error compiling for board WEMOS LOLIN32 Lite.

System: macOS Big Sur 11.2.2
Arduino IDE: 1.8.13
arduino-esp32: 1.0.5

Steps to reproduce:

  1. Download Arduino IDE
  2. Install Arduino IDE app
  3. Add ESP32 to boards manager
  4. Install ESP32 boards
  5. Select board type & serial port
  6. Try to write basic blink program to board

Anyone that got it working on macOS Big Sur? Am I missing something?

(I recorded above steps to reproduce in case anyone could help out by just watching me do it https://youtu.be/IsvjP5e27ZQ)

@wouterds
Copy link
Author

wouterds commented Mar 2, 2021

Some extra information of my other machine where this is still working:

System: macOS Catalina 10.15.5
Arduino IDE: 1.8.13
arduino-esp32: 1.0.4

@TheRealDJ
Copy link
Contributor

TheRealDJ commented Mar 2, 2021

There is an issue in the 1.0.5 boards.txt (as well as the master) with this device. There is a space in the lolin32-lite.build.board setting.

lolin32-lite.build.board=LOLIN32 Lite

should be changed to something without a space, like

lolin32-lite.build.board=LOLIN32_Lite

I submitted PR 4885 to correct this.

@wouterds
Copy link
Author

wouterds commented Mar 6, 2021

I can confirm that works, can we please release 1.0.6 with this fix? 🙏

@me-no-dev
Copy link
Member

@wouterds we will :)

@stale
Copy link

stale bot commented Jun 20, 2021

[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 Jun 20, 2021
@TheRealDJ
Copy link
Contributor

Looks like this was included in release 1.0.6 (https://github.com/espressif/arduino-esp32/releases/tag/1.0.6). @wouterds Can you confirm 1.0.6 works as expected then close the ticket?

@stale
Copy link

stale bot commented Jun 30, 2021

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

@stale stale bot removed the Status: Stale Issue is stale stage (outdated/stuck) label Jun 30, 2021
@stale
Copy link

stale bot commented Sep 3, 2021

[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 Sep 3, 2021
@stale
Copy link

stale bot commented Sep 19, 2021

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

@stale stale bot closed this as completed Sep 19, 2021
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

3 participants