Skip to content

Commit 160b32a

Browse files
authored
Merge pull request #14259 from rotu/G431RB
Support STM Nucleo-G431RB
2 parents 84e5f1e + 80fed0b commit 160b32a

File tree

5 files changed

+582
-0
lines changed

5 files changed

+582
-0
lines changed

targets/TARGET_STM/TARGET_STM32G4/TARGET_STM32G431xB/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
add_subdirectory(TARGET_NUCLEO_G431KB EXCLUDE_FROM_ALL)
5+
add_subdirectory(TARGET_NUCLEO_G431RB EXCLUDE_FROM_ALL)
56

67
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
78
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32g431xx.S)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2021 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
add_library(mbed-nucleo-g431rb INTERFACE)
5+
6+
target_sources(mbed-nucleo-g431rb
7+
INTERFACE
8+
PeripheralPins.c
9+
)
10+
11+
target_include_directories(mbed-nucleo-g431rb
12+
INTERFACE
13+
.
14+
)
15+
16+
target_link_libraries(mbed-nucleo-g431rb INTERFACE mbed-stm32g431xb)

0 commit comments

Comments
 (0)