Page 1 of 1

Disabling UART TX pin

Posted: Mon Nov 28, 2022 8:53 pm
by 95_Octane
Hey guys I need some help here how to I disable primary UART I need pin PC10 and TS is telling me it’s being used by primary UART TX
Thanks in advance.


Sent from my iPhone using Tapatalk

Re: Disabling UART TX pin

Posted: Mon Nov 28, 2022 9:00 pm
by AndreyB
C'mon, no mention of the board type? :(

Re: Disabling UART TX pin

Posted: Tue Nov 29, 2022 12:51 am
by 95_Octane
It’s a custom F4 board Image


Sent from my iPhone using Tapatalk

Re: Disabling UART TX pin

Posted: Tue Nov 29, 2022 1:02 am
by AndreyB
95_Octane wrote:
Tue Nov 29, 2022 12:51 am
It’s a custom F4 board Image
Primary UART is a compile-time option, you would need a custom firmware.

Re: Disabling UART TX pin

Posted: Tue Nov 29, 2022 1:07 am
by 95_Octane
AndreyB wrote:
95_Octane wrote:
Tue Nov 29, 2022 12:51 am
It’s a custom F4 board Image
Primary UART is a compile-time option, you would need a custom firmware.
Ok thank you, those pins are RX PC10 and TX PC11 correct?


Sent from my iPhone using Tapatalk

Re: Disabling UART TX pin

Posted: Tue Nov 29, 2022 8:54 am
by Dron_Gus
95_Octane wrote:
Tue Nov 29, 2022 1:07 am
Ok thank you, those pins are RX PC10 and TX PC11 correct?
This depends on what FW you are using for your custom HW:

Code: Select all

$ grep EFI_CONSOLE_TX_BRAIN -R config/
config/boards/prometheus/efifeatures.h:#undef EFI_CONSOLE_TX_BRAIN_PIN
config/boards/prometheus/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::A0
config/boards/hellen/hellen-common144.mk:PRIMARY_COMMUNICATION_PORT_USART2=-DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::D6 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::D5 -DTS_PRIMARY_PORT=UARTD2 -DSTM32_UART_USE_USART2=1
config/boards/skeleton/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::C10
config/boards/microrusefi/board.mk:DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::B10 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::B11
config/boards/kinetis/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::A10
config/boards/proteus/board.mk:	DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::D5 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::D6
config/stm32f7ems/efifeatures.h:#undef EFI_CONSOLE_TX_BRAIN_PIN
config/stm32f7ems/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::D8
config/stm32f4ems/efifeatures.h:#ifndef EFI_CONSOLE_TX_BRAIN_PIN
config/stm32f4ems/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::C10

Re: Disabling UART TX pin

Posted: Tue Nov 29, 2022 12:23 pm
by 95_Octane
Image
This is the one I downloaded


Sent from my iPhone using Tapatalk