1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/lua_basic
Jean Pierre Dudey de50518146
cc26x2_cc13x2: use correct RAM value
Previous value was 20 K, now it's 80 K. The older family of these MCUs
(cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's
80 K.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-10 18:38:15 -05:00
..
main.c pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
main.lua pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
Makefile examples/lua*: update board blacklist 2019-10-30 16:15:41 +01:00
Makefile.ci cc26x2_cc13x2: use correct RAM value 2020-02-10 18:38:15 -05:00
README.md pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +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..