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

597 Commits

Author SHA1 Message Date
Markus Sattler
2aab78ade9 fix ILI9341 (define for SPI speed was deleted?) 2015-06-03 15:40:11 +02:00
Markus Sattler
5a1c3a1ad5 Adafruit_ILI9341 add functions for easy write a data stream to display.
Adafruit_ILI9341 allow biger size for spiwriteBytes
2015-05-18 20:12:05 +02:00
Ivan Grokhotkov
e8789e9cb5 Merge branch 'master' into esp8266
* master: (414 commits)
  Don't export sketch if the underlying core does not support it. Fixes #3171
  RSyntaxTextArea: using a modified version, tracked at https://github.com/arduino/RSyntaxTextArea. Fixes #3099
  Updated keywords.txt
  New editor on MacOSX: since CMD+J is known as "jump to selection" and the editor has no such feature, CMD+J is disabled on mac. See #3098
  Old Preferences class remains for backwards compatibility as a delegate for PreferencesData
  New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140
  Remove spawn from exec command
  Removed redundant call to File.deleteIfExists()
  Removed buggy redundant check in FileUtils.deleteIfExists()
  Restored current line/current selected lines display on lower left of the IDE. Fixes #3134
  Updated cursor.ino
  New editor on MacOSX: restored CMD+E for finding selected text
  New editor on MacOSX: CMD+UP/DOWN moves cursor to start or end of sketch. See #3098
  New editor on MacOSX: CMD+BACKSPACE deletes current line until cursor position, ALT+BACKSPACE deletes previous word. See #3098
  ArduinoIDE is in the default package. Removed
  Fixes  #2969:
  Fix Uncategorized warning message
  New editor: ALT+ BACKSPACE deletes next word (OSX only). See #3098
  New editor: ALT+ UP/DOWN move current line only if "editor.advanced" (hidden pref) is true. Fixes #3101
  New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102
  ...

Conflicts:
	.gitignore
	build/build.xml
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/keywords.txt
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/library.properties
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/ESP8266WiFi.h
	libraries/WiFi/README.adoc
	libraries/WiFi/src/WiFi.cpp
	libraries/WiFi/src/WiFiClient.cpp
	libraries/WiFi/src/WiFiClient.h
	libraries/WiFi/src/WiFiServer.cpp
	libraries/WiFi/src/WiFiUdp.cpp
2015-05-18 14:54:06 +03:00
ficeto
f946821381 fix data types 2015-05-16 16:29:10 +03:00
ficeto
b40ec2fc35 add info methods to SD class 2015-05-16 16:22:38 +03:00
Ish Gupta
c3d3016049 Updated cursor.ino
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit.
The changes make it logically and functionally correct.
2015-05-14 18:30:17 +05:30
ficeto
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
Markus Sattler
9e76276fb2 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
41d370fb28 Add option to select SPI speed at SD::begin 2015-05-11 22:29:02 +03:00
Markus Sattler
934434d5f9 SD:
- optimize SPI usage 148% write speed (24kB/s -> 37kB/s) and 127% read speed (121kB/s -> 155kB/s) at 8MHz
 - add clock frequency as parameter for begin(csPin, frequency)
 - SD @80MHz write: 84kB/s read: 231kB/s

SPI add functions:
 - void write32(uint32_t data);
 - void write32(uint32_t data, bool msb);
 - void transferBytes(uint8_t * out, uint8_t * in, uint32_t size);

Adafruit_ILI9341:
 - code clean
2015-05-10 17:34:16 +02:00
Markus Sattler
04cc6a858b Adafruit_ILI9341 +7% speed now at 327,45% total 2015-05-09 18:56:29 +02:00
Markus Sattler
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
Ivan Grokhotkov
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
Markus Sattler
db64fd9f98 fix SPI run on system clock 2015-05-08 15:30:27 +02:00
Markus Sattler
301de028ec * miss to add the new files 2015-05-08 15:04:19 +02:00
newbie15
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
ficeto
c20cfbea87 increase SD Card SPI Speed 2015-05-08 13:22:49 +03:00
ficeto
b15808e60f fix SPI clock for SD library 2015-05-08 11:44:45 +03:00
Markus Sattler
895cbed6b8 OneWire set up as INPUT_PULLUP 2015-05-04 18:08:16 +02:00
Markus Sattler
d048b497e9 fix bug #159 (broken Onewire)
thx to support from ficeto
2015-05-02 15:57:31 +02:00
ficeto
83ed3d5d8f Importing my changes 2015-04-30 20:48:50 +03:00
Federico Fissore
f118dee688 Bridge: default baudrate is specified with BRIDGE_BAUDRATE. Fixes #2904 2015-04-30 16:32:32 +02:00
squelched
1c25d2432f SD: allow multiple SD instances
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
Federico Fissore
5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore
e720bb058d Audio and Servo library version bump 2015-04-23 13:28:17 +02:00
Federico Fissore
0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
Arturo Guadalupi
f76087cd10 Update Firmata.h 2015-04-23 12:53:30 +02:00
Arturo Guadalupi
42f62fc3e5 Update README.adoc 2015-04-23 12:53:30 +02:00
Enrico Gueli
38ccd55399 added license on TFT library 2015-04-23 12:53:30 +02:00
Arturo Guadalupi
5bfdbe853c minor changes 2015-04-23 12:53:30 +02:00
Arturo Guadalupi
9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
Federico Fissore
8b0fcbe281 Temboo: updated bundled library 2015-04-23 12:45:31 +02:00
Federico Fissore
ea9a7a11c7 Converted Robot_Control files to unix format for better git diffs 2015-04-22 16:40:00 +02:00
Martino Facchin
d72bc63d6e Merge pull request #2974 from facchinm/test_2659_2
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
Martino Facchin
d3a6c37980 increase version number 2015-04-15 09:55:37 +02:00
Martino Facchin
a57d390499 SD: remove any reference to pinMode(10, OUTPUT) in the examples
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868

current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Arturo Guadalupi
d7c32eefa1 License fix to audio library 2015-04-09 18:18:24 +02:00
Arturo Guadalupi
0c01e66402 License fix 2015-04-09 17:22:46 +02:00
Federico Fissore
ae6a5d887d Lib: WiFi version bump 2015-04-02 14:32:50 +02:00
Federico Fissore
a6d1d9537c Lib: Temboo version bump 2015-04-02 14:28:07 +02:00
Federico Fissore
25a6d3df46 Lib: SD version bump 2015-04-02 14:24:53 +02:00
Federico Fissore
e85fe911a0 Lib: GSM version bump 2015-04-02 14:20:05 +02:00
Federico Fissore
18eafd0ed7 Lib: esplora version bump 2015-04-02 14:14:45 +02:00
Martino Facchin
8b019650d5 Merge pull request #2848 from facchinm/testBridgePut
Bridge: fix transfers which ignored host response
2015-04-02 11:03:31 +01:00
Ing. Jan Kaláb
f34dc938f6 Typos 2015-04-01 19:43:32 +02:00
Arturo Guadalupi
501333a8ef new theme 2015-04-01 16:11:59 +02:00
Martino Facchin
d6f9a6703c Bridge: increase version number 2015-03-31 09:30:51 +02:00
Martino Facchin
45ff4f60b3 Bridge: fix transfers which ignored host response
Bridge.put() was broken by #2781 because it used transfer() 2-parameters overloaded version, which imply that rxlen == 0.
But the Linux Bridge responded, so the check (i >= rxlen) was true and the function timed out after retrying 50 times.

Every bridge command (python side) has been checked and now SHOULD strictly follow this rule and never ignore silently the received data
2015-03-30 15:56:06 +02:00
Federico Fissore
f7106ecc65 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
Ivan Grokhotkov
c540bbab00 Merge 1.6.1 into esp8266
* commit 'b8b2869753d488bfd203615637e1de3912589a92': (68 commits)
  Updated revisions.txt
  Fixed wrong path in successful message
  arduino-core: restored debug info in class files
  Fixed NPE in case of missing boardData
  Added missing translations
  Added windows drivers
  Added warning for uncertified boards
  Update revision.txt
  update revisions.txt
  SoftwareSerial: match bool API with HardwareSerial
  Fix to save as to parent folder is needed by all OSs, not just Mac
  Update revision.txt
  MacOSX: previous better IDE was missing some pieces. Added
  MacOSX: better IDE
  Updated revisions.txt
  NEW button now behaves as clicking File -> New menu entry. Fixes #2685
  Windows: bundled JRE updated to 8u31 build.xml now uses unzip target
  Added .getParentFile() to saveas for mac. This prevents saving into the sketch itself
  Compound edits weren't part of the undo/redo dance
  An undoable action marks the sketh as modified
  ...
2015-03-27 11:18:48 +03:00