Commit Graph

569 Commits

Author SHA1 Message Date
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
Roger Clark 76157ad751 Updated 'category' in library.properties files, to shop the IDE complaining that this key is missing 2016-05-03 20:44:18 +10:00
Roger Clark 0909f4c20d Changed defines for MOSI, MISO etc into const static vars, to address compatibility issues 2016-05-03 20:23:51 +10:00
Roger Clark be6e7f0734 Fixed broken URL to leaflabs docs 2016-05-02 12:46:18 +10:00
Roger Clark 2bd7f45a8f Merge pull request #175 from WereCatf/patch-1
Bugfix Adafruit_ILI9341_STM
2016-04-29 15:41:56 +10:00
WereCatf a1498ee778 Update Adafruit_ILI9341_STM.cpp 2016-04-23 06:05:38 +03:00
WereCatf 29a5400188 Bugfix Adafruit_ILI9341_STM
readcommand8() toggles _sclk, but when using hwSPI it's set to 0, ie. it's toggling GPIO0, which it obviously shouldn't be doing. Also, when SPI-transactions had been enabled the SPI-bus speed was set to only 8MHz -- now we set it to 36MHz on STM32F1.
2016-04-22 20:36:38 +03:00
Roger Clark 8c1e061efc Apply fix, provided by @Slammer, for issue with USB Serial on GCC 4.9 2016-04-19 19:42:07 +10:00
Roger Clark 9695c368e0 Merge pull request #118 from mwm/master
Fix file open to actually turn on inbound parity checking.
2016-04-17 20:51:59 +10:00
Roger Clark 7b36397b8a Merge pull request #174 from WereCatf/master
Install udev-rules for ST-link
2016-04-17 20:50:38 +10:00
WereCatf 9bf2af2dfc Install udev-rules for ST-link 2016-04-17 09:34:46 +03:00
Roger Clark 4f2a6028f0 Merge pull request #168 from ddrown/source_master
Fix maximum flash size is on the Discovery F407
2016-03-08 09:07:50 +11:00
Dan Drown 6e06e42c7e max flash size is incorrect for the discovery F407
ref: http://stm32duino.com/viewtopic.php?f=39&t=537&start=30
2016-03-07 09:22:52 -06:00
Roger Clark f7c80bd73b Merge pull request #166 from martinayotte/master
Add toString() helper to IPAddress class (as already implemented on the F4)
2016-03-01 16:27:01 +11:00
Roger Clark e69af74e96 Merge branch 'geekylou-master' 2016-03-01 16:25:59 +11:00