Vassilis Serasidis
2f4eaa7979
STM32F407 BKPSRAM Boundary address fix
...
Fix for the Backup RAM.
Example code:
...
#include <libmaple/bkp.h>
...
bkp_init();
bkp_enable_writes();
bkp_write(1, 0x1234); //Writes the value 0x1234 at Backup RAM address 1
bkp_disable_writes();
Serial.print(bkp_read(1)); //Print the value of the Backup RAM address 1
...
2018-06-22 19:49:05 +03:00
Roger Clark
b2858b8c27
Merge branch 'shorten_path' of https://github.com/fpistm/Arduino_STM32 into fpistm-shorten_path
2018-04-19 17:46:35 +10:00
stevstrong
84b1c8c1fe
F4: update Print.cpp
...
port from #486 .
2018-04-17 08:28:51 +02:00
Roger Clark
845508ee19
Merge branch 'aster94-master'
2018-04-01 15:03:36 +10:00
Roger Clark
2578bf00cb
Merge pull request #438 from JiriBilek/master
...
Fixing now() function in RTClock.h
2018-03-28 13:37:01 +11:00
stevstrong
3821c3ab97
F4: adds the macro "word"
...
similar to already existing solution for F1
2018-03-24 10:09:47 +01:00
Jiri Bilek
85e0c9b602
Fixing now() in RTClock.h in STMF4 library
2018-02-03 13:41:59 +01:00
Vincenzo Gibiino
632af3ec9f
stm32duino now uses __IO
2018-01-24 20:33:11 +01:00
Frederic.Pillon
ac9237248f
Replace {build.path}/{archive_file} by {archive_file_path}
...
See https://github.com/arduino/Arduino/issues/6757#issuecomment-331861565
From @facchinm:
Replacing {build.path}/{archive_file} with archive_file_path
should remove the arduino_build_xxxxxx/.. part and make the path
a bit shorter.
Issue also raised here using BP:
http://stm32duino.com/viewtopic.php?f=3&t=3070
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-01-09 09:18:36 +01:00
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