chibios_with_elua/readme.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

2015-03-12 06:54:57 -07:00
example how to run eLua with chibios
====================================
Example how to run eLua with chibios on STM32F4_DISCOVERY.
eLua use its own memory management so, my solution is split memory, one part for chibios and second for eLua (refer to STM32F407xG.ld)
This demo is based on original ChibiOS/demos/ARMCM4-STM32F407-DISCOVERY-MEMS
Quick start
----------------
2015-03-12 06:57:37 -07:00
```
2015-03-12 06:54:57 -07:00
mkdir -p ~/src/elua_chibios/
cd -p ~/src/elua_chibios/
git clone https://github.com/ChibiOS/ChibiOS.git
git clone https://github.com/linvinus/chibios_with_elua.git
cd ~/src/elua_chibios/chibios_with_elua/ext/
git clone https://github.com/elua/elua.git
cd ~/src/elua_chibios/chibios_with_elua
make
2015-03-12 06:57:37 -07:00
```
2015-03-12 06:54:57 -07:00
upload to STM32F4_DISCOVERY
2015-03-12 06:57:37 -07:00
2015-03-12 07:00:51 -07:00
by default elua available on USB serial (ttyACM0 in linux).
2015-03-12 06:57:37 -07:00
2015-03-12 06:54:57 -07:00
you may switch to serial driver in halconf.h
License
-------
Note, ChibiOS licensed under different licenses (Pure GPL3,GPL3 with Exception,Commercial).
2015-03-12 06:57:37 -07:00
2015-03-12 06:54:57 -07:00
While eLua licensed under MIT.
2015-03-12 06:57:37 -07:00
2015-03-12 06:54:57 -07:00
For more info refer to original sources.
2015-03-12 06:57:37 -07:00
2015-03-12 06:54:57 -07:00
http://www.chibios.org/dokuwiki/doku.php?id=chibios:license
2015-03-12 06:57:37 -07:00
2015-03-12 06:54:57 -07:00
http://www.eluaproject.net/overview/license