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
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
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
9f2c3a4bd2
Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266
2015-05-14 02:34:21 +03:00
ficeto
cfac2cacb1
fix missed edits
2015-05-14 01:06:55 +03:00
ficeto
5d1ee7ace6
disable automount
2015-05-14 00:53:55 +03:00
ficeto
f501530f37
fix SPIFFS to work
2015-05-14 00:44:33 +03:00
Markus Sattler
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
Makuna
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
ficeto
3ff7641329
Add SPIFFS Support
2015-05-13 19:50:31 +03:00
Ivan Grokhotkov
371320bc45
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266
2015-05-12 20:46:57 +03:00
ficeto
7512339b0c
remove qsort dependency and add TelnetToSerial example
2015-05-12 20:41:31 +03:00
Ivan Grokhotkov
0474b33dc7
Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266
2015-05-12 19:08:00 +03:00
ficeto
669609f3d7
fix uart receive
2015-05-12 18:44:31 +03:00
Markus Sattler
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
ficeto
4425e0921f
removing timer aliases
2015-05-12 10:36:12 +03:00
ficeto
3ff208c3e9
add pwm freq adjustment
2015-05-11 14:28:37 +03:00
ficeto
b5d6951743
fix PWM and Timer1
2015-05-11 14:17:13 +03:00
Ivan Grokhotkov
7e15659c29
Merge pull request #200 from Makuna/esp8266
...
true noInterrupts() interrupts() support
2015-05-08 08:28:10 +03:00
Michael Miller
9977276ba9
Merge pull request #1 from esp8266/esp8266
...
Get latest
2015-05-07 12:53:52 -07:00
Makuna
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
Markus Sattler
163858dc44
fix use SPI.beginTransaction crash
2015-05-07 19:25:25 +02:00
ficeto
a689d6715b
revert some changes that were wrong
2015-05-06 20:54:56 +03:00
Makuna
b094b50e18
xt disable and enable functions
2015-05-06 09:02:14 -07:00
Makuna
c328452651
true interrupt enable and disable
...
plus expose cycle count for bit bang timing
2015-05-06 08:42:38 -07:00
Markus Sattler
5c915ff385
add Winbond flash chip Ids
2015-05-05 18:41:38 +02:00
Ivan Grokhotkov
34b09f7e23
small clean up of HardwareSerial
2015-05-05 13:27:28 +03:00
ficeto
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
Markus Sattler
e6b48164c2
add macro cli() and sei() for more AVR compatibility
2015-05-04 18:10:51 +02:00
ficeto
b752822aef
fix UART clock divider
...
UART clock is constant
2015-05-03 20:56:58 +03:00
ficeto
735277fff9
ACK is actually 0
2015-05-03 20:35:01 +03:00
ficeto
38b2bb7037
overflow at 160MHz
2015-05-03 17:53:24 +03:00
ficeto
3d0dafcbc0
fix UART RX PullUps and TWI
2015-05-03 17:51:06 +03:00
ficeto
fcbd7dbed0
Change UART register access methods
2015-05-03 16:44:19 +03:00
Markus Sattler
851f07cdf5
replease digitalPinToPort, digitalPinToBitMask, portOutputRegister, portInputRegister, portModeRegister by macros
2015-05-02 15:54:45 +02:00
ficeto
66ded562f3
Revert "Revert "disable debug on Serial.end() if debug on this interface.""
...
This reverts commit b2d41697340ca11273c9a66b13a6c1f0d1d9bcc2.
2015-05-01 16:15:58 +03:00
ficeto
bbba691cac
Revert "disable debug on Serial.end() if debug on this interface."
...
This reverts commit 28a868d6dd5e6e92fac5998f53dcd2256e9292f7.
2015-05-01 16:09:46 +03:00
ficeto
bc3d847c4c
Merge pull request #5 from Links2004/esp8266
...
merging some changes
2015-05-01 16:06:18 +03:00
Markus Sattler
a250492c20
disable debug on Serial.end() if debug on this interface.
2015-05-01 14:58:48 +02:00
ficeto
c94128c02d
disable UART before making all pins INPUTs
2015-05-01 15:52:30 +03:00
Markus Sattler
d4e6561b52
add back pull-down support
2015-05-01 14:46:08 +02:00
Markus Sattler
0a712e78c7
fix 160Mhz mode
...
add missing 0
16000000L != 160000000L
2015-05-01 14:11:09 +02:00