Search found 14 matches

by dackley
Tue Oct 31, 2017 12:32 am
Forum: STM core: Bugs and enhancements
Topic: Arduino board preprocessor #defines for STM32Fxx boards
Replies: 3
Views: 139

Re: Arduino board preprocessor #defines for STM32Fxx boards

Thank you very much stevestrong for pointing out the platform.txt and boards.txt files that contain the Arduino board preprocessor #defines. This is exactly the information I was looking for. There are so many files in the Arduino IDE I never would have found these file without your help. So I reall...
by dackley
Fri Oct 27, 2017 7:39 pm
Forum: STM core: Bugs and enhancements
Topic: Arduino board preprocessor #defines for STM32Fxx boards
Replies: 3
Views: 139

Arduino board preprocessor #defines for STM32Fxx boards

I appears that Arduino type boards have predefined preprocessor #defines for allowing conditionally compiling Arduino board specific code. Example: when compiling code for an AVR ATmega168 board, one can conditionally compile code by using: #if defined(__AVR_ATmega168__) ... #endif preprocessor stat...
by dackley
Wed Sep 20, 2017 7:15 pm
Forum: STM core: Bugs and enhancements
Topic: Suggest having BluePill pins defined for all Arduino pins
Replies: 5
Views: 172

Suggest having BluePill pins defined for all Arduino pins

Hello It would be nice if in some future STM Core release, all of the standard Arduino pins had a corresponding Pill STM32F103C8 pin. Note, there is a Nucleo pin assigned/defined for each and every standard Arduino pin (see the attached spreadsheet). But for the Blue Pill STM32F103C8 three of the st...
by dackley
Mon Sep 18, 2017 8:35 am
Forum: STM Core
Topic: Trouble getting started driving I2C LCD with BluePill
Replies: 1
Views: 132

Trouble getting started driving I2C LCD with BluePill

Hello. I'm new to using the STM32F103C8 BluePill with the Arduino IDE. I've installed the STM32F1xx Cores by ST-Microelectronics version 2017.1.20 and STM32 Cores by ST-Microelectronics version 2017.8.31. I've gotten the bootloader and several sketches plus some bare metal peripherals running on the...
by dackley
Fri Sep 15, 2017 4:28 pm
Forum: STM core: Bugs and enhancements
Topic: [Wont Fix]Wrong Nucleo-F103RB frequency under STM32F1xx Cores
Replies: 4
Views: 114

Re: Wrong Nucleo-F103RB frequency under STM32F1xx Cores

OK. That's fine.
When do you think the BluePill and MapleMini will be supported by the Arduino_Core_STM32/"STM32 Cores by STM-Microelectronics" package?

Thanks
Dave
by dackley
Fri Sep 15, 2017 1:27 pm
Forum: STM core: Bugs and enhancements
Topic: [Wont Fix]Wrong Nucleo-F103RB frequency under STM32F1xx Cores
Replies: 4
Views: 114

[Wont Fix]Wrong Nucleo-F103RB frequency under STM32F1xx Cores

The Nucleo-F103RB is supported under both "STM32F1xx Cores by STM-Microelectronics" and "STM32 Cores by STM-Microelectronics". The "STM32 Cores by STM-Microelectronics" version correctly sets the Nucleo-F103RB's frequency to 72MHz. The "STM32F1xx Cores by STM-Microelectronics" version incorrectly se...
by dackley
Mon Sep 04, 2017 1:28 am
Forum: STM core: Bugs and enhancements
Topic: [SOLVED]HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE
Replies: 10
Views: 315

Re: HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE

Yes Arduino cores use one of it's timers for millis() and delay() while the STM32 cores have a dedicated SysTick timer for generating 1 msec interrupts. There are a number of HAL routines that support using this SysTick timer for managing scheduling tasks and one of them is the HAL_SYSTICK_Callback(...
by dackley
Sun Sep 03, 2017 10:47 pm
Forum: STM core: Bugs and enhancements
Topic: [SOLVED]HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE
Replies: 10
Views: 315

[SOLVED]HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE

The HAL_SYSTICK_Callback works on Nucleo-F103RB using STM32CubeMX/TrueSTUDIO, but not when using Arduino IDE with STM32Cores by ST-Microelectronics version 2017.8.31. The attached Arduino Sketch compiles without generating any error message, but the oneSecCount variable never gets decremented as sho...
by dackley
Tue Aug 08, 2017 2:50 pm
Forum: USB bootloader
Topic: [SOLVED] Problems with the bootloader
Replies: 27
Views: 1812

Re: Blue pill's Bootloader - what's goin' on .. ???

I'm very sorry Roger and everyone else. My mistake. I discovered that my problem was that I didn't have the Maple DFU driver properly installed. Once I installed/reinstalled the driver the Blue Pill bootloader works just fine. I'm not sure why it worked before unless one of the Windows 10 updates ca...