Skip to content

Commit a70978e

Browse files
committed
clean up
1 parent f6a45a7 commit a70978e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

hw/bsp/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define sys_read _read
4040
#endif
4141

42-
#if defined(LOGGER_RTT) || defined(LOGGER_rtt)
42+
#if defined(LOGGER_RTT)
4343
// Logging with RTT
4444

4545
// If using SES IDE, use the Syscalls/SEGGER_RTT_Syscalls_SES.c instead
@@ -62,7 +62,7 @@ TU_ATTR_USED int sys_read (int fhdl, char *buf, size_t count)
6262

6363
#endif
6464

65-
#elif defined(LOGGER_SWO) || defined(LOGGER_swo)
65+
#elif defined(LOGGER_SWO)
6666
// Logging with SWO for ARM Cortex
6767

6868
#include "board_mcu.h"

hw/bsp/stm32g4/boards/b_g474e_dpow1/board.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
//--------------------------------------------------------------------+
5858
// RCC Clock
5959
//--------------------------------------------------------------------+
60+
61+
// CPU Frequency (Core Clock) is 170MHz
6062
static inline void board_clock_init(void)
6163
{
6264
RCC_OscInitTypeDef RCC_OscInitStruct = {0};

hw/bsp/stm32g4/family.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ void board_init(void)
136136
board_vbus_sense_init();
137137

138138
// USB PD
139+
139140
}
140141

141142
//--------------------------------------------------------------------+

hw/bsp/stm32g4/family.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function(family_configure_example TARGET)
109109

110110
# Flashing
111111
family_flash_stlink(${TARGET})
112-
#family_flash_jlink(${TARGET})
112+
family_flash_jlink(${TARGET})
113113
endfunction()
114114

115115

0 commit comments

Comments
 (0)