Skip to content

Moved STDIO_UART defines for UBLOX_EVK_ODIN_W2 #5192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ typedef enum {
UART_8 = (int)UART8_BASE
} UARTName;

#define STDIO_UART_TX PA_9
#define STDIO_UART_RX PA_10
#define STDIO_UART UART_1
#define STDIO_UART_TX USBTX
#define STDIO_UART_RX USBRX

typedef enum {
SPI_1 = (int)SPI1_BASE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ typedef enum {
BUTTON2 = SW1,

// ST-Link
USBRX = PA_10,
USBTX = PA_9,
USBRX = MBED_CONF_TARGET_USB_RX,
USBTX = MBED_CONF_TARGET_USB_TX,
SWDIO = PA_15,
SWCLK = PA_14,
NTRST = PB_4,
Expand Down
17 changes: 16 additions & 1 deletion targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,22 @@
"features": ["LWIP"],
"release_versions": ["5"],
"device_name": "STM32F439ZI",
"bootloader_supported": true
"bootloader_supported": true,
"config": {
"usb_tx": {
"help": "Value: D8(default) or D1",
"value": "D8"
},
"usb_rx": {
"help": "Value: D2(default) or D0",
"value": "D2"
},
"stdio_uart": {
"help": "Value: UART_1(default) or UART_3",
"value": "UART_1",
"macro_name": "STDIO_UART"
}
}
},
"UBLOX_C030": {
"inherits": ["FAMILY_STM32"],
Expand Down