File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
targets/TARGET_STM/TARGET_STM32G4/TARGET_STM32G431xB Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ if ("NUCLEO_G474RE" IN_LIST MBED_TARGET_LABELS )
5
+ add_subdirectory (TARGET_NUCLEO_G431KB )
6
+ endif ()
7
+
4
8
if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
5
9
set (STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32g431xx.S )
6
10
set (LINKER_FILE TOOLCHAIN_GCC_ARM/stm32g431xb.ld )
@@ -13,6 +17,7 @@ set_property(GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}
13
17
14
18
target_sources (mbed-core
15
19
INTERFACE
20
+ system_clock.c
16
21
${STARTUP_FILE}
17
22
)
18
23
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ target_sources (mbed-core
5
+ INTERFACE
6
+ PeripheralPins.c
7
+ )
8
+
9
+ target_include_directories (mbed-core
10
+ INTERFACE
11
+ .
12
+ )
You can’t perform that action at this time.
0 commit comments