File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH/TARGET_DISCO_F413ZH Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ typedef enum {
43
43
UART_10 = (int )UART10_BASE
44
44
} UARTName ;
45
45
46
- #define STDIO_UART_TX PG_9
47
- #define STDIO_UART_RX PG_14
46
+ #define STDIO_UART_TX PG_14
47
+ #define STDIO_UART_RX PG_9
48
48
#define STDIO_UART UART_6
49
49
50
50
typedef enum {
Original file line number Diff line number Diff line change @@ -223,12 +223,14 @@ typedef enum {
223
223
D15 = PB_10 ,
224
224
225
225
// Generic signals namings
226
- LED1 = PE_3 , // Red
227
- LED2 = PC_7 , // Green
228
- LED_RED = LED1 ,
226
+ LED1 = PC_5 , // Green = LD3 on the board
227
+ LED2 = PE_3 , // Red = LD4 on the board
228
+ LED3 = PB_12 , // Green = LD5 on the board, connected to Arduino D13
229
+ LED4 = LED1 ,
230
+ LED_RED = LED2 ,
229
231
USER_BUTTON = PA_0 ,
230
- SERIAL_TX = PG_9 ,
231
- SERIAL_RX = PG_14 ,
232
+ SERIAL_TX = PG_14 ,
233
+ SERIAL_RX = PG_9 ,
232
234
USBTX = SERIAL_TX ,
233
235
USBRX = SERIAL_RX ,
234
236
I2C_SCL = D15 ,
Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ void SetSysClock(void)
821
821
}
822
822
823
823
/* Output clock on MCO2 pin(PC9) for debugging purpose */
824
- HAL_RCC_MCOConfig (RCC_MCO2 , RCC_MCO2SOURCE_SYSCLK , RCC_MCODIV_4 );
824
+ // HAL_RCC_MCOConfig(RCC_MCO2, RCC_MCO2SOURCE_SYSCLK, RCC_MCODIV_4);
825
825
}
826
826
827
827
#if (USE_PLL_HSE_XTAL != 0 ) || (USE_PLL_HSE_EXTC != 0 )
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class Sw4STM32(Exporter):
31
31
'DISCO_F334C8' : {'name' : 'STM32F3348DISCOVERY' , 'mcuId' : 'STM32F334C8Tx' },
32
32
'DISCO_F401VC' : {'name' : 'STM32F401C-DISCO' , 'mcuId' : 'STM32F401VCTx' },
33
33
'DISCO_F407VG' : {'name' : 'STM32F4DISCOVERY' , 'mcuId' : 'STM32F407VGTx' },
34
+ 'DISCO_F413ZH' : {'name' : 'DISCO_F413' , 'mcuId' : 'STM32F413ZHTx' },
34
35
'DISCO_F429ZI' : {'name' : 'STM32F429I-DISCO' , 'mcuId' : 'STM32F429ZITx' },
35
36
'DISCO_F469NI' : {'name' : 'DISCO-F469NI' , 'mcuId' : 'STM32F469NIHx' },
36
37
'DISCO_F746NG' : {'name' : 'STM32F746G-DISCO' , 'mcuId' : 'STM32F746NGHx' },
You can’t perform that action at this time.
0 commit comments