Commit Graph

16 Commits

Author SHA1 Message Date
Roger Clark a276f6184c Merge branch 'master' of https://github.com/bobc/Arduino_STM32 2014-12-26 08:02:51 +11:00
Roger Clark 5431969b3d Added missing typedef for the word data type to wirish.h 2014-12-26 07:55:24 +11:00
Bob Cousins a3065b0c00 Move libmaple/* from variants to cores 2014-12-25 13:07:45 +00:00
Roger Clark c2d5ac0a1f Added missing operator bool to USBSerial. Note. Its odd that I'd not spotted this was missing as I added it to HardwareSerial ages ago 2014-12-21 18:08:16 +11:00
Roger Clark 53f84108d6 Added empty / placeholder files, required my some libraries, specificially Adafruit_ST7735. This is a work in progress and doesn't allow this library to work, as SPI needs to be updated and also the library needs code changed to its header file 2014-12-05 20:58:27 +11:00
Roger Clark 31349f5aec Fixed issue caused by renaming SerialUSB to Serial for non Maple boards - i.e double definition of Serial 2014-12-05 09:29:11 +11:00
Roger Clark 98a44d8744 forgot to save all files before I commited the last change 2014-12-04 21:43:54 +11:00
Roger Clark cd3a72a54d Changed Serial.read() to non blocking and retuns -1 if no char available (Like the 1.0.x API) 2014-12-04 21:31:05 +11:00
Roger Clark 4fdce817a4 Finished Serial.peek() and Serial.flush(). Also changed SerialUSB tgo Serial for Maple and Maple Mini builds for increased compatibility with the Arduino 1.0.x API 2014-12-04 21:11:38 +11:00
Roger Clark e0179c57fa Partially complete work to bring SerialUSB to Arduino 1.0 API. Still need to write code for SerialUSB.flash and SerialUSB.peek 2014-12-04 08:08:49 +11:00
Roger Clark 794a79a151 Added defined for __STM32F1XX__ to board.txt in preparation for changes to OneWire library. Also added analogWrite function to replicate what the Arduino API does, and fix the issue with needing to call pinMode with type PWM. Fade example now works, as long as a PWM compatible pin is used e.g. PA0 2014-12-03 21:32:00 +11:00
Roger Clark 43be9d0710 Added support for serial functions in 1.0 and 1.5, specificaally Serial.peek and also Serial.find. Updated HardwareSerial class so it inhetits from Stream instead of Print, to confirm with Arduino 1.0 structure 2014-11-25 21:11:04 +11:00
Roger Clark 8c6d25b4c0 Absolutely masses of changes, and general restructure in order to get the SPI library to at least compile ;-) 2014-11-22 06:46:57 +11:00
Roger Clark 02647ee20c Added support for String object. Updated print class to support String. Added examples folder from Maple IDE (None of the examples have been tested) 2014-11-02 20:24:34 +11:00
Roger Clark dbabd6fd52 Changes to generic STM32 board definitions for Serial. The first UATT is now Serial, second is Serial1 (this maps Serial -> UART1, Serial1->UART2 etc). Also fixed missing sprintf, - needed more includes in wirish.h. Also investigated implementing printf for Serial.printf (currently a work in progress) 2014-11-01 09:27:18 +11:00
Roger Clark 5a79e664af Renamed maple to STM32F1XX so that ARDUINO_ARCH definition correctly reflects the device architecture 2014-10-31 20:27:28 +11:00