Markus Sattler
730025cefc
add some __attribute__ for compiler to get better optimizations and warning handle
2015-05-17 00:11:41 +02:00
Markus Sattler
cdf4aa0536
fix possible problems in EEPROM regarding interrupt handling and SPI flash blocking
2015-05-16 23:10:06 +02:00
ficeto
8d92e73e63
spiffs fixes
2015-05-17 00:04:39 +03:00
Markus Sattler
ba1ddbb1cf
improve includes
...
add ssid and ip to debug out
2015-05-16 22:56:15 +02:00
Markus Sattler
267901ef7b
add examples/WiFiMulti/WiFiMulti.ino
2015-05-16 22:47:29 +02:00
Markus Sattler
66a5832ad1
add support for list of AP connections
...
- auto select ssid with best signal
- for debugging enable DEBUG_WIFI_MULTI macro and call Serial.setDebugOutput(true);
change ESP8266WiFiClass::status() return type to wl_status_t
2015-05-16 22:40:53 +02:00
ficeto
25a540d9dd
fix start address so erase works
2015-05-16 21:40:41 +03:00
ficeto
1529d7086f
disable all interrupts when reading from spiffs
...
this fixes any possible resets caused by interrupt routines trying to
read the flash while there is an ongoing spiffs operation
2015-05-16 21:01:51 +03:00
ficeto
1eb2ee6e00
printf to print instead of write
2015-05-16 20:39:23 +03:00
ficeto
a496c22d44
fix uart triggering reset when spi has been read/written
2015-05-16 20:38:00 +03:00
ficeto
cd6ba47f24
ESP8266WiFiClass::waitForConnectResult()
...
waitForConnectResult() waits until wifi status is not disconnected,
unless STA is disabled, in which case it returns WL_DISCONNECTED
2015-05-16 19:00:36 +03:00
ficeto
ca3795721e
add Print::printf
2015-05-16 18:25:22 +03:00
ficeto
f946821381
fix data types
2015-05-16 16:29:10 +03:00
ficeto
b40ec2fc35
add info methods to SD class
2015-05-16 16:22:38 +03:00
ficeto
d3aa960474
fix IP2STR and add MAC2STR macro
2015-05-16 15:09:34 +03:00
ficeto
bad669b91a
add access to SPIFFS properties
2015-05-16 13:16:38 +03:00
ficeto
e730a24f27
Merge pull request #22 from Links2004/esp8266
...
pull SPI speed fix and uart overflow
2015-05-16 12:26:11 +03:00
Pablotis
76a73c7f8a
Readme changes
2015-05-16 11:11:42 +02:00
ficeto
fe5c6671a8
enhancements on the FS Api
2015-05-16 11:03:39 +03:00
ficeto
c4dca3bd50
add folder api for SPIFFS
2015-05-16 02:29:26 +03:00
Matt Jenkins
13079dbc0c
Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266
2015-05-15 22:21:12 +01:00
ficeto
6a4128695d
fix size and address misscalculations
2015-05-15 21:13:45 +03:00
ficeto
f6614863fc
Merge pull request #21 from esp8266/esp8266
...
pull latest changes
2015-05-15 20:17:26 +03:00
ficeto
1f789c920e
not needed menu item
2015-05-15 20:07:55 +03:00
ficeto
654ebcf598
enhance board flash handling and eeprom location
2015-05-15 20:06:13 +03:00
Ivan Grokhotkov
c4a4276cdf
Merge branch 'ficeto-esp8266' into esp8266
...
* ficeto-esp8266:
add flash splits depending on the flash size
use WDT_RESET macro in spiffs_flashmem methods
fix reading bytes from incoming POST upload
double
add flash frequency and mode options
mount spiffs on boot
blah
cast it
make sure write return a positive or zero value
fix FSFile template
add toolchain to ignore
2015-05-15 17:57:20 +03:00
Federico Fissore
d008d9de81
Merge pull request #3141 from cmaglie/fix-recursive-delete
...
Fix for FileUtils.recursiveDelete() when dealing with symbolic links
2015-05-15 16:50:22 +02:00
Federico Fissore
670ad374ef
New editor on MacOSX: since CMD+J is known as "jump to selection" and the editor has no such feature, CMD+J is disabled on mac. See #3098
2015-05-15 16:42:45 +02:00
Federico Fissore
d3b3dbb299
Old Preferences class remains for backwards compatibility as a delegate for PreferencesData
2015-05-15 15:52:58 +02:00
Federico Fissore
7816ee3f10
New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140
2015-05-15 15:52:52 +02:00
Markus Sattler
ca3d0b3192
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-05-15 14:36:29 +02:00
ficeto
c11d7d473f
add flash splits depending on the flash size
2015-05-15 15:36:09 +03:00
Markus Sattler
a372da159b
fix SPI speed calculation @160Mhz Clock
2015-05-15 13:42:30 +02:00
ficeto
17bfb12941
use WDT_RESET macro in spiffs_flashmem methods
2015-05-15 13:54:42 +03:00
Cristian Maglie
40c0741d07
Merge pull request #3135 from ish6614/patch-2
...
Updated cursor.ino
2015-05-15 12:42:12 +02:00
Ivan Grokhotkov
5fc72293aa
Merge pull request #242 from Makuna/esp8266
...
dtostrf fix for remainder leading zeros
2015-05-15 11:00:58 +03:00
Chris--A
00f36e7b26
Remove spawn from exec command
2015-05-15 16:59:42 +10:00
ficeto
fa880d992f
fix reading bytes from incoming POST upload
...
proper error and premature connection loss should be implemented to
handle weird cases where we might not get the whole post content
2015-05-15 02:22:00 +03:00
Markus Sattler
2cf17727bf
fix bug when TX buffer is full and os will write.
...
in this case we hang endless or until wtd triggers.
new:
now we overdrive the data in FIFO --> no hang / crash but we loss chars.
only happens by extensive use of os_printf!
2015-05-14 21:45:19 +02:00
Makuna
f968805ae9
dtostrf fix for remainder leading zeros
...
Fix remainder to display leading zeros
2015-05-14 11:56:03 -07:00
Cristian Maglie
971bd77058
Removed redundant call to File.deleteIfExists()
...
file is already checked for being not null, no need to check again.
2015-05-14 19:36:37 +02:00
Cristian Maglie
956ddda98e
Removed buggy redundant check in FileUtils.deleteIfExists()
...
The documentation for File.delete() says that the method return true
if the the file is successfully deleted, otherwise false is returned.
An exception is thrown only when the file is not accessible (for
permission problem).
Removing the extra check solves another problem, for example in a
folder with the following situation:
linkToFileA -> FileA
FileA
if we remove FileA, we remain with a broken link that can't be removed
using FileUtils.deleteIfExists() because calling File.exists() on a
broken link returns *false*. This commit solve this problem.
2015-05-14 19:18:24 +02:00
ficeto
577ddce3a7
double
2015-05-14 19:17:53 +03:00
ficeto
43323440ae
add flash frequency and mode options
2015-05-14 19:10:05 +03:00
ficeto
cd9300ef9c
mount spiffs on boot
2015-05-14 17:20:15 +03:00
Federico Fissore
d57681c442
Restored current line/current selected lines display on lower left of the IDE. Fixes #3134
2015-05-14 15:55:49 +02:00
ficeto
c53daa7df3
blah
2015-05-14 16:37:13 +03:00
ficeto
984eb3f3f2
cast it
2015-05-14 16:31:34 +03:00
ficeto
1683c55dbd
make sure write return a positive or zero value
2015-05-14 16:28:55 +03:00
ficeto
8e14cdf93e
fix FSFile template
2015-05-14 16:08:16 +03:00