303 Commits

Author SHA1 Message Date
Gordon Williams
dc64cb65fa more JSON 2013-12-17 14:21:11 +00:00
Gordon Williams
93edb4c8a0 Fix PWM output on all STM32 boards. 2013-12-17 14:20:49 +00:00
Gordon Williams
ea0dab2192 docs 2013-12-16 17:19:22 +00:00
Gordon Williams
70bb721c41 Merge branch 'master' of github.com:espruino/Espruino 2013-12-16 12:29:36 +00:00
Gordon Williams
0b629ab2ad Fix flash write on most 10XxB boards 2013-12-16 12:29:32 +00:00
Gordon Williams
d7b1afaa4c Merge pull request #140 from gzip/master
Foundational work for generating JS stubs
2013-12-16 01:31:46 -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
Gamaiel Zavala
885244b13d WIP for JS stubs 2013-12-13 21:51:12 -08:00
Gordon Williams
f14bae411c Detect unfinished block comments in console (fix #138) 2013-12-13 10:56:26 +00:00
Gordon Williams
514e32cf53 Now disable interrupts during 4 bit SPI send - it's just too much otherwise 2013-12-12 18:47:55 +00:00
Gordon Williams
d038eecfd4 Fix segfault when pinMode is called on an invalid pin 2013-12-12 17:34:57 +00:00
Gordon Williams
00b06dca04 not that short on memory, but Travis compiler is old and uses more 2013-12-12 17:02:22 +00:00
Gordon Williams
b3037fe075 try and fix build of LCTech 2013-12-12 17:01:18 +00:00
Gordon Williams
619e0dde55 Make normal linux compile go to 'espruino' 2013-12-12 16:16:09 +00:00
Gordon Williams
77ea9e2d77 Fix nasty regression involving losing code at the end of Strings 2013-12-12 16:14:55 +00:00
Gordon Williams
a3003cdb96 whoops - huge regression 2013-12-12 15:36:12 +00:00
Gordon Williams
a41f72977a Modified build system to store binary names in the python definition 2013-12-10 15:41:52 +00:00
Gordon Williams
5d1e866772 Version bump - 1v43 has now gone to Seeed 2013-12-10 12:12:23 +00:00
Gordon Williams
64df7bd79b fixed ESPRUINO 1V0 build ESPRUINOBOARD_1v3_SEEED 2013-12-09 16:55:06 +00:00
Gordon Williams
dc56062cdd tweak inline states for speed 2013-12-09 15:59:20 +00:00
Gordon Williams
fde5d5ad2b fix warninsg 2013-12-09 15:59:03 +00:00
Gordon Williams
461da42ede minor gitignore stuff 2013-12-09 15:53:41 +00:00
Gordon Williams
9662392cf0 don't inline a bunch of non-critical stuff in jshardware.c 2013-12-09 15:53:22 +00:00
Gordon Williams
8b526f68e0 Remove test for var, as this is not needed (charsInVar==0, and charIdx>=0 so charIdx<charsInVar==false) 2013-12-09 15:45:27 +00:00
Gordon Williams
bf362cad78 change getNextCh around to help with speed 2013-12-09 15:42:03 +00:00
Gordon Williams
7b2b1da607 Remove un-needed index counter 2013-12-09 15:35:13 +00:00
Gordon Williams
91f3306b22 get lexer smaller by not inlining GetNextCh 2013-12-09 15:31:34 +00:00
Gordon Williams
2b85d449da Improve IO by hard-coding constants (saved ~5kb and is a lot faster) 2013-12-09 14:22:40 +00:00
Gordon Williams
f8a51e3434 stop OneWire munching up space 2013-12-09 14:13:49 +00:00
Gordon Williams
5d2f062217 stop GCC eating loads of flash 2013-12-09 14:09:55 +00:00
Gordon Williams
1b88246626 now make sure we have space for the bootloader too 2013-12-09 14:03:45 +00:00
Gordon Williams
4a07aec3df skip a few bytes off jslGetNextToken 2013-12-09 13:51:00 +00:00
Gordon Williams
c82ef41a15 re-add flash size check for binaries 2013-12-09 13:44:46 +00:00
Gordon Williams
15d84edc19 converting more prints over 2013-12-09 13:44:18 +00:00
Gordon Williams
2e2002a54a remove pointless inline 2013-12-09 13:43:41 +00:00
Gordon Williams
5ccaae8b37 Swapping to using printf-based error logging 2013-12-09 13:04:28 +00:00
Gordon Williams
5d9edacd7e added internal printf function - fix #128 2013-12-09 12:33:47 +00:00
Gordon Williams
e5076e86a7 fix locking issue on jswrap_interface_setSleepIndicator 2013-12-09 12:14:34 +00:00
Gordon Williams
080d2db826 pushing code back up to 2000 vars as this doesn't seem to affect issue #137 after all 2013-12-09 11:32:37 +00:00
Gordon Williams
0dbd854f73 Fix compile warnings 2013-12-09 11:27:54 +00:00
Gordon Williams
7972026cb8 Fix graphics compile warnings and add stringWidth 2013-12-09 10:39:15 +00:00
Gordon Williams
ff8fe8f137 fix compile warnings - re-add strings on low-flash devices as they don't use much now 2013-12-09 10:38:44 +00:00
Gordon Williams
abaaac0175 fix compile warnings 2013-12-09 10:37:59 +00:00
Gordon Williams
6558bf72b2 Fix RasPi compile 2013-12-09 10:37:40 +00:00
Gordon Williams
1085a3af8c Now store Pin state (fix for #13 on F1 parts, F4 still looks broken) 2013-12-06 18:30:04 +00:00
Gordon Williams
af2e652801 Shaved another 1200 bytes off jslTokenAsString 2013-12-06 18:00:30 +00:00
Gordon Williams
5e4f8e25ee Replace 'pow' function with a smaller version - save ~2kb 2013-12-06 17:25:08 +00:00
Gordon Williams
2d6923541b add packed flags 2013-12-06 15:39:00 +00:00
Gordon Williams
821b162c5e Now remember I2C state (partial fix for #13) 2013-12-06 15:35:58 +00:00