Commit Graph

11 Commits

Author SHA1 Message Date
edogaldo 3d5c54e344 Make HardwareSerial.flush() compatible with Arduino 1.0 api 2017-05-16 00:00:59 +02:00
edogaldo 14b9f338f4 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into F1-USART---buffered-interrupt-based-TX-(static-TX-buffer) 2016-07-19 13:13:20 +02:00
edogaldo 7ba9065895 Fix HardwareSerial::flush() 2016-07-18 11:49:46 +02:00
Roger Clark 388e8efeb6 Fixed issue in F1 and F3 with HardwareSerial read(), which should return -1 if no data in the input buffer, (be non-blocking) 2016-07-18 16:20:24 +10:00
stevstrong 7d2b43018f bugfix - serial config parameter cannot be set
function usart_init must be called before usart_config_gpios_async
2015-11-19 14:01:23 +01:00
rogerclarkmelbourne a1fdae2817 Made changes for Nucleo F103RB and Generic STM32F103C . Note this commit only works with these 2 boards, on all others Serial will not compile 2015-05-28 17:38:59 +10:00
rogerclarkmelbourne fddefc13a9 Separated USB Serial functionality definitions from the BOOTLOADER_maple definition, so that generic boards can use USB serial without needing to have the bootloader and the disconnect hardware. NOTE. I have only tested the SERIAL_USB on the F103ZE board, it may not work on other generic boards 2015-04-25 15:28:45 +10:00
rogerclarkmelbourne 7b980c433e Fix for missing UART 4 and 5 from STM32F104RE and STM32F103Z series boards. Note this code has not been fully tested 2015-04-20 09:50:33 +10:00
Roger Clark f21592574f Added serial config parameter support to HardwareSerial :: begin(), so that word length (of 8 or 9 bits), parity (None, Even or Odd) and 1 or 2 stop bits can now be set. Note the STM32 doesnt support all the word lengths supprted by AVR or SAM e.g. the hardware doesnt support 5,6 or 7 bit word lengths. 2015-03-04 22:59:11 +11:00
Roger Clark 244674ca81 Added dummy parameter to HardwareSerial begin() for device config. This is a work in progress, the config value is not used to control the hardware yet 2015-03-04 10:02:44 +11:00
Roger Clark 5f83c13285 renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4 2015-02-24 20:13:04 +11:00