Espruino: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
* STM32 Discovery |
* STM32 Discovery |
||
* probablement : STM32 Nucleo |
* probablement : STM32 Nucleo |
||
==Premiers Pas avec une carte STM32F3 Discovery== |
|||
Installez [https://github.com/texane/stlink/blob/master/README STLink] pour Mac http://www.espruino.com/Download |
|||
<pre> |
|||
brew install libusb |
|||
git clone https://github.com/texane/stlink.git |
|||
cd stlink |
|||
LIBRARY_PATH=/usr/local/lib |
|||
C_INCLUDE_PATH=/usr/local/include |
|||
./autogen.sh |
|||
./configure |
|||
make |
|||
</pre> |
|||
Téléchargez le .bin de l'interpréteur depuis http://www.espruino.com/Download |
|||
Flashez l’interpréteur dans la carte |
|||
<pre> |
|||
./st-flash write ~/Downloads/espruino_1v66/espruino_1v66_stm32f3discovery.bin 0x08000000 |
|||
</pre> |
|||
Installez Google Chrome |
|||
Ajoutez l'[https://chrome.google.com/webstore/detail/espruino-web-ide/bleoifhkdalbjfbobjackfdifdneehpo IDE Espruino] à Google Chrome |
|||
Revision as of 09:47, 8 July 2014
un interpreter Javascript pour microcontroller
le programme est persistant
IDE est une application Chrome et prochainement intégré à Orion.
Cartes supportées :
- STM32 Discovery
- probablement : STM32 Nucleo
Premiers Pas avec une carte STM32F3 Discovery
Installez STLink pour Mac http://www.espruino.com/Download
brew install libusb git clone https://github.com/texane/stlink.git cd stlink LIBRARY_PATH=/usr/local/lib C_INCLUDE_PATH=/usr/local/include ./autogen.sh ./configure make
Téléchargez le .bin de l'interpréteur depuis http://www.espruino.com/Download
Flashez l’interpréteur dans la carte
./st-flash write ~/Downloads/espruino_1v66/espruino_1v66_stm32f3discovery.bin 0x08000000
Installez Google Chrome
Ajoutez l'IDE Espruino à Google Chrome