Commit Graph

10 Commits

Author SHA1 Message Date
Arnim Läuger a0e2e0ca37 Implement object model for files (#1532) 2016-11-08 21:02:51 +01:00
Arnim Läuger 9db07783f4 Remove luaL_buffer from file_g_read() (#1541)
* remove luaL_buffer from file_g_read()
- avoid memory leak when function gets terminated by lua_error
- skip scanning for end_char when reading until EOF
* attempt to free memory in any case
2016-10-28 17:32:12 +03:00
Arnim Läuger ecf8bd98d6 Add FatFs and SD card support (#1397)
* Add FatFs
* enable BUILD_FATFS for all-module build
* push vfs into rest of firmware
* align maximum filename length
* increase timeout for acmd41 during card initialization
* switch from DOS to Unix path semantics chdrive() is substituted by chdir()
* update to fatfs R.012a incl. patches 1-6
* add callback for rtc provisioning in file
* update docs
2016-09-05 20:17:13 +02:00
Marcel Stör 202cc1a12a Add meta-info block to every module doc page 2016-03-06 08:56:28 +01:00
Adam Bonner 0e770d95e7 Update file documentation to clarify that reads are limited to LUAL_BUFFERSIZE bytes max 2016-02-21 22:16:38 -08:00
Johny Mattsson 1fd98d9f86 Add file.fscfg() command for fs location + size. 2016-02-18 12:52:40 +11:00
jfollas 44786a22ff Added file.exists() method to save the need to use file.list() for checking file existence 2016-02-13 17:37:04 -05:00
Marcel Stör 7eba3cbcf3 Update for consistency with the other docs 2016-01-10 16:04:23 +01:00
devsaurus ebcf6b771e fix delimiters after list 2016-01-07 00:33:52 +01:00
Johny Mattsson 4877cb2b1a Transferred file module documentation. 2016-01-05 12:21:19 +11:00