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
Disabling UART TX pin
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Disabling UART TX pin
C'mon, no mention of the board type? 

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Disabling UART TX pin
It’s a custom F4 board 
Sent from my iPhone using Tapatalk

Sent from my iPhone using Tapatalk
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Disabling UART TX pin
Primary UART is a compile-time option, you would need a custom firmware.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Disabling UART TX pin
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

This is the one I downloaded
Sent from my iPhone using Tapatalk