Search found 1601 matches

by stevestrong
Mon Oct 16, 2017 7:35 am
Forum: STM32F4 Boards
Topic: Couldn't find the DFU device: [1EAF:0003]
Replies: 1
Views: 32

Re: Couldn't find the DFU device: [1EAF:0003]

It is a good practice to search the forum before you post something.
Maybe this will help you out: viewtopic.php?f=39&t=2663
by stevestrong
Sun Oct 15, 2017 4:10 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 102
Views: 3702

Re: [libmaple] Black F407VET6

Oh well, I see your point, there are many places which use ADC as a pointer and not as the structure address.
The ideal solution would be to change the ADC module of F4 to be compatible with F1.
Till then, you can replace ADCx by (&ADCx).
by stevestrong
Sun Oct 15, 2017 3:52 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1311

Re: [libmaple] FSMC LCD 16bit

Here is a short video of my setup: http://www.stm32duino.com/viewtopic.php?f=39&t=2298#p31037 My settings? Just the basic stuff: Win 10, Arduino IDE 1.6.12, Tools->Board: Generic F407VE series, USB serial active. + my repo , and my Adafruit 16 bit lib with activated FSMC, and the Adafruit_GFX_AS lib...
by stevestrong
Sun Oct 15, 2017 8:31 am
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 102
Views: 3702

Re: [libmaple] Black F407VET6

I think for F4 you have to use: adc_set_sample_rate(&ADC1, ADC_SMPR_1_5); because ADC1 is not a pointer but the ADC1 device structure. So you have to pass its address, that is why &ADC. For F1 is different because the F1 ADC structure includes ISR handlers which are not constant. However, please not...
by stevestrong
Sat Oct 14, 2017 7:05 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1311

Re: [libmaple] FSMC LCD 16bit

Nice, thanks for letting me know.
Then I suggest to use this.

EDIT
I modified the lib to get rid of compiler warnings, find attached here.
Place it under Arduino_STM32/STM32F4/libraries.
by stevestrong
Sat Oct 14, 2017 5:53 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1311

Re: [libmaple] FSMC LCD 16bit

My local Adafruit_GFX version is dated April 2017, so it may happen that they changed something since then. Could any of you try to copy the Adafruit_GFX_AS lib from F1 to F4 lib directory? Then replace in the 16 bit lib header file #include <Adafruit_GFX.h> by #include <Adafruit_GFX_AS.h> and tell ...
by stevestrong
Sat Oct 14, 2017 5:10 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1311

Re: [libmaple] FSMC LCD 16bit

exider wrote:
Sat Oct 14, 2017 4:56 pm
Copy wiring_private.h to Adafruit-GFX-Library folder
Wait, this is not needed. For me, it works without this step.
by stevestrong
Sat Oct 14, 2017 4:53 pm
Forum: STM32F103 Boards
Topic: ebay 103c8t6 oled, nrf24, esp8266 + empty pads
Replies: 37
Views: 2621

Re: ebay 103c8t6 oled, nrf24, esp8266 + empty pads

For NRF24 lib please have a look here: viewtopic.php?f=9&t=2028
by stevestrong
Sat Oct 14, 2017 4:50 pm
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 60
Views: 1311

Re: [libmaple] FSMC LCD 16bit

exider wrote:
Sat Oct 14, 2017 4:27 pm
another typo...
just above line 157 in Adafruit_TFTLCD_16bit_STM32.cpp change FSCM to FSMC .
That was one of the two typos what I have corrected before, and committed.
Are you really sure u are using the latest lib from github?
by stevestrong
Sat Oct 14, 2017 8:32 am
Forum: IDE's
Topic: [SOLVED] Error compiling STM32duino on PlatformIO
Replies: 6
Views: 96

Re: Error compiling STM32duino on PlatformIO

The first change is replaceable by CPPPATH=[ # Manually change, add "libmaple" to cores join(FRAMEWORK_DIR, "cores", board.get("build.core")), join(FRAMEWORK_DIR, "cores", board.get("build.core"), "libmaple"), join(FRAMEWORK_DIR, "system", "libmaple"), join(FRAMEWORK_DIR, "system", "libmaple", "incl...