482 Commits

Author SHA1 Message Date
Gordon Williams
c27b9e1cd4 benchmark tweaks 2014-02-06 17:25:01 +00:00
Gordon Williams
34d3e2afc9 benchmark fixes 2014-02-06 16:34:41 +00:00
Gordon Williams
bd17a9c3e8 bump version 2014-02-06 11:47:25 +00:00
Gordon Williams
4909d87c62 Whoops - fix F3 build 2014-02-06 11:33:47 +00:00
Gordon Williams
1a31c34c4d Added SPI RX IRQ. Caved in and used a few bytes for buffers, made SPI significantly more reliable 2014-02-06 11:24:33 +00:00
Gordon Williams
45c6da90c2 Allow {1:2} to be parsed (fix #199) 2014-02-06 11:17:37 +00:00
Gordon Williams
dbfafbd697 Fix bug when trying to stringify {5:5} 2014-02-06 11:16:35 +00:00
Gordon Williams
e4b3246228 Fix broken Web IDE caused by change to printing JSON for console.log (part of #206) 2014-02-06 11:00:12 +00:00
Gordon Williams
a53a11c6f5 More benchmarks fro TiCPU 2014-02-06 08:59:14 +00:00
Gordon Williams
32326eb5fe bump version 2014-02-05 17:16:52 +00:00
Gordon Williams
f27afda9e8 use hex 2014-02-05 17:06:51 +00:00
Gordon Williams
d2e02cf65d docs 2014-02-05 16:07:50 +00:00
Gordon Williams
3db016017f modifying code to use better functions 2014-02-05 14:02:31 +00:00
Gordon Williams
4966303a42 oops. 2014-02-05 13:52:36 +00:00
Gordon Williams
6d5136f325 Added handling of query in url.parse - still not fully compatible though (fix #205) 2014-02-05 13:52:21 +00:00
Gordon Williams
2015b467da console.log and print output JSON now (part of #206) 2014-02-05 13:11:52 +00:00
Gordon Williams
e357dc1e9c trying to improve CC3k stability 2014-02-05 12:32:55 +00:00
Gordon Williams
7955b652e0 Make DEBUG actually set DEBUG=1 2014-02-05 12:32:11 +00:00
Gordon Williams
7b06bfd3b1 Until we sort out SPI RX and IRQs, lower default SPI baud rate to stop timeouts 2014-02-05 10:23:35 +00:00
Gordon Williams
1f2eec8f4c an ifndef around SWD disable 2014-02-05 10:21:12 +00:00
Gordon Williams
9368f9b34c Lower USB interrupt priority, remove pesky PriorityGroupConfig that was breaking other IRQ priorities 2014-02-05 10:08:04 +00:00
Gordon Williams
3f643042c9 Add timeouts for SPI, and other timeouts now interrupt execution 2014-02-05 10:06:41 +00:00
Gordon Williams
8eebdd0758 Add timeouts to TI's CC3000 driver 2014-02-05 10:03:27 +00:00
Gordon Williams
3cb573c7e3 board images 2014-02-04 13:05:02 +00:00
Gordon Williams
7ad917a3d6 Fix HTTP response code of 0 (fix #212) 2014-02-03 13:58:56 +00:00
Gordon Williams
725d0bf490 Don't display startup banner if loading from flash (an easy way to fix #213) 2014-02-03 13:54:00 +00:00
Gordon Williams
e4ab148622 Less printing when loading from flash 2014-02-03 13:43:56 +00:00
Gordon Williams
e441fd0c97 Made Startup banner smaller 2014-02-03 13:42:51 +00:00
Gordon Williams
25e38726d0 Increase buffer sizes on boards with >= 20kB RAM 2014-02-03 13:42:37 +00:00
Gordon Williams
12e3cf798a reset between benchmarks 2014-01-31 11:21:39 +00:00
Gordon Williams
2baa3aa7aa Increase buffer sizes on Linux 2014-01-31 10:23:17 +00:00
Gordon Williams
cad95a1bfa new benchmarks 2014-01-31 10:20:55 +00:00
Gordon Williams
2ab579f550 Apply patch from Daniel Serpell (with minor tweaks). Also note that this speeds up code with -O3 as well, by around 2%.
----

This patch series fixes (and enables by default) the compilation with
link-time-optimization (LTO).

This was tested with gcc-4.8 from https://launchpad.net/gcc-arm-embedded
and results in a 10% code size reduction when compilling with -Os.

Daniel Serpell (3):
  Include math function prototypes from the definitions.
  Remove memset function, already included as builtin by gcc.
  Compile with LTO, gives 10% smaller code.
2014-01-31 09:48:38 +00:00
Gordon Williams
925facc42c docs 2014-01-31 09:48:13 +00:00
Gordon Williams
059444045d use current version 2014-01-31 09:48:03 +00:00
Gordon Williams
6bfbc45bdc add usage warning to docs 2014-01-30 16:55:06 +00:00
Gordon Williams
78b90639bd same as version in EspruinoDocs 2014-01-30 13:39:08 +00:00
Gordon Williams
53e7e74c76 bump version 2014-01-30 13:38:36 +00:00
Gordon Williams
21ec546eb5 tidy up init code 2014-01-30 10:20:01 +00:00
Gordon Williams
5e4629ee1f Fix deep sleep breaking ADCs 2014-01-29 18:46:39 +00:00
Gordon Williams
f48674588b update example code for deprecated Math.clip 2014-01-29 18:07:57 +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
998abaadb8 Swapped to jumptable to lexer (should be a bit faster) 2014-01-29 12:32:50 +00:00
Gordon Williams
14e19c3601 Use goto (eep) rather than recursion to handle comments/whitespace 2014-01-29 11:07:15 +00:00
Gordon Williams
e0213c3328 remove un-needed check 2014-01-29 11:05:31 +00:00
Gordon Williams
cb2584e826 misc reordering for speed 2014-01-29 11:05:07 +00:00
Gordon Williams
a74c1146c4 Faster string iteration which doesn't involve incrementing it->index
See also previous c0bc852ff0a3da7691e8ebc25f90cd5fcd136b38
2014-01-29 10:57:45 +00:00
Gordon Williams
3b8900b303 We now loop without a seek to position inside the string (much faster if loop is not near the start of a fn) (fix #53)
NOTE: previous branch merge did this
2014-01-29 10:51:21 +00:00
Gordon Williams
79c1ec8d87 potentially slightly faster comment handling 2014-01-29 10:47:23 +00:00
Gordon Williams
1804ac8310 tests just to check comments 2014-01-29 10:46:58 +00:00