command-line default flexibility
This commit is contained in:
parent
9a28acb512
commit
fdc74dd5ea
|
@ -239,15 +239,25 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// todo: start using consoleUartDevice
|
// todo: start using consoleUartDevice? Not sure
|
||||||
|
#ifndef EFI_CONSOLE_UART_DEVICE
|
||||||
#define EFI_CONSOLE_UART_DEVICE (&SD3)
|
#define EFI_CONSOLE_UART_DEVICE (&SD3)
|
||||||
|
#endif
|
||||||
|
|
||||||
// todo: start using consoleSerialTxPin
|
// todo: start using consoleSerialTxPin? Not sure
|
||||||
|
#ifndef EFI_CONSOLE_TX_PORT
|
||||||
#define EFI_CONSOLE_TX_PORT GPIOC
|
#define EFI_CONSOLE_TX_PORT GPIOC
|
||||||
|
#endif
|
||||||
|
#ifndef EFI_CONSOLE_TX_PIN
|
||||||
#define EFI_CONSOLE_TX_PIN 10
|
#define EFI_CONSOLE_TX_PIN 10
|
||||||
// todo: start using consoleSerialRxPin
|
#endif
|
||||||
|
// todo: start using consoleSerialRxPin? Not sure
|
||||||
|
#ifndef EFI_CONSOLE_RX_PORT
|
||||||
#define EFI_CONSOLE_RX_PORT GPIOC
|
#define EFI_CONSOLE_RX_PORT GPIOC
|
||||||
|
#endif
|
||||||
|
#ifndef EFI_CONSOLE_RX_PIN
|
||||||
#define EFI_CONSOLE_RX_PIN 11
|
#define EFI_CONSOLE_RX_PIN 11
|
||||||
|
#endif
|
||||||
// todo: this should be detected automatically based on pin selection
|
// todo: this should be detected automatically based on pin selection
|
||||||
#define EFI_CONSOLE_AF 7
|
#define EFI_CONSOLE_AF 7
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue