Commit Graph

104 Commits

Author SHA1 Message Date
stevstrong 97329efca3 push the generic_f4 branch to master 2017-05-13 10:27:33 +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
Testato 54d67d77c4 Update boards.txt
PR for issue https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/200

- replaced `upload.flash.maximum_size` and `upload.ram.maximum_size` by the new arduino standard `upload.maximum_size` and `upload.maximum_data_size`
- corrected Flash and Ram value
- Tested by builded every MCU on every Variant
2016-12-17 12:41:23 +01: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
Martin Ayotte 82f15f091a convert USBSerial and HardwareSerial to derived from Stream instead of Print 2015-08-11 18:50:38 -04:00
jeremyvnc 416bda020b Added an include of stdlib.h
Needs include of stdlib.h for a compile to take place on the F4 variant.
2015-08-05 15:34:49 -04:00
Martin Ayotte fbed6fbe50 add missing/forgotten variant.h 2015-07-26 10:49:05 -04:00
Roger Clark b8d1cd472a Added missing definition for __always_inline (supplied by @martinayotte) 2015-07-22 14:04:04 +10:00
Martin Ayotte 09fbe05662 fix Debugging print when different SPI is used 2015-07-05 17:13:01 -04:00
Martin Ayotte d5dbdb685c fix HardwareSerial::begin by doing gpio_set_af_mode AF8 when devices are UART4 or UART5 2015-07-05 10:15:33 -04:00
Martin Ayotte 25e81d7cf1 fix DNS issue caused by HTON macro weirdness on 32bits + fix inet_aton() 2015-07-03 23:04:22 -04:00
Martin Ayotte cfa28a9a75 add new arduino_uip + tweak variants for Netduino2Plus ENC28J60/SPI networking 2015-07-02 13:09:38 -04:00
Martin Ayotte 129a60ad55 update for Stream/Print support under F4 2015-06-14 10:37:05 -04:00
Martin Ayotte 18b5b6eca4 integrate a copy of SPI from STM32F1 into STM32F4 2015-06-13 18:14:51 -04:00
Martin Ayotte 44bfd8ae54 fix SetupClock168() for Netduino2Plus + add STM32Stamp/Netduino2Plus boards + add dfuse_addr in upload 2015-05-28 17:20:49 -04:00
rogerclarkmelbourne a0ca5b6938 Updated F4 to add STM pin numbers and change processor to cortex-m4 instead of cortex-m3 2015-05-06 15:08:34 +10:00
Roger Clark 9e1371ac9c Added missing rewrite keys files that I should have included in the last commit :-( 2015-04-14 16:47:19 +10:00
Roger Clark bf7ac4e877 Fixed issues in F3 and F4 caused by removal of ARM compiler in 1.6.2, by additional of platform.rewrite.keys.txt and changes to platform.txt in both folders 2015-04-14 11:56:55 +10:00
Bob Cousins a5414bb548 Initial support for STM32F4 series, based on AeroQuad codebase. Board variant for STM32F4 discovery (F407VG). Runs blinky! 2014-12-28 14:29:08 +00:00