1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-09 22:24:14 +03:00
Commit Graph

1767 Commits

Author SHA1 Message Date
Ivan Grokhotkov
8e02ca57b4 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into esp8266
Conflicts:
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
2015-05-12 18:58:10 +03:00
ficeto
943622236e fix uart receive 2015-05-12 18:44:31 +03:00
Ivan Grokhotkov
a1967b9cf1 implement async replies in mDNS library
No need to call mdns.update() from loop() any more.
2015-05-12 17:59:24 +03:00
Ivan Grokhotkov
ae2bc12b9b some UdpContext fixes, add rx callback support
Set udp destination address, port, and multicast TTL only on send.
Fix read method to return -1 if buffer is empty.
2015-05-12 17:52:22 +03:00
ficeto
5c3508fe30 add method to check for clients without referencing them 2015-05-12 15:21:35 +03:00
ficeto
894f99b306 move discard_cb to unref 2015-05-12 14:22:16 +03:00
ficeto
4f9597d311 add close and abort methods and enable disconnect callback 2015-05-12 13:58:05 +03:00
ficeto
abe0003fed removing timer aliases 2015-05-12 10:36:12 +03:00
ficeto
3394d579e1 add pwm freq adjustment 2015-05-11 14:28:37 +03:00
ficeto
2a2e05f1c5 fix PWM and Timer1 2015-05-11 14:17:13 +03:00
ficeto
a88d7393be plaintext POST fixes and rework of the SD example
Added a single file web editor/browser/uploader and all needed methods
to work with the files on the SD Card
2015-05-11 13:43:26 +03:00
ficeto
522d2c842a Merge pull request #16 from esp8266/esp8266
pull latest changes
2015-05-10 18:57:05 +03:00
ficeto
b7d16c6852 fix binary file http upload 2015-05-09 14:21:53 +03:00
Markus Sattler
c35ecfe644 some speed optimizations 2015-05-08 15:33:48 +02:00
Markus Sattler
db64fd9f98 fix SPI run on system clock 2015-05-08 15:30:27 +02:00
Markus Sattler
ee4e81f9a5 rework Adafruit_ILI9341 complete now uses the new SPI implementation
tested with example graphicstest_esp8266

add missing define to SPI.h
2015-05-08 14:45:47 +02:00
Ivan Grokhotkov
6988ba6b23 Merge pull request #203 from ficeto/esp8266
add proper POST support and more methods
add proper POST support and more methods
2015-05-08 08:28:25 +03:00
Ivan Grokhotkov
405356f410 Merge pull request #200 from Makuna/esp8266
true noInterrupts() interrupts() support
2015-05-08 08:28:10 +03:00
Ivan Grokhotkov
d25c7670bd Merge pull request #199 from Links2004/esp8266
SPI improvement and bugfix
2015-05-08 08:27:49 +03:00
ficeto
fa1b4d599a fix huge leak 2015-05-08 03:30:41 +03:00
ficeto
f4138d296b add proper POST support and more methods
GET params are always added
plain POST is added to the GET arguments
Uploads are handled by separate handler
2015-05-08 02:45:03 +03:00
Markus Sattler
c8510edee8 use a function to calculate best match clock register for SPI
TEST:

Frequency: 1000000  -> [0x009C1001] EQU: 0	 Pre: 39     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 1000000
Frequency: 4000000  -> [0x00001001] EQU: 0	 Pre: 0	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 40000000
Frequency: 2000000  -> [0x00041001] EQU: 0	 Pre: 1	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 20000000
Frequency: 1600000  -> [0x00004002] EQU: 0	 Pre: 0	     N: 4	 H: 0	 L: 2	 - Back Calculated Frequency: 16000000
Frequency: 1610000  -> [0x00004002] EQU: 0	 Pre: 0	     N: 4	 H: 0	 L: 2	 - Back Calculated Frequency: 16000000
Frequency: 1000000  -> [0x000C1001] EQU: 0	 Pre: 3	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 10000000
Frequency: 8000000  -> [0x00101001] EQU: 0	 Pre: 4	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 8000000
Frequency: 5000000  -> [0x001C1001] EQU: 0	 Pre: 7	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 5000000
Frequency: 4000000  -> [0x00241001] EQU: 0	 Pre: 9	     N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 4000000
Frequency: 2000000  -> [0x004C1001] EQU: 0	 Pre: 19	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 2000000
Frequency: 1000000  -> [0x009C1001] EQU: 0	 Pre: 39	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 1000000
Frequency: 500000   -> [0x013C1001] EQU: 0	 Pre: 79	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 500000
Frequency: 250000   -> [0x027C1001] EQU: 0	 Pre: 159	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 250000
Frequency: 125000   -> [0x04FC1001] EQU: 0	 Pre: 319	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 125000
Frequency: 6666666  -> [0x00141001] EQU: 0	 Pre: 5	 	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 6666666
Frequency: 6000000  -> [0x00181001] EQU: 0	 Pre: 6	 	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 5714285
Frequency: 3000000  -> [0x00202001] EQU: 0	 Pre: 8	 	 N: 2	 H: 0	 L: 1	 - Back Calculated Frequency: 2962962
Frequency: 100	    -> [0x7FFFF020] EQU: 0	 Pre: 8191	 N: 63	 H: 0	 L: 32	 - Back Calculated Frequency: 152
Frequency: 125000   -> [0x04FC1001] EQU: 0	 Pre: 319	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 125000
Frequency: 16457    -> [0x25F81001] EQU: 0	 Pre: 2430	 N: 1	 H: 0	 L: 1	 - Back Calculated Frequency: 16454
2015-05-08 00:48:08 +02:00
Markus Sattler
ab80b405f1 add back SPI_CLOCK_DIVx defines may needed by some library
Note:
better use SPI.setFrequency()
2015-05-07 22:16:51 +02:00
Michael Miller
854382ad43 Merge pull request #1 from esp8266/esp8266
Get latest
2015-05-07 12:53:52 -07:00
Makuna
4643cd173d 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
3f5aab4718 update README
add some docu and todo
2015-05-07 20:48:59 +02:00
Markus Sattler
3b798048a6 add CPHA support for SPI
- tested with logic analyzer
2015-05-07 19:48:55 +02:00
Markus Sattler
9ef39e3128 fix use SPI.beginTransaction crash 2015-05-07 19:25:25 +02:00
ficeto
8735ca4662 fixes for sd server example 2015-05-07 16:42:10 +03:00
ficeto
5aa479fd34 fix write taking too long 2015-05-07 13:38:32 +03:00
ficeto
532b0bea78 overlooked duplicate name 2015-05-07 12:40:56 +03:00
ficeto
f1ffad408e add SD Card Web Server example
working fine with the latest wifi lib
2015-05-07 12:38:56 +03:00
ficeto
0018e30823 fixing bool redeclaration errors and warnings 2015-05-07 12:04:02 +03:00
Ivan Grokhotkov
102c8242b3 Merge pull request #190 from Links2004/esp8266
add Patch for station+softAP issue based on SDK_v1.0.1 from espressif
2015-05-07 10:20:17 +03:00
Ivan Grokhotkov
3bdabe9604 Merge pull request #183 from Imroy/esp8266
Add definition for the Olimex MOD-WIFI-ESP8266(-DEV) boards
2015-05-07 10:19:57 +03:00
Ivan Grokhotkov
09abcb42bc Merge pull request #185 from ficeto/esp8266
missing libs and definitions from SDK
2015-05-07 10:19:14 +03:00
ficeto
c71f198ac2 revert some changes that were wrong 2015-05-06 20:54:56 +03:00
Makuna
b5dd07a53c xt disable and enable functions 2015-05-06 09:02:14 -07:00
Makuna
23144aee1f true interrupt enable and disable
plus expose cycle count for bit bang timing
2015-05-06 08:42:38 -07:00
Markus Sattler
9e306d706c add Patch for station+softAP issue based on SDK_v1.0.1 from espressif
esp_iot_sdk_v1.0.1_15_05_04_p1
-------------------------------------------
Here is a patch for station+softAP issue that users may have, based on SDK_v1.0.1,
solved problem that connect to ESP8266 softAP may fail in station+softAP mode.

Sorry for the inconvenience.
2015-05-06 17:38:00 +02:00
Ian Tester
3419538cd2 No need to have a separate variant for the Olimex MOD-WIFI-ESP8266, nor a menu entry for the flash size 2015-05-07 01:37:16 +10:00
Ivan Grokhotkov
4e387e4ffe Merge pull request #187 from biohazardxxx/esp8266
Mode missed
2015-05-06 15:38:03 +03:00
biohazardxxx
a20d32902a Mode missed 2015-05-06 14:28:05 +02:00
ficeto
9b5b323131 Merge pull request #12 from esp8266/esp8266
pull latest changes
2015-05-06 11:47:26 +03:00
ficeto
a1aa4c1493 adding some missing libs and definitions
included also a dump of the known registers range
2015-05-06 11:45:40 +03:00
Ian Tester
bc5f69319f Add definition for the Olimex MOD-WIFI-ESP8266(-DEV) boards 2015-05-06 14:53:29 +10:00
Ivan Grokhotkov
8dc2570c58 Merge pull request #181 from onkelfunny/esp8266
set correct flash size
2015-05-05 23:49:33 +03:00
onkelfunny
4feb11c839 remove unused flash size 2015-05-05 18:56:52 +02:00
onkelfunny
f4632d9426 remove unused flash size 2015-05-05 18:55:11 +02:00
onkelfunny
907546bf15 set correct flash size 2015-05-05 18:49:33 +02:00