Update README
This commit is contained in:
parent
a3f3cc12c0
commit
a0cdbcb58f
@ -195,10 +195,10 @@
|
|||||||
#define UART_UCR1_RRDYEN (1 << 9) /* Bit 9: Receiver ready interrupt enable */
|
#define UART_UCR1_RRDYEN (1 << 9) /* Bit 9: Receiver ready interrupt enable */
|
||||||
#define UART_UCR1_ICD_SHIFT 10 /* Bit 10-11: Idle condition detect */
|
#define UART_UCR1_ICD_SHIFT 10 /* Bit 10-11: Idle condition detect */
|
||||||
#define UART_UCR1_ICD_MASK (3 << UART_UCR1_ICD_SHIFT)
|
#define UART_UCR1_ICD_MASK (3 << UART_UCR1_ICD_SHIFT)
|
||||||
# define UART_UCR1_ICD_4FRMS (0 << UART_UCR1_ICD_SHIFT) /* Idle for more than 4 frames */
|
# define UART_UCR1_ICD_4FRMS (0 << UART_UCR1_ICD_SHIFT) /* Idle for more than 4 frames */
|
||||||
# define UART_UCR1_ICD_8FRMS (1 << UART_UCR1_ICD_SHIFT) /* Idle for more than 8 frames */
|
# define UART_UCR1_ICD_8FRMS (1 << UART_UCR1_ICD_SHIFT) /* Idle for more than 8 frames */
|
||||||
# define UART_UCR1_ICD_16FRMS (2 << UART_UCR1_ICD_SHIFT) /* Idle for more than 16 frames */
|
# define UART_UCR1_ICD_16FRMS (2 << UART_UCR1_ICD_SHIFT) /* Idle for more than 16 frames */
|
||||||
# define UART_UCR1_ICD_32FRMS (3 << UART_UCR1_ICD_SHIFT) /* Idle for more than 32 frames */
|
# define UART_UCR1_ICD_32FRMS (3 << UART_UCR1_ICD_SHIFT) /* Idle for more than 32 frames */
|
||||||
#define UART_UCR1_IDEN (1 << 12) /* Bit 12: Idle condition detected interrupt enable */
|
#define UART_UCR1_IDEN (1 << 12) /* Bit 12: Idle condition detected interrupt enable */
|
||||||
#define UART_UCR1_TRDYEN (1 << 13) /* Bit 13: Transmitter ready interrupt enable */
|
#define UART_UCR1_TRDYEN (1 << 13) /* Bit 13: Transmitter ready interrupt enable */
|
||||||
#define UART_UCR1_ADBR (1 << 14) /* Bit 14: Automatic detection of baud rate */
|
#define UART_UCR1_ADBR (1 << 14) /* Bit 14: Automatic detection of baud rate */
|
||||||
|
@ -484,3 +484,27 @@ Configuration sub-directories
|
|||||||
at apps/nshlib with the start logic at apps/examples/nsh.
|
at apps/nshlib with the start logic at apps/examples/nsh.
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
|
|
||||||
|
1. This configuration assumes that we are loaded into SDRAM and
|
||||||
|
started via U-Boot.
|
||||||
|
|
||||||
|
2. The serial console is configured by default for use UART1, the
|
||||||
|
USB VCOM port (UART1), same as the serial port used by U-Boot.
|
||||||
|
You will need to reconfigure if you want to use a different UART.
|
||||||
|
|
||||||
|
3. NSH built-in applications are supported, but no built-in
|
||||||
|
applications are enabled.
|
||||||
|
|
||||||
|
Binary Formats:
|
||||||
|
CONFIG_BUILTIN=y : Enable support for built-in programs
|
||||||
|
|
||||||
|
Application Configuration:
|
||||||
|
CONFIG_NSH_BUILTIN_APPS=y : Enable starting apps from NSH command line
|
||||||
|
|
||||||
|
4. The RAMLOG is enabled. All SYSLOG (DEBUG) output will go to the
|
||||||
|
RAMLOG and will not be visible unless you use the nsh 'dmesg'
|
||||||
|
command. To disable this RAMLOG feature, disable the following:
|
||||||
|
|
||||||
|
File Systems: CONFIG_SYSLOG
|
||||||
|
Device Drivers: CONFIG_RAMLOG
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user