Commit Graph

596 Commits

Author SHA1 Message Date
Roger Clark e1e2cac780 renamed 16 bit version of transfer() to transfer16() as per the Arduino API 2016-10-16 13:34:09 +11:00
stevstrong 8f847cc786 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-10-12 19:19:03 +02:00
stevstrong 6d4965b5c8 improve USB serial Rx speed + make USB serial Tx blocking to avoid overflow 2016-10-12 19:18:38 +02:00
Roger Clark c6c8827492 Merge pull request #214 from lag-linaro/master
stm32f4: cores: Remove seemingly pointless file . (dma.c which only contains comments  - No code at all)
2016-10-01 16:05:41 +10:00
Roger Clark efe237c16d Merge pull request #204 from kuwatay/macosx-update-for-stmf4
update STM32F4 environment for macosx
2016-10-01 16:03:51 +10:00
Lee Jones afa2cf1b8a stm32f4: cores: Remove seemingly pointless file
dma.c was introduced in 2014 and is still entirely commented out.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-10-01 03:38:45 +01:00
Roger Clark 8c850fede0 Merge pull request #205 from ozayturay/master
Update for recipe.ar.pattern and library 'Category not valid' IDE warnings
2016-09-27 15:26:09 +10:00
Roger Clark 93564e7f56 Merge pull request #213 from mcauser/tft-begin
In TFT_Show_Font_ILI9341 example change init to begin
2016-09-27 15:24:08 +10:00
Mike Causer 29f52516c2 In TFT_Show_Font_ILI9341 example change init to begin 2016-09-27 11:29:23 +10:00
Roger Clark 1641d2420c Merge pull request #212 from victzh/patch-1
Fix return value for Print::write(const void *buffer, uint32 size)
2016-09-26 09:11:18 +10:00
victzh 3efde692e7 Fix return value for Print::write(const void *buffer, uint32 size)
Print::write(const void *buffer, uint32 size) always returns 0, which is against specification. This patch fixes it.
2016-09-25 18:31:59 -04:00
stevstrong 43b3376881 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-09-23 17:07:49 +02:00
Özay Turay f949812ece Update STM32F4/libraries/*/library.properties to get rid of Category not valid IDE warnings 2016-09-07 16:37:57 +03:00
Özay Turay 9096356e55 Update STM32F*/platform.txt to get rid of recipe.ar.pattern IDE warnings 2016-09-07 16:20:35 +03:00
Yoshitaka Kuwata 478ef73b48 update STM32F4 environment for macosx
remove extra definition in platform.txt
2016-09-06 18:12:11 +09:00
Roger Clark 4021c32fdb Merge branch 'master' of https://github.com/SamuelBrucksch/Arduino_STM32 2016-08-14 12:01:07 +10:00
Samuel Brucksch 29ef21629c Update Wire.h
changed SDA/SCL pins to the ones that were default in construcor of Wire.cpp
2016-08-07 13:22:53 +02:00
Samuel Brucksch 8119f88b8d Update Wire.cpp
default constructor now uses SCL and SDA defintinion from wire.h
2016-08-07 13:22:05 +02:00
stevstrong a079114bdc added transaction in slave mode, and 16 bit data transfer 2016-07-26 20:36:39 +02:00
stevstrong 5cf0ba699c corrected ADC_CR2_TSVREFE definition 2016-07-25 23:53:09 +02:00
stevstrong a98a47d379 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-07-25 23:30:10 +02:00
stevstrong efbbe6a4be Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-07-25 23:22:02 +02:00
edogaldo 34597fad4a Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into F1-USART---buffered-interrupt-based-TX-(static-TX-buffer) 2016-07-20 10:56:18 +02:00
Roger Clark 18f2233357 Fixed issue with wrong ram sizes in boards.txt 2016-07-20 08:01:58 +10: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 d353dd3022 Slight changes 2016-07-19 12:56:11 +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
Roger Clark 8c6f302e9c Effecively disabled the code that waits for serial device re-enumeration
See http://stm32duino.com/viewtopic.php?f=35&t=1251
2016-07-16 09:15:32 +10:00
edogaldo 3a5f8cfc1b Wait for TX completed in usart_disable() 2016-07-14 19:14:56 +02:00
edogaldo 51d2d9e0d9 F1 USART - buffered interrupt-based TX (static TX buffer)
usart.h: statically define TX buffer like RX buffer. TX buffer size
defined in USART_TX_BUF_SIZE
usart.h: add function usart_reset_tx() to reset TX buffer (same as for
RX bufferI)
usart.c: usart_init() changed to init TX buffer
usart.c: usart_disable() changed to reset TX buffer
usart.c: usart_tx() changed to use TX buffer and manage interrupt TXEIE
usart_f1.c: changed to instantiate TX buffers
usart_private.h: changed interrupt handler to manage TXEIE
2016-07-11 12:52:24 +02:00
Roger Clark ea6ec1d0aa Merge pull request #183 from martinayotte/master
Fix LeafLab bug in USBSerial::disableBlockingTx() on F4 core
2016-07-01 09:15:20 +10:00
Martin Ayotte a301d4cc76 add forgotten flag for NETDUINO2PLUS 2016-06-30 14:04:26 -04:00
Martin Ayotte 78a1051406 fix LeafLab bug in disableBlockingTx() of F4 USBSerial 2016-06-30 14:02:30 -04:00
Roger Clark c5f0d0fa60 Merge pull request #181 from ddrown/source_master
Fix for: PWM on STM32F4 doesn't work right away
2016-06-08 14:11:33 +10:00
Dan Drown b952395216 fix for: PWM on STM32F4 doesn't work right away
Credit to hathach for finding and fixing this:
https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/178

Fixes #178
2016-06-07 20:36:17 -05:00
Roger Clark 0cebedb59e Added Etheret_STM by Vassilis (at his request, as copy of https://github.com/Serasidis/Ethernet_STM) 2016-06-06 10:20:55 +10:00
Roger Clark fb2aaf39ac Update README.md 2016-05-31 11:01:52 +10:00
Roger Clark 896cb2d3c7 Increase generic boards USB reset delay to fix issue with newer PC's 2016-05-15 15:16:27 +10:00
Roger Clark e4324fafc9 Fixed issue with GD32 USB reset time being too short, and not enumerating on some PCs 2016-05-13 19:15:12 +10:00
Roger Clark 71e8282fc1 Renamed MrBrunetteExamples to General examples, and remoted boards.txt 2016-05-13 14:40:06 +10:00
Roger Clark cc639cd9cb Moved examples to new dummy library item 2016-05-13 14:39:10 +10:00
Roger Clark 4ce00387d8 Add dummy / shell library to allow IDE access to the examples 2016-05-13 14:38:34 +10:00
roger@rogerclark.net b5a5e67ad0 Added missing API functions microsecondsToClockCycles etc 2016-05-13 06:17:59 +10:00
Roger Clark 2c25a5f7dd Recopied tools/linux to tools/linux64 and rebuilt stm32flash and stlink binaries for 64 bit, and replaced dfu-utl binary with 64 bit version from martinayotte 2016-05-07 12:08:17 +10:00
roger@rogerclark.net 7e06070ade Started to add linux 64 bit support, by copying the linux folder to linux64 and changeing platform.txt. Also copied scr folder into each platform's folder to allow the src to be distributed even if the tools are split up when using the Board Manager 2016-05-07 08:02:54 +10:00
roger@rogerclark.net 1b4ee05e80 Tidied up platform.txt 2016-05-07 07:44:14 +10:00
roger@rogerclark.net 95f11697b2 Add recipe for 'Export Binary' feature 2016-05-07 07:04:00 +10:00
Roger Clark 013d8e6183 Add missing definitions for MISO etc to F4 core 2016-05-06 10:14:45 +10:00
Roger Clark 2da4a3d309 Removed stm32duino-bootloader submodule 2016-05-05 21:31:00 +10:00