File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG11 Expand file tree Collapse file tree 2 files changed +33
-1
lines changed 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+ if ("EFM32GG11_STK3701" IN_LIST MBED_TARGET_LABELS)
5+ target_include_directories (mbed-core
6+ INTERFACE
7+ TARGET_EFM32GG11_STK3701
8+ )
9+ endif ()
10+
11+ if (${MBED_TOOLCHAIN} STREQUAL "ARM" )
12+ set (LINKER_FILE device/TOOLCHAIN_ARM_STD/efm32gg11.sct)
13+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_efm32gg11.S)
14+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
15+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/efm32gg11.ld)
16+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_efm32gg11.S)
17+ endif ()
18+
19+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
20+
21+ target_include_directories (mbed-core
22+ INTERFACE
23+ device
24+ )
25+
26+ target_sources (mbed-core
27+ INTERFACE
28+ PeripheralPins.c
29+
30+ device/system_efm32gg11b.c
31+ ${STARTUP_FILE}
32+ )
Original file line number Diff line number Diff line change 1- #! armcc -E
1+ #! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
22; *************************************************************
33; *** Scatter-Loading Description File generated by uVision ***
44; *************************************************************
You can’t perform that action at this time.
0 commit comments