1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

4451 Commits

Author SHA1 Message Date
Markus Sattler
108a40acfd 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
b6c196a49a fix start address so erase works 2015-05-16 21:40:41 +03:00
ficeto
b902e86cb1 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
62a460f0b8 printf to print instead of write 2015-05-16 20:39:23 +03:00
ficeto
ab46291383 fix uart triggering reset when spi has been read/written 2015-05-16 20:38:00 +03:00
ficeto
66d9dbb070 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
0b168fd1bf add Print::printf 2015-05-16 18:25:22 +03:00
ficeto
53cb1a0140 fix data types 2015-05-16 16:29:10 +03:00
ficeto
5529188dae add info methods to SD class 2015-05-16 16:22:38 +03:00
ficeto
b5b783e508 add access to SPIFFS properties 2015-05-16 13:16:38 +03:00
ficeto
9217187968 Merge pull request #22 from Links2004/esp8266
pull SPI speed fix and uart overflow
2015-05-16 12:26:11 +03:00
Pablotis
518a7fe789 Readme changes 2015-05-16 11:11:42 +02:00
ficeto
2c43072776 enhancements on the FS Api 2015-05-16 11:03:39 +03:00
ficeto
1cd9cd312f add folder api for SPIFFS 2015-05-16 02:29:26 +03:00
Matt Jenkins
480536d154 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-15 22:21:12 +01:00
ficeto
7179c1aea8 Merge pull request #21 from esp8266/esp8266
pull latest changes
2015-05-15 20:17:26 +03:00
ficeto
42f1da6b1f not needed menu item 2015-05-15 20:07:55 +03:00
ficeto
ea9368c88d enhance board flash handling and eeprom location 2015-05-15 20:06:13 +03:00
Ivan Grokhotkov
92455f710a 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
Markus Sattler
d8df646fc5 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-15 14:36:29 +02:00
ficeto
540fdb0f8c add flash splits depending on the flash size 2015-05-15 15:36:09 +03:00
Markus Sattler
2eea25873d fix SPI speed calculation @160Mhz Clock 2015-05-15 13:42:30 +02:00
ficeto
8153edb550 use WDT_RESET macro in spiffs_flashmem methods 2015-05-15 13:54:42 +03:00
Ivan Grokhotkov
221fbb548f Merge pull request #242 from Makuna/esp8266
dtostrf fix for remainder leading zeros
2015-05-15 11:00:58 +03:00
ficeto
0897f9e2e3 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
b4a8bb0653 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
ed77f2d42b dtostrf fix for remainder leading zeros
Fix remainder to display leading zeros
2015-05-14 11:56:03 -07:00
ficeto
57c0d3e4bd double 2015-05-14 19:17:53 +03:00
ficeto
a911438c53 add flash frequency and mode options 2015-05-14 19:10:05 +03:00
ficeto
676193f47e mount spiffs on boot 2015-05-14 17:20:15 +03:00
ficeto
d56e5691fc blah 2015-05-14 16:37:13 +03:00
ficeto
c660de2029 cast it 2015-05-14 16:31:34 +03:00
ficeto
c25ca1785d make sure write return a positive or zero value 2015-05-14 16:28:55 +03:00
ficeto
261865cf6f fix FSFile template 2015-05-14 16:08:16 +03:00
ficeto
44431bf9df add toolchain to ignore 2015-05-14 15:49:17 +03:00
Matt Jenkins
5401d758f6 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 13:31:59 +01:00
ficeto
c570fd6348 Merge pull request #20 from esp8266/esp8266
pull latest changes
2015-05-14 15:27:21 +03:00
Ivan Grokhotkov
4644c3bad0 boolean -> bool 2015-05-14 15:05:24 +03:00
Ivan Grokhotkov
3c9d1f20bb Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266:
  add template methods for stream to stream writes to SD and FS
  alignment not needed. we use fixed addresses
  Rework SPIFFS API to be more Arduino like
  fix missed edits
  disable automount
  fix SPIFFS to work
  pull get/set NoDelay for WiFiClient
  Add SPIFFS Support
  export sketch data folder to the build config
  Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
  add template client write
  Revert "Add WiFiClient.write for Stream"
  Revert "Edit SD Server example to use the new Write(Stream) method"
  Edit SD Server example to use the new Write(Stream) method
  Add WiFiClient.write for Stream
  make upload callback packets aligned to defined size

Conflicts:
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h
2015-05-14 14:38:22 +03:00
Ivan Grokhotkov
dea91ca620 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 13:34:31 +03:00
Ivan Grokhotkov
36d0968ada Web server refactoring 2015-05-14 13:33:12 +03:00
Matt Jenkins
46391b60e6 Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
ficeto
2e9a038f68 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
ficeto
5181f90725 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
ficeto
cde17ac259 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
ficeto
53e8bd8f4d Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
Ivan Grokhotkov
eb37830238 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
Ivan Grokhotkov
ce73ac216b fix SDWebServer sample 2015-05-14 02:47:39 +03:00
Ivan Grokhotkov
b330cb794a Merge branch 'Links2004-esp8266' into esp8266
* Links2004-esp8266:
  add hexdump function for easy debugging.
  add some notes to the SPI functions (aligned to 32Bit)  - Fatal exception (9)
2015-05-14 02:35:03 +03:00
Ivan Grokhotkov
9f2c3a4bd2 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00