Re: STM32F103x port
Maciek Borzecki <maciek.borzecki@...>
On Wed, Mar 2, 2016 at 2:49 AM, Kalowsky, Daniel
<daniel.kalowsky(a)intel.com> wrote: Single 'x' as in 'everything that comes after the i-1 character' :)-----Original Message-----Only one x? I'll admit to being relatively new to the STM32 family so it's not clear to me if 10x and 1xx will make any difference. Same goes for other STM32F models. I'm not sure the sub-directories are needed yet. Still digesting this one. As for the models, I'm not aware of any non STF32F10x MCUs, however all of these are collectively referred to as STM32F1 series/family. The core is different between F[0-4] families, F1 are all Cortex-M3, F0 are Cortex-M0[+], F3/4 are Cortex-M4. Within a family, the MCUs differ wrt. to clock and peripherals present. Then within a subfamily (?), ex. STM32F103xx, the MCUs differ again, for instance there's no DAC in STM32F103xB, but there are 2 DACs in STM32F103x[CDEFG]. Again, the xB line only has 3 UARTs, while other variants have 5 ports. The last letter indicates the amount of flash and SRAM (dubbed as high- low- medium- density int the specs). The one but last letter, ex. STM32F103VE - V indicates the pin count. This will influence pin remapping and in the case of packages with very few pins, it will indicate that certain peripherals may have been left out. A quite elaborate part number coding scheme. That's why I included per family subdirectories and Kconfig.soc.<mcumodel> in my proposal. Cheers,MakefileHaving done some minor toying around with Kconfig today, I decided to use Kconfig.soc to just declare the generic STM32 family. From there, the Kconfig is used to better tune to which family type, but that most likely isn't enough granularity. Looks like you and I had done some similar work, as I just uploaded my minor tinkering from today. -- Maciek Borzecki |
|