mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 01:21:35 +08:00
Update Nuttx and NuttX-apps to 7.28+
This commit is contained in:
@@ -36,7 +36,6 @@ px4_add_git_submodule(TARGET git_uavcan PATH "libuavcan")
|
||||
set(UAVCAN_USE_CPP03 ON CACHE BOOL "uavcan cpp03")
|
||||
|
||||
if(CONFIG_ARCH_CHIP)
|
||||
|
||||
if (${CONFIG_ARCH_CHIP} MATCHES "kinetis")
|
||||
set(UAVCAN_PLATFORM "kinetis")
|
||||
set(UAVCAN_TIMER 1)
|
||||
@@ -53,14 +52,15 @@ endif()
|
||||
string(TOUPPER "${PX4_PLATFORM}" OS_UPPER)
|
||||
string(TOUPPER "${UAVCAN_PLATFORM}" UAVCAN_PLATFORM_UPPER)
|
||||
add_definitions(
|
||||
-DUAVCAN_CPP_VERSION=UAVCAN_CPP03
|
||||
-DUAVCAN_MEM_POOL_BLOCK_SIZE=48
|
||||
-DUAVCAN_NO_ASSERTIONS
|
||||
-DUAVCAN_PLATFORM=${UAVCAN_PLATFORM}
|
||||
-DUAVCAN_DRIVER=uavcan_${UAVCAN_PLATFORM}
|
||||
-DUAVCAN_${UAVCAN_PLATFORM_UPPER}_${OS_UPPER}=1
|
||||
-DUAVCAN_${UAVCAN_PLATFORM_UPPER}_NUM_IFACES=${config_uavcan_num_ifaces}
|
||||
-DUAVCAN_${UAVCAN_PLATFORM_UPPER}_TIMER_NUMBER=${UAVCAN_TIMER}
|
||||
-DUAVCAN_CPP_VERSION=UAVCAN_CPP03
|
||||
-DUAVCAN_DRIVER=uavcan_${UAVCAN_PLATFORM}
|
||||
-DUAVCAN_IMPLEMENT_PLACEMENT_NEW=1
|
||||
-DUAVCAN_MEM_POOL_BLOCK_SIZE=48
|
||||
-DUAVCAN_NO_ASSERTIONS
|
||||
-DUAVCAN_PLATFORM=${UAVCAN_PLATFORM}
|
||||
)
|
||||
|
||||
add_subdirectory(libuavcan EXCLUDE_FROM_ALL)
|
||||
|
||||
+1
-1
Submodule src/lib/ecl updated: acde4ebcc3...721f5e61a5
Reference in New Issue
Block a user