Gordon Williams
|
9b30f17227
|
Added jsvObjectGetChildIfExists to avoid the jsvObjectGetChild(... ,0) case - saves ~300b of flash space
|
2023-04-25 10:59:34 +01:00 |
|
Rob Pilling
|
9d13de0122
|
Add PipeOptions to pipe() typescript definitions
|
2023-04-19 08:21:08 +01:00 |
|
Rob Pilling
|
953f33d683
|
Update docs with [optional] (for typescript)
|
2023-02-08 22:48:30 +00:00 |
|
qucchia
|
c5bb94bf7a
|
Limit documentation comments to 80 characters (#2244)
|
2022-07-27 15:32:19 +02:00 |
|
qucchia
|
ff3fc6dcdf
|
Fix minor typos
|
2022-07-22 11:48:00 +02:00 |
|
deirdreobyrne
|
333cb9b304
|
Fixes arising from code review
|
2022-07-05 15:03:45 +01:00 |
|
Gordon Williams
|
872ba947ce
|
handle case where 'undefined' is passed as an argument to FS.write
|
2021-09-23 11:58:47 +01:00 |
|
MaBecker
|
bbc372620c
|
esp32_improvements
- add FLASH_BAUD
- fix erase_flash
- switch jsWarn() to jsDevInfo()
- keep jsWarn()/ jsError() for not implemented functions
- switch jsError() to jsExceptionHere() if helpfull
|
2020-07-13 17:52:38 +02:00 |
|
Gordon Williams
|
40191f978b
|
Minor tweak to avoid duplicate function in #1626
|
2019-03-06 16:54:18 +00:00 |
|
Thomas Studwell
|
b3e8964aa1
|
Fixed fs.statSync() to report in localtime and corrected Month offset.
|
2019-03-06 10:54:59 -05:00 |
|
Gordon Williams
|
1324c27ff3
|
Now save file modification time with FAT
|
2019-03-05 08:53:35 +00:00 |
|
Gordon Williams
|
80db15bd61
|
add low memory warning if file allocation fails
|
2018-11-13 13:10:36 +00:00 |
|
Gordon Williams
|
d71c82c012
|
fix #1230
|
2018-04-10 08:36:03 +01:00 |
|
Gordon Williams
|
1e23aa6553
|
remove hidden char from vars that are already in hiddenRoot
|
2018-03-09 10:54:09 +00:00 |
|
Gordon Williams
|
07ae7710e3
|
updated filesystem docs
|
2018-01-29 15:43:10 +00:00 |
|
Gordon Williams
|
773a83387f
|
Improve SD card reliability on all boards by trying to initialise multiple times before failing
|
2018-01-29 15:16:01 +00:00 |
|
Gordon Williams
|
2b08fe86af
|
fix warnings
|
2017-12-14 13:03:26 +00:00 |
|
Gordon Williams
|
1068563563
|
Increase default internal SD card bitrate to 4MHz (from 100k)
|
2017-12-13 12:43:33 +00:00 |
|
Gordon Williams
|
fe2fe0e2d8
|
Filesystem API now uses flat strings (avoiding the 512 byte copy for each call)
|
2017-12-13 12:20:00 +00:00 |
|
Gordon Williams
|
26240e3909
|
Add E.setFlags({unsyncFiles:1} which doesn't sync the file to the SD card after each write - it's *much* faster
|
2017-12-13 11:59:13 +00:00 |
|
Gordon Williams
|
aa09ad4f97
|
jsvNewIterator now has an option to iterate over sparse arrays as if they weren't sparse
Fixed some built-in functions that misbehaved when given sparse arrays
|
2017-11-24 12:47:43 +00:00 |
|
Gordon Williams
|
735c014659
|
Internal: Added initialiser argument to jsvNewStringOfLength
Internal: Added jsvObjectSetChildVar/jsvObjectSetChildVar/jsvObjectSetChildVar
Internal: Fix jsvCopy if given a NAME_INT/etc
Added ES6's Object.assign
|
2017-08-31 16:42:31 +01:00 |
|
lanselambor
|
97f19afc7a
|
changed board name WIO_TRAKER_LTE to WIO_LTE
|
2017-08-03 13:50:47 +08:00 |
|
Gordon Williams
|
3aafa86a70
|
misc tweak to @wilberforce's code to just avoid reading in long filenames at all
|
2017-05-11 12:40:13 +01:00 |
|
wilberforce
|
6fc95d1e7f
|
Fat FS: closedir after readdir, FS errors should be catchable (#1164), fs.statSync (#1163)
|
2017-05-11 12:37:55 +01:00 |
|
Gordon Williams
|
38cb9eab9f
|
Add Array.indexOf fromIndex support (fix #162)
|
2017-05-05 13:46:58 +01:00 |
|
wilberforce
|
897524388e
|
Merge branch 'master' into ESP32
|
2017-04-26 15:13:34 +12:00 |
|
Gordon Williams
|
8ec31cff7a
|
fix broken formatting for code
|
2017-04-24 11:48:27 +01:00 |
|
wilberforce
|
0fb9ed1e21
|
suppress warnings, FatFS docs, suppress logging
|
2017-04-22 11:17:45 +12:00 |
|
Gordon Williams
|
7097e156f0
|
remove un-needed ifdef that was overwriting docs for one about ESP32 (#1145)
|
2017-04-19 13:26:46 +01:00 |
|
wilberforce
|
5f08a95cb7
|
Fix File.read so that end of file triggers pipe.end event
|
2017-04-11 23:16:24 +12:00 |
|
wilberforce
|
6ef6ab4028
|
get ESP8266 compiling
|
2017-03-23 15:45:05 +13:00 |
|
wilberforce
|
d93ea2ad6f
|
Add fs.mkdir, E.flashFatFS({format:true});
|
2017-03-23 13:50:56 +13:00 |
|
wilberforce
|
7e990b24ff
|
add build type FLASHFS
|
2017-03-23 01:21:44 +13:00 |
|
wilberforce
|
885f8b78ab
|
add build type FLASHFS
|
2017-03-23 01:19:56 +13:00 |
|
wilberforce
|
eddcc7a26b
|
add build type FLASHFS
|
2017-03-23 01:17:24 +13:00 |
|
wilberforce
|
a167bd3eeb
|
add build type FLASHFS
|
2017-03-23 01:05:20 +13:00 |
|
wilberforce
|
6f7dbbea39
|
clean up functions, add auto format
|
2017-03-22 17:43:39 +13:00 |
|
wilberforce
|
1b8e57aba7
|
working read of flash fat filesystem
|
2017-03-22 01:55:03 +13:00 |
|
wilberforce
|
9541573f58
|
add more debugging - still crashes on read
|
2017-03-21 22:13:10 +13:00 |
|
wilberforce
|
0ce596887b
|
#ifdefs
|
2017-03-21 16:29:57 +13:00 |
|
wilberforce
|
0460845615
|
flash_diskio.c can write - but read crashes
|
2017-03-21 00:31:12 +13:00 |
|
wilberforce
|
017ccaff15
|
Add stub for jswrap_E_flashFatFs(addr,format)
|
2017-03-20 21:30:37 +13:00 |
|
wilberforce
|
8709e898f0
|
inital steps for flash FS
|
2017-03-19 14:26:50 +13:00 |
|
Gordon Williams
|
81d391d55e
|
disable word access - see #1017
|
2017-01-10 16:37:36 +00:00 |
|
Hartmut Müller
|
6325235ebe
|
update FatFs (C)ChaN from R0.10a to R0.10c
|
2017-01-09 18:47:42 +01:00 |
|
Gordon Williams
|
51bc3e77a0
|
squish warnings
|
2016-11-18 10:24:36 +00:00 |
|
Gordon Williams
|
61d57044bd
|
Fix corrupted file reads (turns out it just read the same stuff over and over) - Fix #955
|
2016-10-24 14:00:46 +01:00 |
|
Gordon Williams
|
c7f1a04dd4
|
readFile (and File.read) now uses Flat Strings to allow more memory efficient reads (fix #932)
|
2016-10-14 15:37:19 +01:00 |
|
Gordon Williams
|
5dd5d901d1
|
replace NewWithFlags with jsvNewXXX - saves a few bytes by killing repetition
|
2016-03-04 12:54:18 +00:00 |
|