File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,6 @@ elseif("Silicon_Labs" IN_LIST MBED_TARGET_LABELS)
21
21
add_subdirectory (TARGET_Silicon_Labs )
22
22
elseif ("STM" IN_LIST MBED_TARGET_LABELS )
23
23
add_subdirectory (TARGET_STM )
24
+ elseif ("WICED" IN_LIST MBED_TARGET_LABELS )
25
+ add_subdirectory (TARGET_WICED )
24
26
endif ()
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 ("WIO_EMW3166" IN_LIST MBED_TARGET_LABELS )
5
+ if (${MBED_TOOLCHAIN} STREQUAL "ARM" )
6
+ set (LIB_WICED_DRIVERS TOOLCHAIN_ARMC6/TARGET_WIO_EMW3166/libwiced_drivers.ar )
7
+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
8
+ set (LIB_WICED_DRIVERS TOOLCHAIN_GCC_ARM/TARGET_WIO_EMW3166/libwiced_drivers.a )
9
+ endif ()
10
+ endif ()
11
+
12
+ target_link_libraries (mbed-core INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} /${LIB_WICED_DRIVERS} )
13
+
14
+ target_include_directories (mbed-core
15
+ INTERFACE
16
+ wiced_interface
17
+ )
18
+
19
+ target_sources (mbed-core
20
+ INTERFACE
21
+ wiced_interface/default_wifi_interface.cpp
22
+ )
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ The following targets are supported:
28
28
- NXP targets
29
29
- Silicon Labs targets
30
30
- STM targets
31
+ - WICED
31
32
32
33
### Supported toolchains
33
34
You can’t perform that action at this time.
0 commit comments