1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-23 19:21:59 +03:00
Commit Graph

5440 Commits

Author SHA1 Message Date
04cc6a858b Adafruit_ILI9341 +7% speed now at 327,45% total 2015-05-09 18:56:29 +02:00
2d37fb67c5 many speed optimizations in Adafruit_ILI9341 lib (3x times faster)
add new SPI function:

  void write(uint8_t data);
  void write16(uint16_t data);
  void write16(uint16_t data, bool msb);
  void writeBytes(uint8_t * data, uint32_t size);
  void writePattern(uint8_t * data, uint8_t size, uint32_t repeat);

Adafruit_ILI9341:
| Benchmark                 | Old (ms) | New (ms) | Speedup     |
| ------------------------- | -------- | -------- | ----------- |
| Screen fill 				| 1248369  | 278707   |  +347,91%   |
| Text 						| 86102    | 53785    |  +60,09%    |
| Lines 					| 825400   | 536374   |  +53,89%    |
| Horiz/Vert Lines 			| 101875   | 24653    |  +313,24%   |
| Rectangles (outline) 		| 65720    | 17295    |  +279,99%   |
| Rectangles (filled) 		| 2592250  | 579157   |  +347,59%   |
| Circles (filled) 			| 411475   | 179454   |  +129,29%   |
| Circles (outline) 		| 360002   | 233584   |  +54,12%    |
| Triangles (outline)		| 261772   | 170118   |  +53,88%    |
| Triangles (filled) 		| 866951   | 246237   |  +252,08%   |
| Rounded rects (outline) 	| 154131   | 81570    |  +88,96%    |
| Rounded rects (filled) 	| 2828112  | 660983   |  +327,86%   |
|                           |          |          |             |
| Total                     | 9802159  | 3061917  |  +220,13%   |
2015-05-09 16:19:32 +02:00
b7d16c6852 fix binary file http upload 2015-05-09 14:21:53 +03:00
86e4786bff Merge pull request #206 from Links2004/esp8266
rework Adafruit_ILI9341 complete now work with the new SPI implementation
2015-05-08 22:45:23 +03:00
5484e0f83a Merge pull request #205 from ficeto/esp8266
Fix SPI Clocks for SD Library
2015-05-08 22:43:55 +03:00
c35ecfe644 some speed optimizations 2015-05-08 15:33:48 +02:00
db64fd9f98 fix SPI run on system clock 2015-05-08 15:30:27 +02:00
afdc5f1c84 add esp8266_tcp_active_close.png image 2015-05-08 15:04:45 +02:00
301de028ec * miss to add the new files 2015-05-08 15:04:19 +02:00
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
4688a7a23f Merge pull request #3111 from facchinm/test-watchdog-sam-2
Add watchdog routines for Due
2015-05-08 14:35:36 +02:00
7f8cba667d Due watchdog: change flags to effectively reset board 2015-05-08 14:16:12 +02:00
d2c510d166 Add Due watchdog functions; modified according to feedback supplied 2015-05-08 14:16:12 +02:00
4725d75054 Add watchdog routines for Due. 2015-05-08 14:16:12 +02:00
fe52e7f04f Added a note about non-standard row offsets in LiquidCrystal.cpp
In my case I had to change it to make my 16x4 LCD work properly

Fixes #1333
2015-05-08 12:35:04 +02:00
c20cfbea87 increase SD Card SPI Speed 2015-05-08 13:22:49 +03:00
b15808e60f fix SPI clock for SD library 2015-05-08 11:44:45 +03:00
36cfd0af28 Windows: launch4j urls changed to generic host downloads.sourceforge.net instead of switch.dl.sourceforge.net 2015-05-08 10:34:40 +02:00
7be94cb51e Merge pull request #15 from esp8266/esp8266
pull latest changes
2015-05-08 11:19:38 +03:00
b32d3553c6 Windows: this launch4j conf SHOULD force using only the bundled JVM 2015-05-08 10:19:24 +02:00
5064af486f Added .editorconfig files http://editorconfig.org/ 2015-05-08 10:18:43 +02:00
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
405356f410 Merge pull request #200 from Makuna/esp8266
true noInterrupts() interrupts() support
2015-05-08 08:28:10 +03:00
d25c7670bd Merge pull request #199 from Links2004/esp8266
SPI improvement and bugfix
2015-05-08 08:27:49 +03:00
fa1b4d599a fix huge leak 2015-05-08 03:30:41 +03:00
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
9a491da1d3 Merge pull request #14 from esp8266/esp8266
pull latest changes
2015-05-08 02:19:52 +03:00
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
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
18ec0d15f9 Merge pull request #198 from ficeto/esp8266
fixes for sd server example
2015-05-07 23:13:30 +03:00
854382ad43 Merge pull request #1 from esp8266/esp8266
Get latest
2015-05-07 12:53:52 -07:00
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
3f5aab4718 update README
add some docu and todo
2015-05-07 20:48:59 +02:00
f17cc834cf Code folding is disabled by default. Fixes #3105 2015-05-07 20:40:50 +02:00
3b798048a6 add CPHA support for SPI
- tested with logic analyzer
2015-05-07 19:48:55 +02:00
9ef39e3128 fix use SPI.beginTransaction crash 2015-05-07 19:25:25 +02:00
5bc6cee118 Added missing licenses/copyrights 2015-05-07 17:30:05 +02:00
8efe0a90cf Update revisions.txt 2015-05-07 17:16:33 +02:00
0598d38a04 Code folding was not visible when line numbers were disabled. Fixed 2015-05-07 17:15:51 +02:00
2981059251 PdeKeywords must be read before consulting command line args 2015-05-07 17:15:51 +02:00
21c7715f02 hyperlinks enabled by default on comment 2015-05-07 17:15:51 +02:00
eb42243475 Ensure hyperlinks are coloured using theme.txt colour
Enabling [CTRL,CMD]+click to open hyperlinks
2015-05-07 17:15:51 +02:00
5967294287 MacOSX: default font size set to 12 2015-05-07 17:15:51 +02:00
9dbde04212 Added rsyntaxtextarea license file 2015-05-07 17:15:51 +02:00
f8aecd0f9c Autoformat was generating two undo action, the first one being an empty editor. Tested and fixed 2015-05-07 17:15:51 +02:00
c0a1ffa27a Fixed failing PdeKeywords test
Autoformat was not saving caret position any more. Fixed
2015-05-07 17:15:51 +02:00
9ebe916fac Restoring keyword.txt loading and parsing. Added token type identifiers and related style in theme.txt 2015-05-07 17:15:50 +02:00
5eca70b1d0 New editor: removed 1px border around editor 2015-05-07 17:15:50 +02:00
2ec7a02532 Removed color theme selection: we currently support only one theme 2015-05-07 17:15:50 +02:00
330aeb0ba1 Revert "improves font rendering"
This reverts commit c2d9a1b020f82fa82ef0df04765adc40e87d145f.
2015-05-07 17:15:50 +02:00