mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Change for clean compilation of Sure PIC32MX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3742 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<ul><pre>
|
<ul><pre>
|
||||||
.
|
.
|
||||||
| - nuttx
|
| - nuttx
|
||||||
| |
|
| |- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/README.txt?view=log"><b>README.txt</b></a>
|
||||||
| |- arch/
|
| |- arch/
|
||||||
| | |
|
| | |
|
||||||
| | |- arm
|
| | |- arm
|
||||||
@@ -186,8 +186,9 @@
|
|||||||
| |- syscall/
|
| |- syscall/
|
||||||
| | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/syscall/README.txt?view=log"><b><i>README.txt</i></b></a>
|
| | `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/syscall/README.txt?view=log"><b><i>README.txt</i></b></a>
|
||||||
| `- tools/
|
| `- tools/
|
||||||
| `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/tols/README.txt?view=log"><b><i>README.txt</i></b></a>
|
| `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/tools/README.txt?view=log"><b><i>README.txt</i></b></a>
|
||||||
`- apps/
|
`- apps/
|
||||||
|
|- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/apps/README.txt?view=log"><b>README.txt</b></a>
|
||||||
|- interpreters/
|
|- interpreters/
|
||||||
| `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/apps/interpreters/README.txt?view=log"><b><i>README.txt</i></b></a>
|
| `- <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/apps/interpreters/README.txt?view=log"><b><i>README.txt</i></b></a>
|
||||||
|- netutils/
|
|- netutils/
|
||||||
|
|||||||
@@ -511,7 +511,7 @@
|
|||||||
/* Are any UARTs enabled? */
|
/* Are any UARTs enabled? */
|
||||||
|
|
||||||
#undef HAVE_UART_DEVICE
|
#undef HAVE_UART_DEVICE
|
||||||
#if defined(CONFIG_PIC32MX_UART1) || defined(CONFIG_PIC32MX_UART1)
|
#if defined(CONFIG_PIC32MX_UART1) || defined(CONFIG_PIC32MX_UART2)
|
||||||
# define HAVE_UART_DEVICE 1
|
# define HAVE_UART_DEVICE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -63,12 +63,12 @@
|
|||||||
# define PIC32MX_CONSOLE_BITS CONFIG_UART1_BITS
|
# define PIC32MX_CONSOLE_BITS CONFIG_UART1_BITS
|
||||||
# define PIC32MX_CONSOLE_PARITY CONFIG_UART1_PARITY
|
# define PIC32MX_CONSOLE_PARITY CONFIG_UART1_PARITY
|
||||||
# define PIC32MX_CONSOLE_2STOP CONFIG_UART1_2STOP
|
# define PIC32MX_CONSOLE_2STOP CONFIG_UART1_2STOP
|
||||||
#elif defined(CONFIG_UART_SERIAL_CONSOLE)
|
#elif defined(CONFIG_UART2_SERIAL_CONSOLE)
|
||||||
# define PIC32MX_CONSOLE_BASE PIC32MX_UART_K1BASE
|
# define PIC32MX_CONSOLE_BASE PIC32MX_UART2_K1BASE
|
||||||
# define PIC32MX_CONSOLE_BAUD CONFIG_UART_BAUD
|
# define PIC32MX_CONSOLE_BAUD CONFIG_UART2_BAUD
|
||||||
# define PIC32MX_CONSOLE_BITS CONFIG_UART_BITS
|
# define PIC32MX_CONSOLE_BITS CONFIG_UART2_BITS
|
||||||
# define PIC32MX_CONSOLE_PARITY CONFIG_UART_PARITY
|
# define PIC32MX_CONSOLE_PARITY CONFIG_UART2_PARITY
|
||||||
# define PIC32MX_CONSOLE_2STOP CONFIG_UART_2STOP
|
# define PIC32MX_CONSOLE_2STOP CONFIG_UART2_2STOP
|
||||||
#else
|
#else
|
||||||
# error "No CONFIG_UARTn_SERIAL_CONSOLE Setting"
|
# error "No CONFIG_UARTn_SERIAL_CONSOLE Setting"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
|
||||||
#include "pic32mx_internal.h"
|
#include "pic32mx-internal.h"
|
||||||
#include "sure-internal.h"
|
#include "sure-internal.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_LEDS
|
#ifdef CONFIG_ARCH_LEDS
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
#include <nuttx/mmcsd.h>
|
#include <nuttx/mmcsd.h>
|
||||||
#include <nuttx/usb/usbhost.h>
|
#include <nuttx/usb/usbhost.h>
|
||||||
|
|
||||||
#include "pic32mx_internal.h"
|
#include "pic32mx-internal.h"
|
||||||
#include "sure-internal.h"
|
#include "sure-internal.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "pic32mx_internal.h"
|
#include "pic32mx-internal.h"
|
||||||
#include "sure-internal.h"
|
#include "sure-internal.h"
|
||||||
|
|
||||||
#if defined(CONFIG_PIC32MX_SPI2)
|
#if defined(CONFIG_PIC32MX_SPI2)
|
||||||
|
|||||||
Reference in New Issue
Block a user