57 Commits

Author SHA1 Message Date
Gordon Williams
cad7e4c763 initial code to allow simple JS libraries to be built into the interpreter without using RAM 2017-06-20 12:52:08 +01:00
David Shah
04ca096764 Fix Discarder for Python 3.6+
Builds without `V=1` set fail on newer versions of Python because
the `Discarder` dummy class used to suppress `stdout` output
doesn't implement the necessary `flush` method. This fixes
the problem by adding a stub `flush`.
2017-06-16 17:10:41 +01:00
Gordon Williams
62352ba2fa prepare for 1v92 build 2017-04-18 15:23:47 +01:00
Gordon Williams
5caa4c2905 Adding Global built-in objects like SPI1/Serial1 and Bluetooth to the docs 2017-01-09 11:26:49 +00:00
Gordon Williams
bb52ec9d1e Fix bug that caused Bluetooth/TV/USB objects to be added in devices that didn't support them (fix #832) 2017-01-06 09:36:59 +00:00
Gordon Williams
b041fd452c oops 2016-11-10 11:52:47 +00:00
Gordon Williams
3746c6a89f 1v88 release
Had to remove 'dump()' on devices with very little flash memory (Olimexino/Micro:bit)
2016-11-10 10:54:45 +00:00
Gordon Williams
a70032741d Move LED + BTN definitions to Symbol Table (allows autocomplete) 2016-10-17 15:52:42 +01:00
Gordon Williams
0e27a8bc3a docs 2016-09-26 15:59:31 +01:00
Gordon Williams
3f3e42a4b3 fix doc build 2016-07-05 13:03:29 +01:00
Gordon Williams
0223fee1fa fix build regression 2016-06-17 10:49:06 +01:00
Juergen Marsch
210797cedf Add options for make process
Adds customizing options, see description in makefile.
Idea is to support userdefined make of firmware
- GENDIR
- SETDEFINES
- UNSUPPORTEDMAKE
- PROJECTNAME
- BLACKLIST
- VARIABLES
2016-06-17 11:36:59 +02:00
Gordon Williams
4410817bd7 Put links to C declarations of functions in the reference (fix #849) 2016-04-27 10:35:07 +01:00
Gordon Williams
4f76bd6439 oops 2015-12-22 16:11:16 +00:00
Gordon Williams
1cfedbcbf7 start of moving some build options out of the Makefile - this now ensures that the correct modules get put into the JSON anyway 2015-12-22 12:51:25 +00:00
Gordon Williams
ac7724649b improve docs - report libraries as libraries, sort regardless of case 2015-11-24 14:35:41 +00:00
Thorsten von Eicken
350abe689d simplify esp8266 filenames 2015-11-22 10:56:25 -08:00
Thorsten von Eicken
450d5453b5 make release labeling consistent between makefile and python 2015-11-22 10:21:01 -08:00
Neil Kolban
d94bf21fd2 More fixes for the common.py issue #634 2015-10-09 09:44:28 -05:00
Neil Kolban
dacf2ee38e Converted file from Windows to Unix EOL markers. 2015-10-09 09:19:53 -05:00
Neil Kolban
15f192f58b Fixes for common.py. #634. 2015-10-09 08:53:59 -05:00
Gordon Williams
b7f30a6439 make common.py work on windows (fix #634) 2015-10-09 08:51:51 +01:00
Gordon Williams
71fb3f0843 tweaks needed so docs for the website can be compiled again 2015-10-08 16:31:35 +01:00
Gordon Williams
8c21a9cb76 Fix regression with Serial4 on EspruinoBoard (and others + other devices), (fix #612) 2015-10-05 10:59:37 +01:00
Neil Kolban
d322cc7d67 Change print "XXX" to print("XXX")
Change the python scripts to add parenthesis to print statements.
2015-08-27 14:19:19 -05:00
Gordon Williams
c2f2e27f2b fix build number issues 2015-07-24 15:32:36 +01:00
Gordon Williams
9703895293 allow builds under python 2.6.5 2015-06-04 11:05:41 +01:00
Gordon Williams
10464eabd0 Move to a different versioning - major v minor . commits_since_release 2015-06-03 13:47:12 +01:00
Gordon Williams
b7b9d2d8a5 doc improvement 2015-04-01 17:28:14 +01:00
Gordon Williams
11a2f45141 oops - fixed build 2015-01-12 16:18:20 +00:00
Gordon Williams
ea01b6cbd2 Working F401 USB VCP bootloader
Make Press-poweron-release-press boot back into Espruino (this may confuse your OS)
2015-01-12 15:59:40 +00:00
Gordon Williams
0473f18bca initial commit of bootloader. It compiles, but doesn't work 2015-01-06 17:39:38 +00:00
Gordon Williams
a6719578a6 update bootloader size code so it can check board info 2015-01-06 16:33:58 +00:00
Gordon Williams
32918505e2 Ensure that we only create as many Serial/I2C/etc items in Symbol table as we need (fix #453) 2014-12-19 11:53:51 +00:00
Gordon Williams
4c0a5db7e3 script to refactor Espruino's formatted comments 2014-09-10 18:21:07 +01:00
Gordon Williams
0fb282cde1 Add E.getSizeOf (fix #421)
Fix jsvCountJsVarsUsed for names with values
2014-08-25 12:14:25 +01:00
Gordon Williams
c15c55dfe2 updated docs to help tern determine what objects are returned 2014-07-15 17:23:01 +01:00
Gordon Williams
b3de0eac40 Move Serial.onData(...) to Serial.on('data',...)
Add Serial.read/available/pipe (fix #383)
            Add HTTP client/server read/available/pipe
            Add documentation for events (and tidy it up for constructors)
2014-06-19 14:50:43 +01:00
Gordon Williams
75cb8b791a Remove JsVarName (will require later change to make function decls re-use existing functions), and other tweaks - '[1,2,3].forEach(console.log)' now works 2014-03-31 11:36:54 +01:00
Gordon Williams
ec8a8b1500 simple auto-generated caller more or less works now 2014-03-28 12:18:38 +00:00
Gordon Williams
8538c69803 Improve auto-generated documentation 2014-02-26 08:49:15 +00:00
Gordon Williams
317c021251 Use jswrapper.c for executing idle/init/kill events for libraries (cleans up jsinteractive.c) 2014-02-25 10:24:59 +00:00
Gordon Williams
a5637de053 Contrib by jdomeij@gmail.com - don't use sed, so it can compile under mingw 2014-02-21 13:35:21 +00:00
Gordon Williams
8447cf7781 fix parse error reporting 2014-02-14 14:48:39 +00:00
Gordon Williams
491a49eb32 Added the 'E' class, with getAnalogVRef and getTemperature (fix #60)
Deprecated Math.clip (not in spec) and introduced E.clip
            Fixed bug in common.py that meant that ifndefs in JSON were sometimes not obeyed (better mem usage on small chips)
2014-01-29 18:04:51 +00:00
Gamaiel Zavala
ff7479a400 Optionally free up args for other functions 2013-12-16 22:37:59 -08:00
Gamaiel Zavala
4f493af120 Handle modules differently and add type 2013-12-16 14:32:12 -08:00
Gamaiel Zavala
3398979405 Add description 2013-12-14 11:31:44 -08:00
Gamaiel Zavala
688f4be6bf Handle remaining types and move function to common 2013-12-14 11:22:37 -08:00
Gordon Williams
a41f72977a Modified build system to store binary names in the python definition 2013-12-10 15:41:52 +00:00