Skip to content
Closed
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,10 +57,6 @@ 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

typedef enum {
SPI_1 = (int)SPI1_BASE,
SPI_2 = (int)SPI2_BASE,
Expand Down
19 changes: 18 additions & 1 deletion targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,24 @@
"features": ["LWIP"],
"release_versions": ["5"],
"device_name": "STM32F439ZI",
"bootloader_supported": true
"bootloader_supported": true,
"config": {
"stdio_uart_tx": {
"help": "Value: D8(default) or D1",
"value": "D8",
"macro_name": "STDIO_UART_TX"
},
"stdio_uart_rx": {
"help": "Value: D2(default) or D0",
"value": "D2",
"macro_name": "STDIO_UART_RX"
},
"stdio_uart": {
"help": "Value: UART_1(default) or UART_3",
"value": "UART_1",
"macro_name": "STDIO_UART"
}
}
},
"UBLOX_C030": {
"inherits": ["FAMILY_STM32"],
Expand Down