1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-26 07:02:15 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
8b3f4966e9 fix SPIFFS when not enabled in build options (#5249) 2018-12-06 22:55:05 +01:00
74ca42f829 Sketch emulation on host (#5342)
* WIP compile examples on host with 'make examples'

* WIP bufferize tcp input

* WIP Makefile

* WIP network to rework, tcp/udp to factorize, udp addresses broken

* minor changes to the core

* WIP basic udp working

* WIP mdns

* WIP mcast receiving, not sending

* WIP mdns OK

* beta version

* SSL + doc

* update travis host test command

* licenses

* typo

* doc: arduino builder is not around: declare functions before calling them

* fix with latest SSL PR, compile in 32 bits mode

* fix make clean

* make -m32 optional

* 32bits compiler ability tester

* WIP

* WIP (fix 1 vtable error, still another one to hunt with using spiffs)

* example astyle

* fix os_printf_plus

* load / save mock spiffs

* fix style

* fix using spiffs/mock

* don't mess ram

* update doc

* remove leftover

* optimization -Os except for CI, rename ARCH32 to FORCE32

* revert useless cast (not even compiled)

* remove unused function

* use proper type for pointer arithmetics

* makefile: sketch object and cpp file moved to bin/ directories
easier to clean, and IDE don't like them

* changes for review

* make use of %zd

* less verbose makefile by default (option)

* update readme
2018-11-20 18:51:45 -02:00
18297458be allows global object instances be switch off with defines (#2344) 2016-08-01 11:21:50 +08:00
3b81557810 added macro for maximum open SPIFFS files, settings it to 1 saves about 1k heap. (#2167) 2016-06-20 12:09:21 +08:00
b9dfe01903 Fix SPIFFS.openDir("") (#2143)
* Update spiffs_api.cpp

Fixes a bug where un-prefixed files are irretrievable with openDir(""). Described: https://github.com/esp8266/Arduino/issues/1818.

* Update FS test cases
2016-06-14 07:15:55 +08:00
1f32b7f66e Clean up core files
- remove ICACHE_FLASH_ATTR
- remove unneeded SDK includes
- split spiffs_api into .h and .cpp
2016-03-03 02:13:22 +03:00
1d5d1c18c6 Change %i to %d for ets_printf compatibility 2016-02-02 09:26:27 +01:00
66a88ac8d2 Fix bad DEBUGV argument (thanks @g3gg0) 2015-12-23 10:11:40 +03:00
cda14204fe Fix SPIFFS path length check, add notes about FSInfo structure (#1273) 2015-12-22 11:52:50 +03:00
e7024fb5b4 SPIFFS: check if path length is valid (#1089) 2015-12-10 23:25:54 +03:00
f7bbea407e Fix failure when trying to open empty file (#1126) 2015-12-05 16:29:37 +03:00
d0a944e417 Refactoring of FS::info (#779) 2015-11-13 13:23:16 +03:00
219cb19ece Update SPIFFS wrapper for 0.3.3 2015-10-28 16:45:08 +03:00
f328e66fd7 Add 512k (no SPIFFS) build option (#862) 2015-10-25 21:11:45 +03:00
luc
320a747890 Add SPIFFS wrapper for info function
this allow to display total space and used space on SPIFFS
2015-10-22 11:22:32 +08:00
c8b12fd72c Implement SPIFFS.exists 2015-09-14 12:46:47 +03:00
f4bd97e8ee File system: fix SeekEnd behaviour, fix size() not being updated after write() 2015-09-09 14:07:00 +03:00
cd9791eebe Check file path when doing SPIFFS_readdir (#746)
SPIFFS is actually a flat file system, so opendir/readdir always iterate over all files. This adds explicit check that file name returned after readdir starts with the requested pattern.
2015-09-09 01:46:40 +03:00
041f971a8b Add FS::format (#702) 2015-08-31 10:26:04 +03:00
98423fa79d Fix FS size and add type size checks 2015-08-16 14:00:35 +03:00
c363b2d4f6 Update SPIFFS to 0.2-64-g15e5618
fix some exceptions due to unaligned memory access
remove leftover changes from NodeMCU (SPIFFS_eof and SPIFFS_ftell)
2015-08-14 01:01:47 +03:00
568c48b065 add fileSize() method to Dir object 2015-08-12 22:12:22 -04:00
5cbaa57af9 Resolve naming conflicts between FS and SD library 2015-08-05 08:36:43 -04:00
b5d9db91aa Filesystem: fix File::available, add File::name 2015-08-05 07:41:12 -04:00
4aa8e1b8d5 FileSystem: interface changes and some additions
- rename mount to begin to be more in line with other libraries
- add rename and remove methods
- remove freestanding functions (mount,open,openDir) from public API until that part is ready
- fix resource leak in SPIFFSDirImpl
2015-07-30 13:44:50 +03:00
bbd8c9b411 FS wrapper 2015-07-28 15:23:11 +03:00