Added FX/NX.
This commit is contained in:
parent
79e0576ed2
commit
1989837a9a
|
@ -7,3 +7,6 @@
|
||||||
[submodule "lib/filex"]
|
[submodule "lib/filex"]
|
||||||
path = lib/filex
|
path = lib/filex
|
||||||
url = https://github.com/azure-rtos/filex.git
|
url = https://github.com/azure-rtos/filex.git
|
||||||
|
[submodule "lib/netxduo"]
|
||||||
|
path = lib/netxduo
|
||||||
|
url = https://github.com/azure-rtos/netxduo.git
|
||||||
|
|
|
@ -133,6 +133,7 @@ set(TARGET_C_INCLUDES
|
||||||
|
|
||||||
# Shared libraries linked with application
|
# Shared libraries linked with application
|
||||||
set(TARGET_LIBS
|
set(TARGET_LIBS
|
||||||
|
"netxduo"
|
||||||
"filex"
|
"filex"
|
||||||
"threadx"
|
"threadx"
|
||||||
"c"
|
"c"
|
||||||
|
@ -168,8 +169,12 @@ set(THREADX_TOOLCHAIN "gnu" CACHE STRING "")
|
||||||
set(TX_USER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/include/tx_user.h" CACHE STRING "")
|
set(TX_USER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/include/tx_user.h" CACHE STRING "")
|
||||||
add_subdirectory(lib/threadx)
|
add_subdirectory(lib/threadx)
|
||||||
|
|
||||||
|
set(FX_USER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/include/fx_user.h" CACHE STRING "")
|
||||||
add_subdirectory(lib/filex)
|
add_subdirectory(lib/filex)
|
||||||
|
|
||||||
|
set(NX_USER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/include/nx_user.h" CACHE STRING "")
|
||||||
|
add_subdirectory(lib/netxduo)
|
||||||
|
|
||||||
# Shared sources, includes and definitions
|
# Shared sources, includes and definitions
|
||||||
add_compile_definitions(${TARGET_C_DEFINES})
|
add_compile_definitions(${TARGET_C_DEFINES})
|
||||||
include_directories(${TARGET_C_INCLUDES})
|
include_directories(${TARGET_C_INCLUDES})
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef FX_USER_H
|
||||||
|
#define FX_USER_H
|
||||||
|
|
||||||
|
#endif // FX_USER_H
|
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef NX_USER_H
|
||||||
|
#define NX_USER_H
|
||||||
|
|
||||||
|
#define NX_PACKET_ALIGNMENT 32
|
||||||
|
|
||||||
|
/* Security */
|
||||||
|
#define NX_SECURE_ENABLE
|
||||||
|
|
||||||
|
#endif // NX_USER_H
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e67c70ef358e36887bdb2ff7029807eaf234e97f
|
Loading…
Reference in New Issue