mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 04:23:33 +08:00
Add an NSH configuration for the LPC43xx
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4930 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -363,7 +363,7 @@ void up_irqinitialize(void)
|
||||
/* If a debugger is connected, try to prevent it from catching hardfaults */
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
regval = getreg32(NVIC_DEMCR);
|
||||
regval = getreg32(NVIC_DEMCR);
|
||||
regval &= ~NVIC_DEMCR_VCHARDERR;
|
||||
putreg32(regval, NVIC_DEMCR);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user