I have been struggling to load the Blink sketch onto the Adafruit Metro ESP32-S2 Express.
I'm using a Mac OS Sierra version 10.12.6 and Arduino 1.8.19
I am using Arduino IDE instead of CircuitPython because I need to connect to my university's wifi (WAP2 Enterprise) which can not be done in CircuitPython.
Here are my steps:
I followed the https://learn.adafruit.com/adafruit-met ... 2/overview tutorial and could not get esptool to work, so I used the Web Serial ESPTool to erase the board and then load the bin file and was able to see the METROS2BOOT on my computer. I didn't install the UF2 because I'm not using CircuitPython, but please tell me if this is incorrect.
I updated Arduino IDE and installed the esp32 board under the manager and selected the "Adafruit Metro ESP32-S2" board. Although connected using a data cable, my board did not show up under "Port." I put the board in bootloader mode and the port showed up: "/dev/cu.usbmodem1 (ESP32S2 Dev Module)"
I copy/pasted the Blink sketch from the tutorial and clicked compile but get the following error:
Code: Select all
Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro ESP32-S2, Enabled, Disabled, Disabled, Internal USB, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None"
[59808] Error loading Python lib '/var/folders/1f/16yxxxyx7lv6c3hn8htr35gr0000gp/T/_MEIEOgGvP/libpython3.8.dylib': dlopen: dlopen(/var/folders/1f/16yxxxyx7lv6c3hn8htr35gr0000gp/T/_MEIEOgGvP/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /var/folders/1f/16yxxxyx7lv6c3hn8htr35gr0000gp/T/_MEIEOgGvP/libintl.8.dylib
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/1f/16yxxxyx7lv6c3hn8htr35gr0000gp/T/_MEIEOgGvP/libintl.8.dylib
exit status 255
/private/var/folders/1f/16yxxxyx7lv6c3hn8htr35gr0000gp/T/AppTranslocation/12259308-1141-406D-AED2-4AE075195ACE/d/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board Adafruit Metro ESP32-S2.
I've been working on solving this problem for hours and am at a loss. I've tried uninstalling and reinstalling Arduino, but this did not solve the problem. I would so appreciate any guidance on how to solve this problem, thanks!