Several bugfixes contributed by Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
5b989e7735
commit
6ebb026a1a
@ -4,6 +4,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_ARM
|
if ARCH_ARM
|
||||||
|
comment "ARM Options"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "ARM chip selection"
|
prompt "ARM chip selection"
|
||||||
default ARCH_CHIP_STM32
|
default ARCH_CHIP_STM32
|
||||||
@ -239,6 +241,15 @@ config ARCH_CALIBRATION
|
|||||||
watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
|
watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
|
||||||
the delay actually is 100 seconds.
|
the delay actually is 100 seconds.
|
||||||
|
|
||||||
|
config DEBUG_HARDFAULT
|
||||||
|
bool "Verbose Hard-Fault Debug"
|
||||||
|
default n
|
||||||
|
depends on DEBUG && (ARCH_CORTEXM3 || ARCH_CORTEXM4)
|
||||||
|
---help---
|
||||||
|
Enables verbose debug output when a hard fault is occurs. This verbose
|
||||||
|
output is sometimes helpful when debugging difficult hard fault problems,
|
||||||
|
but may be more than you typcially want to see.
|
||||||
|
|
||||||
if ARCH_CHIP_C5471
|
if ARCH_CHIP_C5471
|
||||||
source arch/arm/src/c5471/Kconfig
|
source arch/arm/src/c5471/Kconfig
|
||||||
endif
|
endif
|
||||||
|
@ -57,9 +57,7 @@
|
|||||||
|
|
||||||
/* Debug output from this file may interfere with context switching! */
|
/* Debug output from this file may interfere with context switching! */
|
||||||
|
|
||||||
#undef DEBUG_HARDFAULTS /* Define to debug hard faults */
|
#ifdef CONFIG_DEBUG_HARDFAULT
|
||||||
|
|
||||||
#ifdef DEBUG_HARDFAULTS
|
|
||||||
# define hfdbg(format, arg...) lldbg(format, ##arg)
|
# define hfdbg(format, arg...) lldbg(format, ##arg)
|
||||||
#else
|
#else
|
||||||
# define hfdbg(x...)
|
# define hfdbg(x...)
|
||||||
|
Loading…
Reference in New Issue
Block a user