Run codespell -w against all files

and fix the wrong correction
This commit is contained in:
Xiang Xiao
2020-02-23 02:31:14 +08:00
committed by Gregory Nutt
parent a07ad7a115
commit bd4e8e19d3
526 changed files with 883 additions and 883 deletions
+2 -2
View File
@@ -2,9 +2,9 @@ github:
description: "Apache NuttX is a mature, real-time embedded operating system (RTOS)"
homepage: https://nuttx.apache.org/
features:
# Enable issues managment
# Enable issues management
issues: true
# Enable project for project managment boards
# Enable project for project management boards
projects: true
labels:
- nuttx
+38 -38
View File
@@ -475,7 +475,7 @@
* Add support for Intel Hex format output using objcopy
* Completed the basic port of the NXP LPC2148 on the mcu123.com board.
The basic port includes successful booting, timer interrupts, serial console,
succesfully passing the examples/ostest, and a NuttShell (NSH) configuration.
successfully passing the examples/ostest, and a NuttShell (NSH) configuration.
* ARM architectures now support drivers/lowconsole.c
0.3.16 2008-10-10 Gregory Nutt <gnutt@nuttx.org>
@@ -2525,7 +2525,7 @@
* net/setsockopt.c, net/getsockopt.c, net/bind.c, net/socket.c: Add more
low level, thread-independent socket interfaces for use within the OS.
Some of these are currently used by the FTP controlling terminal. More will
be used to support the NFS file system currenly underwork.
be used to support the NFS file system currently underwork.
* include/nuttx/net/: Major re-organization of networking headerf files.
Moved all non-standard, NuttX-specific header files from include/net and
include/nuttx into include/nuttx/net.
@@ -3197,7 +3197,7 @@
need to be used at path segments (Richard Cochran).
* arch/arm/src/stm32/stm32_usbotghost.c: The STM32 USB host driver only
works with debug turned on. The problem appears to be that with debug
OFF, there are more NAKs occuring in more places than before and this
OFF, there are more NAKs occurring in more places than before and this
reveals a variety of errors. This check in improves NAK robustness
for control transfers but does not resolve all of the issues.
* configs/stm3220g-eval/*/defconfig: Calibrated delay loop. It had
@@ -3382,7 +3382,7 @@
* lib/stdio/lib_sscanf.c: Add %n pseudo-format (from Kate).
* lib/stdio/lib_sscanf.c: There is an issue of handling input
when (1) no fieldwidth is provided and (2) there is no space
seperating the input values. No solutions is in place for this
separating the input values. No solutions is in place for this
case now (either space or a fieldwidth must be provided). But
at least some of the bad logic that attempted to handle this
case has been removed (noted by Kate).
@@ -4130,7 +4130,7 @@
for pthreads. By dividing the TCB structure into these variants,
pthreads do not have to be burdened by task-specific data structures
(and vice versa).
* sched/task_exithook.c adn group_create.c: Fix an error, the
* sched/task_exithook.c and group_create.c: Fix an error, the
task within the task group may exit early leaving a pthread to
exit the task group last. In this case, we need to remember the
the PID of the main task in the task group and use that PID for
@@ -4878,7 +4878,7 @@
* arch/include/sam34/chip.h: Add chip definitions for the SAM4L
family (2013-6-3).
* configs/sam4l-xplained: A partial configuration that will (eventually)
support the SAM4L Xplained Pro developement board (2013-6-3).
support the SAM4L Xplained Pro development board (2013-6-3).
* arch/arm/src/sam34/chip/sam4l_pinmap.h: Initial cut as SAM4L
pin mapping (2013-6-3).
* arch/arm/src/stm32/stm32*_dma.*: Add a new interface function,
@@ -5046,7 +5046,7 @@
* drivers/lcd/ug-2864ambag01.c and ug-9664hswag01.c: Add/updated
support for reverse portrait mode from lessons learned with the
UG-2832HSWEG04. Untested changes! (2013-6-24).
* arch/arm/src/stm32/stm32_ccm.c and .h: Add support for a seperate CCM
* arch/arm/src/stm32/stm32_ccm.c and .h: Add support for a separate CCM
heap. This may be useful for segregating allocations for CCM (which
cannot be used for DMA) from other allocations (that may be used used
for DMA) (2013-6-25).
@@ -8815,7 +8815,7 @@
definition. From Lazlo (2014-10-9).
* include/syscall.h, syscall/, and libc/: Remove syslog interfaces
from the set of system calls (2014-10-9).
* libc/syslog: Move syslog back out of the kernel into the C libary
* libc/syslog: Move syslog back out of the kernel into the C library
(2014-10-9).
* arch/mips/src/pic32mx/pic32mx-devcfg.h: For PIC32MX7, DEVCFG0 bit
2 must be set. Writing bit 2 as zero can brick the CPU on some
@@ -9104,7 +9104,7 @@
destruction of waitsem, irqsem and readysem to
cc3000_open/cc3000_close.
* include/cxx/cctype: Undefine macros defined ctype.h so that builtin
C++ implementations will be used intead. From Lorenz Meier
C++ implementations will be used instead. From Lorenz Meier
(2014-11-28).
* configs/stm3210e-eval/src/stm32_djoystick.c: Add a discrete Joystick
supportfor the STM3210E-EVAL (2014-11-28).
@@ -10074,7 +10074,7 @@
include/nuttx/input/touchscreen.h: arch_tcinitialize() and
arch_tcunitinitialize() renamed to board_tsc_setup() and
board_tsc_teardown(). These are not long called directly by
applications but only indirectly throught the crappy boardctl() OS
applications but only indirectly through the crappy boardctl() OS
interface (2015-03-31).
* configs/Kconfig, boardctl.c, include/nuttx/board.h, include/sys/boardctl.h,
and several ADC files in configs/<board>/src/: Rename adc_devinit() to
@@ -10987,7 +10987,7 @@
machines follow the Microsoft ABI for parameter passing. The older,
Linux System 5 ABI will not work on X86_64-based Cygwin machines. Also,
the newer Cygwin tool chains do nor pre-pend symbol names with the
underscore character. With these changes the simulator agains works
underscore character. With these changes the simulator against works
with the newer Cygwin64 platform (2015-09-24).
* arch/arm/src/lpc43xx: Extensive I2C and clocking updates from Lok Tep
(2015-09-29).
@@ -12333,7 +12333,7 @@
many data as possible via a CDC/ACM device and verified the received
data on the PC. From Stefan Kolb (2016-07-13).
* STM32: Fix bug in oneshot timer. From Max Neklyudov (2016-07-13).
* STM32L4: Port foward bugfix from stm32 of oneshot timer. From
* STM32L4: Port forward bugfix from stm32 of oneshot timer. From
ziggurat29 (2016-07-13).
* STM32 and EFM32: I'm using syslog through ITM. In this case
syslog_channel function is call before RAM initialization in
@@ -13042,7 +13042,7 @@
CONFIG_SDIO_DMA which is only defined in stm32/Kconfig. Changed to
CONFIG_STM32F7_SDMMC_DMA and defined in stm32f7/Kconfig (2016-11-07).
* arch/arm/src/stm32: Add PWM driver support for STMF37xx. The
changes have been tested successfuly for TIM4 and TIM17 (different
changes have been tested successfully for TIM4 and TIM17 (different
IPs). From Marc Rechté (2016-11-07).
* sched/semaphore: sem_trywait() no longer modifies the errno value
UNLESS an error occurs. This allows these functions to be used
@@ -13057,7 +13057,7 @@
* drivers/sensors and configs/stm32f103-minimum: Add Vishay VEML6070
driver and support for STM32F103-Minimum board. From From Alan
Carvalho de Assis(2016-11-13).
* Misoc LM32: Corrects a bug that never occured in qemu on simulation or
* Misoc LM32: Corrects a bug that never occurred in qemu on simulation or
real fpga. The error was that the r1 register was being modified out of
context switching and not restoring it. From Ramtin Amin (2016-11-14)
* arch/arm/src/samv71: A problem occurred with the SAMV7 USBDEVHS driver
@@ -13321,7 +13321,7 @@
fixes. From David Sidrane (2016-12-05).
* Expanded otgfs support to stm32F469 and stm32f446. Added missing bits
definitions, Used stm32F469 and stm32f446 bit definitions, Removed
unsed header file. From David Sidrane (2016-12-05).
unused header file. From David Sidrane (2016-12-05).
* Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the
board initialization logic just like every other device driver
(2016-12-06).
@@ -13355,7 +13355,7 @@
(2016-12-10).
* task_delete() now obeys all cancellation point semantics (2016-12-10).
* Add task_setcancelstate(), task_setcanceltype(), and task_testcancel().
These are non-standard interfaces analogous to the correponding pthread_
These are non-standard interfaces analogous to the corresponding pthread_
interfaces that provide cancellation controls for tasks (2016-12-10).
* i.MX6 interrupt handling: Additional logic needed to handle nested
interrupts when an interrupt stack is used (2016-12-13).
@@ -13404,8 +13404,8 @@
* Xtensa EPS32: Make sure that all C callable assembly functions includes
ENTRY prologue and RET epilogue (2016-12-15).
* Xtensa ESP32: Fix windowspill register handling + Use r6, not r2 when
passing paramters with call4 (2016-12-16).
* Xtensa ESP32: Use r6, not r2 when passing paramters with call4
passing parameters with call4 (2016-12-16).
* Xtensa ESP32: Use r6, not r2 when passing parameters with call4
(2016-12-16).
* Xtensa ESP32: Correct a logic problem the prevented dumping the IDLE
thread's stack on an assertion (2016-12-16).
@@ -14103,7 +14103,7 @@
C++ std namespace. From Alan Carvalho de Assis (2017-03-08).
* Kinetis: Fixed GPIO _PIN_OUTPUT_LOWDRIVE swapped with
_PIN_OUTPUT_OPENDRAIN. From David Sidrane (2017-03-08).
* Ensure interrupts are back on BEFORE running code dependant on
* Ensure interrupts are back on BEFORE running code dependent on
clock_systimer. From David Sidrane (2017-03-08).
* Enable compilation of libc++ same way as uClibc++. From Alan
Carvalho de Assis (2017-03-08).
@@ -14190,7 +14190,7 @@
(2017-03-10).
* STM32, STM32 F7, and STM32 L4: Clone Freddie Chopin's I2C change to
similar STM32 I2C drivers. From David Sidrane (2017-03-10).
* Priority Inversion fixes: Initalization. From David Sidrane
* Priority Inversion fixes: Initialization. From David Sidrane
(2017-03-10).
* configs: Add Particle Photon board support. From Simon Piriou
(2017-03-10).
@@ -14362,7 +14362,7 @@
(2017-03-22).
* STM32: Fix erase sector number for microcontrolers with more than 11
sectors. Erase a sector from the second bank cause the bit 4 of SNB
being set but never unsed, so trying to erase a sector from the first
being set but never unused, so trying to erase a sector from the first
bank was acually eraseing a sector from the second bank. From José
Roberto de Souza (2017-03-22).
* STM32: Make up_progmem thread safe. Writing to a flash sector while
@@ -15228,7 +15228,7 @@
Piriou (2017-05-14).
* configs/photon/wlan: disable network logs and add nsh over telnet.
From Simon Piriou (2017-05-14).
* TCP: Send RST if applicaiton 'unlistens()' before we complete the
* TCP: Send RST if application 'unlistens()' before we complete the
connection sequence (2017-05-14).
* drivers: fix some bad NULL checks. From Juha Niskanen (2017-05-15).
* drivers: rename newly introduced up_i2creset to I2C_RESET. From
@@ -15527,7 +15527,7 @@
current interrupt parameter passing (2017-06-12).
* gethostbyname_r: Fix check for space in buffer (2017-06-12).
* MTD M2PX: If we READ while a write/erase is pending, the command is
ignored and the write/erase continues. If we dont catch this
ignored and the write/erase continues. If we don't catch this
situation we will return garbage to the user because the flash will
not execute the command. So READ MUST wait for write completion, and
before that, the bus must be locked since it's a precondition to
@@ -15540,7 +15540,7 @@
from the timer output of a STM32 clocked at 140 MHz (which works fine
in baremetal C), I stumbled on what I believe to be an error in
arch/arm/src/stm32/stm32_pwm.c. Line 1304 we are told that: reload =
timclk / info->frequency; which I belive to be incorrect, it should
timclk / info->frequency; which I believe to be incorrect, it should
be: reload = timclk / info->frequency - 1; since starting to count
from 0, if I want to output half of the TIM clock, I must count to 1
and not to 2. Surely enough, the original code did output 140/3=47
@@ -16059,7 +16059,7 @@
proof of concept. More to come. Currently there are only tables for
the INET/INET6 family, the Unix LOCAL family, and the raw PACKET
family. Hopefully there will be AF_IEEE802154 and AF_BLUETOOTH
comming down the pike. Add recvfrom() method to interface
coming down the pike. Add recvfrom() method to interface
(2017-07-12).
* ieee802154: Fixes setting devmode logic. From Anthony Merlino
(2017-07-13).
@@ -16475,7 +16475,7 @@
* STM32L476VG Discovery: Add a knsh configuration that may be used to
test the PROTECTED build mode (2017-08-17).
* stm32f7:DMA correct comments and document stm32_dmacapable. Updated
comment to proper refernce manual for STM32F7 not STM32F4. Added
comment to proper reference manual for STM32F7 not STM32F4. Added
stm32_dmacapable input paramaters documentation. From David Sidrane
(2017-08-17).
* STM32 F7: DMA add dcache alignment check in stm32_dmacapable. In the
@@ -17584,7 +17584,7 @@
interrupts example. From Mateusz Szafoni (2017-10-22).
* Misc STM32 chagnes
- STM32 HRTIM: Fix warnings related with RCC
- STM32F33xxx ADC: Add some publicly visable interfaces and some
- STM32F33xxx ADC: Add some publicly visible interfaces and some
code to support injected channels
- STM32F33xxx DMA: Add public interface to handle with DMA interrupts
From Mateusz Szafoni (2017-10-22).
@@ -18131,7 +18131,7 @@
generic one. Add a workaround in up_txready() to avoid data
corruption. From Masayuki Ishikawa (2017-11-27).
* arch/arm/src/lpc43xx: lpc43_adc.c was being selected by the build
system wehn DAC was selected (2017-11-27).
system when DAC was selected (2017-11-27).
* configs/lc823450-xgevk: Add RNDIS configuration. From Masayuki
Ishikawa (2017-11-28).
* drivers/input/nunchuck.c: Add Nintendo Wii Nunchuck driver. From
@@ -19430,7 +19430,7 @@
Kinetis UART must be placed in 9 bit mode (M=1) with when 8 bit data with
parity is required. If left in 8 bit mode (M=0) with parity then D7 of the
TX/RX register becomes parity bit. Hence what is called 9-bit or 8-bit
Mode Select is a misnomer. 8 bit mode when parity is enabled is realy 7
Mode Select is a misnomer. 8 bit mode when parity is enabled is really 7
bit with parity. From David Sidrane (2018-05-30).
* arch/sim: Various fixes necessary to build the simulator under MSYS2.
From Gregory Nutt (2018-05-31).
@@ -20048,7 +20048,7 @@
* arch/arm/src/stm32l4/chip: Merged stm32l4x2xx and stm32l4x3xx pinmap
files. Removed references to stm32l4x2xx_pinmap.h From Daniel P.
Carvalho (2018-08-09).
* arch/arm/src/kinetis: PIT add Liftime and Chaining
* arch/arm/src/kinetis: PIT add Lifetime and Chaining
arch/arm/src/kinetis: flexcan fix duplicate line and ordering
arch/arm/src/kinetis: kinetis_lowput.c LPUART data format with
parity fix. The 9-bit data mode is typically used with parity to
@@ -22437,7 +22437,7 @@
battery_charger_dev_s' should be a pointer to operations structure.
From Alan Carvalho de Assis (2019-01-05).
* drivers/net/telnet.c: Add NAWS and poll interface to telnet for screen
size negotation used with termcurses. From Ken Pettit (2019-01-05).
size negotiation used with termcurses. From Ken Pettit (2019-01-05).
* arch/arm/src/samv7/sam_serial.c: Fix case where TTYS0 is not defined.
From Ken Pettit (2019-01-05).
* arch/arm/src/armv7-a/arm_mmu.c: Fix end address calculation for
@@ -23417,7 +23417,7 @@
- configs/teensy-3.x/usbnsh/defconfig: update config according to
change in USBDEV_TRACE_INITIALIDSET
From Mateusz Szafoni (2019-03-10).
* arch/arm/src/imxrt/imxrt_clockconfig.c: If SDRAM is actived it was
* arch/arm/src/imxrt/imxrt_clockconfig.c: If SDRAM is activated it was
only running at 40MHz. This was becaus imxrt_clockconfig.c changed the
SEMC clock divider after the DCD was configured. This commit corrects
that. From Johannes (2019-03-10).
@@ -23430,7 +23430,7 @@
display number as an argument. This makes it possible to have multiple
instances of the NX server running on boards that support multiple
displays. Also includes updates to boardctl() to accept display number
paramters. From Gregory Nutt (2019-03-10).
parameters. From Gregory Nutt (2019-03-10).
* Add three patches about STM32 intherupts and network loopback files
- Add the missing macro STM32_IRQ_NIRQS used by
./arch/arm/src/stm32f7/stm32_irq.c
@@ -23459,7 +23459,7 @@
the reference count before freeing the dspace memory region. From
Gregory Nutt (2019-03-12).
* tools/nxstyle.c: Don't complain about certain lowercase characters in
otherwise uppercase pre-processor identifers: IPv6, IPv4, ICMPv6,
otherwise uppercase pre-processor identifiers: IPv6, IPv4, ICMPv6,
IGMPv2, p as a decimal point, d signifying a divisor. It was a bad
idea to let the door open a crack for there. While they improve
readability, the inconsistently also causes other problems. From
@@ -24075,7 +24075,7 @@
* In many files: Remove references to CONFIG_DISABLE_SIGNALS. Signals can
no longer be disabled. From Gregory Nutt (2019-04-29).
* net/socket/getsockname.c: Fix addrlen check in socket debug features.
Getsockname checked erroneously a pointer agains 0, where the intention
Getsockname checked erroneously a pointer against 0, where the intention
was to dereference the pointer and to check the length. This causes also
a compilation failure if the code is compiled with CONFIG_DEBUG_FEATURES
and with -Werror flag set. From Jukka Laitinen (2019-04-30).
@@ -25775,7 +25775,7 @@
drain From Beat Küng (2019-08-15).
* boards/arm/s32k1xx/s32k118evb/src/s32k118_clockconfig.c: Add clock
configuration data for the S32K118EVB. From Gregory Nutt (2019-08-15).
* arch/arm/src/tiva/common/tiva_irq.c: Add handling for IRQs 128 thru
* arch/arm/src/tiva/common/tiva_irq.c: Add handling for IRQs 128 through
159. Handling was missing for these IRQs, resulting in compiler
warning(s) for 'Missing logic' and/or 'Missing output.' From Nathan
Hartman (2019-08-15).
@@ -27203,7 +27203,7 @@
in this directory. From Gregory Nutt (2019-10-29).
* NXP k66 Ethernet
- Kinetis:Add TJA1100 Phy
- Kinetis:enet.c formated with nxstyle
- Kinetis:enet.c formatted with nxstyle
- net:mii Cleanup TJA1100 Support. Formating and adding mask and
shifts.
- net:Kconfig Cleanup formatting.
@@ -27274,7 +27274,7 @@
selected. Since SPI is mandatory it should be auto selected. From
Alin Jerpelea (2019-11-04).
* net/netlink: The NETLINK_ROUTE logic needs to return the first queued
response and not attempt to match up reponses with requests. That is
response and not attempt to match up responses with requests. That is
the Linux compatible way. Also, use queue.h functions for list
management and fix an error in arp_snapshot(). From Gregory Nutt
(2019-11-04).
+3 -3
View File
@@ -3847,7 +3847,7 @@ nsh>
Some initial files for the LPC17xx family were released in NuttX 5.6, but
</li>
<li>
The first functional release for the NXP LPC1768/Nucleus2G occured with NuttX 5.7 with
The first functional release for the NXP LPC1768/Nucleus2G occurred with NuttX 5.7 with
Some additional enhancements through NuttX-5.9.
Refer to the NuttX board <a href="https://bitbucket.org/patacongo/obsoleted/src/master/configs/nucleus2g/README.txt" target="_blank">README</a> file for further information.
</li>
@@ -3866,7 +3866,7 @@ nsh>
<p><b>Obsoleted</b>.
Support for the Nucleus2G board was terminated on 2016-04-12.
There has not been any activity with the commercial board in a few years and it no longer appears to be available from the 2g-eng.com website.
Since the board is commercial and no longer publically available, it no longer qualifies for inclusion in the open source repositories.
Since the board is commercial and no longer publicly available, it no longer qualifies for inclusion in the open source repositories.
A snapshot of the code is still available in the <a href="https://bitbucket.org/patacongo/obsoleted/src/master/boards/nucleus2g">Obsoleted repository</a> and can easily be <i>reconstitued</i> if needed.
</p>
</li>
@@ -4078,7 +4078,7 @@ nsh>
<td>
<p>
<a name="xmd45xx"><b>Infineon XMC45xx</b>.</a>
An initial but still incomplete port to the XMC4500 Relax board was released with NuttX-7.21 (although it wass not really ready for prime time). Basic NSH functionality was a serial console was added by Alan Carvahlo de Assis in NuttX-7.23. Alan also added an SPI driver in NuttX-7.25.
An initial but still incomplete port to the XMC4500 Relax board was released with NuttX-7.21 (although it was not really ready for prime time). Basic NSH functionality was a serial console was added by Alan Carvahlo de Assis in NuttX-7.23. Alan also added an SPI driver in NuttX-7.25.
</p>
<p>
This initial porting effort uses the Infineon XMC4500 Relax v1 board as described on the manufacturer's <a href="http://www.infineon.com/cms/en/product/evaluation-boards/KIT_XMC45_RELAX_V1/productType.html?productType=db3a304437849205013813b23ac17763">website</a>.
+1 -1
View File
@@ -469,7 +469,7 @@ void envpath_release(ENVPATH_HANDLE handle);
struct symtab_s
{
FAR const char *sym_name; /* A pointer to the symbol name string */
FAR const void *sym_value; /* The value associated witht the string */
FAR const void *sym_value; /* The value associated with the string */
};
</pre></ul>
+9 -9
View File
@@ -417,7 +417,7 @@
</li>
<li>
Text following '.' or ':' begins with an upper-case character;
text folowing ',' or ';' begins with a lower-case character.
text following ',' or ';' begins with a lower-case character.
</li>
</ul>
<p>
@@ -608,7 +608,7 @@
<p>
<b>Comments to the Right of Data Definitions</b>.
Comments to the right of a declaration with an enumeration or structure, on the other hand, are encouraged, provided that the comments are short and do not exceed the maximum line width (usually 78 characters).
Columnar alignment of comments is very desireable (but often cannot be achieved without violating the line width).
Columnar alignment of comments is very desirable (but often cannot be achieved without violating the line width).
</p>
<center><table width="60%" border=1>
<tr><td bgcolor="white">
@@ -696,7 +696,7 @@ struct animals_s
<p>
<b>C Style Comments</b>.
C99/C11/C++ style comments (beginning wih <code>//</code>) should not be used with NuttX.
C99/C11/C++ style comments (beginning with <code>//</code>) should not be used with NuttX.
NuttX generally follows C89 and all code outside of architecture specific directories must be compatible with C89.
</p>
<center><table width="60%" border=1>
@@ -803,7 +803,7 @@ void some_function(void)
</li>
<li>
<b>Compound Statements</b>.
Within this document, an opening left brace followed by a sequence of statments, and ending with a closing right brace is refered to as a <i>compound statement</i>.
Within this document, an opening left brace followed by a sequence of statments, and ending with a closing right brace is referred to as a <i>compound statement</i>.
</li>
<li>
<b>Nested Compound Statements</b>.
@@ -1047,7 +1047,7 @@ int animals(int animal)
C pre-processor statements should always be indented in this way in the <code>Pre-processor Definitions</code> <a href="#cfilestructure">section</a> of each file.
C pre-processor statements may be indented in the <code>Public/Private Data</code> and <code>Public/Private Functions</code> sections of the file.
However, often the indentation of C pre-processor statements conflicts with the indentation of the C code and makes the code more difficult to read.
In such cases, indentation of C pre-processor statements should be ommitted in those sections (only).
In such cases, indentation of C pre-processor statements should be omitted in those sections (only).
</p>
<center><table width="60%" border=1>
@@ -1133,7 +1133,7 @@ int animals(int animal)
Otherwise, there should be no space before the left parentheses
</li>
<li>
<b>No space betwen function name and argument list</b>.
<b>No space between function name and argument list</b>.
There should be no space between a function name and an argument list.
</li>
<li>
@@ -1455,7 +1455,7 @@ typedef int myinteger_t;
First for structures that are defined within another union or structure (discouraged). In those cases, the structure name should always be omitted.
</li>
<li>
Second for structures as the type of a local variable. In this case, again, the structure name should always be ommitted.
Second for structures as the type of a local variable. In this case, again, the structure name should always be omitted.
</li>
</ol>
</li>
@@ -2570,7 +2570,7 @@ x++;
</li>
<li>
<b>Followed by a single blank line</b>.
The final right brace that closes the <code>while &lt;condition&gt;</code> statment must be followed by a single blank line.
The final right brace that closes the <code>while &lt;condition&gt;</code> statement must be followed by a single blank line.
</li>
<li>
<b>Exception</b>.
@@ -2692,7 +2692,7 @@ x++;
<li>
<b>Error Exit Labels</b>.
The error exit label is normally called <code>errout</code>.
Multiple error labels are often to required to <i>unwind</i> to recover resources committe in logic prior to the error to otherwise <i>undo</i> preceding operations.
Multiple error labels are often to required to <i>unwind</i> to recover resources committed in logic prior to the error to otherwise <i>undo</i> preceding operations.
Naming for these other labels would be some like <code>errout_with_allocation</code>, <code>errout_with_openfile</code>, etc.
</li>
<li>
+2 -2
View File
@@ -2296,7 +2296,7 @@ The specific environmental definitions are unique for each board but should incl
There are many interfaces exported from board- to architecture-specific logic.
But there are only a few exported from board-specific logic to common NuttX logic.
Those few of those related to initialization will be discussed in this paragraph.
There are others, like those used by <a href="#boardctl"><code>boardctl()</code></a> that will be dicussed in other paragraphs.
There are others, like those used by <a href="#boardctl"><code>boardctl()</code></a> that will be discussed in other paragraphs.
</p>
<p>
All of the board-specific interfaces used by the NuttX OS logic are for controlled board initialization.
@@ -2339,7 +2339,7 @@ The specific environmental definitions are unique for each board but should incl
This additional initialization phase may be used, for example, to initialize more complex, board-specific device drivers.
</p>
<p>
Waiting for events, use of I2C, SPI, etc are permissable in the context of board_late_initialize().
Waiting for events, use of I2C, SPI, etc are permissible in the context of board_late_initialize().
That is because <code>board_late_initialize()</code> will run on a temporary, internal kernel thread.
</p>
+1 -1
View File
@@ -860,7 +860,7 @@ int exec(FAR const char *filename, FAR char * const *argv,
<p>
This non-standard interface is included as a official NuttX API only because it is needed in certain build modes: <code>exec()</code> is probably the only want to load programs in the PROTECTED mode. Other file execution APIs rely on a symbol table provided by the OS. In the PROTECTED build mode, the OS cannot provide any meaningful symbolic information for execution of code in the user-space blob so that is the <code>exec()</code> function is really needed in that build case
</p>
The interface is available in the FLAT build mode although it is not really necessary in that case. It is currently used by some example code under the <code>apps/</code> that that generate their own symbol tables for linking test programs. So althought it is not necessary, it can still be useful.
The interface is available in the FLAT build mode although it is not really necessary in that case. It is currently used by some example code under the <code>apps/</code> that that generate their own symbol tables for linking test programs. So although it is not necessary, it can still be useful.
</p>
<p>
The interface would be completely useless and will not be supported in the KERNEL build mode where the contrary is true: An application process cannot provide any meaning symbolic information for use in linking a different process.
+30 -30
View File
@@ -2476,7 +2476,7 @@ New features in this release include:
the OS test and the NuttShell (NSH) both exist.
* Tests: New re-usable tests (in apps/examples) for PWM, ADC, and
CAN loopback. Several existing tests can now be built as NSH built-in
applicaitons (dhcpd, nettest, and all of the new tests).
applications (dhcpd, nettest, and all of the new tests).
Bugfixes, order roughly on decreasing criticality include:
@@ -3295,7 +3295,7 @@ Additional new features and extended functionality:
- Tasking logic is extended to support the notion of address
environments. An address environment is the key notion underlying
"process" vs. tasks. If tasks are created with address environments
(by binfmt), the OS will propogate that environment to child threads
(by binfmt), the OS will propagate that environment to child threads
and will destroy the address environment when the "process" exists.
- If support for the PATH variable is enabled, the OS start up logic
will create an initial environment containing the default PATH
@@ -4351,7 +4351,7 @@ Additional new features and extended functionality:
- Added support for the Atmel SAM4L Xplained Pro development board.
This board features the ATSAM4LC4C MCU (Cortex-M4 with 256KB FLASH +
32KB SRAM).
- Added support for the Atmel SAM4S Xplained developement board. This
- Added support for the Atmel SAM4S Xplained development board. This
board features the ATSAM4S16C MCU (Cortex-M4 with 1MB FLASH + 128KB
SRAM).
@@ -4968,7 +4968,7 @@ Additional new features and extended functionality:
- Add GMII/GRMII PHY definitions for the Micrel KSZ9021/31 PHY.
- New network-optimized, higher-performance sendfile() implementation
from Max Holtzberg.
- Added a simple routing table. This table is currenly only used (1)
- Added a simple routing table. This table is currently only used (1)
when we need to look-up an Ethernet device based on an IP address,
and (2) in the ARP logic when we need to request the MAC address of
the router, vs the MAC address of the peer.
@@ -9947,7 +9947,7 @@ Additional new features and extended functionality:
- VFS: The VFS was extended to support standard file operations on
block drivers (open, close, read, write, etc.). The open() interface
accomplishes this by creating a temporary characer driver to mediate
the character oriented accesses to tje block driver.
the character oriented accesses to the block driver.
- HOSTFS: Added a HOSTFS file system for use with the simulator. The
HOSTFS file system mounts in the simulated Nuttx context by provides
proxied access to the file system on the host PC. This is useful for
@@ -10497,7 +10497,7 @@ Additional new features and extended functionality:
- procfs: Add /proc/kmm entry that shows that state of the kernel
heap. Only useful in PROTECTED and KERNEL build modes where there
is a kernel heap.
- procfs: Add support for showing CPU in the tast status if SMP is
- procfs: Add support for showing CPU in the taste status if SMP is
enabled.
* Networking:
@@ -12338,7 +12338,7 @@ Additional new features and extended functionality:
- task_delete() now obeys all cancellation point semantics.
- Add task_setcancelstate(), task_setcanceltype(), and
task_testcancel(). These are non-standard interfaces analogous to the
correponding pthread_ interfaces that provide cancellation controls
corresponding pthread_ interfaces that provide cancellation controls
for tasks.
* Graphics/Display Drivers:
@@ -12484,7 +12484,7 @@ Additional new features and extended functionality:
mode and does not support external TIMER triggers. This is a work in
progress. From Marc Rechté.
- STM32 F3: Add PWM driver support for STMF37xx. The changes have been
tested successfuly for TIM4 and TIM17 (different IPs). From Marc
tested successfully for TIM4 and TIM17 (different IPs). From Marc
Rechté.
- STM32 F4: Support oversampling by 8 for the STM32 F4. From David
Sidrane.
@@ -12493,7 +12493,7 @@ Additional new features and extended functionality:
From David Sidrane.
- STM32 F4: Expanded OTGFS support to stm32F469 and stm32f446. Added
missing bit definitions, Used stm32F469 and stm32f446 bit
definitions, Removed unsed header file. From David Sidrane.
definitions, Removed unused header file. From David Sidrane.
- STM32 F4: Allow dma in 1 bit mode in STM32F4xxx. From David Sidrane.
- STM32 F7: Allow the config to override the clock edge setting. From
David Sidrane.
@@ -12691,7 +12691,7 @@ detailed bugfix information):
enter/leave_critical_section logic to deal with the case where
interrupts are disabled only on the local CPU. In this case, some
rather complex spinlocks must be used to maintain the critical section
accross all CPUs.
across all CPUs.
- SMP Critical Sections: Fixes for the SMP case: (1) Change order for
SMP case in enter_critical_section: (1) Disable local interrupts
BEFORE taking spinlock and (2) If SMP is enabled, if any interrupt
@@ -12881,7 +12881,7 @@ detailed bugfix information):
* Misoc LM32:
- Misoc LM32: Corrects a bug that never occured in qemu on simulation or
- Misoc LM32: Corrects a bug that never occurred in qemu on simulation or
real fpga. The error was that the r1 register was being modified out
of context switching and not restoring it. From Ramtin Amin
@@ -13915,7 +13915,7 @@ Additional new features and extended functionality:
- Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]. Set the
'exit on error control' and/or 'print a trace' of commands when
parsing scripts in NSH. The settinngs are in effect from the point
of exection, until they are changed again, or in the case of the init
of execution, until they are changed again, or in the case of the init
script, the settings are returned to the default settings when it
exits. Included child scripts will run with the parents settings and
changes made in the child script will effect the parent on return.
@@ -14164,7 +14164,7 @@ detailed bugfix information):
Kivilinna.
- TCP: Wait for 3-Way Handshare before accept() returns. From Simon
Piriou.
- TCP: Send RST if applicaiton 'unlistens()' before we complete the
- TCP: Send RST if application 'unlistens()' before we complete the
connection sequence.
- TCP: An RST received during the 3-way handshake requires a little
more clean-up.
@@ -14254,7 +14254,7 @@ detailed bugfix information):
- Kinetis: Fixed GPIO _PIN_OUTPUT_LOWDRIVE swapped with
_PIN_OUTPUT_OPENDRAIN. From David Sidrane.
- Ensure interrupts are back on BEFORE running code dependant on
- Ensure interrupts are back on BEFORE running code dependent on
clock_systimer. From David Sidrane.
- Kinetis k66, k64, k60, k40, k20: Pin mux configure all I2C signals as
Open Drain. The output structure of the GPIO for I2C needs to be
@@ -14319,7 +14319,7 @@ detailed bugfix information):
polling interval for the case of isochronous and interrupt endpoints.
- STM32: Fix erase sector number for microcontrolers with more than 11
sectors. Erase a sector from the second bank cause the bit 4 of SNB
being set but never unsed, so trying to erase a sector from the first
being set but never unused, so trying to erase a sector from the first
bank was acually eraseing a sector from the second bank. From José
Roberto de Souza.
- STM32: Make up_progmem thread safe. Writing to a flash sector while
@@ -14945,7 +14945,7 @@ Additional new features and extended functionality:
* Tools:
- testbuild.sh: Added -x to fail build on errors for continous
- testbuild.sh: Added -x to fail build on errors for continuous
integration (CI). On CI we want to know ASAP of a failure. From
David Sidrane.
- Improve configure.sh behavior: (1) enable to call from top directory.
@@ -15117,7 +15117,7 @@ detailed bugfix information):
cloned error: It was not locking the bus while performing byte write
operations.
- MTD M2PX: If we READ while a write/erase is pending, the command is
ignored and the write/erase continues. If we dont catch this situation
ignored and the write/erase continues. If we don't catch this situation
we will return garbage to the user because the flash will not execute
the command. So READ MUST wait for write completion, and before that,
the bus must be locked since it's a precondition to calling
@@ -16453,7 +16453,7 @@ detailed bugfix information):
* NXP/Freescale LPC43xx:
- lpc43xx: lpc43_adc.c was being selected by the build system wehn
- lpc43xx: lpc43_adc.c was being selected by the build system when
DAC was selected.
* NXP/Freescale LPC43xx Drivers:
@@ -16520,7 +16520,7 @@ detailed bugfix information):
the RTC_TR register instead of being locked."
- STM32 Serial: Do not stop processing input in SW flow-control
mode. From Juha Niskanen.
- STM32F33xxx ADC: Add some publicly visable interfaces and some
- STM32F33xxx ADC: Add some publicly visible interfaces and some
code to support injected channels. From Mateusz Szafoni.
- STM32F33xxx DMA: Add public interface to handle with DMA
interrupts. From Mateusz Szafoni.
@@ -17911,7 +17911,7 @@ Additional new features and extended functionality:
existing code. The previously existing tftpget/tftpput functions
are now wrappers on the new ones, with callbacks that read/write
from files, so my modifications are backwards compatible with
existing applications, eg the associated nsh commands dont need to
existing applications, eg the associated nsh commands don't need to
be changed. From Sebastien Lorquet.
* Wireless Utilities: apps/wireless:
@@ -18108,7 +18108,7 @@ detailed bugfix information):
with parity is required. If left in 8 bit mode (M=0) with parity
then D7 of the TX/RX register becomes parity bit. Hence what is
called 9-bit or 8-bit Mode Select is a misnomer. 8 bit mode when
parity is enabled is realy 7 bit with parity. From David Sidrane.
parity is enabled is really 7 bit with parity. From David Sidrane.
* NXP/Freescale Kinetis Boards:
@@ -19409,7 +19409,7 @@ detailed bugfix information):
complete. The second problem is that Software Reset For DAT Line
SDHC_SYSCTL[RSTD] clears the bits 24-0 in SDHC_PROTO this looses
the wide bus setting DTW From David Sidrane.
- Kinetis: (1) PIT add Liftime and Chaining, (2) flexcan fix
- Kinetis: (1) PIT add Lifetime and Chaining, (2) flexcan fix
duplicate line and ordering, (3) kinetis_lowput.c LPUART data
format with parity fix. The 9-bit data mode is typically used with
parity to allow eight bits of data plus the parity, (4) lowputc
@@ -21717,7 +21717,7 @@ detailed bugfix information):
3. Paste buffer from 'dd' was being free'd after the 'p'aste operation,
preventing multiple paste opportunity. Fixed.
4. The cursor was not being bound to the line end and was allowed to
'hover' over the '\n' EOL character. This caused wierd (relative to
'hover' over the '\n' EOL character. This caused weird (relative to
standard vi) insertion locations and cursor movement with 'a'ppend
and 'i'nsert. Fixed.
5. The 'vi_shrinkpos' position didn't take the end of file pointer into
@@ -21725,7 +21725,7 @@ detailed bugfix information):
wierdness when deleting things near the end of the file. Fixed.
6. The 'yy'ank command was improperly deleting the text from the
document instead of simply yanking to the paste buffer. Fixed.
7. The 'dd'elete line funciton was not copying the deleted line to the
7. The 'dd'elete line function was not copying the deleted line to the
paste buffer as part of the delete operation. Fixed.
8. The bottom line of the screen was sometimes being used for document
text and other times for command / find entry. Fixed by reserving
@@ -21761,7 +21761,7 @@ detailed bugfix information):
17. In command mode, backspace was deleting characters which is
different from standard vi. Backspace in command mode normally
simply moves the cursor left / to the previous line. Fixed.
18. Added code to handle boundry conditions when the file is new and
18. Added code to handle boundary conditions when the file is new and
commands are applied to an empty file.
19. Fixed vi_shrinktext so it doesn't allocate a zero-length buffer when
the last character in the file is deleted.
@@ -21930,7 +21930,7 @@ Additional new features and extended functionality:
expense of increased memory usage. Redraw requests in other cases
are also suppressed: Changes to window position, size, etc. As a
consequence, some manual updates will be required when certain
events occurr (like removing a toolbar from a window). NOTE: A
events occur (like removing a toolbar from a window). NOTE: A
significant amount of RAM, usually external SDRAM, may be required
to use per-window framebuffers.
@@ -22175,7 +22175,7 @@ Additional new features and extended functionality:
- tools/nxstyle.c: Add logic to detect a blank line following a left
brace or a blank line preceding a right brace. From Gregory Nutt.
- tools/nxstyle.c: Don't complain about certain lowercase characters
in otherwise uppercase pre-processor identifers: IPv6, IPv4,
in otherwise uppercase pre-processor identifiers: IPv6, IPv4,
ICMPv6, IGMPv2, p as a decimal point, d signifying a divisor. It
was a bad idea to let the door open a crack for there. While they
improve readability, the inconsistently also causes other
@@ -22626,7 +22626,7 @@ detailed bugfix information):
* NXP i.MXRT:
- i.MXRT Clock Configuration: If SDRAM is actived it was only
- i.MXRT Clock Configuration: If SDRAM is activated it was only
running at 40MHz. This was becaus imxrt_clockconfig.c changed the
SEMC clock divider after the DCD was configured. This commit
corrects that. From Johannes.
@@ -23280,7 +23280,7 @@ detailed bugfix information):
* Networking/Network Drivers:
- getsockname(): Fix addrlen check in socket debug features.
Getsockname() checked erroneously a pointer agains 0, where the
Getsockname() checked erroneously a pointer against 0, where the
intention was to dereference the pointer and to check the length.
This causes also a compilation failure if the code is compiled
with CONFIG_DEBUG_FEATURES and with -Werror flag set. From Jukka
@@ -24919,7 +24919,7 @@ Additional new features and extended functionality:
- Tiva Configuration: Modify preprocessor logic to support
configurations with no UART. Now similar to logic for other
architectures. From Nathan Hartman.
- Tiva Interrupts: Add handling for IRQs 128 thru 159. From Nathan
- Tiva Interrupts: Add handling for IRQs 128 through 159. From Nathan
Hartman.
* TI Tiva Drivers:
+2 -2
View File
@@ -632,7 +632,7 @@ o SMP
the g_csection_wait[] needs to be moved back to
g_readytorun[].
- This may result in a context switch. The tasks should be
moved back to g_readytorun[] higest priority first. If a
moved back to g_readytorun[] highest priority first. If a
context switch occurs and the critical section to re-taken
by the re-started task, the lower priority tasks in
g_csection_wait[] must stay in that list.
@@ -1124,7 +1124,7 @@ o Kernel/Protected Build
via a system call at high rates.
Title: SIGNAL ACTION VULNERABILITY
Description: When a signal action is peformed, the user stack is used.
Description: When a signal action is performed, the user stack is used.
Unlike Linux, applications do not have separate user and
supervisor stacks; everything is done on the user stack.
+1 -1
View File
@@ -115,7 +115,7 @@ include/irq.h
NOTE: These interfaces are not available to application code but can
only be used within the operating system code. And, in general,
these functions should *never* be called directly, not unless you
know absolutely well what you are doing. Rather you shoudl typically
know absolutely well what you are doing. Rather you should typically
use the wrapper functions enter_critical_section() and leave_critical_section()
as prototyped in include/nuttx/irq.h.
+1 -1
View File
@@ -63,7 +63,7 @@ extern "C"
*
* Description:
* Initialize the log header where the address and size of each log area
* are decribed. If the log header has been already configured as a wakeup
* are described. If the log header has been already configured as a wakeup
* from sleeping or reboot case, then do nothing and return OK.
*
* Returned Value:
+1 -1
View File
@@ -665,7 +665,7 @@ struct cxd56_gnss_ope_mode_param_s
uint32_t cycle;
};
/* Sattelite almanac, ephemeris data */
/* Satellite almanac, ephemeris data */
struct cxd56_gnss_orbital_param_s
{
+1 -1
View File
@@ -96,7 +96,7 @@ extern "C"
#define CXD56_GNSS_PVT_VELFIX_1D 5 /* 1D fix */
#define CXD56_GNSS_PVT_VELFIX_PRED 6 /* Prediction */
/* GNSS oribital infomation data type, almanac & ephemeris */
/* GNSS oribital information data type, almanac & ephemeris */
#define CXD56_GNSS_DATA_GPS 0 /* GPS data type */
#define CXD56_GNSS_DATA_GLONASS 1 /* Glonass data type */
+2 -2
View File
@@ -503,7 +503,7 @@ void seq_setaddress(FAR struct seq_s *seq, uint32_t slave_addr);
*
* This function use 'oneshot' feature on SCU. So user unnecessary to specify
* any opened sequencer.
* This function usefull for accessing register directly.
* This function useful for accessing register directly.
*
* param [in] slavesel : Slave select
* param [in] inst : Sequencer instruction
@@ -523,7 +523,7 @@ int scu_spitransfer(int slavesel, uint16_t *inst, uint32_t nr_insts,
*
* This function use 'oneshot' feature on SCU. So user unnecessary to
* specify any opened sequencer.
* This function usefull for accessing register directly.
* This function useful for accessing register directly.
*
* param [in] port : I2C port (0 or 1)
* param [in] slave : Slave address
+1 -1
View File
@@ -77,7 +77,7 @@
#define LPC17_40_IRQ_EXTINT (16) /* Vector number of the first external interrupt */
/* Family Specfic Interrupts */
/* Family Specific Interrupts */
#if defined(LPC176x) /* LPC175/6 family */
# include <arch/lpc17xx_40xx/lpc176x_irq.h>
+1 -1
View File
@@ -199,7 +199,7 @@
#else
# define STM32L4_NPORTS 8 /* 8 GPIO ports, GPIOA-H */
#endif
# define STM32L4_NADC 3 /* 12-bit ADC1-3, upto 24 channels */
# define STM32L4_NADC 3 /* 12-bit ADC1-3, up to 24 channels */
# define STM32L4_NDAC 2 /* 12-bit DAC1-2 */
# define STM32L4_NCRC 1 /* CRC */
# define STM32L4_NCOMP 2 /* Comparators */
+1 -1
View File
@@ -78,7 +78,7 @@
#define TIVA_IRQ_GPT2B (36) /* GPT2B interrupt event */
#define TIVA_IRQ_GPT3A (37) /* GPT3A interrupt event */
#define TIVA_IRQ_GPT3B (38) /* GPT3B interrupt event */
#define TIVA_IRQ_CRYPTO_RESULT_AVAIL (39) /* CRYPTO result available interupt
#define TIVA_IRQ_CRYPTO_RESULT_AVAIL (39) /* CRYPTO result available interrupt
* event */
#define TIVA_IRQ_DMA_DONE (40) /* Combined DMA done */
#define TIVA_IRQ_DMA_ERR (41) /* DMA bus error */
+2 -2
View File
@@ -356,7 +356,7 @@ config A1X_DDR_MAPOFFSET
closely to other settings:
RAM_START and RAM_VSTART give this physical and virtual addresses
of the start of usable memory (begining with .text). NOTE that
of the start of usable memory (beginning with .text). NOTE that
this may not necessarily be the actual start of the mapped SDRAM
region. It will be larger if NuttX begins at an offset from
beginning of mapped SDRAM (which is the normal case).
@@ -379,7 +379,7 @@ config A1X_DDR_MAPSIZE
closely to other settings:
RAM_START and RAM_VSTART give this physical and virtual addresses
of the start of usable memory (begining with .text). NOTE that
of the start of usable memory (beginning with .text). NOTE that
this may not necessarily be the actual start of the mapped SDRAM
region. It will be larger if NuttX begins at an offset from
beginning of mapped SDRAM (which is the normal case).
+2 -2
View File
@@ -219,7 +219,7 @@ config AM335X_DDR_MAPOFFSET
closely to other settings:
RAM_START and RAM_VSTART give this physical and virtual addresses
of the start of usable memory (begining with .text). NOTE that
of the start of usable memory (beginning with .text). NOTE that
this may not necessarily be the actual start of the mapped SDRAM
region. It will be larger if NuttX begins at an offset from
beginning of mapped SDRAM (which is the normal case).
@@ -242,7 +242,7 @@ config AM335X_DDR_MAPSIZE
closely to other settings:
RAM_START and RAM_VSTART give this physical and virtual addresses
of the start of usable memory (begining with .text). NOTE that
of the start of usable memory (beginning with .text). NOTE that
this may not necessarily be the actual start of the mapped SDRAM
region. It will be larger if NuttX begins at an offset from
beginning of mapped SDRAM (which is the normal case).
+1 -1
View File
@@ -294,7 +294,7 @@
/* Page Management **********************************************************/
/* For page managment purposes, the following summarize the "heap" of
/* For page management purposes, the following summarize the "heap" of
* free pages, operations on free pages and the L2 page table.
*
* PG_POOL_VA2L1OFFSET(va) - Given a virtual address, return the L1 table
+1 -1
View File
@@ -535,7 +535,7 @@ __start:
*
* R4 = Virtual address of the page table
* R3 = Physical address of the NuttX execution space (aligned to a
* one megabyte addres boundary
* one megabyte address boundary
*/
#ifdef CONFIG_IDENTITY_TEXTMAP
+1 -1
View File
@@ -82,7 +82,7 @@ up_saveusercontext:
/* Make sure that the return value will be non-zero (the
* value of the other volatile registers don't matter --
* r1-r3, ip). This function is called throught the
* r1-r3, ip). This function is called through the
* noraml C calling conventions and the values of these
* registers cannot be assumed at the point of setjmp
* return.
@@ -118,7 +118,7 @@ up_fullcontextrestore:
#else
/* For a flat build, we can do all of this here... Just think of this as
* a longjmp() all on steriods.
* a longjmp() all on steroids.
*/
/* Recover all registers except for r0, r1, r2, R15, and CPSR */
+1 -1
View File
@@ -309,7 +309,7 @@ __start:
adr r0, .LCraminfo /* Address of primary RAM info */
ldmia r0, {r1, r2, r3, r4} /* Load the primary RAM description */
add r2, r5, r2, lsr #18 /* R2=Offset page table addres */
add r2, r5, r2, lsr #18 /* R2=Offset page table address */
/* Loop until each page table entry has been written for the primary RAM
* region.
@@ -130,7 +130,7 @@ up_fullcontextrestore:
#else
/* For a flat build, we can do all of this here... Just think of this as
* a longjmp() all on steriods.
* a longjmp() all on steroids.
*/
/* Recover all registers except for r0, r1, R15, and CPSR */
+16 -16
View File
@@ -513,22 +513,22 @@
* task management.
*/
#define GIC_IRQ_SGI0 0 /* Sofware Generated Interrupt (SGI) 0 */
#define GIC_IRQ_SGI1 1 /* Sofware Generated Interrupt (SGI) 1 */
#define GIC_IRQ_SGI2 2 /* Sofware Generated Interrupt (SGI) 2 */
#define GIC_IRQ_SGI3 3 /* Sofware Generated Interrupt (SGI) 3 */
#define GIC_IRQ_SGI4 4 /* Sofware Generated Interrupt (SGI) 4 */
#define GIC_IRQ_SGI5 5 /* Sofware Generated Interrupt (SGI) 5 */
#define GIC_IRQ_SGI6 6 /* Sofware Generated Interrupt (SGI) 6 */
#define GIC_IRQ_SGI7 7 /* Sofware Generated Interrupt (SGI) 7 */
#define GIC_IRQ_SGI8 8 /* Sofware Generated Interrupt (SGI) 8 */
#define GIC_IRQ_SGI9 9 /* Sofware Generated Interrupt (SGI) 9 */
#define GIC_IRQ_SGI10 10 /* Sofware Generated Interrupt (SGI) 10 */
#define GIC_IRQ_SGI11 11 /* Sofware Generated Interrupt (SGI) 11 */
#define GIC_IRQ_SGI12 12 /* Sofware Generated Interrupt (SGI) 12 */
#define GIC_IRQ_SGI13 13 /* Sofware Generated Interrupt (SGI) 13 */
#define GIC_IRQ_SGI14 14 /* Sofware Generated Interrupt (SGI) 14 */
#define GIC_IRQ_SGI15 15 /* Sofware Generated Interrupt (SGI) 15 */
#define GIC_IRQ_SGI0 0 /* Software Generated Interrupt (SGI) 0 */
#define GIC_IRQ_SGI1 1 /* Software Generated Interrupt (SGI) 1 */
#define GIC_IRQ_SGI2 2 /* Software Generated Interrupt (SGI) 2 */
#define GIC_IRQ_SGI3 3 /* Software Generated Interrupt (SGI) 3 */
#define GIC_IRQ_SGI4 4 /* Software Generated Interrupt (SGI) 4 */
#define GIC_IRQ_SGI5 5 /* Software Generated Interrupt (SGI) 5 */
#define GIC_IRQ_SGI6 6 /* Software Generated Interrupt (SGI) 6 */
#define GIC_IRQ_SGI7 7 /* Software Generated Interrupt (SGI) 7 */
#define GIC_IRQ_SGI8 8 /* Software Generated Interrupt (SGI) 8 */
#define GIC_IRQ_SGI9 9 /* Software Generated Interrupt (SGI) 9 */
#define GIC_IRQ_SGI10 10 /* Software Generated Interrupt (SGI) 10 */
#define GIC_IRQ_SGI11 11 /* Software Generated Interrupt (SGI) 11 */
#define GIC_IRQ_SGI12 12 /* Software Generated Interrupt (SGI) 12 */
#define GIC_IRQ_SGI13 13 /* Software Generated Interrupt (SGI) 13 */
#define GIC_IRQ_SGI14 14 /* Software Generated Interrupt (SGI) 14 */
#define GIC_IRQ_SGI15 15 /* Software Generated Interrupt (SGI) 15 */
#define GIC_IRQ_GTM 27 /* Global Timer (GTM) PPI(0) */
#define GIC_IRQ_FIQ 28 /* Fast Interrupt Request (nFIQ) PPI(1) */
+3 -3
View File
@@ -259,7 +259,7 @@
/* Bits 16-31: reserved */
#define ENET_MODO_FIFO_EN 0x00008000 /* Bit 15: Fifo enable */
/* Bits 8-14: reserved */
#define ENET_MODE_RJCT_SFE 0x00000080 /* Bit 7: Reject short frames durig receive */
#define ENET_MODE_RJCT_SFE 0x00000080 /* Bit 7: Reject short frames during receive */
#define ENET_MODE_DPNET 0x00000040 /* Bit 6: Demand priority networkd vs CSMA/CD */
#define ENET_MODE_MWIDTH 0x00000020 /* Bit 5: Select nibble mode MII port */
#define ENET_MODE_WRAP 0x00000010 /* Bit 4: Internal MAC loopback */
@@ -725,7 +725,7 @@ static int c5471_mdread (int adr, int reg)
* end offers either the 10baseT or 100baseT electrical interface connecting
* to an RJ45 onboard network connector. The PHY transeiver has several
* internal registers allowing host configuration and status access. These
* internal registers are accessable by clocking serial data in/out of the
* internal registers are accessible by clocking serial data in/out of the
* MDIO pin of the LU3X31T-T64 chip. For c547X, the MDC and the MDIO pins
* are connected to the C547x GPIO15 and GPIO14 pins respectivley. Host
* software twiddles the GPIO pins appropriately to get data serially into
@@ -1842,7 +1842,7 @@ static int c5471_ifup(struct net_driver_s *dev)
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
/* Initilize Ethernet interface */
/* Initialize Ethernet interface */
c5471_reset(priv);
+1 -1
View File
@@ -46,7 +46,7 @@ config CXD56_RESET_ON_CRASH
default n
---help---
If selected the board_crashdump should reset the machine after
saveing the state of the machine
saving the state of the machine
comment "Basic Options"
+1 -1
View File
@@ -183,7 +183,7 @@ static int allocate_memory(size_t size)
*
* Description:
* Initialize the log header where the address and size of each log area
* are decribed. If the log header has been already configured in a wakeup
* are described. If the log header has been already configured in a wakeup
* from sleeping or reboot case, then do nothing and return OK.
*
* Returned Value:
+2 -2
View File
@@ -331,7 +331,7 @@ static void cisif_ycc_axi_trdn_int(uint8_t code)
if (g_errint_receive)
{
/* In error occured case in the same frame, ignore */
/* In error occurred case in the same frame, ignore */
cisif_reg_write(CISIF_YCC_DREAD_CONT, 0);
return;
@@ -380,7 +380,7 @@ static void cisif_jpg_axi_trdn_int(uint8_t code)
if (g_errint_receive)
{
/* In error occured case in the same frame, ignore */
/* In error occurred case in the same frame, ignore */
cisif_reg_write(CISIF_JPG_DREAD_CONT, 0);
return;
+1 -1
View File
@@ -177,7 +177,7 @@ static sem_t g_clockexc = SEM_INITIALIZER(1);
* swreset : SWRESET_SCU
* crgintmask : CRG_INT_CLR0, CRG_INT_STAT_RAW0
*
* Each member values are indicated the number of bit in apropriate registers.
* Each member values are indicated the number of bit in appropriate registers.
*/
#if defined(CONFIG_CXD56_SPI3)
+1 -1
View File
@@ -441,7 +441,7 @@ void up_send_irqreq(int idx, int irq, int cpu)
putreg32(1, CXD56_CPU_P2_INT + (4 * cpu));
/* Wait for the handler is excecuted on cpu */
/* Wait for the handler is executed on cpu */
spin_lock(&g_cpu_paused[cpu]);
spin_unlock(&g_cpu_paused[cpu]);
+1 -1
View File
@@ -693,7 +693,7 @@ void weak_function up_dma_initialize(void)
*
* Input parameters:
* ch - DMA channel to use
* maxsize - Max size to be transfered in bytes
* maxsize - Max size to be transferred in bytes
*
* Returned Value:
* This function ALWAYS returns a non-NULL, void* DMA channel handle.
+1 -1
View File
@@ -96,7 +96,7 @@ extern "C"
*
* Input parameters:
* ch - DMA channel to use
* maxsize - Max size to be transfered in bytes
* maxsize - Max size to be transferred in bytes
*
* Returned Value:
* This function ALWAYS returns a non-NULL, void* DMA channel handle.
+1 -1
View File
@@ -379,7 +379,7 @@ static int (*g_cmdlist[CXD56_GNSS_IOCTL_MAX])(FAR struct file *filep,
* Description:
* Process CXD56_GNSS_IOCTL_START command.
* Start a positioning
* begining to search the satellites and measure the receiver position
* beginning to search the satellites and measure the receiver position
*
* Input Parameters:
* filep - File structure pointer
+2 -2
View File
@@ -61,7 +61,7 @@
#define CXD56_GNSS_OPMOD_1PSS 5
/* Start a positioning
* begining to search the satellites and measure the receiver position
* beginning to search the satellites and measure the receiver position
*/
int GD_Start(uint8_t startMode);
@@ -226,7 +226,7 @@ int GD_SetAcquist(FAR uint8_t *pAcquistData, uint16_t acquistSize);
int GD_SetTimeGps(FAR struct cxd56_gnss_date_s *date,
FAR struct cxd56_gnss_time_s *time);
/* Clear Receiver Infomation */
/* Clear Receiver Information */
int GD_ClearReceiverInfo(uint32_t type);
+1 -1
View File
@@ -865,7 +865,7 @@ int cxd56_pmic_getchargevol(FAR int *voltage)
* Set charge voltage
*
* Input Parameter:
* voltage - Avalable values are every 50 between 4000 to 4400 (mv)
* voltage - Available values are every 50 between 4000 to 4400 (mv)
*
* Returned Value:
* Return 0 on success. Otherwise, return a negated errno.
+1 -1
View File
@@ -530,7 +530,7 @@ int cxd56_pmic_getchargevol(FAR int *voltage);
* Set charge voltage
*
* Input Parameter:
* voltage - Avalable values are every 50 between 4000 to 4400 (mV)
* voltage - Available values are every 50 between 4000 to 4400 (mV)
*
* Returned Value:
* Return 0 on success. Otherwise, return a negated errno.
+1 -1
View File
@@ -2294,7 +2294,7 @@ static int cxd56_sdio_waitresponse(FAR struct sdio_dev_s *dev, uint32_t cmd)
*
* Returned Value:
* Number of bytes sent on success; a negated errno on failure. Here a
* failure means only a faiure to obtain the requested reponse (due to
* failure means only a faiure to obtain the requested response (due to
* transport problem -- timeout, CRC, etc.). The implementation only
* assures that the response is returned intacta and does not check errors
* within the response itself.
+1 -1
View File
@@ -379,7 +379,7 @@ struct cxd56_usbdev_s
* the SETUP command can be processed.
*
* ep0datlen
* Lenght of OUT DATA received in ep0data[]
* Length of OUT DATA received in ep0data[]
*/
struct usb_ctrlreq_s ctrl; /* Last EP0 request */
+1 -1
View File
@@ -48,7 +48,7 @@
#define DM320_AHB_SDRAMSA (DM320_AHB_VADDR+0x0f00) /* SDRAM start address */
#define DM320_AHB_SDRAMEA (DM320_AHB_VADDR+0x0f04) /* SDRAM end address */
#define DM320_AHB_BUSCONTROL (DM320_AHB_VADDR+0x0f08) /* Bus endianess control */
#define DM320_AHB_BUSCONTROL (DM320_AHB_VADDR+0x0f08) /* Bus endianness control */
#define DM320_AHB_RSV1 (DM320_AHB_VADDR+0x0f0c) /* Reserved */
#define DM320_AHB_USBCTL (DM320_AHB_VADDR+0x0f10) /* USB control register (ES1.1) */
+1 -1
View File
@@ -825,7 +825,7 @@ static uint32_t spi_setfrequency(struct spi_dev_s *dev, uint32_t frequency)
*
* One can possibly factorize 128 and br. However, since the last
* 6 bits of CLKDIV are don't care, we can base our integer arithmetic
* on the below formula without loosing any extra precision:
* on the below formula without losing any extra precision:
*
* CLKDIV / 64 = (2 * fHFPERCLK)/br - 4
*
+4 -4
View File
@@ -454,12 +454,12 @@ struct efm32_usbdev_s
* the accompanying EP0 IN data in ep0data[] before the SETUP command is
* processed.
*
* For IN SETUP requests, the DATA phase will occurr AFTER the SETUP
* For IN SETUP requests, the DATA phase will occur AFTER the SETUP
* control request is processed. In that case, ep0data[] may be used as
* the response buffer.
*
* ep0datlen
* Lenght of OUT DATA received in ep0data[] (Not used with OUT data)
* Length of OUT DATA received in ep0data[] (Not used with OUT data)
*/
struct usb_ctrlreq_s ctrlreq;
@@ -5206,7 +5206,7 @@ static void efm32_hwinitialize(FAR struct efm32_usbdev_s *priv)
*/
/* I never saw this in original EFM32 lib
* and in refrence manual I found:
* and in reference manual I found:
* "Non-periodic TxFIFO Empty Level (can be enabled only when the core is
* operating in Slave mode as a host.)"
*/
@@ -5531,7 +5531,7 @@ void up_usbuninitialize(void)
usbtrace(TRACE_DEVUNINIT, 0);
/* To be sure that usb ref are writen, turn on USB clocking */
/* To be sure that usb ref are written, turn on USB clocking */
modifyreg32(EFM32_CMU_HFCORECLKEN0, 0,
CMU_HFCORECLKEN0_USB | CMU_HFCORECLKEN0_USBC);
+2 -2
View File
@@ -3204,7 +3204,7 @@ static inline void efm32_gint_ptxfeisr(FAR struct efm32_usbhost_s *priv)
chan->xfrd += chan->inflight;
chan->inflight = 0;
/* If we have now transfered the entire buffer, then this transfer is
/* If we have now transferred the entire buffer, then this transfer is
* complete (this case really should never happen because we disable
* the PTXFE interrupt on the final packet).
*/
@@ -3742,7 +3742,7 @@ static void efm32_txfe_enable(FAR struct efm32_usbhost_s *priv, int chidx)
uint32_t regval;
/* Disable all interrupts so that we have exclusive access to the GINTMSK
* (it would be sufficent just to disable the GINT interrupt).
* (it would be sufficient just to disable the GINT interrupt).
*/
flags = enter_critical_section();
+1 -1
View File
@@ -90,7 +90,7 @@
#define EFM32_PCNT_ROUTE_OFFSET 0x0028 /* I/O Routing Register */
#define EFM32_PCNT_FREEZE_OFFSET 0x002c /* Freeze Register */
#define EFM32_PCNT_SYNCBUSY_OFFSET 0x0030 /* Synchronization Busy Register */
#define EFM32_PCNT_AUXCNT_OFFSET 0x0038 /* Auxillary Counter Value Register */
#define EFM32_PCNT_AUXCNT_OFFSET 0x0038 /* Auxiliary Counter Value Register */
#define EFM32_PCNT_INPUT_OFFSET 0x003c /* PCNT Input Register */
/* PCNT Register Addresses *****************************************************************************************************/
+1 -1
View File
@@ -514,7 +514,7 @@ static int up_setup(struct uart_dev_s *dev)
ucr2 &= ~UART_UCR2_IRTS;
/* CTS controled by Rx FIFO */
/* CTS controlled by Rx FIFO */
ucr2 |= UART_UCR2_CTSC;
+1 -1
View File
@@ -115,7 +115,7 @@ struct imx_spidev_s
/* These are functions pointers that are configured to perform the
* appropriate transfer for the particular kind of exchange that is
* occurring. Differnt functions may be selected depending on (1)
* occurring. Different functions may be selected depending on (1)
* if the tx or txbuffer is NULL and depending on the number of bits
* per word.
*/
+1 -1
View File
@@ -164,7 +164,7 @@ struct imx_spidev_s
/* These are functions pointers that are configured to perform the
* appropriate transfer for the particular kind of exchange that is
* occurring. Differnt functions may be selected depending on (1)
* occurring. Different functions may be selected depending on (1)
* if the tx or txbuffer is NULL and depending on the number of bits
* per word.
*/
+1 -1
View File
@@ -367,7 +367,7 @@ int imx_uart_configure(uint32_t base, FAR const struct uart_config_s *config)
#if 0
if (config->hwfc)
{
/* CTS controled by Rx FIFO */
/* CTS controlled by Rx FIFO */
ucr2 |= UART_UCR2_CTSC;
+1 -1
View File
@@ -468,7 +468,7 @@
#define USDHC_DL_CTRL_SLV_UPDINT_SHIFT (20) /* Bits 20-27: DLL Control SLV Update Interval */
#define USDHC_DL_CTRL_SLV_UPDINT_MASK (0xff << USDHC_DL_CTRL_SLV_UPDINT_SHIFT)
# define USDHC_DL_CTRL_SLV_UPDINT(n) ((n) << USDHC_DL_CTRL_SLV_UPDINT_SHIFT)
#define USDHC_DL_CTRL_REF_UPDINT_SHIFT (28) /* Bits 28-31: DLL Control Refernce Update Interval */
#define USDHC_DL_CTRL_REF_UPDINT_SHIFT (28) /* Bits 28-31: DLL Control Reference Update Interval */
#define USDHC_DL_CTRL_REF_UPDINT_MASK (0xf << USDHC_DL_CTRL_REF_UPDINT_SHIFT)
# define USDHC_DL_CTRL_REF_UPDINT(n) ((n)<< USDHC_DL_CTRL_REF_UPDINT_SHIFT)

Some files were not shown because too many files have changed in this diff Show More