1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00
Commit Graph

5210 Commits

Author SHA1 Message Date
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
Ish Gupta
c3d3016049 Updated cursor.ino
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit.
The changes make it logically and functionally correct.
2015-05-14 18:30:17 +05:30
Federico Fissore
54da4d6d37 New editor on MacOSX: restored CMD+E for finding selected text 2015-05-14 14:53:12 +02:00
Federico Fissore
5c7a0aa572 New editor on MacOSX: CMD+UP/DOWN moves cursor to start or end of sketch. See #3098 2015-05-14 14:53:12 +02:00
Federico Fissore
176d366549 New editor on MacOSX: CMD+BACKSPACE deletes current line until cursor position, ALT+BACKSPACE deletes previous word. See #3098 2015-05-14 14:53:12 +02:00
Federico Fissore
28e02572bc ArduinoIDE is in the default package. Removed 2015-05-14 14:53:12 +02:00
ficeto
ab58e92b48 add toolchain to ignore 2015-05-14 15:49:17 +03:00
Matt Jenkins
fb2f8e5203 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 13:31:59 +01:00
ficeto
3779395d3a Merge pull request #20 from esp8266/esp8266
pull latest changes
2015-05-14 15:27:21 +03:00
Federico Fissore
c14d4fa8b4 Merge pull request #3109 from agdl/fix_i2cexamples
Fix for #2969 (I2C reserved addresses)
2015-05-14 14:07:43 +02:00
Federico Fissore
01d63f2dd1 Merge pull request #3130 from PaulStoffregen/uncategorized-warning
Fix Uncategorized warning message
2015-05-14 14:07:00 +02:00
Ivan Grokhotkov
202d38bb3e boolean -> bool 2015-05-14 15:05:24 +03:00
Ivan Grokhotkov
143dbae29e 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
fa9ee11366 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 13:34:31 +03:00
Ivan Grokhotkov
8c1a40b242 Web server refactoring 2015-05-14 13:33:12 +03:00
Matt Jenkins
88be6b1f6f Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
ficeto
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
Arturo Guadalupi
5199b0f6d3 Fixes #2969:
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used.

I also modified the wire reference
http://www.arduino.cc/en/reference/wire
according to this fact.
2015-05-14 11:27:00 +02:00
ficeto
1ff1914366 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
ficeto
7ddb745fb7 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
ficeto
37108bbbc7 Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
Ivan Grokhotkov
8663a6b131 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
Ivan Grokhotkov
ee69c92f55 fix SDWebServer sample 2015-05-14 02:47:39 +03:00
Ivan Grokhotkov
9be51ebd6e 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
6ca8b04dd6 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00
Ivan Grokhotkov
779386f235 Merge pull request #236 from Makuna/esp8266
PgmSpace support
2015-05-14 02:31:39 +03:00
Ivan Grokhotkov
09e7e3fd46 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 01:58:59 +03:00
ficeto
bf427f12fb fix missed edits 2015-05-14 01:06:55 +03:00