Skip to content

Commit de5b459

Browse files
authored
Merge pull request #15199 from majcher/feature/stm32g0b1
Support for the NUCLEO_G0B1RE board
2 parents c02e10b + 6263af9 commit de5b459

File tree

5 files changed

+647
-0
lines changed

5 files changed

+647
-0
lines changed

targets/TARGET_STM/TARGET_STM32G0/TARGET_STM32G0B1xE/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4+
add_subdirectory(TARGET_NUCLEO_G0B1RE EXCLUDE_FROM_ALL)
5+
46
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
57
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32g0b1xx.S)
68
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32g0b1xe.ld)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2022 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
add_library(mbed-nucleo-g0b1re INTERFACE)
5+
6+
target_sources(mbed-nucleo-g0b1re
7+
INTERFACE
8+
PeripheralPins.c
9+
)
10+
11+
target_include_directories(mbed-nucleo-g0b1re
12+
INTERFACE
13+
.
14+
)
15+
16+
target_link_libraries(mbed-nucleo-g0b1re INTERFACE mbed-stm32g0b1xe)

0 commit comments

Comments
 (0)