nuttx/arch
Jiri Vlasak 7f5e0285a8 kinetis/pinmux: Do not redefine PIN_UART2_RTS
When a developer working on BSP wants UART1 with RTS, the following
needs to be added in the BSP's include/board.h file:

	#define PIN_UART1_RTS PIN_UART1_RTS_1

which says that PIN_UART1_RTS_1 -- the first alternative pin with UART1
RTS function -- should be used for the UART1's RTS.

There are no alternative pins for PIN_UART2_RTS, therefore a similar
definition is not used for PIN_UART2_RTS.

However, that is a complication when we want PIN_UART2_RTS to be defined
as GPIO, for example:

	#define PIN_UART2_RTS (GPIO_OUTPUT | PIN_PORTB | PIN2)

In such a case, PIN_UART2_RTS is later redefined to the only alternative
function from hardware/kinetis_???pinmux.h file.

This patch avoids the redefinition of already defined names.

We considered renaming PIN_UART2_RTS to PIN_UART2_RTS_1 in the
hardware/kinetis_???pinmux.h file, but that is breaking change. We try
to avoid breaking change.

Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
2026-03-27 09:37:06 +08:00
..
arm kinetis/pinmux: Do not redefine PIN_UART2_RTS 2026-03-27 09:37:06 +08:00
arm64 arch/arm64/src/rk3399: CMake build implemented for Rockchip RK3399 2026-03-24 13:40:45 -04:00
avr style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
ceva arch\ceva: Fix Make style 2026-03-23 18:16:46 -04:00
dummy
hc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
mips arch\mips: Fix Make style 2026-03-23 18:16:46 -04:00
misoc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
or1k Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
renesas style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
risc-v arch/risc-v/espressif: select EFUSE when ESPRESSIF_EFUSE is enabled 2026-03-26 13:39:53 -04:00
sim style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
sparc style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
tricore arch/tricore: Fix --help-- in Kconfig 2026-03-11 13:06:13 +08:00
x86 Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
x86_64 arch\x86_64: Fix Make style 2026-03-23 18:16:46 -04:00
xtensa arch\xtensa: Fix Kconfig style 2026-03-26 13:39:41 -04:00
z16 style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
z80 style: Fix "is is" typo across the codebase. 2026-03-24 09:39:26 +08:00
CMakeLists.txt
Kconfig arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00