Skip to content

Commit 90386bb

Browse files
committed
Added STM32G4 support
1 parent e1f2562 commit 90386bb

3 files changed

Lines changed: 420 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ SRCS = \
1313
target_atmel_cm4v2.c \
1414
target_mchp_cm23.c \
1515
target_st_stm32g0.c \
16+
target_st_stm32g4.c \
1617
target_st_stm32wb55.c \
1718
target_gd_gd32f4xx.c \
1819
target_nu_m480.c \

target.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ extern target_ops_t target_atmel_cm7_ops;
3030
extern target_ops_t target_atmel_cm4v2_ops;
3131
extern target_ops_t target_mchp_cm23_ops;
3232
extern target_ops_t target_st_stm32g0_ops;
33+
extern target_ops_t target_st_stm32g4_ops;
3334
extern target_ops_t target_st_stm32wb55_ops;
3435
extern target_ops_t target_gd_gd32f4xx_ops;
3536
extern target_ops_t target_nu_m480_ops;
@@ -46,6 +47,7 @@ static target_t targets[] =
4647
{ "atmel_cm4v2", "Atmel SAM D5x/E5x", &target_atmel_cm4v2_ops },
4748
{ "mchp_cm23", "Microchip SAM L10/L11, PIC32CM LE00/LS00/LS60", &target_mchp_cm23_ops },
4849
{ NULL, "STMicroelectronics STM32G0", &target_st_stm32g0_ops },
50+
{ NULL, "STMicroelectronics STM32G4", &target_st_stm32g4_ops },
4951
{ NULL, "STMicroelectronics STM32WB55", &target_st_stm32wb55_ops },
5052
{ NULL, "GigaDevice GD32F4xx", &target_gd_gd32f4xx_ops },
5153
{ NULL, "Nuvoton M480", &target_nu_m480_ops },

0 commit comments

Comments
 (0)