1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00
Commit Graph

504 Commits

Author SHA1 Message Date
4644c3bad0 boolean -> bool 2015-05-14 15:05:24 +03:00
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
2e9a038f68 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
5181f90725 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
cde17ac259 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
53e8bd8f4d Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
eb37830238 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
9f2c3a4bd2 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00
cfac2cacb1 fix missed edits 2015-05-14 01:06:55 +03:00
5d1ee7ace6 disable automount 2015-05-14 00:53:55 +03:00
f501530f37 fix SPIFFS to work 2015-05-14 00:44:33 +03:00
a17aded8d6 add hexdump function for easy debugging.
Output:
[HEXDUMP] Address: 0x3FFF5188 len: 0x200 (512)
[0x3FFF5188] 0x00000000: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF5198] 0x00000010: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51A8] 0x00000020: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51B8] 0x00000030: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51C8] 0x00000040: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51D8] 0x00000050: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51E8] 0x00000060: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
....
2015-05-13 22:54:09 +02:00
81d27b403e PgmSpace working
PSTR() and F() macros correctly place string into flash memory relying
on PROGMEM
PROGMEM uses ICACHE_RODATA_ATTR
Print and String classes fixed up
str* classes fixed up
2015-05-13 11:27:54 -07:00
3ff7641329 Add SPIFFS Support 2015-05-13 19:50:31 +03:00
371320bc45 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-12 20:46:57 +03:00
7512339b0c remove qsort dependency and add TelnetToSerial example 2015-05-12 20:41:31 +03:00
0474b33dc7 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-12 19:08:00 +03:00
669609f3d7 fix uart receive 2015-05-12 18:44:31 +03:00
dd7d34ef9d add more NULL prt checks in strtok_r
Conflicts:
	libraries/SD/src/SD.cpp
	libraries/SD/src/SD.h
2015-05-12 17:10:19 +02:00
4425e0921f removing timer aliases 2015-05-12 10:36:12 +03:00
3ff208c3e9 add pwm freq adjustment 2015-05-11 14:28:37 +03:00
b5d6951743 fix PWM and Timer1 2015-05-11 14:17:13 +03:00
7e15659c29 Merge pull request #200 from Makuna/esp8266
true noInterrupts() interrupts() support
2015-05-08 08:28:10 +03:00
9977276ba9 Merge pull request #1 from esp8266/esp8266
Get latest
2015-05-07 12:53:52 -07:00
367962d89e refactored xt_disable_intterupts to accept level
due to the rsil requirement that the level be a constant, the method was
moved into a macro
2015-05-07 12:29:37 -07:00
163858dc44 fix use SPI.beginTransaction crash 2015-05-07 19:25:25 +02:00
a689d6715b revert some changes that were wrong 2015-05-06 20:54:56 +03:00
b094b50e18 xt disable and enable functions 2015-05-06 09:02:14 -07:00
c328452651 true interrupt enable and disable
plus expose cycle count for bit bang timing
2015-05-06 08:42:38 -07:00
5c915ff385 add Winbond flash chip Ids 2015-05-05 18:41:38 +02:00
34b09f7e23 small clean up of HardwareSerial 2015-05-05 13:27:28 +03:00
4e41c2399b add OUTPUT_OPEN_DRAIN
disabling pulls on pinMode is not needed, since they are cleared 2
lines above.
2015-05-05 13:07:48 +03:00
e6b48164c2 add macro cli() and sei() for more AVR compatibility 2015-05-04 18:10:51 +02:00
b752822aef fix UART clock divider
UART clock is constant
2015-05-03 20:56:58 +03:00
735277fff9 ACK is actually 0 2015-05-03 20:35:01 +03:00
38b2bb7037 overflow at 160MHz 2015-05-03 17:53:24 +03:00
3d0dafcbc0 fix UART RX PullUps and TWI 2015-05-03 17:51:06 +03:00
fcbd7dbed0 Change UART register access methods 2015-05-03 16:44:19 +03:00
851f07cdf5 replease digitalPinToPort, digitalPinToBitMask, portOutputRegister, portInputRegister, portModeRegister by macros 2015-05-02 15:54:45 +02:00
66ded562f3 Revert "Revert "disable debug on Serial.end() if debug on this interface.""
This reverts commit b2d4169734.
2015-05-01 16:15:58 +03:00
bbba691cac Revert "disable debug on Serial.end() if debug on this interface."
This reverts commit 28a868d6dd.
2015-05-01 16:09:46 +03:00
bc3d847c4c Merge pull request #5 from Links2004/esp8266
merging some changes
2015-05-01 16:06:18 +03:00
a250492c20 disable debug on Serial.end() if debug on this interface. 2015-05-01 14:58:48 +02:00
c94128c02d disable UART before making all pins INPUTs 2015-05-01 15:52:30 +03:00
d4e6561b52 add back pull-down support 2015-05-01 14:46:08 +02:00
0a712e78c7 fix 160Mhz mode
add missing 0
16000000L != 160000000L
2015-05-01 14:11:09 +02:00
344eb6e8db move digitalWrite and digitalRead to ram
if in flash it can produce uncalculated lag.

fix warning
2015-05-01 14:04:56 +02:00
9e4594dc3e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-01 13:57:13 +02:00
9fd686b853 wiring_digital: fix interrupts, initialize pins to INPUT on startup 2015-05-01 09:53:19 +08:00
fbec557ddb Importing my changes 2015-04-30 20:48:50 +03:00