Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroLua examples

This repository contains example programs for MicroLua.

Building

# Configure the location of MicroLua. Adjust for your setup.
$ export MLUA_PATH="${HOME}/MicroLua"

# Clone the MicroLua-examples repository.
$ git clone https://github.com/MicroLua/MicroLua-examples.git
$ cd MicroLua-examples

# Build all examples.
$ cmake -B build -DPICO_BOARD=pico
$ cmake --build build --parallel=9

# Start the target in BOOTSEL mode and flash the "blink" example with picotool.
$ picotool load --update --execute build/blink/blink.elf --force-no-reboot

# Alternatively, start the target in BOOTSEL mode and copy to its boot drive.
$ cp build/blink/blink.uf2 /mnt/RPI-RP2/

Contributors

Languages