mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 06:11:36 +08:00
crdr_chibios followup
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
#define CH_USE_HEAP TRUE
|
#define CH_USE_HEAP TRUE
|
||||||
#define CH_USE_DYNAMIC FALSE
|
#define CH_USE_DYNAMIC FALSE
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG_BUILD
|
||||||
# define CH_OPTIMIZE_SPEED FALSE
|
# define CH_OPTIMIZE_SPEED FALSE
|
||||||
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
|
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
|
||||||
# define CH_DBG_ENABLE_CHECKS TRUE
|
# define CH_DBG_ENABLE_CHECKS TRUE
|
||||||
@@ -17,10 +17,10 @@
|
|||||||
# define CH_DBG_ENABLE_STACK_CHECK TRUE
|
# define CH_DBG_ENABLE_STACK_CHECK TRUE
|
||||||
# define CH_DBG_FILL_THREADS TRUE
|
# define CH_DBG_FILL_THREADS TRUE
|
||||||
# define CH_DBG_THREADS_PROFILING TRUE
|
# define CH_DBG_THREADS_PROFILING TRUE
|
||||||
#elif defined(RELEASE) && RELEASE
|
#elif RELEASE_BUILD
|
||||||
# define CH_DBG_THREADS_PROFILING FALSE
|
# define CH_DBG_THREADS_PROFILING FALSE
|
||||||
#else
|
#else
|
||||||
# error "Invalid configuration: Either DEBUG or RELEASE must be true"
|
# error "Invalid configuration: Either DEBUG_BUILD or RELEASE_BUILD must be true"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PORT_IDLE_THREAD_STACK_SIZE 64
|
#define PORT_IDLE_THREAD_STACK_SIZE 64
|
||||||
|
|||||||
Reference in New Issue
Block a user