1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

2525 Commits

Author SHA1 Message Date
ficeto
6a38d314fa fix location change 2015-05-18 16:58:18 +03:00
ficeto
93f7240329 Merge branch 'esp8266-esp8266' into esp8266 2015-05-18 16:50:10 +03:00
ficeto
df0da7c73b Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266-esp8266
blah
2015-05-18 16:48:48 +03:00
ficeto
d6e7cf1045 add SPIFS support to up to 16MB flash chips 2015-05-18 16:21:53 +03:00
Ivan Grokhotkov
870b8b9478 Move tools to platform directory 2015-05-18 16:04:30 +03:00
Ivan Grokhotkov
2510707911 Merge branch 'master' into esp8266
* master: (414 commits)
  Don't export sketch if the underlying core does not support it. Fixes #3171
  RSyntaxTextArea: using a modified version, tracked at https://github.com/arduino/RSyntaxTextArea. Fixes #3099
  Updated keywords.txt
  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
  Old Preferences class remains for backwards compatibility as a delegate for PreferencesData
  New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140
  Remove spawn from exec command
  Removed redundant call to File.deleteIfExists()
  Removed buggy redundant check in FileUtils.deleteIfExists()
  Restored current line/current selected lines display on lower left of the IDE. Fixes #3134
  Updated cursor.ino
  New editor on MacOSX: restored CMD+E for finding selected text
  New editor on MacOSX: CMD+UP/DOWN moves cursor to start or end of sketch. See #3098
  New editor on MacOSX: CMD+BACKSPACE deletes current line until cursor position, ALT+BACKSPACE deletes previous word. See #3098
  ArduinoIDE is in the default package. Removed
  Fixes  #2969:
  Fix Uncategorized warning message
  New editor: ALT+ BACKSPACE deletes next word (OSX only). See #3098
  New editor: ALT+ UP/DOWN move current line only if "editor.advanced" (hidden pref) is true. Fixes #3101
  New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102
  ...

Conflicts:
	.gitignore
	build/build.xml
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/keywords.txt
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/library.properties
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/ESP8266WiFi.h
	libraries/WiFi/README.adoc
	libraries/WiFi/src/WiFi.cpp
	libraries/WiFi/src/WiFiClient.cpp
	libraries/WiFi/src/WiFiClient.h
	libraries/WiFi/src/WiFiServer.cpp
	libraries/WiFi/src/WiFiUdp.cpp
2015-05-18 14:54:06 +03:00
Ivan Grokhotkov
6971cec922 Merge pull request #260 from UECIDE/esp8266
Two new examples
2015-05-18 14:29:24 +03:00
Ivan Grokhotkov
1db2c8aa89 Support for multiple FileSystem instances 2015-05-18 13:45:34 +03:00
ficeto
da6ce600f1 Merge pull request #24 from esp8266/esp8266
tracking master
2015-05-18 12:36:30 +03:00
Ivan Grokhotkov
c32518974b Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266: (31 commits)
  leftovers
  Update to the latest SPIFFS git and cleanup
  add Exception Causes (EXCCAUSE) docu
  fix possible null ptr in EEPROM.cpp
  Align the start of functions to the next power-of-two greater than 4, skipping up to 3 bytes.
  improve os_printf handling when buffer full.  - wait for free buffer in hw fifo
  force all os_malloc calls to request a aligned size.  - this fix Fatal exception (9) by unaligned class memory
  add some __attribute__ for compiler to get better optimizations and warning handle
  fix possible problems in EEPROM regarding interrupt handling and SPI flash blocking
  spiffs fixes
  improve includes add ssid and ip to debug out
  add examples/WiFiMulti/WiFiMulti.ino
  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);
  fix start address so erase works
  disable all interrupts when reading from spiffs
  printf to print instead of write
  fix uart triggering reset when spi has been read/written
  ESP8266WiFiClass::waitForConnectResult()
  add Print::printf
  fix data types
  ...
2015-05-18 12:19:50 +03:00
ficeto
b5763e0e77 leftovers 2015-05-18 04:57:34 +03:00
ficeto
ca88cb2b67 Update to the latest SPIFFS git and cleanup
Almost unmodified spiffs from github
lots of NodeMCU leftovers are removed
More proper names given to platform related files
Adjusting the FS class for the changes
2015-05-18 04:54:27 +03:00
Matt Jenkins
af533d6c5c Added missing include needed for Arduino IDE 2015-05-17 20:01:42 +01:00
Matt Jenkins
0ac29dcd09 Added access point example 2015-05-17 19:59:25 +01:00
ficeto
93c456602c Merge pull request #23 from Links2004/esp8266
pull markus's changes
2015-05-17 16:45:32 +03:00
Markus Sattler
0be310f5b0 add Exception Causes (EXCCAUSE) docu 2015-05-17 14:55:11 +02:00
Markus Sattler
a4adfab517 fix possible null ptr in EEPROM.cpp 2015-05-17 13:54:03 +02:00
Markus Sattler
d15225430e Align the start of functions to the next power-of-two greater than 4, skipping up to 3 bytes. 2015-05-17 13:53:31 +02:00
Markus Sattler
5b5deb5a77 improve os_printf handling when buffer full.
- wait for free buffer in hw fifo
2015-05-17 13:43:49 +02:00
Markus Sattler
e0f9a4173e force all os_malloc calls to request a aligned size.
- this fix Fatal exception (9) by unaligned class memory
2015-05-17 13:33:10 +02:00
Markus Sattler
e50fc0fef8 fix possible problems in EEPROM regarding interrupt handling and SPI flash blocking 2015-05-16 23:10:06 +02:00
ficeto
4c4e6b8ce9 spiffs fixes 2015-05-17 00:04:39 +03:00
Markus Sattler
03da6393d5 improve includes
add ssid and ip to debug out
2015-05-16 22:56:15 +02:00
Markus Sattler
508f0802d5 add examples/WiFiMulti/WiFiMulti.ino 2015-05-16 22:47:29 +02:00
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