enables smp demo
This commit is contained in:
1 parent
1165785154
commit
5b2da239d2
1 file changed
+2
-3
+2
-3
@@ -26,7 +26,6 @@ target_link_libraries(threadx_smp PUBLIC c moonlight)
|
||||
set(NETXDUO_CUSTOM_PORT ${CMAKE_CURRENT_LIST_DIR}/port/netxduo)
|
||||
set(NXD_ENABLE_FILE_SERVERS OFF)
|
||||
add_subdirectory(third-party/netxduo)
|
||||
target_link_libraries(netxduo PUBLIC threadx)
|
||||
if(NX_DEBUG)
|
||||
target_compile_definitions(netxduo PRIVATE NX_DEBUG NX_DEBUG_PACKET NX_ENABLE_PACKET_DEBUG_INFO)
|
||||
endif()
|
||||
@@ -74,5 +73,5 @@ function(setup_target TARGET)
|
||||
endfunction()
|
||||
|
||||
setup_target(thread_demo LIBRARIES threadx SOURCES src/thread_demo/main.c)
|
||||
setup_target(tcp_demo LIBRARIES netxduo SOURCES src/tcp_demo/main.c)
|
||||
#setup_target(smp_demo LIBRARIES threadx_smp SOURCES src/thread_demo/main.c)
|
||||
setup_target(tcp_demo LIBRARIES netxduo threadx SOURCES src/tcp_demo/main.c)
|
||||
setup_target(smp_demo LIBRARIES threadx_smp SOURCES src/thread_demo/main.c)
|
||||
Reference in new issue
Block a user