91 Commits

Author SHA1 Message Date
Tim Newsom
ac7d4f4359 This update adds additional support for file. Files can now be opened
closed, read, written in bytes by position (block reads and writes) and
piped to other files during idle periods (for large files).

check_size.sh has a modification for OSX that allows the same
functionality as on other unix like environments.  Since DU does not
function the same, gdu must be loaded on the system (through macports or
some other channel). The modification is simply to use gdu instead of
du.

This commit also includes a QT creator project file and associated
settings.
2014-04-19 20:39:28 -07:00
Gordon Williams
c0a05f1027 update reference text 2014-04-10 10:17:01 +01:00
Gordon Williams
4962e6ea45 Tiny up python wrapper. This *almost* works - SPI seems glitchy though 2014-04-07 17:19:21 +01:00
Gordon Williams
19677e9281 new version 2014-04-04 11:33:16 +01:00
Gordon Williams
386bc905c2 Fix Math.round regression and add checks to ensure it can't happen again 2014-04-03 09:54:24 +01:00
Gordon Williams (u36)
b4a9dcf937 fix memory leak 2014-04-02 07:58:25 +01:00
Gordon Williams
d6c47bf044 Ooops. Fix parsing of pin names 2014-03-31 18:25:50 +01:00
Gordon Williams
a5f2f2def0 attempt at reducing code size for checks 2014-03-31 16:49:10 +01:00
Gordon Williams
c8ff078c78 Merge branch 'master' into native_functions 2014-03-31 16:09:09 +01:00
Gordon Williams
2d629a0e5e more bugfixing 2014-03-31 14:59:30 +01:00
Gordon Williams
8dc36ba1e4 reworked tests for built-in objects 2014-03-31 14:29:33 +01:00
Gordon Williams
fed2e09f89 Support for generate_full and also fields 2014-03-31 12:40:17 +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
bccd68783a simple function references work 2014-03-30 17:28:03 +01:00
Gordon Williams
a1e0a29fb5 Add JTAG to ignore list for some boards
Fix LCD FSMC formatting and report if LCD is unknown
2014-03-28 17:13:47 +00:00
Gordon Williams
dae4dc2970 fixed crash when not enough arguments 2014-03-28 12:37:09 +00:00
Gordon Williams
ec8a8b1500 simple auto-generated caller more or less works now 2014-03-28 12:18:38 +00:00
Gordon Williams
ec8bc71758 Allow jswrapper to wrap objects with a name >8 characters long (fix #264) 2014-03-25 13:14:38 +00:00
Gordon Williams
0cd9f8f951 Add builtin_modules to board's JSON 2014-03-21 10:55:42 +00:00
Gordon Williams
b5182fc841 Added Graphics.setFontCustom for custom fonts 2014-03-18 16:32:26 +00:00
Gordon Williams
ffd478c095 fix 1v56 compile issue in release mode 2014-03-11 16:59:41 +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
b8341fd5cf new release - bump version 2014-02-21 15:37:47 +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
5b313a511c removing some compile warnings 2014-02-14 13:31:21 +00:00
Gordon Williams
4ec13c9fa9 setWatch now reports lastTime - time of last state change #238 2014-02-14 12:45:40 +00:00
Gordon Williams
0ba7c60834 Stop FatFS using insane amounts of RAM 2014-02-13 13:58:24 +00:00
Gordon Williams
82dfeb89d0 Epic refactor to remove JsParse (fix #17) 2014-02-12 12:44:02 +00:00
Gordon Williams
09e9d1885c Now use jshardware's SPI for SD filesystems - more multiplatform 2014-02-11 19:15:34 +00:00
Gordon Williams
f27afda9e8 use hex 2014-02-05 17:06:51 +00:00
Gordon Williams
25e38726d0 Increase buffer sizes on boards with >= 20kB RAM 2014-02-03 13:42:37 +00:00
Gordon Williams
2baa3aa7aa Increase buffer sizes on Linux 2014-01-31 10:23:17 +00:00
Gordon Williams
78b90639bd same as version in EspruinoDocs 2014-01-30 13:39:08 +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
Gordon Williams
d2fe0c0948 tidy 2014-01-28 13:20:36 +00:00
Gordon Williams
e1c4112d35 Added bootloader hack to Python bootloader 2014-01-28 13:10:48 +00:00
Gordon Williams
25869fe63a faster flasher 2014-01-28 10:07:24 +00:00
Gordon Williams
839add8e92 hacky scripts for creating correct binaries 2014-01-16 11:22:38 +00:00
Gordon Williams
f45d6b975d Moved memory() to process.memory() - added more info too 2014-01-10 17:55:19 +00:00
Gordon Williams (u36)
b75c45e815 revert part of 1ac6966c22912dc0de1d28e5238bee61305c8b0a - might mess up deep sleep but for some reason what was there breaks the Espruino 1r3 board 2013-12-26 19:23:34 +00:00
Gordon Williams
03d56fe5ba tried to share more code between platforms 2013-12-19 13:58:33 +00:00
Gordon Williams
b207e387df Change 'Pin' datatype to be an unsigned char - makes tests easier 2013-12-19 12:36:43 +00:00
Gordon Williams
a79cff3fcd Move pin defs into auto-generated header file - allows us to optimise a bit better 2013-12-19 11:31:15 +00:00
Gordon Williams
68f061a125 fix bug in zip creation 2013-12-18 18:16:00 +00:00
Gordon Williams
2c3e2518f9 fix JSON formatting 2013-12-18 18:12:57 +00:00
Gordon Williams
e0ce54ca73 make CAN have a different colour to 'devices' 2013-12-18 09:01:58 +00:00
Gordon Williams
eaa303fe3b Merge branch 'master' of github.com:espruino/Espruino 2013-12-17 14:21:14 +00:00
Gordon Williams
dc64cb65fa more JSON 2013-12-17 14:21:11 +00:00