Skip to content

Commit

Permalink
Bugfix: Only link mbed-wifi if it exists for this target (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
multiplemonomials authored Feb 21, 2024
1 parent e6a63d9 commit 2deef5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 8 additions & 1 deletion connectivity/netsocket/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,14 @@ target_link_libraries(mbed-netsocket

target_link_libraries(mbed-netsocket
INTERFACE
mbed-wifi
mbed-cellular
mbed-nanostack-libservice
)

# Link in mbed-wifi if we have any wifi drivers
if(TARGET mbed-wifi)
target_link_libraries(mbed-netsocket
INTERFACE
mbed-wifi
)
endif()
2 changes: 0 additions & 2 deletions targets/targets.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8893,8 +8893,6 @@
"TFM_OUTPUT_EXT": "hex"
},
// Also known as CYSBSYSKIT-DEV-01 Rapid IoT Connect Developer Kit
// Note: It appears that Infineon is also maintaining this as a custom target here:
// https://github.com/Infineon/TARGET_CYSBSYSKIT-DEV-01
// However, as of 2024, I cannot find this board anywhere for sale, so it may be a candidate for removal.
"CYSBSYSKIT_01": {
"inherits": [
Expand Down

0 comments on commit 2deef5a

Please sign in to comment.