From e74812260edc6ab265caf21a1f5036b809128e0a Mon Sep 17 00:00:00 2001
From: Gregory Nutt
The included tools/Config.mk
file contains additional definitions that may
- be overriden in the architecture-specific Make.defs file as necessary:
+ be overridden in the architecture-specific Make.defs file as necessary:
COMPILE
, ASSEMBLE
, ARCHIVE
, CLEAN
, and MKDEP
macrosconfigs/demo9s12ne64
:
- Feescale DMO9S12NE64 board based on the MC9S12NE64 hcs12 cpu. This
+ Freescale DMO9S12NE64 board based on the MC9S12NE64 hcs12 cpu. This
port uses the m9s12x GCC toolchain. STATUS: (Still) under development; it
is code complete but has not yet been verified.
configs/qemu-i486
:
Port of NuttX to QEMU in i486 mode. This port will also run on real i486
- hardwared (Google the Bifferboard).
+ hardware (Google the Bifferboard).
configs/rgmp
:
@@ -1073,7 +1073,7 @@ source "configs/myboard/Kconfig"
endif
- This includes additional, board-specific configuration variabled defintion in configs/myboard/Kconfig
.
+ This includes additional, board-specific configuration variable definitions in configs/myboard/Kconfig
.
Automated Configuration. @@ -1467,7 +1467,7 @@ netutils/
- There is an alternative Windows batch file, configure.bat
, that can be used insteach of configure.sh
in the windows native enironment like:
+ There is an alternative Windows batch file, configure.bat
, that can be used instead of configure.sh
in the windows native environment like:
cd tools @@ -1478,7 +1478,7 @@ netutils/- If your application directory is not in the standard loction (
../apps
or../apps-<version>
), + If your application directory is not in the standard location (../apps
or../apps-<version>
), then you should also specify the location of the application directory on the command line like:
@@ -2242,12 +2242,12 @@ else
is down, and (2) A full date / time RTC the provides the date and time information, often in BCD format.
If CONFIG_RTC_DATETIME
is selected, it specifies this second kind of RTC.
In this case, the RTC is used to "seed"" the normal NuttX timer and the NuttX system timer
- provides for higher resoution time.
+ provides for higher resolution time.
CONFIG_RTC_HIRES
CONFIG_RTC_DATETIME
not selected, then the simple, battery backed counter is used.
There are two different implementations of such simple counters based on the time resolution of the counter:
The typical RTC keeps time to resolution of 1 second, usually supporting a 32-bit time_t
value.
- In this case, the RTC is used to "seed" the normal NuttX timer and the NuttX timer provides for higher resoution time.
+ In this case, the RTC is used to "seed" the normal NuttX timer and the NuttX timer provides for higher resolution time.
If CONFIG_RTC_HIRES
is enabled in the NuttX configuration, then the RTC provides higher resolution time and completely replaces the system timer for purpose of date and time.
CONFIG_RTC_FREQUENCY
CONFIG_RTC_HIRES
is defined, then the frequency of the high resolution RTC must be provided.
@@ -2267,12 +2267,12 @@ else
up_rtc_time()
.
Get the current time in seconds. This is similar to the standard time()
function.
This interface is only required if the low-resolution RTC/counter hardware implementation selected.
- It is only used by the RTOS during initializeation to set up the system time when CONFIG_RTC
is set
+ It is only used by the RTOS during initialization to set up the system time when CONFIG_RTC
is set
but neither CONFIG_RTC_HIRES
nor CONFIG_RTC_DATETIME
are set.
up_rtc_gettime()
.
Get the current time from the high resolution RTC clock/counter.
- This interface is only supported by the hight-resolution RTC/counter hardware implementation.
+ This interface is only supported by the high-resolution RTC/counter hardware implementation.
It is used to replace the system timer (g_system_tick
).
up_rtc_settime()
.
@@ -2297,8 +2297,8 @@ else
If hardware RTC is present (CONFIG_RTC
) and and high-resolution timing
is enabled (CONFIG_RTC_HIRES
), then after successful
- initiliazation variables are overriden by calls to up_rtc_gettime()
which is
- running continously even in power-down modes.
+ initialization variables are overridden by calls to up_rtc_gettime()
which is
+ running continuously even in power-down modes.
In the case of CONFIG_RTC_HIRES
is set the g_system_timer
@@ -2311,7 +2311,7 @@ else
CPUs that support memory management units (MMUs) may provide address environments within which tasks and their child threads execute.
- The configuration indicates the CPUs ability to support address environments by setting the configuration varabile CONFIG_ADDRENV=y
.
+ The configuration indicates the CPUs ability to support address environments by setting the configuration variable CONFIG_ADDRENV=y
.
These address environments are created only when tasks are created via exec()
or exec_module()
(see include/nuttx/binfmt/binfmt.h
).
@@ -2448,7 +2448,7 @@ else
Description:
up_addrenv_select
,
+ After an address environment has been temporarily instantiated by up_addrenv_select
,
this function may be called to to restore the original address environment.
Input Parameters:
@@ -2504,7 +2504,7 @@ elseDescription:
Input Parameters:
@@ -2525,7 +2525,7 @@ elseDescription:
Input Parameters:
@@ -2577,9 +2577,9 @@ elseThe NuttX On-Demand Paging feature permits embedded MCUs with some limited RAM space to execute large programs from some non-random access media. - If the platform meets certiain requirements, then NuttX can provide on-demand paging: + If the platform meets certain requirements, then NuttX can provide on-demand paging: It can copy .text from the large program in non-volatile media into RAM as needed to execute a huge program from the small RAM. - Design and porting issues for this feature are discussed in a sepate document. + Design and porting issues for this feature are discussed in a separate document. Please see the NuttX Demand Paging design document for further information.
@@ -3157,7 +3157,7 @@ void board_led_off(int led);
include/nuttx/lcd/lcd.h
.
Structures and APIs needed to work with LCD drivers are provided in this header file.
- This header file also depends on some of the same definitions used for the frame buffer driver as privided in include/nuttx/video/fb.h
.
+ This header file also depends on some of the same definitions used for the frame buffer driver as provided in include/nuttx/video/fb.h
.
MTDIOC_BULKERASE
: Erase the entire device
- is provided via a sinble ioctl
method (see include/nuttx/fs/ioctl.h
):
+ is provided via a single ioctl
method (see include/nuttx/fs/ioctl.h
):
int (*ioctl)(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg);
struct sdio_dev_s
.
- Each SDIOI device driver must implement an instance of struct sdio_dev_s
.
+ Each SDIO device driver must implement an instance of struct sdio_dev_s
.
That structure defines a call table with the following methods:
@@ -3439,7 +3439,7 @@ void board_led_off(int led);
struct usbhost_driver_s
and struct usbhost_connection_s
.
Each USB host controller driver must implement an instance of struct usbhost_driver_s
and struct usbhost_connection_s
:
struct usbhost_driver_s
provides the interface between the USB host driver and the USB class driver;
- struct usbhost_connection_s
provides the interface between the USB host driver and platform-specific connection management and device enumeration logoc.
+ struct usbhost_connection_s
provides the interface between the USB host driver and platform-specific connection management and device enumeration logic.
These structures are defined in include/nuttx/usb/usbhost.h
.
@@ -3466,7 +3466,7 @@ void board_led_off(int led);
USB Host Class Driver Registry.
The NuttX USB host infrastructure includes a registry.
During its initialization, each USB host class driver must call the interface, usbhost_registerclass()
- in order add its interface to the registery.
+ in order add its interface to the registry.
Later, when a USB device is connected, the USB host controller will look up the USB host class driver that is needed to support the connected device in this registry.
@@ -3521,7 +3521,7 @@ void board_led_off(int led);
- Each USB host class driver includes an initializeation entry point that is called from the
+ Each USB host class driver includes an initialization entry point that is called from the
application at initialization time.
This driver calls usbhost_registerclass()
during this initialization in order to makes itself available in the event the device that it supports is connected.
- Each USB device class driver includes an initializeation entry point that is called from the + Each USB device class driver includes an initialization entry point that is called from the application at initialization time.
@@ -3632,14 +3632,14 @@ void board_led_off(int led);
- The NuttX PWM driver is split into two parts: + The NuttX analog drivers are split into two parts:
Special Commands. In NuttX, a keyboard/keypad driver is simply a character driver that may have an (optional) encoding/decoding layer on the data returned by the character driver. - A keyboard may return simple text data (alphabetic, numeric, and punctuaction) or control characters (enter, control-C, etc.) when a key is pressed. + A keyboard may return simple text data (alphabetic, numeric, and punctuation) or control characters (enter, control-C, etc.) when a key is pressed. We can think about this the "normal" keyboard data stream. However, in addition, most keyboards support actions that cannot be represented as text or control data. Such actions include things like cursor controls (home, up arrow, page down, etc.), editing functions (insert, delete, etc.), volume controls, (mute, volume up, etc.) and other special functions. @@ -3878,7 +3878,7 @@ void kbd_press(int ch, FAR struct lib_outstream_s *stream); Indicates a normal key press event. Put one byte of normal keyboard data into the output stream.
Input Pameters:
+Input Parameters:
ch
: The character to be added to the output stream.
@@ -3906,10 +3906,10 @@ void kbd_release(uint8_t ch, FAR struct lib_outstream_s *stream);
Input Pameters:
+Input Parameters:
ch
: The character associated with the key that was releared.
+ ch
: The character associated with the key that was released.
stream
: An instance of lib_outstream_s
to perform the actual low-level put operation.
@@ -3935,7 +3935,7 @@ void kbd_specpress(enum kbd_keycode_e keycode, FAR struct lib_outstream_s *strea
Denotes a special key press event.
Put one special keyboard command into the output stream.
Input Pameters:
+Input Parameters:
keycode
: The command to be added to the output stream.
@@ -3965,7 +3965,7 @@ void kbd_specrel(enum kbd_keycode_e keycode, FAR struct lib_outstream_s *stream)
Denotes a special key release event.
Put one special keyboard command into the output stream.
Input Pameters:
+Input Parameters:
keycode
: The command to be added to the output stream.
@@ -4002,7 +4002,7 @@ int kbd_decode(FAR struct lib_instream_s *stream, FAR struct kbd_getstate_s *sta
Input Pameters:
+Input Parameters:
stream
: An instance of lib_instream_s
to perform the actual low-level get operation.
@@ -4059,7 +4059,7 @@ int kbd_decode(FAR struct lib_instream_s *stream, FAR struct kbd_getstate_s *sta
- NuttX supports a simple power managment (PM) sub-system. This sub-system: + NuttX supports a simple power management (PM) sub-system. This sub-system:
Description: This function is called by MCU-specific one-time at power on reset in order to initialize the power management capabilities. -This function must be called very early in the initializeation sequence before any other device drivers are initialize (since they may attempt to register with the power management subsystem). +This function must be called very early in the initialization sequence before any other device drivers are initialize (since they may attempt to register with the power management subsystem).
Input Parameters: None @@ -4170,7 +4170,7 @@ int pm_register(FAR struct pm_callback_s *callbacks);
Returned Value:
-Zero (OK
) on success; otherwise a negater errno
value is returned.
+Zero (OK
) on success; otherwise a negated errno
value is returned.
pm_activity()
Description: This function is called by a device driver to indicate that it is performing meaningful activities (non-idle). - This increment an activty count and/or will restart a idle timer and prevent entering reduced power states. + This increment an activity count and/or will restart a idle timer and prevent entering reduced power states.
Input Parameters:
cb
pmstate
cb
pmstate