1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00
Commit Graph

556 Commits

Author SHA1 Message Date
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
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
41d370fb28 Add option to select SPI speed at SD::begin 2015-05-11 22:29:02 +03:00
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
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
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
db64fd9f98 fix SPI run on system clock 2015-05-08 15:30:27 +02:00
301de028ec * miss to add the new files 2015-05-08 15:04:19 +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
895cbed6b8 OneWire set up as INPUT_PULLUP 2015-05-04 18:08:16 +02:00
d048b497e9 fix bug #159 (broken Onewire)
thx to support from ficeto
2015-05-02 15:57:31 +02:00
83ed3d5d8f Importing my changes 2015-04-30 20:48:50 +03:00
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
b1b83c0989 Updated YunClient::connect method'
Now it stop the connection on the linux side when it fails
2015-02-27 11:08:29 +01:00
0ae9e3a0d0 Libraries: added missing properties 2015-02-25 11:20:40 +01:00
c0122d1068 Merge pull request #2618 from ffissore/fix-ethernetclient-boolean-comparison
EthernetClient == and != operators
2015-02-23 08:44:38 +01:00
0b6e274b5d Bridge.ino example: comment fixed 2015-02-19 18:08:15 +01:00
256f39b4d8 Fix spelling in YunSerialTerminal 2015-02-14 19:00:15 +01:00
eb0c2c9baa Added virtual bool operator==(const bool value) and virtual bool operator!=(const bool value).
Fixes #2611
Bug introduced with #1700
2015-02-13 17:29:36 +01:00
c7e363ca7b Merge arduino/master into esp8266
* commit '71c39489180723b13cabe3c07e3994a239f8a03e':
  Updated translations
  Updated offline docs
  Corrected some email contacts.
  MacOS tests fix: new way of discovering work dir conflicts with tests execution. Fixed.
  Updated build_pull_request.bash
  Renamed mac build from "macosxnew" to "macosx-java-latest"
  Updated revision log. Version set to 1.6.0rc3
  build.xml and mac. Change in platform names: macosx now macosxnew, oldmacosx now macosx
  Fixed bug with paths with spaces
  build_pull_requests now builds oldmacosx as well
  Macosx: new appbundler, new macosx builds. Use platform=macosx and platform=oldmacosx
  build_pull_requests now moves the artifacts to the parent folder: this allows calling "clean" target before each build
  build.xml linux-clean target was not deleting old linux builds
  Fix typos in BlinkWithoutDelay.ino

Conflicts:
	build/build.xml
2015-02-09 17:39:30 +03:00
e93be4855f Corrected some email contacts. 2015-02-05 16:47:22 +01:00
95f969cb7c Merge branch 'master' into esp8266
* master: (148 commits)
  Update revision log
  Cherry picked fix from 87865ac19d
  Updated revision log
  Added dependencies for AStylej.dll
  Updated translations
  Update revision log
  Temporary fix for pulseIn() regression.
  Added README.adoc for the library manager project
  Fixed some libraries metadata.
  Temporary disabled DefaultTargetTest under certain conditions
  Updated translation from transifex
  Updated some translation strings
  Fixed test
  sam: Fixed initialization of UART/USART mode register
  update revision log
  Fixed NPE when import menu are empty
  Fixed NPE when currently selected platform is no more installed.
  Optimized FileUtils.recursiveDelete(File) function
  Fixed a bunch of simple warnings in java code
  Removed unused classes Commander.java and Webserver.java
  ...
2015-01-26 02:35:02 +03:00
e6d5ebdbb3 Add a version of OneWire library adapted for ESP8266 2015-01-26 02:09:18 +03:00
1f08b5ede4 Cherry picked fix from 87865ac19d 2015-01-22 17:04:59 +01:00
ce412a0461 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
6d7751cf5f Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
2b14a9349c Align types: int to unsigned int
Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
2015-01-08 18:36:41 +01:00
f5f851c978 Remove WiFi shield library 2014-12-01 00:17:45 +03:00
c0bc2d22f6 Fix SPI transaction mismatch errors 2014-11-20 18:54:04 -08:00
e52b4edd6f Temboo: removing ControlBySMS and SendDataToMySQL examples, as per Temboo request 2014-11-12 17:55:54 +01:00
8815806540 Added missing keyword in LiquidCrystal library 2014-11-07 19:24:12 +01:00
b0d6f42755 Merge branch 'ide-1.5.x-lcd' of github.com:matthijskooijman/Arduino 2014-11-05 17:28:30 +01:00
ca5e30a255 Fixed Robot_Control example R06_Wheel_Calibration
Fixes #2217
2014-11-05 15:18:50 +01:00
b032f748f1 Ehternet: added packed attribute on DHCP message struct 2014-10-28 17:56:28 +01:00
79fde3a636 Ethernet: fixed upcast of byte-pointer 2014-10-28 17:55:52 +01:00
622d837e38 Added close method to PImage 2014-10-13 15:09:16 +02:00
2a912bab62 Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
d002c3ee04 Fixed typos in MailboxReadMessage example 2014-10-02 15:32:18 +02:00
f85a72847a Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server 2014-09-25 14:50:42 +02:00
9a64c1bb1c removed Xively and Cosm examples 2014-09-25 14:50:42 +02:00
98da28a3ce Bridge: slowing down ConsoleRead a bit to keep the python side of the Bridge from consuming 100% of the CPU 2014-08-28 13:25:57 +02:00
1824ba1d3b Merge pull request #2223 from PaulStoffregen/ide-1.5.x
SPI Transactions
2014-08-08 12:59:51 +02:00
f7a565de1a Use SPI transactions and SPISettings in SD library 2014-08-01 12:19:51 -07:00
a0f5a2ee4c Use SPI transaction in Ethernet W5100 init 2014-08-01 11:52:09 -07:00
8aaca2fbb6 Use SPI transactions in Ethernet library 2014-08-01 06:34:34 -07:00
53924e9d58 Move Ethernet socket level stuff to utility/socket.cpp 2014-08-01 06:03:38 -07:00