Re: [users] Re: Re: Re: Re: Re: STM32F103x port

Nashif, Anas

On 9 Mar 2016, at 09:48, Maciek Borzecki <maciek.borzecki(a)> wrote:


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.

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
Maybe I was misunderstood in my email about the structure. I was suggesting to move the SoCs directly under soc/ and ski[ the st_stm32 level. If we are to do things the same way across architecture we would need to group all quarks under intel_quark.

Also, the st_ prefix is probably being used because we have ti_ and fsl_ for some of the existing SOCs. Maybe it is the right time now to drop the vendor part completely. (unrelated to this change, but we need to fix this with existing SOCs under arch/arm)

As more SOCs and boards are being added it is important to keep things consistent. The current structure allows adding a new SOC or board by just adding the files and structure and without changing any other files, we should keep it this way.

Anas clock_control/stm32f10x:
introduce new driver for STM32F10x RCC soc/stm32f1: add GPIO
registers mapping pinmux/stm32: add common
driver for STM32 pinmux 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


Join to automatically receive all group messages.