mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
55a7dfc9a7
commit
cde88cabcc
@@ -387,7 +387,7 @@ Toolchains
|
||||
|
||||
Another option is the mips-elf toolchain used with the Pinguino project. This
|
||||
is a relatively current mips-elf GCC and should provide free C++ support as
|
||||
well. This toolchain can be downloded from the Pinguino website:
|
||||
well. This toolchain can be downloaded from the Pinguino website:
|
||||
http://wiki.pinguino.cc/index.php/Main_Page#Download .
|
||||
|
||||
Support for the Pinguino mips-elf toolchain has been included in the Mirtoo
|
||||
@@ -479,7 +479,7 @@ Loading NuttX with ICD3
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -837,7 +837,7 @@ Where <subdir> is one of the following:
|
||||
|
||||
nsh
|
||||
|
||||
This configuration directory holds configuration files tht can
|
||||
This configuration directory holds configuration files that can
|
||||
be used to support the NuttShell (NSH). This configuration use
|
||||
UART1 which is available on FUNC 4 and 5 on connector X3:
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
* internal +/- 0.9% FRC clock. That clock has a nomninal frequency of 8MHz.
|
||||
*/
|
||||
|
||||
#define BOARD_FRC_FREQ 8000000 /* FRC nomimal frequency(8MHz) */
|
||||
#define BOARD_FRC_FREQ 8000000 /* FRC nominal frequency(8MHz) */
|
||||
|
||||
/* Oscillator modes */
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ static inline void pic32mx_uartinitialize(void)
|
||||
*
|
||||
* Description:
|
||||
* All PIC32MX architectures must provide the following entry point.
|
||||
* This entry point is called early in the intitialization -- after all
|
||||
* This entry point is called early in the initialization -- after all
|
||||
* memory has been configured and mapped but before any devices have been
|
||||
* initialized.
|
||||
*
|
||||
|
||||
@@ -437,7 +437,7 @@ Toolchains
|
||||
|
||||
Another option is the mips-elf toolchain used with the Pinguino project. This
|
||||
is a relatively current mips-elf GCC and should provide free C++ support as
|
||||
well. This toolchain can be downloded from the Pinguino website:
|
||||
well. This toolchain can be downloaded from the Pinguino website:
|
||||
http://wiki.pinguino.cc/index.php/Main_Page#Download .
|
||||
|
||||
See also boards/mirtoo/README.txt. There is an experimental (untested)
|
||||
@@ -556,7 +556,7 @@ Creating Compatible NuttX HEX files
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -973,7 +973,7 @@ PIC32MX specific PHY/Ethernet device driver settings
|
||||
CONFIG_ETH0_PHY_KS8721 - Selects the Micrel KS8721 PHY
|
||||
CONFIG_ETH0_PHY_DP83848C - Selects the National Semiconductor DP83848C PHY
|
||||
CONFIG_ETH0_PHY_LAN8720 - Selects the SMSC LAN8720 PHY
|
||||
CONFIG_PIC32MX_PHY_AUTONEG - Enable auto-negotion
|
||||
CONFIG_PIC32MX_PHY_AUTONEG - Enable auto-negotiation
|
||||
CONFIG_PIC32MX_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed.
|
||||
CONFIG_PIC32MX_PHY_FDUPLEX - Select full (vs. half) duplex
|
||||
CONFIG_PIC32MX_ETH_NTXDESC - Configured number of Tx descriptors. Default: 2
|
||||
|
||||
@@ -154,7 +154,7 @@ Toolchains
|
||||
|
||||
These configurations currently assume the mips-elf toolchain used with the
|
||||
Pinguino project. This is a relatively current mips-elf GCC and should
|
||||
provide free C++ support as well. This toolchain can be downloded from the
|
||||
provide free C++ support as well. This toolchain can be downloaded from the
|
||||
Pinguino website: http://wiki.pinguino.cc/index.php/Main_Page#Download .
|
||||
|
||||
It should be a simple matter to adapt to other toolchains by modifying the
|
||||
@@ -295,7 +295,7 @@ Creating Compatible NuttX HEX files
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -555,7 +555,7 @@ PIC32MX specific PHY/Ethernet device driver settings
|
||||
CONFIG_ETH0_PHY_KS8721 - Selects the Micrel KS8721 PHY
|
||||
CONFIG_ETH0_PHY_DP83848C - Selects the National Semiconductor DP83848C PHY
|
||||
CONFIG_ETH0_PHY_LAN8720 - Selects the SMSC LAN8720 PHY
|
||||
CONFIG_PIC32MX_PHY_AUTONEG - Enable auto-negotion
|
||||
CONFIG_PIC32MX_PHY_AUTONEG - Enable auto-negotiation
|
||||
CONFIG_PIC32MX_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed.
|
||||
CONFIG_PIC32MX_PHY_FDUPLEX - Select full (vs. half) duplex
|
||||
CONFIG_PIC32MX_ETH_NTXDESC - Configured number of Tx descriptors. Default: 2
|
||||
@@ -774,7 +774,7 @@ Where <subdir> is one of the following:
|
||||
But you will have to enable a specific graphics example application
|
||||
in the NuttX configuration file in order to see anything.
|
||||
|
||||
8. Enabling touch screen support in the nsh configuaration
|
||||
8. Enabling touch screen support in the nsh configuration
|
||||
|
||||
In defconfig (or nuttx/.config), set:
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
*
|
||||
* Description:
|
||||
* All PIC32MX architectures must provide the following entry point.
|
||||
* This entry point is called early in the intitialization -- after all
|
||||
* This entry point is called early in the initialization -- after all
|
||||
* memory has been configured and mapped but before any devices have been
|
||||
* initialized.
|
||||
*
|
||||
|
||||
@@ -338,7 +338,7 @@ static void tc_adc_sample(int pin)
|
||||
*
|
||||
* Assumptions:
|
||||
* 1) All output pins configured as outputs:
|
||||
* 2) Approprite pins are driven high and low
|
||||
* 2) Appropriate pins are driven high and low
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -292,7 +292,7 @@ Toolchains
|
||||
|
||||
Another option is the mips-elf toolchain used with the Penguino project. This
|
||||
is a relatively current mips-elf GCC and should provide free C++ support as
|
||||
well. This toolchain can be downloded from the Penguino website:
|
||||
well. This toolchain can be downloaded from the Penguino website:
|
||||
http://wiki.pinguino.cc/index.php/Main_Page#Download .
|
||||
|
||||
See also boards/mirtoo/README.txt. There is an experimental (untested)
|
||||
@@ -377,7 +377,7 @@ Loading NuttX with PICkit2
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -659,7 +659,7 @@ Where <subdir> is one of the following:
|
||||
System Type:
|
||||
CONFIG_MIPS32_TOOLCHAIN_MICROCHIPW_LITE=y : Older C32 toolchain
|
||||
|
||||
2. USB Configuations.
|
||||
2. USB Configurations.
|
||||
|
||||
Several USB device configurations can be enabled and included
|
||||
as NSH built-in built in functions. All require the following
|
||||
@@ -886,7 +886,7 @@ Where <subdir> is one of the following:
|
||||
output will come the USB console, and 2) all debug output prior
|
||||
to connecting the USB console will be lost:
|
||||
|
||||
The second options is to configure a RAM SYLOG device. This is
|
||||
The second options is to configure a RAM SYSLOG device. This is
|
||||
a circular buffer that accumulated debug output in memory. The
|
||||
contents of the circular buffer can be dumped from the NSH command
|
||||
line using the 'dmesg' command.
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
*
|
||||
* Description:
|
||||
* All PIC32MX architectures must provide the following entry point.
|
||||
* This entry point is called early in the intitialization -- after all
|
||||
* This entry point is called early in the initialization -- after all
|
||||
* memory has been configured and mapped but before any devices have been
|
||||
* initialized.
|
||||
*
|
||||
|
||||
@@ -365,7 +365,7 @@ static void lcd_wrcommand(uint8_t cmd)
|
||||
|
||||
putreg16(0, PIC32MX_IOPORTE_TRIS);
|
||||
|
||||
/* Set up to write the commond */
|
||||
/* Set up to write the command */
|
||||
|
||||
pic32mx_gpiowrite(GPIO_LCD_RS, false); /* Select command */
|
||||
pic32mx_gpiowrite(GPIO_LCD_RW, false); /* Select write */
|
||||
@@ -1019,7 +1019,7 @@ static int lcd_poll(FAR struct file *filep, FAR struct pollfd *fds,
|
||||
{
|
||||
if (setup)
|
||||
{
|
||||
/* Data is always avaialble to be read */
|
||||
/* Data is always available to be read */
|
||||
|
||||
fds->revents |= (fds->events & (POLLIN|POLLOUT));
|
||||
if (fds->revents != 0)
|
||||
@@ -1056,7 +1056,7 @@ int up_lcd1602_initialize(void)
|
||||
/* Configure GPIO pins */
|
||||
|
||||
putreg16(0, PIC32MX_IOPORTE_TRIS); /* Set DB0-15 as outputs */
|
||||
pic32mx_configgpio(GPIO_LCD_RS); /* RS: Selects commnand or data */
|
||||
pic32mx_configgpio(GPIO_LCD_RS); /* RS: Selects command or data */
|
||||
pic32mx_configgpio(GPIO_LCD_RW); /* RW: Selects read or write */
|
||||
pic32mx_configgpio(GPIO_LCD_E); /* E: Starts transfer */
|
||||
|
||||
@@ -1065,7 +1065,7 @@ int up_lcd1602_initialize(void)
|
||||
pic32mx_configgpio(GPIO_LCD_LIGHT); /* K */
|
||||
pic32mx_configgpio(GPIO_LCD_COMP); /* Vo */
|
||||
pic32mx_configgpio(GPIO_LCD_PWR); /* Vbuson/AN5/RB5 controls +5V USB */
|
||||
g_lcd1602.brightness = 0; /* Remember tht the light is off */
|
||||
g_lcd1602.brightness = 0; /* Remember the light is off */
|
||||
|
||||
/* A small delay is necessary between when GPIO_LCD_E was set up as an
|
||||
* output with initial value of 0 and this operation. That delay should
|
||||
|
||||
@@ -230,7 +230,7 @@ Toolchains
|
||||
|
||||
Another option is the mips-elf toolchain used with the Pinguino project. This
|
||||
is a relatively current mips-elf GCC and should provide free C++ support as
|
||||
well. This toolchain can be downloded from the Pinguino website:
|
||||
well. This toolchain can be downloaded from the Pinguino website:
|
||||
http://wiki.pinguino.cc/index.php/Main_Page#Download .
|
||||
|
||||
See also boards/mirtoo/README.txt. There is an experimental (untested)
|
||||
@@ -316,7 +316,7 @@ Loading NuttX with PICkit2
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -585,7 +585,7 @@ Where <subdir> is one of the following:
|
||||
GND -- J4 pin 40: GND
|
||||
Vcc -- J4 pin 39: 5V
|
||||
|
||||
3. USB Configuations
|
||||
3. USB Configurations
|
||||
|
||||
Several USB device configurations can be enabled and included
|
||||
as NSH built-in built in functions.
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
*
|
||||
* Description:
|
||||
* All PIC32MX architectures must provide the following entry point. This
|
||||
* entry point is called early in the intitialization - after all memory has
|
||||
* entry point is called early in the initialization - after all memory has
|
||||
* been configured and mapped but before any devices have been initialized.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -114,7 +114,7 @@ Creating Compatible NuttX HEX files
|
||||
cd tools/pic32mx
|
||||
make
|
||||
|
||||
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
|
||||
Now you will have an executable file call mkpichex (or mkpichex.exe on
|
||||
Cygwin). This program will take the nutt.hex file as an input, it will
|
||||
convert all of the KSEG0 and KSEG1 addresses to physical address, and
|
||||
it will write the modified file, replacing the original nuttx.hex.
|
||||
@@ -204,7 +204,7 @@ Serial Console
|
||||
------------------------------------------
|
||||
If the MEB-II UART configuration when used with the I/O Expansion board
|
||||
(with the adapter), then UART will be on J11 with Pin 35 being U1RX (into
|
||||
MZ) and Pin 37 being TU1X (out od MZ).
|
||||
MZ) and Pin 37 being TU1X (out of MZ).
|
||||
|
||||
Directly from the Adapter Board
|
||||
-------------------------------
|
||||
|
||||
Reference in New Issue
Block a user