Skip to content

Commit

Permalink
cmake: Placing subsys_bluetooth and subsys_net in kernel memory space
Browse files Browse the repository at this point in the history
Issue: zephyrproject-rtos#8441

Setting memory space property on subsys_net and subsys_bluetooth
libraries.

Signed-off-by: Torsten Rasmussen <[email protected]>
  • Loading branch information
tejlmand committed Dec 6, 2018
1 parent 8a23d85 commit 98d479e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ endif()

target_link_libraries(subsys_bluetooth PRIVATE zephyr_interface)
target_link_libraries(zephyr_app_linking INTERFACE subsys_bluetooth)

zephyr_set_property(TARGET subsys_bluetooth MEMORY_SPACE kernel)
1 change: 1 addition & 0 deletions subsys/net/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include_relative(lib/CMakeLists.txt)

target_link_libraries(subsys_net PRIVATE zephyr_interface)
target_link_libraries(zephyr_app_linking INTERFACE subsys_net)
zephyr_set_property(TARGET subsys_net MEMORY_SPACE kernel)

if(CONFIG_MBEDTLS)
target_link_libraries(mbedTLS INTERFACE zephyr_interface)
Expand Down

0 comments on commit 98d479e

Please sign in to comment.