Skip to content

Commit f70e317

Browse files
committed
Support for the NUCLEO_G0B1RE board
1 parent 149c5b1 commit f70e317

File tree

5 files changed

+530
-0
lines changed

5 files changed

+530
-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) 2020 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)