Re: STM32F103x port

Kalowsky, Daniel <daniel.kalowsky@...>

Hey Maciek,

-----Original Message-----
From: Maciek Borzecki [mailto:maciek.borzecki(a)]
Sent: Wednesday, March 9, 2016 6:48 AM
To: Nashif, Anas <anas.nashif(a)>
Cc: Kalowsky, Daniel <daniel.kalowsky(a)>; Walsh, Benjamin (Wind
River) <benjamin.walsh(a)>; Brandewie, Dirk J
<dirk.j.brandewie(a)>; devel(a);
Subject: Re: [devel] Re: Re: Re: Re: STM32F103x port


I've pushed another set of updates. Hopefully I have not missed any
comments that were added to the previous versions.

I took the liberty of rebasing Daniel's patch on top of current
master, and so rebasing all of my patches on top of this one.
Yeah I saw that this morning and was a little confused until I saw what was going on.

There are 2 major changes since the previous version.

One is extending of pinmux integration for STM32F1. That includes
structures that define alternate functions for IO pins plus some
helpers for selecting pin's function in a more convenient fashion.

The second change is adding UART_1 and UART_2 ports that map to USART2
and USART3 respectively.

Hopefully it'll be possible to merge at least some of these patches to

Updated Changes: st_stm32/stm32f1: introduce
STM32F1x SoC family
Depending upon others input, I think this is ready to go. clock_control/stm32f10x:
introduce new driver for STM32F10x RCC
I'm still toying with the idea that this could be made more generic to work for all STM32 boards. Looking for general mailing list input on this.

Would it be better to accept what Maciek has right now that works on STM32F1 and then submit a follow up patch to make it generic for all STM32 MCUs? Or should we focus on getting a generic interface for all STM32 on the first pass? soc/stm32f1: add GPIO
registers mapping pinmux/stm32: add common
driver for STM32 pinmux
I was mid-review of this yesterday... so I haven't gotten to the lower group yet. serial/stm32: add new driver
for STM32 UART gpio/stm32: add common driver
for STM32 GPIO boards/stm32_mini_a15: add
new board samples/drivers/disco: add
'disco' sample program arch: arm: move nmi to common
location clock_control/Kconfig: move
quark_se entries to separate file clock_control: extend API
with clock rate query operation soc/stm32f1/gpio: implement
GPIO support soc/stm32f1/pinmux: implement
STM32 pinmux integration boards/nucleo_f103rb: add new

Maciek Borzecki

Join to automatically receive all group messages.