The lights should flash again, BOOT will disappear. Your board should re-enumerate USB and appear as a
COM or Serial port on your computer. Make a note of the serial port by checking the Device Manager
(Windows) or typing ls /dev/cu* or /dev/tty* (Mac or Linux) in a terminal.
If your board is listed in the terminal, proceed to the Uploading nina-fw with esptool section of this guide.
External AirLift Breakout
You'll be turning your Arduino board into a USB to Serial converter. To do this, you'll need a special
Arduino sketch named SerialESPPassthrough.ino and an Arduino-compatible board with Native USB
support such as the Adafruit Metro M4.
You will also need to make the following connections between the board and the AirLift Breakout:
Board Pin 12 to ESP32_ResetN
Board Pin 10 to ESP32 GPIO0
Board TX to RXI
Board RX to TX0
Click
Download: Project ZIP
to download the code below.
/*
SerialNINAPassthrough - Use esptool to flash the ESP32 module
For use with PyPortal, Metro M4 WiFi...
Copyright (c) 2018 Arduino SA. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <Adafruit_NeoPixel.h>
unsigned long baud = 115200;