1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/lua
kenrabold db4d67c4fd make: add hifive1 to BOARD_INSUFFICIENT_MEMORY
Added HiFive1 to BOARD_INSUFFICIENT_MEMORY list for examples and tests that are too big to fit

build: fixed missing syscall and cpuid failures

Added missing syscall stubs for nanostubs and fixed compile error with cpuid periph

build: fixed whitespace error

build: add hifive1 to more BOARD_INSUFFICIENT_MEMORY

doc: fixed doxygen warnings

Addressed Doxygen warnings in source file comments

doc: more doxygen fixes

doc: even more doxygen fixes

doc: more changes

build: fix pedantic and rdci_simple build failures

make: exclude lua
2018-05-29 16:27:53 -07:00
..
main.c examples/lua: added example Lua application 2018-05-24 17:56:25 +02:00
main.lua examples/lua: added example Lua application 2018-05-24 17:56:25 +02:00
Makefile make: add hifive1 to BOARD_INSUFFICIENT_MEMORY 2018-05-29 16:27:53 -07:00
README.md examples/lua: added example Lua application 2018-05-24 17:56:25 +02:00

About

This example shows how to write IoT applications using Lua.

Caveats

Currently, the only actual function available is "print"

How to use

Put your lua code into "main.lua" (check the example). The file will be included in your application as an ASCII byte array. This is done in the last 20 or so lines of the example's Makefile.

The script will then be run immediately after RIOT has started up.

How to run

Type make flash term

Note: you may have to press RESET on the board (after the flash) if the board reboots faster than the terminal program can start..