mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 00:21:36 +08:00
LPC43xx fix: Logic was disabling XTAL, not enabling it
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4924 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -151,9 +151,9 @@ static inline void lpc43_xtalconfig(void)
|
|||||||
#endif
|
#endif
|
||||||
putreg32(regval, LPC43_XTAL_OSC_CTRL);
|
putreg32(regval, LPC43_XTAL_OSC_CTRL);
|
||||||
|
|
||||||
/* Enable the crystal oscillator */
|
/* Enable the crystal oscillator by taking it out of power down mode */
|
||||||
|
|
||||||
regval |= XTAL_OSC_CTRL_ENABLE;
|
regval &= ~XTAL_OSC_CTRL_ENABLE;
|
||||||
putreg32(regval, LPC43_XTAL_OSC_CTRL);
|
putreg32(regval, LPC43_XTAL_OSC_CTRL);
|
||||||
|
|
||||||
/* Delay for stable clock input */
|
/* Delay for stable clock input */
|
||||||
|
|||||||
@@ -189,7 +189,6 @@ GNU Toolchain Options
|
|||||||
If you have problems with the dependency build (for example, if you are not
|
If you have problems with the dependency build (for example, if you are not
|
||||||
building on C:), then you may need to modify tools/mkdeps.sh
|
building on C:), then you may need to modify tools/mkdeps.sh
|
||||||
|
|
||||||
|
|
||||||
The CodeSourcery Toolchain (2009q1)
|
The CodeSourcery Toolchain (2009q1)
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
The CodeSourcery toolchain (2009q1) does not work with default optimization
|
The CodeSourcery toolchain (2009q1) does not work with default optimization
|
||||||
@@ -314,7 +313,7 @@ Code Red IDE
|
|||||||
http://support.code-red-tech.com/CodeRedWiki/UsingGDB
|
http://support.code-red-tech.com/CodeRedWiki/UsingGDB
|
||||||
|
|
||||||
and is also summarized here (see the full Wiki for additional details
|
and is also summarized here (see the full Wiki for additional details
|
||||||
and optins).
|
and options).
|
||||||
|
|
||||||
The Code Red Debug Driver implements the GDB "remote" protocol to allow
|
The Code Red Debug Driver implements the GDB "remote" protocol to allow
|
||||||
connection to debug targets. To start a debug session using GDB, use
|
connection to debug targets. To start a debug session using GDB, use
|
||||||
@@ -429,6 +428,10 @@ USART0 and UART1 are available on J8 as follows:
|
|||||||
U1_RXD pin 14 J8 P1_14 U1_RXD=Alt 1
|
U1_RXD pin 14 J8 P1_14 U1_RXD=Alt 1
|
||||||
------ ------ -----------------------
|
------ ------ -----------------------
|
||||||
|
|
||||||
|
GND is available on J8 pin 1
|
||||||
|
5V is available on J8 pin 2
|
||||||
|
VBAT is available on J8 pin 3
|
||||||
|
|
||||||
FPU
|
FPU
|
||||||
===
|
===
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user