This repo is a complete Arduino sketchbook with libraries, hardware definitions, etc.
Clone it then point Arduino IDE to it using the Preferences > Sketchbook location.
This repository contains submodules.
Git expects us to explicitly ask it to download the submodule's content. If you're cloning this repository for the first time, you can use a modified clone command to ensure you download everything, including any submodules:
git clone --recursive <url>
If you already cloned the repository you have to run
git submodule update --init --recursive
In order to update the repository submodules content, you can execute the following command regularly:
git submodule update --recursive
Execute hardware/espressif/esp32/tools/get.py
You have to export the compiled binary file first (Arduino > Sketch menu).
- Keep the push button pressed to supply power while the MCU is being reprogrammed
- Slide the battery type selector to "Custom" position
- Run the following commands : cd JLinkExe -commanderscript STM32_flash.jlink