And FYI, not exactly related to this topic but correlated:

Console will always be at ttyS0, even if the UART peripheral is not 0.


Em qua., 28 de abr. de 2021 às 18:19, Gregory Nutt <spudan...@gmail.com>
escreveu:

>
> > I am sorting out flexcom support for the SAMA5D2 as there are issues
> with the arch files as well as Kconfig. In doing so, I would like to do it
> “right”.
> >
> >
> >
> > If flexcoms are assigned as USARTs is the correct philosophy to register
> them sequentially or as per flexcom port number? For example, if (only)
> flexcoms 2 and 3 are configured as USARTs should they be ttyFC0 and ttyFC1,
> or ttyFC2 and ttyFC3?
> For consistency, they should be ttyFC0 and ttyFC1.  The PX4 team likes
> the other numbering and introduced
> CONFIG_STM32_SERIAL_DISABLE_REORDERING, but I think STM32's are the only
> architectures that do that.
> > $ grep -rl REORDERING arch
> > arch/arm/src/chip/Kconfig
> > arch/arm/src/chip/stm32_serial.c
> > arch/arm/src/stm32/Kconfig
> > arch/arm/src/stm32/stm32_serial.c
> > arch/arm/src/stm32f0l0g0/Kconfig
> > arch/arm/src/stm32f0l0g0/stm32_serial_v1.c
> > arch/arm/src/stm32f0l0g0/stm32_serial_v2.c
> > arch/arm/src/stm32f7/Kconfig
> > arch/arm/src/stm32f7/stm32_serial.c
> > arch/arm/src/stm32h7/Kconfig
> > arch/arm/src/stm32h7/stm32_serial.c
> > arch/arm/src/stm32l4/Kconfig
> > arch/arm/src/stm32l4/stm32l4_serial.c
> > arch/arm/src/stm32l5/Kconfig
> > arch/arm/src/stm32l5/stm32l5_serial.c
> >
>
>

Reply via email to