Back to blogs
Justin Reyes
July 2, 2024
ESP32 Marauder from Source to CYD
A simple guide to installing the firmware from source without the hassle of editing multiple files.
Note:
All of the files needed to proceed with the tutorial are located here: CYD-MARAUDER
Preparing Arduino IDE 2.2.1
- Download Arduino IDE 2.2.1 from SOURCEFORGE.
- Open the Arduino IDE and go to File > Preferences.
- Add the following URLs to Additional Boards Manager URLs:
https://dl.espressif.com/dl/package_esp32_index.jsonhttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
- Go to Tools > Board > Boards Manager, search for
esp32, and installesp32by Espressif Systems (version2.0.11). - Install the CH340X Drivers.
Installing Arduino IDE Libraries
- Download the
librariesfolder from the CYD Marauder repository. - Copy the
librariesfolder to your Arduino directory:- Windows:
C:\Users\USERNAME\OneDrive\Documents\Arduino - Mac/Linux:
~/Documents/Arduino
- Windows:
Replacing platform.txt
- Download the
platform.txtfile from the CYD Marauder repository. - Navigate to:
- Windows:
C:\Users\USERNAME\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11 - Mac/Linux:
~/.arduino15/packages/esp32/hardware/esp32/2.0.11
- Windows:
- Replace the existing
platform.txtwith the downloaded file.
Configuring TFT_eSPI-master
- Navigate to the
TFT_eSPI-masterlibrary folder:- Windows:
C:\Users\USERNAME\OneDrive\Documents\Arduino\libraries\TFT_eSPI-master - Mac/Linux:
~/Documents/Arduino/libraries/TFT_eSPI-master
- Windows:
- Open the
USER_SETUP.Hfile and edit it based on your CYD model:- 1 USB CYD w/o GPS:
- 2 USB CYD w/o GPS:
- 1 USB CYD w/o GPS:
- Save the file after making changes.
Flashing the ESP32 Marauder Firmware
- Download the
esp32_marauder.zipfile from the CYD Marauder repository and extract it. - Open the
esp32_marauder.inofile in the Arduino IDE. - Select the board: Tools > Board > LOLIN D32.
- Set the Partition Scheme to
MINIMAL SPIFFS (LARGE APP WITH OTA). - Set the Upload Speed to
115200. - Select the correct Port (e.g.,
COM3or/dev/ttyUSB0). - Click Verify and then Upload.
Modding the Splash Screen
- Open the
esp32_marauder.inofile. - Locate and edit the following lines of code to customize the splash screen:
That’s it! You’ve successfully installed the ESP32 Marauder firmware on your CYD. For more details, visit the CYD Marauder repository.
Learn More
- For a Webflash Installer, visit: Fr4nkFletcher.
- For more information about the ESP32 Marauder project, visit: justcallmekoko.
- For an in-depth installation process, check out: smoochiee.