Английская Википедия:Espruino

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Infobox software Espruino is an open-source JavaScript interpreter for single board microcontrollers. It is designed for devices with small amounts of RAM (as low as 8kB[1]).

Overview

Espruino was created by Gordon Williams in 2012 as an attempt to make microcontroller development truly multiplatform.[2][3] Though initially not open-source, the Espruino firmware was offered as a free download for STM32 microcontrollers.[4] It was made open-source in 2013 after a successful Kickstarter campaign[5] for a development board running the software.[6] Since the original Espruino board, there have been a number of new official development boards including the small USB thumb-drive-sized Espruino Pico,[7] the Wifi-equipped Espruino WiFi, the Puck.js with built-in Bluetooth and the Pixl.js[8] with a built-in LC display and Arduino shield compatibility. Espruino is operating system used on BangleJS and BangleJS2 smartwatch. In addition to the official boards, Espruino runs on approximately 40 other types of development boards[9][3] including the ESP8266.[10][11]

There is a large body of reference material for Espruino including over 100 tutorials[12] as well as the book Making Things Smart[13] which contains a selection of hardware projects that can be created with Espruino-based microcontrollers.

To achieve maximal memory efficiency, Espruino executes code from source directly inside the parser, without the use of an Abstract Syntax Tree or intermediate bytecode.[14]

Hardware

The Original Espruino, the first official development board.
The Original Espruino, the first official development board, offers 44 GPIO pins, Micro SD card support, a Micro USB interface and controllable LEDs and buttons. It has 256 KB of flash and 48 KB of RAM and runs on a 72 MHz ARM Cortex M3 processor.

The first official development board was the Original Espruino. Later boards are available in a variety of form factors. The Original Espruino was followed by the Espruino Pico, Espruino WiFi, Puck.js and Pixl.js. A breakout board featuring the MDBT42Q Bluetooth LE module, the same used in the Puck.js and Pixl.js, is also available.


Software

Шаблон:Infobox software Espruino programs are written using JavaScript. The Espruino IDE is available as a web-based app, a Google Chrome App and as a native Windows application.[15] Alternative methods of programming Espruino boards include using terminal programs such as PuTTY on Windows.[16]

License

All of Espruino is Open Source. The different parts are licensed as follows:

References

Шаблон:Reflist