git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3220 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2011-08-10 09:17:04 +00:00
parent 68ae8aa1bc
commit 50a41618be
4 changed files with 22 additions and 5 deletions

View File

@ -358,7 +358,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_CHECKS) || defined(__DOXYGEN__)
#define CH_DBG_ENABLE_CHECKS FALSE
#define CH_DBG_ENABLE_CHECKS TRUE
#endif
/**
@ -370,7 +370,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_ASSERTS) || defined(__DOXYGEN__)
#define CH_DBG_ENABLE_ASSERTS FALSE
#define CH_DBG_ENABLE_ASSERTS TRUE
#endif
/**
@ -381,7 +381,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)
#define CH_DBG_ENABLE_TRACE FALSE
#define CH_DBG_ENABLE_TRACE TRUE
#endif
/**
@ -395,7 +395,7 @@
* @p panic_msg variable set to @p NULL.
*/
#if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)
#define CH_DBG_ENABLE_STACK_CHECK FALSE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
#endif
/**
@ -407,7 +407,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)
#define CH_DBG_FILL_THREADS FALSE
#define CH_DBG_FILL_THREADS TRUE
#endif
/**

View File

@ -89,6 +89,7 @@
(backported to 2.2.4).
- FIX: Fixed timeout problem in the lwIP interface layer (bug 3302420)
(backported to 2.2.4).
- NEW: Added Eclipse ChibiOS/RT debugger plugin 1.0.4 under ./tools/eclipse.
- NEW: The ARMCMx startup file (crt0.c) now is able to fill the stack areas
with a filler (default behavior). This is required in order to easily assess
the stack usage at runtime.

16
tools/eclipse/readme.txt Normal file
View File

@ -0,0 +1,16 @@
This folder contains ChibiOS/RT related Eclipse extensions:
- org.chibios.tools.eclipse.debug_x.y.z.jar, debugger extension that allows to
inspect the ChibiOS/RT internal data structures at debug time. This plugin
is best used when the kernel debug options are turned on.
Installation:
- Copy the plugin under [eclipse]/plugins.
- Start Eclipse and enable the plugin from:
Window->Show View->Others...->ChibiOS/RT
- Make sure that Eclipse is using the "Standard Debugger" from:
Window->Preferences->Run/Debug->Launching->Default Launchers->
GDB Hardware Debugging->[Debug]
- Start a debug session of a ChibiOS/RT demo or application and step until
after chSysInit() has been invoked.
- Inspect the various structures (Timers, Threads etc) using the ChibiOS/RT
view by pressing the yellow refresh button.