File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed
Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ elseif("Freescale" IN_LIST MBED_TARGET_LABELS)
77 add_subdirectory (TARGET_Freescale)
88elseif ("NORDIC" IN_LIST MBED_TARGET_LABELS)
99 add_subdirectory (TARGET_NORDIC)
10+ elseif ("NUVOTON" IN_LIST MBED_TARGET_LABELS)
11+ add_subdirectory (TARGET_NUVOTON)
1012elseif ("STM" IN_LIST MBED_TARGET_LABELS)
1113 add_subdirectory (TARGET_STM)
12- elseif ("NUVOTON " IN_LIST MBED_TARGET_LABELS)
13- add_subdirectory (TARGET_NUVOTON)
14+ elseif ("WICED " IN_LIST MBED_TARGET_LABELS)
15+ add_subdirectory (TARGET_WICED)
1416endif ()
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 @@ -19,12 +19,11 @@ The full profile with the selected printf and C libraries.
1919Only a limited set of targets is supported at the moment.
2020
2121The following targets are supported:
22- - K64F
23- - K66F
2422- NRF52840_DK
2523- ARM FM targets
2624- Freescale targets
2725- STM targets
26+ - WICED
2827
2928### Supported toolchains
3029
You can’t perform that action at this time.
0 commit comments