Skip to content

Commit

Permalink
Support for the NUCLEO_G0B1RE board
Browse files Browse the repository at this point in the history
  • Loading branch information
majcher committed Jan 14, 2022
1 parent c02e10b commit 6263af9
Show file tree
Hide file tree
Showing 5 changed files with 647 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_NUCLEO_G0B1RE EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32g0b1xx.S)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32g0b1xe.ld)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (c) 2022 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_library(mbed-nucleo-g0b1re INTERFACE)

target_sources(mbed-nucleo-g0b1re
INTERFACE
PeripheralPins.c
)

target_include_directories(mbed-nucleo-g0b1re
INTERFACE
.
)

target_link_libraries(mbed-nucleo-g0b1re INTERFACE mbed-stm32g0b1xe)
Loading

0 comments on commit 6263af9

Please sign in to comment.