Go to file
rusefillc 7c926ad2b4 progress? 2021-04-22 01:16:50 -04:00
.github/workflows progress and GHA 2021-04-21 18:52:19 -04:00
ChibiOS@aac09d3da8 ChibiOS as submodule 2021-04-21 18:31:48 -04:00
ext progress? 2021-04-22 01:16:50 -04:00
iar first public commit 2015-03-12 16:54:57 +03:00
keil first public commit 2015-03-12 16:54:57 +03:00
.cproject first public commit 2015-03-12 16:54:57 +03:00
.gitignore first public commit 2015-03-12 16:54:57 +03:00
.gitmodules elua as submodule 2021-04-21 23:44:03 -04:00
.project first public commit 2015-03-12 16:54:57 +03:00
Makefile progress 2021-04-22 00:38:27 -04:00
STM32F407xG.ld first public commit 2015-03-12 16:54:57 +03:00
chconf.h progress 2021-04-22 00:14:49 -04:00
halconf.h progress? 2021-04-22 01:16:50 -04:00
main.c progress 2021-04-22 00:38:27 -04:00
mcuconf.h progress 2021-04-22 00:38:27 -04:00
readme.md wrong cd 2015-03-12 18:40:00 +03:00
readme.txt first public commit 2015-03-12 16:54:57 +03:00
rules.mk port to cibios 3.0 2015-03-12 18:38:47 +03:00
usbcfg.c port to cibios 3.0 2015-03-12 18:38:47 +03:00
usbcfg.h port to cibios 3.0 2015-03-12 18:38:47 +03:00

readme.md

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

mkdir -p ~/src/elua_chibios/
cd  ~/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

upload to STM32F4_DISCOVERY

by default elua available on USB serial (ttyACM0 in linux).

you may switch to serial driver in halconf.h

License

Note, ChibiOS licensed under different licenses (Pure GPL3,GPL3 with Exception,Commercial).

While eLua licensed under MIT.

For more info refer to original sources.

http://www.chibios.org/dokuwiki/doku.php?id=chibios:license

http://www.eluaproject.net/overview/license