2015-06-19 07:05 PM
I have a STM32F103c8 device and am trying to use STM32F1Cube with it.
But if I use the-DSTM32F103x8=1
define on my gcc command-line, I get the following error:
Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)
Looking in the headers for the latest STM32F1Cube (v1.0.0), I do not find the STM32F103x8; though I do find the STM32F103x6 and STM32F103xB-What device type am I supposed to define ? #stm32f103x8-define-commandline2015-06-20 11:38 AM
Try 103xB (128KB flash), and don't load a program greater than your 64KB flash.
Cheers, Hal