Commit Graph

585 Commits

Author SHA1 Message Date
Roger Clark e165d27711 Merge branch 'master' into bubulindo-master 2016-09-27 15:00:21 +10: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 9147a461e7 Merge branch 'master' of https://github.com/bubulindo/Arduino_STM32 into bubulindo-master 2016-09-26 10:42:42 +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
Bubulindo 0b34af3b6a Minor bug fixes now that I have a ZET6
While using a different board, I realized that I did not configure the
ADC on all variants and there is a minor bug on the irq_num for
advanced 103 devices.
2016-09-25 13:14:12 +01:00
Bubulindo 5c13d8b0d4 Addition of a better way to deal with the Onboard ADC.
This modification adds support for a STM32ADC library. There are a
couple of examples on how to use it. The library allows usage of the
ADC with DMA in circular mode or scan mode, it allows the ADC to be
used in scan mode. And also to use the EOC interrupt.
More functionality needs to be added and will be in time.

Eventually the util files will be moved into the adc files in the core.
2016-09-23 16:35:18 +01: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
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
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
Roger Clark e69f84a88a Attempt to remove TFT_ILI9163C submodule 2016-05-05 21:26:44 +10:00
Roger Clark c4d665155a Attempt to remove Ether_STM submodule 2016-05-05 21:25:29 +10:00
Roger Clark cc10dca088 Added missing cpu speed menu for GD32 2016-05-05 17:46:37 +10:00
Roger Clark c0719c3a1d Added experimental support for generic GD32F103C inside the STM32 tree 2016-05-05 17:36:16 +10:00
Roger Clark ec0ec18c9d Changed stm32f1 boards.txt to include vid and pid value for maple serial, so that the 'Get Board Info' feature shows all stm32duino bootloader boards as Maple mini. (note this is not ideal, but as we don't allocate different ID's to each board variant, we will have to live with this feature in the IDE reporting all boards as Maple mini,- at least for the time being) 2016-05-05 12:11:40 +10:00
Roger Clark f1a394e4bc Merge branch '54-always_inline' of https://github.com/RickKimball/Arduino_STM32 into development 2016-05-05 11:28:59 +10:00
Rick Kimball f9aa37ed01 fix compiler warnings related to __always_inline 2016-05-03 13:04:54 -04:00
Roger Clark e9e9048a31 Added new file WCharacter.h, and updated String files to add missing Arduino API functionality 2016-05-03 21:01:09 +10:00