Commit Graph

104 Commits

Author SHA1 Message Date
Roger Clark 2c33a02371 Correct argument type bug in utoa (itoa.c itoa.h) See PR #271 2017-11-02 17:50:34 +11:00
Roger Clark de236867c0 Merge pull request #333 from stevstrong/patch-2
Update RTClock.cpp [F4]
2017-10-08 11:07:50 +11:00
Roger Clark c12ad246a6 Merge pull request #342 from stevstrong/patch-3
Create hooks.c [F4]
2017-10-08 11:03:29 +11:00
Roger Clark 9e539cea4f Merge branch 'SPI_const_qualifier' of https://github.com/greiman/Arduino_STM32 into greiman-SPI_const_qualifier 2017-10-08 10:58:11 +11:00
Roger Clark 347a1e3b46 Merge pull request #352 from sweetlilmre/master
Removed deprecated functionality from Print class for BYTE "base"
2017-10-08 10:56:51 +11:00
stevstrong 308b5c410f Update boards.cpp
- remove repeated call to setup serial USB
2017-10-06 18:04:56 +02:00
Peter Edwards f65e6905e9 Removed non standard functionality from Print class for BYTE "base" as this is available via e.g. Serial.write and conflicts with the FatFS library and potentially anything else defining BYTE
Fixed sketches using this behaviour
2017-09-28 12:08:59 +02:00
Bill Greiman 7fda02a821 SPI add const qualifier
Add const qualifier to SPI member function arguments for write and
transmit buffers.
2017-09-22 10:40:05 -07:00
stevstrong f84f73c4a1 Create hooks.c
similar to F1 - it was missing
2017-09-19 20:42:16 +02:00
Roger Clark b1e1782019 Fix for map() function - supplied by @Pito 2017-09-03 11:00:16 +10:00
Roger Clark 58e50e7fd9 Add partial support for a DFU bootloader for the F4 2017-09-03 10:51:08 +10:00
stevstrong e6ed2d5ccc Update RTClock.cpp
bugfix setAlarmATime - corrected day variable
2017-08-29 11:16:43 +02:00
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