985 Commits

Author SHA1 Message Date
Gordon Williams
f85bbd0124 doc fix 2014-05-20 12:47:03 +01:00
Gordon Williams
11ec65a68c update http docs 2014-05-20 12:37:33 +01:00
Gordon Williams
0fc9fcb2f8 update http docs - fix EspruinoDocs/#74 2014-05-19 08:22:14 +01:00
Gordon Williams
396323da1e bump version 2014-05-16 09:06:42 +01:00
Gordon Williams
8d057673d2 Fix file append/skip issues 2014-05-16 09:01:19 +01:00
Gordon Williams
c87697c231 Save memory on Olimexino boards by removing LFN support 2014-05-15 15:08:22 +01:00
Gordon Williams
4f0ca7c3cb squeeze size down more so we can get the WIZnet compile in 2014-05-15 14:06:51 +01:00
Gordon Williams
c6668a6b9b remove warning 2014-05-15 14:00:11 +01:00
Gordon Williams
c27fc9de9d Fix HTTP client Host header when accessing ports!=80 2014-05-15 12:55:47 +01:00
Gordon Williams
de764afa47 fix flags 2014-05-15 11:54:54 +01:00
Gordon Williams
0796d33b55 last-minute change to E.openFile 2014-05-15 11:28:38 +01:00
Gordon Williams (u36)
b63a4f2970 More WIZnet W5500 stability fixes - try and ensure that HTTP server never goes down 2014-05-15 10:24:23 +01:00
Gordon Williams
fe3a4d82c2 Update code docs, and make pipe keep going if read returns empty string (specifying it has no data... yet.) 2014-05-15 09:06:20 +01:00
Gordon Williams
086f487503 http example 2014-05-14 17:49:17 +01:00
Gordon Williams
ad38dc519e Fixed file IO for nonexistant files 2014-05-14 17:36:17 +01:00
Gordon Williams
3d5574e471 Ensure that pipes can now work to the HTTP server 2014-05-14 17:06:08 +01:00
Gordon Williams
0ca5d29562 refactoring libraries 2014-05-14 15:13:29 +01:00
Gordon Williams
2fd5250ca8 fix open file when file doesn't exist, and modify readFile/etc to use new implementation 2014-05-14 15:06:40 +01:00
Gordon Williams
3e88ad60d5 simplify file API to simple read/write 2014-05-14 14:35:19 +01:00
Gordon Williams
fd15bbf7e7 more refactoring, make pipe more like node's 2014-05-14 13:41:35 +01:00
Gordon Williams
cbf3fc1c4f Changed to using 'File' constructor for files, added pipe command to file itself 2014-05-14 12:23:12 +01:00
Gordon Williams
9de5a4645e Misc rename/refactoring 2014-05-14 12:00:58 +01:00
Gordon Williams
7c221e0b6e Merge branch 'master' into streaming_file_api 2014-05-14 11:53:15 +01:00
Gordon Williams
8f849c978e Force reconnect on CC3000 disconnect (fix #373) 2014-05-14 11:40:02 +01:00
Gordon Williams
83b4c6c93e tidying up build 2014-05-14 09:42:48 +01:00
Gordon Williams
6a162b9fec Remove unused linker files - all auto-generated now 2014-05-13 15:49:18 +01:00
Gordon Williams
290d4e41c0 Improve docs for SPI/I2C/Serial.setup 2014-05-13 12:02:01 +01:00
Gordon Williams
3fa140cd6d Merge branch 'master' of github.com:espruino/Espruino 2014-05-12 11:20:01 +01:00
Gordon Williams
46806def87 Add HIGH and LOW (fix #371) 2014-05-12 11:19:41 +01:00
Gordon Williams
4d3cf434b2 Add E.reverseByte 2014-05-12 10:34:45 +01:00
Gordon Williams
0d59179f1a Merge pull request #369 from mgg1010/master
Various Wiznet Fixes
2014-05-12 08:04:07 +01:00
mgg1010
df3282b033 Fix for socket NONBLOCK not cleared
I found that if a socket was re-used, sometimes it would incorrectly have the wrong blocking status, because the socket creation code in socket() didn't clear the value
2014-05-09 23:48:35 +01:00
mgg1010
a02b9a6860 Fix for "no free sockets" problem
My testing shows that the DNS query wasn't closing sockets, and they were remaining open indefinitely.  I've added a close(s) to fix this.
2014-05-09 23:46:22 +01:00
mgg1010
1b42053c4e Hopefully fix repeated GET problem
Previously, if we issued http GET more than once every 30 seconds, the second GET would timeout.  It seems this is because the code was using the same fixed port for src and dest - both were 80.  Probably this caused a problem if the second GET happened before the first had closed
2014-05-09 23:44:27 +01:00
Gordon Williams
c32b2a4d7c Merge branch 'master' into streaming_file_api
Conflicts:
	scripts/check_size.sh
2014-05-09 16:57:50 +01:00
Gordon Williams
967e3da9e0 misc script tweaks 2014-05-09 16:45:40 +01:00
Gordon Williams
c8668bb948 Improving Util Timer rescheduling to try and avoid 64 bit divisions 2014-05-09 16:45:26 +01:00
Gordon Williams
0c847e8baf Merge branch 'master' into streaming_file_api
Conflicts:
	Makefile
2014-05-09 16:01:18 +01:00
Gordon Williams
5acbfb5055 modified Makefile to get more info from BOARDNAME.py 2014-05-09 15:58:51 +01:00
Gordon Williams
243a58ddf6 Merge branch 'master' into streaming_file_api 2014-05-09 14:12:26 +01:00
Gordon Williams
5ad4cea22a more error message tweaks 2014-05-09 14:03:41 +01:00
Gordon Williams
c9dded70df Better error messages, and more efficient handler 2014-05-09 13:50:53 +01:00
Gordon Williams
d3f78e3330 Improve when stack traces happen for error reporting 2014-05-09 13:19:31 +01:00
Gordon Williams
500952234d Crop lines in errors when > 60 chars (fix #364) 2014-05-09 13:06:38 +01:00
Gordon Williams
feeb007b95 Fix edit(...) so that functions themselves (not just the variable) are updated (fix #366) 2014-05-09 12:42:45 +01:00
Gordon Williams
a16cffdef3 fix compile on F3/F4 boards 2014-05-08 18:05:52 +01:00
Gordon Williams
e6b25276ab Add BusFault hander, to allow peek and poke to unmapped addresses without HardFaulting the ARM 2014-05-08 17:53:27 +01:00
Gordon Williams
6cbf50ed66 add spi/i2c/etc links 2014-05-08 16:29:42 +01:00
Gordon Williams
296685caf4 Added cephdon's latest pipe code, and modified ExecuteFunction to return a value 2014-05-08 15:05:57 +01:00
Gordon Williams
a2e8eaf980 startup_stm32f10x_hd.s now explicitly sets the stack pointer. Allows Espruino images to use more RAM 2014-05-08 10:23:44 +01:00