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
920b57a4a9
Merge pull request #272 from grafalex82/patch_2
...
Compiler warning fixed in gpio_get_mode
2017-05-29 10:43:42 +10: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
f2c2323afd
Changed board variants to use calculate value from F_CPU for CYCLES_PER_MICROSECOND
2017-05-26 16:22:16 +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
7de415531e
Merge pull request #249 from noisymime/master
...
Add EEPROM.update() function
2017-05-25 20:32:24 +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
Roger Clark
ccddc1f354
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2017-05-25 20:07:48 +10:00
Roger Clark
437834a91f
Added code by @danieleff to delay leaving the maple_upload script (in all platforms) until the Serial device has reconnected - this helps resolve the problem of needing to close the Arduino Serial Monitor prior to upload
2017-05-25 20:06:37 +10:00
Roger Clark
8c433e3c71
Merge pull request #287 from edogaldo/Fix-HardwareSerial.flush()
...
Make HardwareSerial.flush() compatible with Arduino 1.0 api
2017-05-25 18:26:01 +10:00
Roger Clark
c3d9d1bc1e
Added define for LED_BUILTIN to Maple mini and generic STM32F103C (on PC13 to suit the BluePill)
2017-05-25 18:16:47 +10:00
Roger Clark
c6fe342d0f
Add prototype for systick_attach_callback (thanks to @ag123)
2017-05-25 17:59:48 +10:00
stevstrong
8574d238e8
added FSMC + SPI brought in line with F1
2017-05-22 17:36:50 +02:00
edogaldo
3d5c54e344
Make HardwareSerial.flush() compatible with Arduino 1.0 api
2017-05-16 00:00:59 +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
stevstrong
ff0244affc
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into generic_f4
2017-05-11 00:35:17 +02:00
Oleksandr Masliuchenko
0590f27afa
Compiler warning fixed
2017-04-22 16:27:30 +03:00
Roger Clark
e3753df280
Merge pull request #259 from florisla/fix-f103t-compilation
...
Fix F103T compilation error: remove const from adc_default_config
2017-03-23 18:13:16 +11:00
Floris Lambrechts
9b759c87f8
Fix F103T compilation error: remove const
...
Method adc_default_config still had the adc_dev* 'const' for F103T, but this doesn't compile.
For other boards, the 'const' was removed already. See for example commits 0b34af3b6a
and
2cdbbc8339
.
Tested on Arduino IDE 1.6.13.
Compilation error message was along these lines:
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:183:34: error: invalid conversion from 'const adc_dev*' to 'adc_dev*' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:306:13: error: initializing argument 1 of 'void adc_enable_single_swstart(adc_dev*)' [-fpermissive]
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:184:53: error: invalid conversion from 'const adc_dev*' to 'adc_dev*' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:268:6: error: initializing argument 1 of 'void adc_set_sample_rate(adc_dev*, adc_smp_rate)' [-fpermissive]
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp: In function 'void setup_adcs()':
STM32F1\variants\generic_stm32f103t\wirish\boards.cpp:189:35: error: invalid conversion from 'void (*)(const adc_dev*)' to 'void (*)(adc_dev*)' [-fpermissive]
STM32F1\system/libmaple/include/libmaple/adc.h:282:13: error: initializing argument 1 of 'void adc_foreach(void (*)(adc_dev*))' [-fpermissive]
2017-03-22 13:55:27 +01:00
Roger Clark
a8d1c1d1b6
Disabled SWD pins for all boards when using DFU (bootloader) upload method
2017-02-26 13:26:24 +11:00
Josh Stewart
7c320774b1
Add EEPROM.update() function
2017-02-08 15:17:58 +11:00
Roger Clark
abdf42d0cb
Merge pull request #244 from RomeroMalaquias/master
...
F3 - Avoiding conditional directives that break statements
2017-01-16 18:20:59 +11:00
Romero B. de S. Malaquias
8cfa60ff84
Avoiding conditional directives that break statements
2017-01-16 03:55:16 -02:00
Roger Clark
c2f4aa8566
Fixed tone() so it works is F_CPU is not 72Mhz
2017-01-09 21:17:28 +11:00
Roger Clark
7dcbbc85b0
Fix bug USB divider for 48Mhz operation. Also added support for 48Mhz to Maple mini and Generic F103C (Note. There is a bug in tone() at 48Mhz)
2017-01-09 20:27:07 +11:00
Roger Clark
7c9b1cc11a
Enable SWD pins for all upload types, on all F103 boards except Maple mini and Maple
2016-12-26 20:34:11 +11:00
Roger Clark
76dcee39a9
Removed old - mainly non functional Due related display examples
2016-12-23 09:48:43 +11:00
Roger Clark
71a198a1d0
Fix problems with tone functions
2016-12-12 17:57:50 +11:00
Roger Clark
dd453357b3
Added shiftIn to F1 and F4
2016-12-08 20:00:20 +11:00
Roger Clark
3759f2e6ae
Changed Arduino IDE version info to bring up to date
2016-12-07 19:55:44 +11:00
Roger Clark
e71d176618
Fixed issue with tone for high density devices
2016-12-02 21:33:01 +11:00
Roger Clark
2e54594f46
Added #define LED_BUILTIN to Maple mini and generic_STM32F103C
2016-12-02 21:24:13 +11:00
Roger Clark
ed82be4c6e
Updated Linux 45-maple.rules
...
See http://stm32duino.com/viewtopic.php?f=16&t=1103&start=40#p20732
2016-12-02 10:32:17 +11:00
Roger Clark
378cd2a6af
Fixed #231
2016-11-30 17:27:21 +11:00
Roger Clark
9237d3afc8
Add new.cpp from Arduino SAMD to resolve issue with new operator pulling in loads of library functions and taking loads of flash
2016-11-30 10:14:27 +11:00
Roger Clark
a1f154bc37
Added newer dfu-util for F4 DFU testing
2016-11-30 09:45:16 +11:00
Roger Clark
20fa7b4f30
Fixed issue with tone not compiling
2016-11-29 15:52:16 +11:00
Roger Clark
71a1121c9f
Fixed issue with tone files not actually being added to the repo in a previous commit
2016-11-29 15:18:16 +11:00
Roger Clark
794d078de0
fixed problem in last 2 commits with windows bat for STM32 com
2016-11-29 15:17:01 +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
Roger Clark
69413ee56e
Update InternalTempSensor.ino
...
Fixed issue caused by https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/132/files
2016-11-27 10:10:42 +11:00
Roger Clark
e0e5872c60
Merge pull request #227 from Phisatho/master
...
Add Variant for STM32VLDiscovery Board
2016-11-18 09:56:31 +11:00
Phisatho
6266342b1d
Update boards.txt
2016-11-18 02:33:59 +04:00