Commit Graph

65 Commits

Author SHA1 Message Date
stevstrong b7fb21aa0c make USB serial Tx blocking (bugfix for lost TX characters) 2017-06-20 18:33:00 +02:00
stevstrong 4aa44ee0e0 added SDIO lib files 2017-06-18 18:40:40 +02:00
stevstrong f58a96e0f6 implemented SDIO
+ small changes in DMA - reworked get and clear ISR bits
+ wirish_time compatible with "C"
2017-06-18 17:27:02 +02:00
stevstrong 6dde3d39b4 added serial bool operator for "if(!Serial)" 2017-06-02 20:26:55 +02:00
stevstrong 220aa0e20f Merge branch 'master' into generic_f4 2017-06-02 20:11:45 +02:00
stevstrong 642495bec9 corrected typo for BOARD_SDIO_CLK (generic F4) 2017-06-02 19:37:36 +02:00
stevstrong cbd20e9384 corrected digitalPinToBitMask(P) for disco F4, too 2017-06-02 19:35:32 +02:00
stevstrong 1c097cc8c3 added pin modes: GPIO_AF_OUTPUT_PP_PU (for SDIO)
and GPIO_AF_INPUT_PU/PD
2017-06-02 19:32:34 +02:00
stevstrong 9e4b05289c corrected digitalPinToBitMask(P) 2017-06-02 19:28:50 +02:00
Roger Clark b19fc38e5e Applied change to fix issue in itoa.c and itoa.h with newer versions of GCC (using the changes from STM's fix, in Arduino_Core_STM32) 2017-05-26 17:00:47 +10:00
Roger Clark 66579ef8ef Added -std=gnu++11 and -std=gnu11 compile flags to F1 and F4 platform.txt compile recipes 2017-05-26 16:03:49 +10:00
Roger Clark d3058d39f0 Fixed F4 ADC typo as noted by @stevstrong in reply to issue #265 2017-05-25 20:29:01 +10:00
stevstrong 8574d238e8 added FSMC + SPI brought in line with F1 2017-05-22 17:36:50 +02:00
stevstrong 220247c115 bugfix: other variants than generic did not work 2017-05-12 20:51:12 +02:00
stevstrong 679217dfaf F4 development
- added generic F4 variant
- removed F1 and F2 files/defines
- resolved include headers - now libraries are detected within sketches
- reworked + added new GPIO access functions
- moved and size-optimized PIN_MAP in flash
- SPI improvements: optimized block read + added DMA
2017-05-11 00:57:08 +02:00
Roger Clark dd453357b3 Added shiftIn to F1 and F4 2016-12-08 20:00:20 +11:00
Roger Clark 378cd2a6af Fixed #231 2016-11-30 17:27:21 +11:00
Roger Clark dbcba3e012 STM32F4 fixed issue with stlink uploads, and added windows driver bat for STM Virtual com ports 2016-11-28 19:47:43 +11:00
Roger Clark a6999719d7 STM32F4 add Export compile binary option 2016-11-28 17:57:42 +11:00
xymopen 1d321b6b70 merge minor API changes of IPAddress, Print, Stream and WString from official Arduion core source. LookaheadMode is still under evaluation. 2016-10-22 03:57:13 +08: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
Ö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
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
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 013d8e6183 Add missing definitions for MISO etc to F4 core 2016-05-06 10:14:45 +10: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
Martin Ayotte 49fa96c417 add a timeout exit loop when Enc28J60Network never ready 2015-12-16 16:18:36 -05:00
Martin Ayotte 9e429939a8 fix flags and path in F4/platform.txt 2015-12-16 16:17:50 -05:00
Martin Ayotte 8da4a37f80 fix jtag.ld F4 memory size which were bad copy from F1 2015-12-16 16:17:01 -05:00
Martin Ayotte c9ad62fa88 put back original bkp.* files (not symlink) 2015-12-10 12:39:51 -05:00
Martin Ayotte 50ebcc83f5 remove bad bkp.* symlink 2015-12-10 12:38:56 -05:00
Martin Ayotte e1b85b7774 fix LeafLab code for spi_config_gpios() which can't tolerate different GPIOs port for SPI pins 2015-12-09 15:30:58 -05:00
Martin Ayotte 01237a0934 add BKP and RCC changes needed for previous RTClock commit for F4 2015-12-09 15:26:27 -05:00
Martin Ayotte a21d199cbc fix bug related to missing 7 days because of 7 leap years missing between 1970 and 2000 2015-12-04 11:12:53 -05:00
Martin Ayotte 1268e342cb optimized reading the clock by reading rgister ounce + fix potential issue when tm_wday corrupted 2015-12-03 19:08:05 -05:00
Martin Ayotte 7540f37969 make PeriodicWakeup and AlarmA/AlarmB working 2015-12-03 17:36:02 -05:00
Martin Ayotte ef98377230 initial push of RTClock for STM32F4 2015-12-02 21:29:38 -05:00
Roger Clark 66456b5572 Changed platform.txt back to using 1.6.5 compatible archive path, as the change I made to support 1.6.6 does not work with 1.6.5 as it appears this var is not backward compatible 2015-11-09 06:54:49 +11:00
Roger Clark abd500e3ef Changed platform.txt to fix issue with changes in IDE 1.6.6 to build archive path 2015-11-07 23:23:27 +11:00
Roger Clark bc52bb901d Removed support for IDE's prior to 1.6.3 from all cores 2015-11-07 20:43:33 +11:00
rogerclarkmelbourne 536cec8f5d Various changes to boards.txt and some libraries, so that things will compile under IDE 1.6.6 Note. There are still loads of warnings when you compile - which look like they may be caused by the IDE using a new version of GCC, but at least it now compiles 2015-10-09 17:18:38 +11:00
Martin Ayotte 7d7ad4f557 fix BOARD_NR_PWM_PINS according to addition of GPIOF/GPIOG pins on F429 2015-09-08 11:56:42 -04:00
Martin Ayotte 5bd01b44bc add GPIOF/GPIOG pins to allow F429 using them 2015-09-08 11:39:01 -04:00
Martin Ayotte 4909e1f465 change IPAddress::toCharArray() into IPAddress::toString() 2015-09-04 09:54:41 -04:00
Martin Ayotte c70df495a4 fix bug about DhcpClass instantiation to save 40K by avoiding link with GCC 'new' memory allocation code 2015-08-20 21:39:54 -04:00