stevstrong
59b71f1370
improved block read routine
2017-05-09 17:00:27 +02:00
stevstrong
e37d7eac48
removed unused const array
2017-05-09 14:37:47 +02:00
stevstrong
467c450449
revert removing SPI declaration (needed by SdFat lib) + remove unused lines
2017-05-09 14:35:13 +02:00
stevstrong
28fa836f4f
PIN_MAP moved to flash
2017-05-07 15:09:15 +02:00
syfre
c8df44228c
Add, SMT32ADC example, Single channel at fixed sample rate (timer) using circular buffer (DMA)
2017-05-07 11:41:58 +02:00
syfre
d240a7efa7
Fix, compile error in enable_internal_reading()
2017-05-06 23:04:11 +02:00
syfre
50e4d84db4
Add, setMasterModeTrGo to configure the TrGo mode
...
Use to trigger the ADC on TIMx_TRGO
2017-05-06 23:03:47 +02:00
syfre
30d1bf4900
Fix, add ADC_CR2_EXTTRIG to adc_set_extsel() to enable the external trigger mode
2017-05-06 23:02:54 +02:00
stevstrong
483bbe17d3
corrected OTYPER register setting
2017-05-04 17:18:11 +02:00
stevstrong
9dbcefdec3
bugfix to include external libraries: reworked include paths + moved Arduino.h + updated SPI lib
2017-05-03 18:27:39 +02:00
lacklustrlabs
1d29d13967
The ssd1306_128x64_i2c_STM32 example would not build because of a missing swap() macro.
2017-04-27 18:22:18 +02:00
stevstrong
83c834091c
reworked gpio pin handling functions
2017-04-26 23:19:20 +02:00
Oleksandr Masliuchenko
0590f27afa
Compiler warning fixed
2017-04-22 16:27:30 +03:00
SukkoPera
81b1b08b95
Fix return type
2017-04-18 23:25:36 +02:00
Giorgioggì
38525521fd
Update usb_serial.cpp
2017-04-18 12:44:10 +02:00
Giorgioggì
0be991b434
Update usb_serial.h
2017-04-18 12:43:01 +02:00
Giorgioggì
cbfb87222f
Fix indentation
2017-04-18 12:24:06 +02:00
stevstrong
5c9dc5ebfc
renamed target from "black" to generic f407v + removed unused files
2017-04-15 12:35:06 +02:00
stevstrong
065f58684d
added black F4 variant files + activated USB interface
2017-04-14 19:26:18 +02:00
stevstrong
3d775ac3c5
added variant black_f4 + cleanup old F1 anf F2 definitions
2017-04-14 00:04:32 +02:00
stevstrong
e49f7faeef
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into Black_F4_variant
2017-04-13 22:57:52 +02:00
stevstrong
ff53626018
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2017-04-13 22:54:12 +02:00
stevstrong
83e5f48322
remove "deprecated" flag from dma_setup_transfer
...
remove deprecated flag
2017-04-13 22:34:37 +02:00
victorpv
e7abad654e
Timer DMA functions.
...
Adding 2 functions to enable and disable Timer peripheral DMA requests
on update event.
2017-03-26 14:33:48 -05:00
victorpv
ea81f36fa5
FreeRTOS900
2017-03-25 08:31:44 -05:00
victorpv
18a3dd1118
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2017-03-25 08:28:35 -05: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
victorpv
77e3575c9b
Merge pull request #10 from rogerclarkmelbourne/master
...
Resync with Roger's
2017-02-05 07:51:32 -06: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
stevstrong
38ea7287ca
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-12-27 11:42:34 +01:00
stevstrong
fb823b6929
remove unused code & bugfixes
...
- setDataSize shall first disable the SPI before writing new value
- dmaTransfer adapted for TFT library usage
2016-12-26 15:26:51 +01:00
stevstrong
22fad7582d
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-12-26 15:13:43 +01: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
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
Testato
99ba590bd4
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
2016-12-17 12:38:20 +01:00
Testato
6030e13258
Update boards.txt
...
PR for issue https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/200
2016-12-17 12:29:42 +01:00
Roger Clark
71a198a1d0
Fix problems with tone functions
2016-12-12 17:57:50 +11:00
stevstrong
e7456e1916
further optimizations
...
- extend read function to 16bit
- add repeated write the same byte/word a specified number of time
- revert increment option to dmaSend
2016-12-10 22:36:21 +01: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