Skip to content

Commit baa5367

Browse files
committed
[imp] Activate ChibiOS debug checks by default
1 parent 859de2f commit baa5367

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Configuration/chconf.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
* @note The default is @p FALSE.
362362
*/
363363
#if !defined(CH_DBG_SYSTEM_STATE_CHECK) || defined(__DOXYGEN__)
364-
#define CH_DBG_SYSTEM_STATE_CHECK FALSE
364+
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
365365
#endif
366366

367367
/**
@@ -372,7 +372,7 @@
372372
* @note The default is @p FALSE.
373373
*/
374374
#if !defined(CH_DBG_ENABLE_CHECKS) || defined(__DOXYGEN__)
375-
#define CH_DBG_ENABLE_CHECKS FALSE
375+
#define CH_DBG_ENABLE_CHECKS TRUE
376376
#endif
377377

378378
/**
@@ -384,7 +384,7 @@
384384
* @note The default is @p FALSE.
385385
*/
386386
#if !defined(CH_DBG_ENABLE_ASSERTS) || defined(__DOXYGEN__)
387-
#define CH_DBG_ENABLE_ASSERTS FALSE
387+
#define CH_DBG_ENABLE_ASSERTS TRUE
388388
#endif
389389

390390
/**
@@ -395,7 +395,7 @@
395395
* @note The default is @p FALSE.
396396
*/
397397
#if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)
398-
#define CH_DBG_ENABLE_TRACE FALSE
398+
#define CH_DBG_ENABLE_TRACE TRUE
399399
#endif
400400

401401
/**
@@ -409,7 +409,7 @@
409409
* @p panic_msg variable set to @p NULL.
410410
*/
411411
#if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)
412-
#define CH_DBG_ENABLE_STACK_CHECK FALSE
412+
#define CH_DBG_ENABLE_STACK_CHECK TRUE
413413
#endif
414414

415415
/**
@@ -421,7 +421,7 @@
421421
* @note The default is @p FALSE.
422422
*/
423423
#if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)
424-
#define CH_DBG_FILL_THREADS FALSE
424+
#define CH_DBG_FILL_THREADS TRUE
425425
#endif
426426

427427
/**

0 commit comments

Comments
 (0)