We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42b948a commit 00ccec6Copy full SHA for 00ccec6
targets/TARGET_Silicon_Labs/TARGET_SL_RAIL/CMakeLists.txt
@@ -0,0 +1,20 @@
1
+# Copyright (c) 2020 ARM Limited. All rights reserved.
2
+# SPDX-License-Identifier: Apache-2.0
3
+
4
+if("EFR32_12" IN_LIST MBED_TARGET_LABELS)
5
+ if(${MBED_TOOLCHAIN} STREQUAL "ARM")
6
+ set(LIB_RAIL efr32-rf-driver/rail/TARGET_EFR32_12/librail_efr32xg12_release.ar)
7
+ elseif(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
8
+ set(LIB_RAIL efr32-rf-driver/rail/TARGET_EFR32_12/librail_efr32xg12_release.a)
9
+ endif()
10
+endif()
11
12
+target_link_libraries(mbed-core INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/${LIB_RAIL})
13
14
15
+target_include_directories(mbed-core
16
+ INTERFACE
17
+ efr32-rf-driver/rail
18
+ efr32-rf-driver/rail/ble
19
+ efr32-rf-driver/rail/ieee802154
20
+)
0 commit comments