Go to file
denis ff378b19d9 first public commit 2015-03-12 16:54:57 +03:00
board/ST_STM32F4_DISCOVERY first public commit 2015-03-12 16:54:57 +03:00
ext first public commit 2015-03-12 16:54:57 +03: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
.project first public commit 2015-03-12 16:54:57 +03:00
Makefile first public commit 2015-03-12 16:54:57 +03:00
STM32F407xG.ld first public commit 2015-03-12 16:54:57 +03:00
chconf.h first public commit 2015-03-12 16:54:57 +03:00
halconf.h first public commit 2015-03-12 16:54:57 +03:00
main.c first public commit 2015-03-12 16:54:57 +03:00
mcuconf.h first public commit 2015-03-12 16:54:57 +03:00
readme.md first public commit 2015-03-12 16:54:57 +03:00
readme.txt first public commit 2015-03-12 16:54:57 +03:00
rules.mk first public commit 2015-03-12 16:54:57 +03:00
usbcfg.c first public commit 2015-03-12 16:54:57 +03:00
usbcfg.h first public commit 2015-03-12 16:54:57 +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 -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

upload to STM32F4_DISCOVERY by default elua avaylable 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