back to Arduino and ESP32-S2-Saola-1

ESP32-S2-Saola-1 GitHub Desktop Arduino installation
- Windows 10

This may work on other platforms; do not ask me how.
This should be a portable installation.
It is incompatible with Arduino for other boards.
  1. Download Arduino's Windows ZIP file
      - not (yet) Arduino 2.0
  2. Right-click the downloaded zip file; select Extract All...
      - set a destination, preferably with a short path (e.g. C:\my\Arduino)
      - Extract
  3. In that installation folder, be sure to add a portable folder:
  4. Launch arduino.exe (or a shortcut to it)
      - File > Preferences > Sketchbook location:
      - must differ from install destination or other Arduino Sketcbook locations;
      - usually in Documents\
  5. Quit Arduino (for now)
  6. Install (if not already) GitHub Desktop
      - This is the easiest way to install and maintain custom Arduino libraries
      - click Help for set up instructions.
  7. Launch GitHub Desktop
      - File > Clone repository...
     
  8. click URL
     
      - For Repository, enter espressif/arduino-esp32
      - set a hardware\espressif\esp32 path in that sketch directory,
        e.g. D:\my\Arduino\hardware\espressif\esp32
      - click Clone.
  9. As expressif instructs for beta board support,
      - open a command prompt in the hardware\espressif\esp32\tools folder,
      - Enter:
      get.exe
    System: Windows, Info: Windows-10-10.0.19041
    Platform: i686-mingw32
    Tool riscv32-esp-elf-gcc8_4_0-esp-2021r2-win32.zip already downloaded
    Extracting riscv32-esp-elf-gcc8_4_0-esp-2021r2-win32.zip
    Tool xtensa-esp32-elf-gcc8_4_0-esp-2021r2-win32.zip already downloaded
    Extracting xtensa-esp32-elf-gcc8_4_0-esp-2021r2-win32.zip
    Tool xtensa-esp32s2-elf-gcc8_4_0-esp-2021r2-win32.zip already downloaded
    Extracting xtensa-esp32s2-elf-gcc8_4_0-esp-2021r2-win32.zip
    Tool esptool-3.1.0-windows.zip already downloaded
    Extracting esptool-3.1.0-windows.zip
    Tool i686-w64-mingw32.mklittlefs-c41e51a.200706.zip already downloaded
    Extracting i686-w64-mingw32.mklittlefs-c41e51a.200706.zip
    Tool mkspiffs-0.2.3-arduino-esp32-win32.zip already downloaded
    Extracting mkspiffs-0.2.3-arduino-esp32-win32.zip
    Renaming mkspiffs-0.2.3-arduino-esp32-win32/ to mkspiffs
    Done
  10. Eliminate Arduino build warnings for "CFG_TUSB_*" redefined in sketches using midiusb.h:
    In: Documents/Arduino/hardware/espressif/esp32/tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/tusb_config.h,
    move all unconditional #define's (COMMON CONFIGURATION and DRIVER CONFIGURATION)
    from near the file end to before #include "tusb_option.h"
  11. In Arduino:   Tools > Board: "ESP32S2 Dev Module"
     
  12. To install custom Arduino libraries from GitHub, using GitHub Desktop
      ... which handles submodule automagically...
      In [GitHub Desktop](https://desktop.github.com):
      - File > Clone repository...
      - URL
      - fill in username/repository, e.g. chegewara/EspTinyUSB
      - fill in Local path. e.g. D:\my\Arduino\libraries
      - click clone
      - Arduino's IDE console window shows invalid library complaints.
  13. Install these additional libraries

supplementary information

With 31 Aug 2021 release of ESP32 Arduino 2.0.0,
ESP32-S2 can be added to Arduino IDE using board manager,
but espressif still publishes beta board support.

OTG USB cable

Sadly, ESP32-S2-Saola-1 board USB pins GPIO19+20 are not near a ground.

iPhone "harmonica" connectors are out of fashion;  one with a thick cable was sacrificed:

Cable is double-shielded.

I don't crochet, but a small hook helps sort fine wires.
A pair of pins are wanted:

Power leads are distinguished from signal by greater strand count
as well as color.
Note: black wire is NOT connected to shield.

A broken DIP socket helps serve up pins for tack soldering:

Hot glue comes next, for insulation and mechanical support.
maintained by blekenbleu