Skip to content

Seeed-Studio/Lua_for_RePhone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua_for_RePhone

Requirements

Add gcc-arm-embedded path to PATH variable.

Compile & Download

Run make to get lua.vxp file, follow the guide to download it to the RePhone.

  1. Upgrade firmware to get serial console support
  2. Hold the RePhone's button, and turn it into storage mode in which we'll be able to see a USB disk on the computer.
  3. Copy the vxp file to the disk
  4. Change the path of autostart.txt, which is in the root directory of the disk, with the new vxp file path.

Get started with Lua

Note: To use the serial console, a firmware upgrade is a must.

Use serial port tool like miniterm.py to open RePhone USB Modem Port and enter:

print('hello, lua')

API