mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
cmake configs: add -DPARAM_NO_AUTOSAVE for esc32, px4esc, px4cannode, s2740vc
These configs do not have the work queue enabled.
This commit is contained in:
@@ -3,6 +3,7 @@ include(nuttx/px4_impl_nuttx)
|
|||||||
add_definitions(
|
add_definitions(
|
||||||
-DFLASH_BASED_PARAMS
|
-DFLASH_BASED_PARAMS
|
||||||
-DPARAM_NO_ORB
|
-DPARAM_NO_ORB
|
||||||
|
-DPARAM_NO_AUTOSAVE
|
||||||
-DPARAMETER_BUFFER_SIZE=1024
|
-DPARAMETER_BUFFER_SIZE=1024
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
include(nuttx/px4_impl_nuttx)
|
include(nuttx/px4_impl_nuttx)
|
||||||
|
|
||||||
add_definitions(-DPARAM_NO_ORB)
|
add_definitions(
|
||||||
|
-DPARAM_NO_ORB
|
||||||
|
-DPARAM_NO_AUTOSAVE
|
||||||
|
)
|
||||||
|
|
||||||
px4_nuttx_configure(HWCLASS m3 CONFIG nsh)
|
px4_nuttx_configure(HWCLASS m3 CONFIG nsh)
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ include(nuttx/px4_impl_nuttx)
|
|||||||
add_definitions(
|
add_definitions(
|
||||||
-DFLASH_BASED_PARAMS
|
-DFLASH_BASED_PARAMS
|
||||||
-DPARAM_NO_ORB
|
-DPARAM_NO_ORB
|
||||||
|
-DPARAM_NO_AUTOSAVE
|
||||||
-DPARAMETER_BUFFER_SIZE=1024
|
-DPARAMETER_BUFFER_SIZE=1024
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
include(nuttx/px4_impl_nuttx)
|
include(nuttx/px4_impl_nuttx)
|
||||||
|
|
||||||
add_definitions(-DPARAM_NO_ORB)
|
add_definitions(
|
||||||
|
-DPARAM_NO_ORB
|
||||||
|
-DPARAM_NO_AUTOSAVE
|
||||||
|
)
|
||||||
|
|
||||||
px4_nuttx_configure(HWCLASS m4 CONFIG nsh)
|
px4_nuttx_configure(HWCLASS m4 CONFIG nsh)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user