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)
2121 add_subdirectory (TARGET_Silicon_Labs)
2222elseif ("STM" IN_LIST MBED_TARGET_LABELS)
2323 add_subdirectory (TARGET_STM)
24+ elseif ("WICED" IN_LIST MBED_TARGET_LABELS)
25+ add_subdirectory (TARGET_WICED)
2426endif ()
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:
2828- NXP targets
2929- Silicon Labs targets
3030- STM targets
31+ - WICED
3132
3233### Supported toolchains
3334
You can’t perform that action at this time.
0 commit comments