Prerequisites
Before building LT OS for ESP32, ensure the pyserial Python module is installed. The bundled esptool.py requires it; otherwise you may see errors about pyserial not being installed. On Debian/Ubuntu Linux, install it with:
% sudo apt install python3-serial
On Fedora/RHEL/CentOS, install it with:
% sudo dnf install python3-pyserial
On macOS, install it with:
% pip3 install pyserial
On Windows, install it with:
% py -m pip install pyserial
To build:
% cd /path-to-lt-sdk/lt-firmware-example
% source build-setup.sh
% espshell
% build
% make quiet
To flash:
% make FlashFirmware
To clean:
% make clean
Note: To perform first-time initialization of all flash partitions (build first):
% LT_FLASH=all make FlashFirmware
For a complete list of FlashFirmware options:
% make help FlashFirmware
% cd /path-to-lt-sdk/lt-firmware-example
% source build-setup.sh
% linuxshell
% build
% make quiet
% bin
% export LT_LIBRARY_PATH=.
% sudo ./ltrun LTSystemShell
Currently LT is operational on the CM7 core of the stm32-h755-nucleo-144 board.
To build:
% cd /path-to-lt-sdk/lt-firmware-example
% source build-setup.sh
% stshell
% build
% make quiet
To flash using STM32CubeProgrammer:
Flash using the STM32CubeProgrammer tool:
- Flash the file targets/lt-firmware-example.shell/st.st-h755-nucleo-144-cm7/release/bin/firmware.elf to flash sector 0.
- one time only - Flash the file targets/lt-firmware-example.shell/st.st-h755-nucleo-144-cm7/release/bin/LTPartitionTable.bin to flash sector 4 and to flash sector 5.
To flash using 'make FlashFirmware':
- Install the STM32 Cube command line tools (stm32cubeclt)
To flash:
% make FlashFirmware
To perform first-time initialization of all flash partitions (build first):
% LT_FLASH=all make FlashFirmware
For a complete list of FlashFirmware options:
% make help FlashFirmware
For reference only, and not an endorsement, some example ESP32 development boards are:
- Espressif ESP32-DevKitC
- Adafruit HUZZAH32 - ESP32 Feather Board (pre-soldered)
- SparkFun ESP32 Thing
- Amazon search for ESP32 camera boards
Availability, pricing, and features may vary by seller and region.