5088 Commits

Author SHA1 Message Date
Gordon Williams
ec20db1438 Add variable numbers of SPI/UART/I2C/EXTI devices - #1346 2018-02-19 12:51:34 +00:00
Gordon Williams
6634aad17c automatically convert JSON 2018-02-19 12:12:38 +00:00
Gordon Williams
05d49fff44 setTime docs 2018-02-19 12:11:57 +00:00
Gordon Williams
225787f70e Merge branch 'master' of github.com:espruino/Espruino 2018-02-19 10:05:14 +00:00
Gordon Williams
673ad033d3 Increase code storage space to 40kB since we have loads of flash free on nRF52 2018-02-19 10:05:06 +00:00
Gordon Williams
78454a1d0b Fix build when running on a Pi and not specifying a board name 2018-02-16 12:39:46 +00:00
Gordon Williams
da1f4b8f58 Fix issue allocating flat strings with RESIZABLE_JSVARS when not enough memory 2018-02-16 10:16:15 +00:00
Gordon Williams
512be917b8 improved compaction, now seems to work reliably with repeated random writes and a big block 2018-02-16 10:15:37 +00:00
Gordon Williams
eed2338187 tidying up flash storage 2018-02-16 09:02:42 +00:00
Gordon Williams
9b0b9bfdcf docs 2018-02-15 16:42:32 +00:00
Gordon Williams
f8a0077e39 avoid compaction if no space can be freed 2018-02-15 16:20:28 +00:00
Gordon Williams
15219262d6 allow resizable_vars to be specified in board file 2018-02-15 16:18:52 +00:00
Gordon Williams
36f9aa8351 Pixl.js not outputs MAC address on screen at boot 2018-02-15 15:58:37 +00:00
Gordon Williams
65e905f7a5 Improve flash write speed for platforms where it can be batched up, fix 'unknown' file that got appended after save() 2018-02-15 15:49:09 +00:00
Gordon Williams
d102f8cf90 add Nucleo pinouts 2018-02-15 15:05:10 +00:00
Gordon Williams
cb29ccb317 fix printfs when fed with 64 bit numbers 2018-02-15 14:41:15 +00:00
Gordon Williams
52f100fb2f Tweaks of 64 bit flash writes 2018-02-15 14:30:43 +00:00
Gordon Williams
72781adcb3 re-enable TLS, add flash target to makefile 2018-02-15 13:29:42 +00:00
Gordon Williams
fbe7f6eebf improvements to FlashWrite - no longer sit in infinite loop if there's an error 2018-02-15 12:47:46 +00:00
Gordon Williams
91d63150bc Fixing flash filesystem when alignment for read and write is 8 bytes 2018-02-15 12:13:08 +00:00
Gordon Williams
e48ae2fe45 Merge branch 'master' of github.com:espruino/Espruino 2018-02-15 11:25:36 +00:00
Gordon Williams
b615312460 fix ll compile issue 2018-02-15 11:25:30 +00:00
Gordon Williams
028b59265e
Merge pull request #1341 from espruino/wilberforce-patch-2
ESP32: Fix jshFlashGetMemMapAddress offset
2018-02-15 10:31:17 +00:00
Gordon Williams
940acf491f
Merge pull request #1339 from espruino/MaBecker-patch-2
fix pip install esptool
2018-02-15 08:23:54 +00:00
wilberforce
c362e78da5
ESP32: Fix jshFlashGetMemMapAddress offset
The romdata_jscode point is mapped by the MMU to the real address of the jscode partition. The offset from the start of flash for the code areas is 0x100000 so this has be removed in the direct access of memory case.
2018-02-15 12:43:30 +13:00
Mark Becker
79a555d7cf
fix pip install esptool 2018-02-14 20:20:02 +01:00
Gordon Williams
eba16e43a6 fix nRF builds 2018-02-14 16:44:45 +00:00
Gordon Williams
ed407b11b5 Update process.ENV.EXPORTS to bring it in line with what the compiler uses 2018-02-14 14:45:03 +00:00
Gordon Williams
71d19a91cc try and memory map full flash memory on ESP32 2018-02-14 10:02:19 +00:00
Gordon Williams
31eadf25f8 fix setHostname/etc on ESP8266 2018-02-14 08:54:20 +00:00
Gordon Williams
67f77947ae store data aligned when compacting - avoids flash writes that may not be aligned 2018-02-14 08:45:23 +00:00
Gordon Williams
38edd8a8a3 Merge branch 'master' of github.com:espruino/Espruino 2018-02-14 08:20:15 +00:00
Gordon Williams
6a8f44ae8e fix Makefile so you can say 'make gen/jswrapper.c'/etc 2018-02-14 08:19:40 +00:00
Gordon Williams
e0ba3ccb24 fix ESP32-specific commands - fix #1336 2018-02-14 08:19:08 +00:00
Gordon Williams
6f0d241122
Merge pull request #1338 from espruino/MaBecker-patch-1
increase save  pages
2018-02-14 07:57:07 +00:00
Mark Becker
a1d712e705
increase save pages 2018-02-14 08:45:16 +01:00
Gordon Williams
626ba66774 Refactor flash storage into 'Storage'
Allow flash writes *from* unaligned addresses on nRF52 and ESP8266 (previously this crashed the ESP8266)
2018-02-13 17:27:58 +00:00
Gordon Williams
29f88fe8a0 remove 4M combined file as per https://github.com/espruino/Espruino/issues/1309 2018-02-13 15:18:47 +00:00
Gordon Williams
2f6be6a19d Merge branch 'flash_storage' 2018-02-13 15:13:29 +00:00
Gordon Williams
78a2f057ab change text output 2018-02-13 15:12:19 +00:00
Gordon Williams
19dab6aae6 fix the deep sleep PR :( 2018-02-13 15:02:04 +00:00
Gordon Williams
2cc89e4b96 Merge branch 'master' of github.com:espruino/Espruino 2018-02-13 14:54:06 +00:00
Gordon Williams
a75149c05b now push travis branch for builds 2018-02-13 14:53:56 +00:00
Gordon Williams
e3d0f299c3 .travis.yml 2018-02-13 14:52:20 +00:00
Gordon Williams
d2a154e202 fix erasepage on linux 2018-02-13 14:45:40 +00:00
Gordon Williams
e285421204 fix travis build issues 2018-02-13 14:26:57 +00:00
Gordon Williams
b0b4645500 typo 2018-02-13 14:22:05 +00:00
Gordon Williams
a888cd59e6 fix compile issues 2018-02-13 14:19:14 +00:00
Gordon Williams
9dffa7d7b3 oops - forgot to commit new files! 2018-02-13 14:14:37 +00:00
Gordon Williams
5822cc5c20 Merge branch 'master' into flash_storage 2018-02-13 12:40:34 +00:00