Skip to content

rokudev/lt-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Roku LT Operating System open source distribution.

Documentation

  1. Advantages of LT
  2. LT Architecture
  3. LT Instructional Videos
  4. LT Open Source announcement

Building for ESP32

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

Building for Linux

% cd /path-to-lt-sdk/lt-firmware-example
% source build-setup.sh
% linuxshell
% build
% make quiet

Running on Linux

% bin
% export LT_LIBRARY_PATH=.
% sudo ./ltrun LTSystemShell

Building for STM32

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:

  1. Flash the file targets/lt-firmware-example.shell/st.st-h755-nucleo-144-cm7/release/bin/firmware.elf to flash sector 0.
  2. 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':

  1. 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

Sample ESP32 Development Boards

For reference only, and not an endorsement, some example ESP32 development boards are:

Availability, pricing, and features may vary by seller and region.

About

No description, website, or topics provided.

Resources

License

Stars

121 stars

Watchers

4 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors