1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-26 17:42:18 +03:00
Commit Graph

5465 Commits

Author SHA1 Message Date
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
67997a6605 Revert "make editor folding happy"
This reverts commit e0926139fb61f7edbc38dd5bf7aaff1644e07a8f.
2015-05-07 17:15:50 +02:00
58cd233aee New editor: addede missing license headers on new files 2015-05-07 17:15:50 +02:00
f426188d04 Add 'Code Folding' preferences and fix Font-Size changes 2015-05-07 17:15:50 +02:00
1e61cd6b4c preferences for syntax highlighting theme 2015-05-07 17:15:50 +02:00
45094a9d52 remove not used interface 2015-05-07 17:15:50 +02:00
96fcda2cbc make editor folding happy 2015-05-07 17:15:50 +02:00
1cc14bb263 update classpath - add new dependency 2015-05-07 17:15:49 +02:00
1379505e13 new editor based on RSyntaxTextArea 2015-05-07 17:15:49 +02:00
63f153c0c2 Allow redirect logs to console 2015-05-07 17:15:49 +02:00
ff49809d77 improves font rendering 2015-05-07 17:15:49 +02:00
725dffa69e updated tests for new Textarea 2015-05-07 17:15:49 +02:00
1c78ba5f3d add RSyntaxTexarea jar 2015-05-07 17:15:49 +02:00
c3e1a9443c simple code refactor on PdePreprocessor 2015-05-07 17:15:49 +02:00
903622ea63 build and run scripts - add new dependency and linux desktop icon 2015-05-07 17:15:49 +02:00
6b4e7d7c41 arduino logo for linux icon 2015-05-07 17:15:49 +02:00
6e74d98ade install script for linux 2015-05-07 17:15:49 +02:00
2e497c6c47 removing files from the old editor 2015-05-07 17:15:49 +02:00
e70545948c Update revisions.txt 2015-05-07 17:15:37 +02:00
9d92baa14c Fixing longstanding bug that made File and Tools menu items overlap "sometimes" 2015-05-07 16:52:25 +02:00
8735ca4662 fixes for sd server example 2015-05-07 16:42:10 +03:00
50a5034176 Ensuring sketch menu is properly rendered when editor windows gains/loses focus 2015-05-07 14:55:50 +02:00
674ddbec1c Merge pull request #197 from ficeto/esp8266
fix write taking too long
2015-05-07 13:43:52 +03:00
5aa479fd34 fix write taking too long 2015-05-07 13:38:32 +03:00
fd6d9561a8 Export sketch: refactored to reuse existing code 2015-05-07 12:32:52 +02:00
4d029de000 saveHex: rename recipe.hex -> recipe.output
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2015-05-07 11:57:12 +02:00