Commit Graph

92 Commits

Author SHA1 Message Date
victorpv a9767e4c53 Adding new.cpp as in F1 core.
This is to avoid libstdc++ being pulled in when new() is used.
Already included in the F1 in 2016.
Discussed on this thread:
http://www.stm32duino.com/viewtopic.php?f=39&t=2460&p=33163
2017-08-18 17:33:00 -05:00
Cristi Marius Tiutiu c0f655f90f added menu optimizations support for F3/F4 boards 2017-07-31 11:42:28 +03:00
Roger Clark a683dfccca revert changes to STM32F3/platform.txt and STM32F4/platform.txt as they should not have been changed in the previous commit 2017-07-30 16:16:24 +10:00
Roger Clark 0aae3d31f1 Changed order of optimisation options, so that current settings (-Os) are the default, and reverted F4 and F3 boards.txt to current master to remove these changes from those boards, as they will need to be updated in the same way I did for the F1, and I don't have time to do it now 2017-07-30 16:07:30 +10:00
Roger Clark 0696f70148 Merge branch 'mtiutiu/compiler_opts_menus' of https://github.com/mtiutiu/Arduino_STM32 into mtiutiu-mtiutiu/compiler_opts_menus 2017-07-30 10:26:52 +10:00
stevstrong b29fed855b reworked RTC - no need for extra time library
http://www.stm32duino.com/viewtopic.php?f=39&t=775&p=31218#p31218
2017-07-19 19:11:44 +02:00
Cristi Marius Tiutiu 4f3c4da648 added missing menu opts for F3/F4 boards 2017-07-17 10:45:37 +03:00
Cristi Marius Tiutiu 4bfb444447 added teensy like ide compiler opts menus 2017-07-17 10:35:23 +03:00
stevstrong 6f2effadac update SdioF4.cpp - fix for CL4 cards 2017-07-06 00:29:45 +02:00
stevstrong 7b53254e29 fix maximum data size for netduino2plus 2017-07-04 20:04:58 +02:00
stevstrong 597f77ac1d replace all backslaches by slashes in include paths 2017-07-04 19:28:50 +02:00
stevstrong 9b30346bfa default activated SPI class - needed by external libs 2017-07-04 19:13:20 +02:00
stevstrong 4467592149 adapt flash and RAM maximum sizes for Arduino 2017-07-04 19:11:48 +02:00
Roger Clark 8096bb6d0a Merge pull request #238 from Testato/patch-3
Updated size definitions in F4 boards.txt
2017-07-04 08:38:40 +10:00
stevstrong 1c1c90ebe3 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
# Conflicts:
#	STM32F1/libraries/SPI/src/SPI.cpp
#	STM32F4/cores/maple/libmaple/HardwareSerial.cpp
#	STM32F4/cores/maple/libmaple/adc.h
#	STM32F4/cores/maple/libmaple/dmaF4.c
#	STM32F4/cores/maple/libmaple/dmaF4.h
#	STM32F4/cores/maple/libmaple/gpio.c
#	STM32F4/cores/maple/libmaple/gpio.h
#	STM32F4/cores/maple/libmaple/rcc.c
#	STM32F4/cores/maple/wirish_digital.cpp
#	STM32F4/cores/maple/wirish_time.h
#	STM32F4/libraries/SPI/src/SPI.cpp
#	STM32F4/platform.txt
#	STM32F4/system/libmaple/Arduino.h
#	STM32F4/variants/generic_f407v/generic_f407v.h
#	STM32F4/variants/generic_f407v/ld/common.inc
#	STM32F4/variants/generic_f407v/ld/jtag.ld
#	STM32F4/variants/generic_f407v/pin_map.c
#	STM32F4/variants/generic_f407v/variant.h
#	STM32F4/variants/generic_f407v/wirish/start.S
2017-07-03 20:09:45 +02:00
stevstrong f744048583 include backslashes replaced by slashes 2017-07-02 15:02:55 +02:00
stevstrong f6dea1e50e added CCMRAM definitions 2017-06-20 21:03:18 +02:00
stevstrong d872cb1963 avoid multiple USB serial begin (taken from F1) 2017-06-20 18:50:23 +02:00
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 70aa720e34 corrected RESERVED size in fsmc_nor_psram_reg_map 2017-05-22 17:53:17 +02:00
stevstrong 8574d238e8 added FSMC + SPI brought in line with F1 2017-05-22 17:36:50 +02:00
stevstrong f7a444b9ef implemented FSMC for driving an LCD on 16 bit parallel data bus 2017-05-21 11:01:22 +02:00
stevstrong a84b8b209a cosmetics 2017-05-19 17:26:16 +02:00
stevstrong c294b0d0dc SPI DMA cleanup 2017-05-19 17:25:51 +02:00
stevstrong 04cf037a1d digital IO write optimizations for 16bit parallel display types
- digitalWrite value increased to 16 bit width
- added IO device bit access functions
- removed PWM enable/disable from pinMode()
2017-05-19 17:24:26 +02:00
stevstrong b8afde026a increase digitalWrite() value parameter width to 16 bit
- this useful for the 16 bit parallel TFT lib
2017-05-14 16:31:11 +02:00
stevstrong fbd6927d56 resolve Invalid library version number 2017-05-14 16:27:43 +02:00
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