-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hk_cmake_wiced_suppport' of https://github.com/hugueska…
…mba/mbed-os into hugueskamba-hk_cmake_wiced_suppport
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if("WIO_EMW3166" IN_LIST MBED_TARGET_LABELS) | ||
if(${MBED_TOOLCHAIN} STREQUAL "ARM") | ||
set(LIB_WICED_DRIVERS TOOLCHAIN_ARMC6/TARGET_WIO_EMW3166/libwiced_drivers.ar) | ||
elseif(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM") | ||
set(LIB_WICED_DRIVERS TOOLCHAIN_GCC_ARM/TARGET_WIO_EMW3166/libwiced_drivers.a) | ||
endif() | ||
endif() | ||
|
||
target_link_libraries(mbed-core INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/${LIB_WICED_DRIVERS}) | ||
|
||
target_include_directories(mbed-core | ||
INTERFACE | ||
wiced_interface | ||
) | ||
|
||
target_sources(mbed-core | ||
INTERFACE | ||
wiced_interface/default_wifi_interface.cpp | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters