crdr_chibios followup

This commit is contained in:
Pavel Kirienko 2014-04-20 23:40:53 +04:00
parent f155702008
commit 9597dc4ddb

View File

@ -9,7 +9,7 @@
#define CH_USE_HEAP TRUE
#define CH_USE_DYNAMIC FALSE
#if DEBUG
#if DEBUG_BUILD
# define CH_OPTIMIZE_SPEED FALSE
# define CH_DBG_SYSTEM_STATE_CHECK TRUE
# define CH_DBG_ENABLE_CHECKS TRUE
@ -17,10 +17,10 @@
# define CH_DBG_ENABLE_STACK_CHECK TRUE
# define CH_DBG_FILL_THREADS TRUE
# define CH_DBG_THREADS_PROFILING TRUE
#elif defined(RELEASE) && RELEASE
#elif RELEASE_BUILD
# define CH_DBG_THREADS_PROFILING FALSE
#else
# error "Invalid configuration: Either DEBUG or RELEASE must be true"
# error "Invalid configuration: Either DEBUG_BUILD or RELEASE_BUILD must be true"
#endif
#define PORT_IDLE_THREAD_STACK_SIZE 64