style: fix spelling in code comments and strings

This commit is contained in:
Lars Kruse
2025-05-03 06:16:30 +02:00
committed by Xiang Xiao
parent b2315e98c4
commit 3ce85ca54e
1670 changed files with 3162 additions and 2991 deletions
+154
View File
@@ -15,4 +15,158 @@ Linix 45ZWN24-40 2 0.5 Ohm 0.400 mH 2.34A 24V
* [#14540](https://github.com/apache/nuttx/pull/14540) CMake/preprocess: fix typo PREPROCES -> PREPROCESS
* [#14927](https://github.com/apache/nuttx/pull/14927) spelling: fix spelling typo premption -> preemption
* [#15520](https://github.com/apache/nuttx/pull/15520) drivers/note: fix typo falgs and align local name to irq_mask
* [#4526](https://github.com/apache/nuttx/pull/4526) Rearch video
* [#6447](https://github.com/apache/nuttx/pull/6447) bcm43xxx: Remove bcmf_txavail_work and resue bcmf_tx_poll_work
ans init
* CAF : Depends on CONFIG_NET_PROMISCUOUS
* been lost). If ORE is set along with RXNE then it tells you
/* GIR bits must be masked! */
#define MU_GIER_GIE(n) (1 << (n)) /* Bit n: MUA/MUB General Purpose Interrupt Enable n (GIEn) */
tloadr r1, DEBUG_GPIO @0x80058a PB oen
.word (0x80058a) @ PBx oen
* FLASH_STATUS_WEL: The Write Enable Latch (WEL) bit indicates the
* 1. Enable the SPI and I2C for GroupA and GroupD;
/* HALP - Hall Current and Expected patterns */
#define USIC_TCSR_FLEMD (1 << 2) /* Bit 2: FLE Mode */
* (due to CALL or RCALL instruction).
/* Selete the SCIBR register value */
addd #(TOTALFRAME_SIZE-INTFRAME_SIZE)
addd #INTFRAME_SIZE
unsigned short ATTCH:1;
unsigned long ACEND:1;
unsigned long ENDE:1;
* Description : Clear the specified port's ATTCH-bit; "ATTCH Interrupt
* Description : Enable ATTCH (attach) interrupt of the specified USB
* Description : Disable ATTCH (attach) interrupt of the specified USB
* Description : Disable USB Bus Interrupts OVRCR, ATTCH, DTCH, and BCHG.
/* ATTCH status Clear */
/* ATTCH Clear */
/* ATTCH interrupt disable */
/* ATTCH interrupt enable */
/* The previous command is not accepted, leaving the WEL
* as long as the following conditions are aheared to.
as long as the following conditions are aheared to.
* The licence and distribution terms for any publically available version or
The licence and distribution terms for any publically available version or
* The licence and distribution terms for any publically
The licence and distribution terms for any publically
(WEL bit) and in AAI mode (AAI bit).
#define W25QXXXJV_READ_STATUS_1 0x05 /* SRP|SEC|TB |BP2|BP1|BP0|WEL|BUSY */
#define W25QXXXJV_WRITE_STATUS_1 0x01 /* SRP|SEC|TB |BP2|BP1|BP0|WEL|BUSY */
* WEL=1.
* instruction, WEL=1.
ret = apds9960_i2c_write8(priv, APDS9960_GCONFIG4, (GMODE | GIEN));
uint32_t allo = 0;
allo++;
spiffs_gcinfo("Wipe pallo=%" PRIu32 " pdele=%" PRIu32 "\n", allo, dele);
fs->alloc_pages -= allo;
#define XK_Arabic_tehmarbuta 0x05c9 /* U+0629 ARABIC LETTER TEH MARBUTA */
#define XK_Arabic_teh 0x05ca /* U+062A ARABIC LETTER TEH */
#define XK_Greek_LAMDA 0x07cb /* U+039B GREEK CAPITAL LETTER LAMDA */
#define XK_Greek_LAMBDA 0x07cb /* U+039B GREEK CAPITAL LETTER LAMDA */
#define XK_Greek_lamda 0x07eb /* U+03BB GREEK SMALL LETTER LAMDA */
#define XK_Greek_lambda 0x07eb /* U+03BB GREEK SMALL LETTER LAMDA */
#define XK_Armenian_SE 0x100054d /* U+054D ARMENIAN CAPITAL LETTER SEH */
#define XK_Armenian_se 0x100057d /* U+057D ARMENIAN SMALL LETTER SEH */
#define XK_Armenian_VEV 0x100054e /* U+054E ARMENIAN CAPITAL LETTER VEW */
#define XK_Armenian_vev 0x100057e /* U+057E ARMENIAN SMALL LETTER VEW */
#define XK_Sinh_o2 0x1000ddc /* U+0DDC SINHALA KOMBUVA HAA AELA-PILLA*/
#define XK_Sinh_oo2 0x1000ddd /* U+0DDD SINHALA KOMBUVA HAA DIGA AELA-PILLA*/
#define XK_Sinh_au2 0x1000dde /* U+0DDE SINHALA KOMBUVA HAA GAYANUKITTA */
#define GIEN (1 << 1) /* Bit 1: Gesture Interrupt Enable */
/* See also http://vektor.theorem.ca/graphics/ycbcr/ */
* is in froms[] array which points to tos[] array
" + ofo %d"
% ("txbuf", "rxbuf", "ofo", "local_address", "remote_address")
FAR int_fast32_t *offsetp);
FAR int_fast32_t *offsetp)
ans = (FAR struct dns_answer_s *)nameptr;
* been lost). If ORE is set along with RXNE then it tells you
# define WR9_INTACKEN (0x20) /* Bit 5: Software INTACK Enable */
FAR struct dns_answer_s *ans;
* We use RUNSTALL and RESETING signals to ensure that the App core stops
/* Reply with a WONT, that means we will not work in
/* Reply with a WONT */
exten = (extcfg & ADC_CFGR_EXTEN_MASK);
exten = (extcfg & ADC_EXTREG_EXTEN_MASK);
exten = extcfg & ADC_EXTREG_EXTEN_MASK;
if (exten > 0)
setbits = (extsel | exten);
setbits = extsel | exten;
uint32_t exten = 0;
* SPDX-FileContributor: Daniel Pereira Volpato <dpo@certi.org.br>
* SPDX-FileContributor: Guillherme da Silva Amaral <gvr@certi.org.br>
* SPDX-FileCopyrightText: 2019 Fundação CERTI. All rights reserved.
Copyright (C) 2019 Fundação CERTI. All rights reserved.
* SPDX-FileCopyrightText: Fundação CERTI. All rights reserved.
/* TSS (IST) for 64 bit long mode will be filled in up_irq. */
/* IST data structures ******************************************************
/* NOE, NWE, NE1, NBL1 */
/* NOE, NWE, and NE1 */
/* NOE, NWE, and NE3 */
/* NOE, NWE */
* PD4: FSMC NOE PE2: FSMC A23
* SCL High Time: Thi = divider * SCLhi
* Fscl = Finput / (Thi + Tlo)
* If Thi == TloL: Fscl = Finput / (divider * SCL * 2)
* Thi = Tspi * CLKCFG.high
* Fbaud = 1 / (Thi + Tlow)
* If we assume that Thi == Tlow, then:
* Thi = Tspi * CLKCFG.high
* Fbaud = 1 / (2 * Thi)
* Te = (3/2) * p * (lambda_d * i_q - lambda_q * i_d)
* Te = (3/2) * p * (lambda_m * i_q + (L_d - L_q) * i_q * i_d)
* Te = (3/2) * p * i_q * (lambda_m + (L_d - L_q) * i_d)
* Pem = wm * Te
* Te = Tl + Td + B * wm + J * (d/dt) * wm
* Te = Tl + J * (d/dt) * wm
* (d/dt) * wm = (Te - Tl) / J
* Te - electromagnetic torque
* R0 = saveregs = pinter saved array
/* Get EXTEN and EXTSEL from input */
set(SRCS regcomp.c regexec.c regerror.c tre-mem.c)
CSRCS += regcomp.c regexec.c regerror.c tre-mem.c
#include "tre.h"
/* from tre-compile.h
/* from tre-ast.c and tre-ast.h
/* from tre-stack.c and tre-stack.h
/* from tre-parse.c and tre-parse.h
/* from tre-compile.c
/* from tre-mem.h: */
* libs/libc/regex/tre.h
* libs/libc/regex/tre-mem.c
libs/libc/tre.h
libs/libc/tre-mem.c
#define EDMA_ES_NCE (1 << 3) /* Bit 3: NBYTES/CITER Configuration Error (NCE) */
#define EDMA_CH_ES_NCE (1 << 3) /* Bit 3: NBYTES/CITER Configuration Error (NCE) */
#define CAN_RERRAR_NCE (1 << 24) /* Bit 24: Non-Correctable Error (NCE) */
#define PINT_PMCTRL_SELPMATCH (1 << 0) /* Bit 0: Rin interrupts interrupt or pattern match function */
#define STR71X_IRQ_T0TOI (29) /* IRQ 29: T0.TOI Timer 0 Overflow interrupt */
#define CP0_CONFIG_KU_SHIFT (25) /* Bits 25-27: KUSEG and USEG cacheability */
#define NT_PPC_TM_CFPR 0x109 /* TM checkpointed FPR Registers */
#define FT08X_EFFECT_CHACK 0x58 /* Chack */
#define XK_Thai_fofa 0x0dbd /* U+0E1D THAI CHARACTER FO FA */
* ODER -> disabled
gpioinfo(" ODER: %08x OVR: %08x PVR: %08x PUER: %08x\n",
uint32_t fpr;
fpr = getreg32(STM32_EXTI_FPR1);
if (((rpr & mask) != 0) || ((fpr & mask) != 0))
* (SPOFF Bits 0-7 = 0xA5) */
* (SPOFF Bits 8-9 = 0); (SPON Bits 8-9 = 0) */
[ESR_ELX_EC_SME] = "SME",
[ESR_ELX_EC_SME] = "SME",
IS_PADD(segment_hdr.load_addr) ? "padd" :
ret = register_mtddriver("/dev/fram", mtd_dev, 0755, NULL);
ret = nx_mount("/dev/fram", "/mnt/lfs", "littlefs", 0,
* TWRITE/TREAD
/* size[4] Tread tag[2] fid[4] offset[8] count[4]
* (see http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf) uses this
* PERIPHERAL 10AA AAS. IIII IIII MMMM MMMM MMMM MMMM
leas 2, sp
* To initialize the nCE, configure any PIO as an output pin (refer to Tips
* and Tricks for the supported nCE connection types)
* PCM Clock = (Crystal * (ND + 1 + FRACR/2^22) / (QDPMC + 1)) / 8
/* The Figure of Merit (FoM) characterizing the ranging measurement */
* | 0 | 1 | x | EXT | RIN | IN | off |
* FIFO mode, INT1 , THS 0
* REG03[3] ITERM Termination Current Limit 128-1024mA Default: 256mA
+18 -6
View File
@@ -19,16 +19,20 @@ ignore-words-list =
ACI,
AFE,
afile,
ALS,
AMEBA,
als,
ameba,
ARCHTYPE,
BU,
DAA,
dout,
emac,
eeeprom,
extint,
filp,
finitel,
froms,
FRAM,
FRO,
hart,
hsi,
iif,
@@ -37,16 +41,24 @@ ignore-words-list =
inport,
lod,
mot,
NWE,
OEN,
PRES,
mis,
nexted,
numer,
nwe,
oen,
parm,
parms,
pres,
RCALL,
REGONS,
SAIs,
SER,
sie,
ser,
servent,
synopsys,
TE,
TIMOUT,
THRE,
tolen,
UE,
WRON,
+4 -4
View File
@@ -158,7 +158,7 @@ if(NOT EXISTS "${NUTTX_DEFCONFIG}")
message(FATAL_ERROR "No config file found at ${NUTTX_DEFCONFIG}")
endif()
# Generate inital .config ###################################################
# Generate initial .config ###################################################
# This is needed right before any other configure step so that we can source
# Kconfig variables into CMake variables
@@ -267,7 +267,7 @@ if(NOT EXISTS ${CMAKE_BINARY_DIR}/boards/dummy/Kconfig)
endif()
endif()
# board platfrom driver
# board platform driver
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/drivers)
@@ -314,7 +314,7 @@ if(NOT EXISTS ${CMAKE_BINARY_DIR}/arch/${CONFIG_ARCH}/src/chip)
${CMAKE_BINARY_DIR}/arch/${CONFIG_ARCH}/src/chip)
endif()
# Unsupport custom board/chips yet, workaround
# Unsupported custom board/chips yet, workaround
if(NOT EXISTS ${NUTTX_APPS_BINDIR}/platform/board/Kconfig)
file(MAKE_DIRECTORY ${NUTTX_APPS_BINDIR}/platform/board)
@@ -381,7 +381,7 @@ include(nuttx_generate_headers)
include(nuttx_generate_outputs)
include(nuttx_add_library)
# add NuttX CMake extenstion after nuttx_add_library
# add NuttX CMake extension after nuttx_add_library
include(nuttx_extensions)
include(nuttx_add_application)
+4 -4
View File
@@ -37,7 +37,7 @@ standardized pull requests processing, as well as long term self-compatibility
and maintenance of the project.
Because every change may affect users, products, or services around the world,
all rules apply equally to all authors, reviewers, committers and maintainters.
all rules apply equally to all authors, reviewers, committers and maintainers.
This is our Check-List for processing every incoming pull request.
Also, we filter out breaking changes and handle them accordingly.
@@ -282,7 +282,7 @@ We avoid breaking changes unless absolutely necessary and unavoidable
**mandatory**. Help of the community is welcome.
7. Breaking change requires at least 4 independent positive PR reviews
(see 1.16), all discussions resolved, and zero "request changes".
8. Change must be well documented (buid / runtime test logs, pr, git
8. Change must be well documented (build / runtime test logs, pr, git
commit, documentation, release notes, etc) with clear notes on how to
fix the introduced problems.
9. Breaking Change must be clearly marked with a `[BREAKING]` tag in the
@@ -306,7 +306,7 @@ verification and minimizes possible negative impact on various users.
See: https://github.com/apache/nuttx/blob/master/INVIOLABLES.md
### 1.15. Reviews reuqirements.
### 1.15. Review requirements.
Before PR can be merged to the master repository it requires:
@@ -409,7 +409,7 @@ as described in requirement 1.7.
* Is new feature added? Is existing feature changed? NO / YES (please describe if yes).
* Impact on user (will user need to adapt to change)? NO / YES (please describe if yes).
* Impact on build (will build process change)? NO / YES (please descibe if yes).
* Impact on build (will build process change)? NO / YES (please describe if yes).
* Impact on hardware (will arch(s) / board(s) / driver(s) change)? NO / YES (please describe if yes).
* Impact on documentation (is update required / provided)? NO / YES (please describe if yes).
* Impact on security (any sort of implications)? NO / YES (please describe if yes).
+1 -1
View File
@@ -317,7 +317,7 @@ for SMP.
- graphics/traveler/tcledit and libwld: Add an X11 Tcl/Tk tool that can
be used to edit Traveler world files.
- Graphics: Remove all NX server taks. Instead, call boardctl() to the
- Graphics: Remove all NX server tasks. Instead, call boardctl() to the
NX server kernel thread.
* Applications: apps/examples:
+1 -1
View File
@@ -6275,7 +6275,7 @@ libs/libc/stdlib/lib_ldiv.c
libs/libc/stdlib/lib_lldiv.c
=============================
A direct leverage of the div() inplement by:
A direct leverage of the div() implemented by:
Copyright (C) 2015 Stavros Polymenis. All rights reserved.
+3 -3
View File
@@ -912,7 +912,7 @@ config PAGING
default n
depends on BUILD_KERNEL && ARCH_USE_MMU && !ARCH_ROMPGTABLE && !LEGACY_PAGING
---help---
If set =y in your configation file, this setting will enable on-demand
If set =y in your configuration file, this setting will enable on-demand
paging, which relies on a MMU to enable larger virtual memory spaces
and map it to physical memory on-demand (usually during a page-fault
exception).
@@ -922,7 +922,7 @@ menuconfig LEGACY_PAGING
default n
depends on EXPERIMENTAL && ARCH_USE_MMU && !ARCH_ROMPGTABLE
---help---
If set =y in your configation file, this setting will enable lazy loading
If set =y in your configuration file, this setting will enable lazy loading
backed up by the experimental on-demand paging feature as described in
https://nuttx.apache.org/docs/latest/components/paging.html.
@@ -1186,7 +1186,7 @@ config ARCH_MINIMAL_VECTORTABLE
if it occurs will result in an unexpected interrupt crash.
config ARCH_MINIMAL_VECTORTABLE_DYNAMIC
bool "Dynaminc Minimal RAM usage for vector table"
bool "Dynamic Minimal RAM usage for vector table"
default n
depends on ARCH_MINIMAL_VECTORTABLE
---help---
+1 -1
View File
@@ -75,7 +75,7 @@
#define DM320_IRQ_EXT14 35 /* IRQ35: External Interrupt #14 (GIO14) */
#define DM320_IRQ_EXT15 36 /* IRQ36: External Interrupt #15 (GIO15) */
#define DM320_IRQ_PREV0 37 /* IRQ37: Preview Engine 0 (Preview Over) */
#define DM320_IRQ_PREV1 38 /* IRQ38: Preview Engine 1 (Preview Historgram Over) */
#define DM320_IRQ_PREV1 38 /* IRQ38: Preview Engine 1 (Preview Histogram Over) */
#define DM320_IRQ_WDT 39 /* IRQ39: Watchdog Timer Interrupt */
#define DM320_IRQ_I2C 40 /* IRQ40: I2C Interrupt */
#define DM320_IRQ_CLKC 41 /* IRQ41: Clock controller Interrupt (wake up) */
+1 -1
View File
@@ -209,7 +209,7 @@
#define GD32_IRQ_FPU (GD32_IRQ_EXINT+81) /* 81: FPU interrupt */
#else
#error "Unkonwn GD32F4xx chip."
#error "Unknown GD32F4xx chip."
#endif /* CONFIG_GD32F4_GD32F450 */
#if defined(CONFIG_GD32F4_GD32F450) || defined(CONFIG_GD32F4_GD32F470)
+1 -1
View File
@@ -74,7 +74,7 @@
#if defined(CONFIG_GD32F4_GD32F4XX)
# include <arch/gd32f4/gd32f4xx_irq.h>
#else
# error "Uknown GD32 chip"
# error "Unknown GD32 chip"
#endif
/****************************************************************************
+6 -6
View File
@@ -1224,7 +1224,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
@@ -1263,7 +1263,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
@@ -1380,7 +1380,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
@@ -1419,7 +1419,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
@@ -1458,7 +1458,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
@@ -1497,7 +1497,7 @@
# define KINETIS_NUSBDEV 1 /* One USB device controller */
# define KINETIS_NSDHC 1 /* SD host controller */
# define KINETIS_NI2C 3 /* Three I2C modules */
# define KINETIS_NUART 6 /* Six UART modues */
# define KINETIS_NUART 6 /* Six UART modules */
# define KINETIS_NSPI 3 /* Three SPI modules */
# define KINETIS_NCAN 1 /* One CAN controllers */
# define KINETIS_NI2S 1 /* One I2S modules */
+1 -1
View File
@@ -207,7 +207,7 @@
#define MX8MP_IRQ_SOFT_GPIO_START MX8MP_IRQ_NVECTORS
/* GPIO1 has dedicated interrupts for pins 0-7, however theses pin are also
/* GPIO1 has dedicated interrupts for pins 0-7, however these pins are also
* connected to the multiplexed IRQ and both can be triggered together is
* enabled. Here we choose to no use the dedicated IRQ.
* REVISIT: add an option to choose the strategy:
+4 -4
View File
@@ -45,10 +45,10 @@
/* CPU to CPU and Directed Interrupts */
#define S32K3XX_IRQ_CPU_TO_CPU1 (S32K3XX_IRQ_EXTINT + 0) /* 0: CPU to CPU interupt 0 (Core 0 --> Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU2 (S32K3XX_IRQ_EXTINT + 1) /* 1: CPU to CPU interupt 1 (Core 0 --> Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU3 (S32K3XX_IRQ_EXTINT + 2) /* 2: CPU to CPU interupt 2 (Core 0 <-- Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU4 (S32K3XX_IRQ_EXTINT + 3) /* 3: CPU to CPU interupt 3 (Core 0 <-- Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU1 (S32K3XX_IRQ_EXTINT + 0) /* 0: CPU to CPU interrupt 0 (Core 0 --> Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU2 (S32K3XX_IRQ_EXTINT + 1) /* 1: CPU to CPU interrupt 1 (Core 0 --> Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU3 (S32K3XX_IRQ_EXTINT + 2) /* 2: CPU to CPU interrupt 2 (Core 0 <-- Core 1) */
#define S32K3XX_IRQ_CPU_TO_CPU4 (S32K3XX_IRQ_EXTINT + 3) /* 3: CPU to CPU interrupt 3 (Core 0 <-- Core 1) */
/* Shared Peripheral Interrupts - On-Platform Vectors */
+1 -1
View File
@@ -167,7 +167,7 @@
#define STM32_IRQ_DMA2CH8 (STM32_IRQ_FIRST + 99) /* 99: DMA2 channel 8 global interrupt */
#define STM32_IRQ_CORDIC (STM32_IRQ_FIRST + 100) /* 100: CORDIC trigonometric accelerator interrupt */
#define STM32_IRQ_FMAC (STM32_IRQ_FIRST + 101) /* 101: FMAC filter math acclerator interrupt */
#define STM32_IRQ_FMAC (STM32_IRQ_FIRST + 101) /* 101: FMAC filter math accelerator interrupt */
#define STM32_IRQ_NEXTINT (102)
#define NR_IRQS (STM32_IRQ_FIRST + 102)
+1 -1
View File
@@ -1442,7 +1442,7 @@ static bool up_txempty(struct uart_dev_s *dev)
*
* Description:
* Performs the low level UART initialization early in debug so that the
* serial console will be available during bootup. This must be called
* serial console will be available during boot up. This must be called
* before arm_serialinit.
*
* NOTE: Configuration of the CONSOLE UART was performed by up_lowsetup()
+1 -1
View File
@@ -1557,7 +1557,7 @@ static int am335x_i2c_reset(struct i2c_master_s *dev)
out:
/* Release the port for re-use by other clients */
/* Release the port for reuse by other clients */
nxmutex_unlock(&priv->lock);
return ret;
+1 -1
View File
@@ -1266,7 +1266,7 @@ static bool up_txempty(struct uart_dev_s *dev)
*
* Description:
* Performs the low level UART initialization early in debug so that the
* serial console will be available during bootup. This must be called
* serial console will be available during boot up. This must be called
* before arm_serialinit.
*
* NOTE: Configuration of the CONSOLE UART was performed by up_lowsetup()
+3 -3
View File
@@ -72,15 +72,15 @@ typedef uint32_t l2ndx_t;
/* Free pages in memory are managed by indices ranging from up to
* CONFIG_PAGING_NPAGED. Initially all pages are free so the page can be
* simply allocated in order: 0, 1, 2, ... . After all CONFIG_PAGING_NPAGED
* pages have be filled, then they are blindly freed and re-used in the
* pages have be filled, then they are blindly freed and reused in the
* same order 0, 1, 2, ... because we don't know any better. No smart "least
* recently used" kind of logic is supported.
*/
static pgndx_t g_pgndx;
/* After CONFIG_PAGING_NPAGED have been allocated, the pages will be re-used.
* In order to re-used the page, we will have un-map the page from its
/* After CONFIG_PAGING_NPAGED have been allocated, the pages will be reused.
* In order to reused the page, we will have un-map the page from its
* previous mapping. In order to that, we need to be able to map a physical
* address to to an index into the PTE where it was mapped. The following
* table supports this backward lookup - it is indexed by the page number
+1 -1
View File
@@ -76,7 +76,7 @@ uint32_t *arm_syscall(uint32_t *regs)
cmd = regs[REG_R0];
/* if cmd == SYS_restore_context (*running_task)->xcp.regs is valid
* should not be overwriten
* should not be overwritten
*/
if (cmd != SYS_restore_context)
+1 -1
View File
@@ -71,7 +71,7 @@ int arm_ramvec_attach(int irq, up_vector_t vector)
irqstate_t flags;
/* If the new vector is NULL, then the vector is being detached. In
* this case, disable the itnerrupt and direct any interrupts to the
* this case, disable the interrupt and direct any interrupts to the
* common exception handler.
*/
+1 -1
View File
@@ -32,7 +32,7 @@ config ARMV7A_GICV2_LEGACY_IRQ0
int "pci legacy irq0 default val"
default 35
---help---
The qemu pci lagacy irq0 default is 35. -1 mean disable
The qemu pci legacy irq0 default is 35. -1 means disable
config ARMV7A_GICv2M
bool "gic support msi irq"
+3 -3
View File
@@ -67,15 +67,15 @@ typedef uint32_t l1ndx_t;
/* Free pages in memory are managed by indices ranging from up to
* CONFIG_PAGING_NPAGED. Initially all pages are free so the page can be
* simply allocated in order: 0, 1, 2, ... . After all CONFIG_PAGING_NPAGED
* pages have be filled, then they are blindly freed and re-used in the
* pages have be filled, then they are blindly freed and reused in the
* same order 0, 1, 2, ... because we don't know any better. No smart "least
* recently used" kind of logic is supported.
*/
static pgndx_t g_pgndx;
/* After CONFIG_PAGING_NPAGED have been allocated, the pages will be re-used.
* In order to re-used the page, we will have un-map the page from its
/* After CONFIG_PAGING_NPAGED have been allocated, the pages will be reused.
* In order to reused the page, we will have un-map the page from its
* previous mapping. In order to that, we need to be able to map a physical
* address to to an index into the PTE where it was mapped. The following
* table supports this backward lookup - it is indexed by the page number
+1 -1
View File
@@ -56,7 +56,7 @@
*
* 1. It saves the current task state at the head of the current assigned
* task list.
* 2. It porcess g_delivertasks
* 2. It processes g_delivertasks
* 3. Returns from interrupt, restoring the state of the new task at the
* head of the ready to run list.
*
+1 -1
View File
@@ -184,7 +184,7 @@ uint32_t *arm_syscall(uint32_t *regs)
cmd = regs[REG_R0];
/* if cmd == SYS_restore_context (*running_task)->xcp.regs is valid
* should not be overwriten
* should not be overwritten
*/
if (cmd != SYS_restore_context)
+1 -1
View File
@@ -48,7 +48,7 @@
* Name: cpuindex
*
* Description:
* Return an index idenifying the current CPU. Single CPU case. Must be
* Return an index identifying the current CPU. Single CPU case. Must be
* provided by MCU-specific logic in chip.h for the SMP case.
*
****************************************************************************/
+1 -1
View File
@@ -843,7 +843,7 @@ int arm_start_handler(int irq, void *context, void *arg);
*
* 1. It saves the current task state at the head of the current assigned
* task list.
* 2. It porcess g_delivertasks
* 2. It processes g_delivertasks
* 3. Returns from interrupt, restoring the state of the new task at the
* head of the ready to run list.
*
+1 -1
View File
@@ -177,7 +177,7 @@ exception_common:
*/
#if CONFIG_ARCH_INTERRUPTSTACK < 7
/* If CONFIG_ARCH_INTERRUPTSTACK is not defined, we will re-use the
/* If CONFIG_ARCH_INTERRUPTSTACK is not defined, we will reuse the
* interrupted thread's stack. That may mean using either MSP or PSP
* stack for interrupt level processing (in kernel mode).
*/
+1 -1
View File
@@ -71,7 +71,7 @@ int arm_ramvec_attach(int irq, up_vector_t vector)
irqstate_t flags;
/* If the new vector is NULL, then the vector is being detached. In
* this case, disable the itnerrupt and direct any interrupts to the
* this case, disable the interrupt and direct any interrupts to the
* common exception handler.
*/
+1 -1
View File
@@ -533,7 +533,7 @@
#define _ETM_ETMCCER_EICEWPNT_MASK 0xF0000UL /* Bit mask for ETM_EICEWPNT */
#define _ETM_ETMCCER_EICEWPNT_DEFAULT 0x00000004UL /* Mode DEFAULT for ETM_ETMCCER */
#define ETM_ETMCCER_EICEWPNT_DEFAULT (_ETM_ETMCCER_EICEWPNT_DEFAULT << 16) /* Shifted mode DEFAULT for ETM_ETMCCER */
#define ETM_ETMCCER_TEICEWPNT (0x1UL << 20) /* Trace Sart/Stop Block Uses EmbeddedICE watchpoint inputs */
#define ETM_ETMCCER_TEICEWPNT (0x1UL << 20) /* Trace Start/Stop Block Uses EmbeddedICE watchpoint inputs */
#define _ETM_ETMCCER_TEICEWPNT_SHIFT 20 /* Shift value for ETM_TEICEWPNT */
#define _ETM_ETMCCER_TEICEWPNT_MASK 0x100000UL /* Bit mask for ETM_TEICEWPNT */
#define _ETM_ETMCCER_TEICEWPNT_DEFAULT 0x00000001UL /* Mode DEFAULT for ETM_ETMCCER */
+1 -1
View File
@@ -187,7 +187,7 @@
#define NVIC_CPUID_BASE_OFFSET 0x0d00 /* CPUID base register */
#define NVIC_INTCTRL_OFFSET 0x0d04 /* Interrupt control state register */
#define NVIC_VECTAB_OFFSET 0x0d08 /* Vector table offset register */
#define NVIC_AIRCR_OFFSET 0x0d0c /* Application interrupt/reset control registr */
#define NVIC_AIRCR_OFFSET 0x0d0c /* Application interrupt/reset control register */
#define NVIC_SYSCON_OFFSET 0x0d10 /* System control register */
#define NVIC_CFGCON_OFFSET 0x0d14 /* Configuration control register */
#define NVIC_SYSH_PRIORITY_OFFSET(n) (0x0d14 + 4*((n) >> 2))
+1 -1
View File
@@ -486,7 +486,7 @@ unsigned int mpu_configure_region(uintptr_t base, size_t size,
* Configure a region for privileged, strongly ordered memory
*
* Input Parameters:
* table - MPU Initiaze table.
* table - MPU Initialize table.
* count - Initialize the number of entries in the region table.
*
* Returned Value:
+1 -1
View File
@@ -56,7 +56,7 @@
*
* 1. It saves the current task state at the head of the current assigned
* task list.
* 2. It porcess g_delivertasks
* 2. It processes g_delivertasks
* 3. Returns from interrupt, restoring the state of the new task at the
* head of the ready to run list.
*
+1 -1
View File
@@ -181,7 +181,7 @@ uint32_t *arm_syscall(uint32_t *regs)
cmd = regs[REG_R0];
/* if cmd == SYS_restore_context (*running_task)->xcp.regs is valid
* should not be overwriten
* should not be overwritten
*/
if (cmd != SYS_restore_context)
+1 -1
View File
@@ -813,7 +813,7 @@ int arm_start_handler(int irq, void *context, void *arg);
*
* 1. It saves the current task state at the head of the current assigned
* task list.
* 2. It porcess g_delivertasks
* 2. It processes g_delivertasks
* 3. Returns from interrupt, restoring the state of the new task at the
* head of the ready to run list.
*
+2 -2
View File
@@ -337,7 +337,7 @@ unsigned int mpu_configure_region(uintptr_t base, size_t size,
* Configure a region for privileged, strongly ordered memory
*
* Input Parameters:
* table - MPU Initiaze table.
* table - MPU Initialize table.
* count - Initialize the number of entries in the region table.
*
* Returned Value:
@@ -690,7 +690,7 @@ static inline void mpu_control(bool enable)
* Name: mpu_peripheral
*
* Description:
* Configure a region as privileged periperal address space
* Configure a region as privileged peripheral address space
*
****************************************************************************/
+1 -1
View File
@@ -53,7 +53,7 @@
#define SCU_DEBUGRAM_OFFSET 0x0070 /* SCU Debug Tag RAM Operation Register */
#define SCU_DEBUGRAMDATA_OFFSET 0x0074 /* SCU Debug Tag RAM Data Value Register */
#define SCU_DEBUGRAMECC_OFFSET 0x0078 /* SCU Debug Tag RAM ECC Chunk Register */
#define SCU_ECCERR_OFFSET 0x007c /* ECC Fatal Error Registe */
#define SCU_ECCERR_OFFSET 0x007c /* ECC Fatal Error Register */
#define SCU_FPPFILTERSTART_OFFSET(n) (0x0080 + (n)*8) /* FPP Filtering Start Address Register for core n */
#define SCU_FPPFILTEREND_OFFSET(n) (0x0084 + (n)*8) /* FPP Filtering End Address Register for core n */
+1 -1
View File
@@ -188,7 +188,7 @@ exception_common:
mrs r0, ipsr
#if CONFIG_ARCH_INTERRUPTSTACK < 7
/* If CONFIG_ARCH_INTERRUPTSTACK is not defined, we will re-use the
/* If CONFIG_ARCH_INTERRUPTSTACK is not defined, we will reuse the
* interrupted thread's stack. That may mean using either MSP or PSP
* stack for interrupt level processing (in kernel mode).
*/
+4 -4
View File
@@ -81,13 +81,13 @@ bool weak_function arm_should_gen_nonsecurefault(void)
*
* Description:
* For TEE & REE, securefault & busfault are not banked, so the faults can
* only forword to TEE/REE.
* only forward to TEE/REE.
* But how to crash dump the other core which not handled faults ?
*
* Here we provide a way to resolve this problem:
* 1. Set the securefault & busfault to TEE
* 2. busfault happend from TEE, then directly dump TEE
* 3. busfault happend from REE, then generate nonsecurefault
* 2. busfault happened from TEE, then directly dump TEE
* 3. busfault happened from REE, then generate nonsecurefault
* 4. Back to REE, and dump
*
* Return values:
@@ -121,7 +121,7 @@ int arm_gen_nonsecurefault(int irq, uint32_t *regs)
return 0;
}
/* Redict busfault to REE */
/* Redirect busfault to REE */
up_secure_irq(NVIC_IRQ_BUSFAULT, false);
}
+1 -1
View File
@@ -71,7 +71,7 @@ int arm_ramvec_attach(int irq, up_vector_t vector)
irqstate_t flags;
/* If the new vector is NULL, then the vector is being detached. In
* this case, disable the itnerrupt and direct any interrupts to the
* this case, disable the interrupt and direct any interrupts to the
* common exception handler.
*/
+2 -2
View File
@@ -277,7 +277,7 @@
#define _ETM_ETMCCR_TRACESS_MASK 0x4000000UL /* Bit mask for ETM_TRACESS */
#define _ETM_ETMCCR_TRACESS_DEFAULT 0x00000001UL /* Mode DEFAULT for ETM_ETMCCR */
#define ETM_ETMCCR_TRACESS_DEFAULT (_ETM_ETMCCR_TRACESS_DEFAULT << 26) /* Shifted mode DEFAULT for ETM_ETMCCR */
#define ETM_ETMCCR_MMACCESS (0x1UL << 27) /* Coprocessor and Memeory Access */
#define ETM_ETMCCR_MMACCESS (0x1UL << 27) /* Coprocessor and Memory Access */
#define _ETM_ETMCCR_MMACCESS_SHIFT 27 /* Shift value for ETM_MMACCESS */
#define _ETM_ETMCCR_MMACCESS_MASK 0x8000000UL /* Bit mask for ETM_MMACCESS */
#define _ETM_ETMCCR_MMACCESS_DEFAULT 0x00000001UL /* Mode DEFAULT for ETM_ETMCCR */
@@ -533,7 +533,7 @@
#define _ETM_ETMCCER_EICEWPNT_MASK 0xF0000UL /* Bit mask for ETM_EICEWPNT */
#define _ETM_ETMCCER_EICEWPNT_DEFAULT 0x00000004UL /* Mode DEFAULT for ETM_ETMCCER */
#define ETM_ETMCCER_EICEWPNT_DEFAULT (_ETM_ETMCCER_EICEWPNT_DEFAULT << 16) /* Shifted mode DEFAULT for ETM_ETMCCER */
#define ETM_ETMCCER_TEICEWPNT (0x1UL << 20) /* Trace Sart/Stop Block Uses EmbeddedICE watchpoint inputs */
#define ETM_ETMCCER_TEICEWPNT (0x1UL << 20) /* Trace Start/Stop Block Uses EmbeddedICE watchpoint inputs */
#define _ETM_ETMCCER_TEICEWPNT_SHIFT 20 /* Shift value for ETM_TEICEWPNT */
#define _ETM_ETMCCER_TEICEWPNT_MASK 0x100000UL /* Bit mask for ETM_TEICEWPNT */
#define _ETM_ETMCCER_TEICEWPNT_DEFAULT 0x00000001UL /* Mode DEFAULT for ETM_ETMCCER */
+1 -1
View File
@@ -207,7 +207,7 @@
#define NVIC_CPUID_BASE_OFFSET 0x0d00 /* CPUID base register */
#define NVIC_INTCTRL_OFFSET 0x0d04 /* Interrupt control state register */
#define NVIC_VECTAB_OFFSET 0x0d08 /* Vector table offset register */
#define NVIC_AIRCR_OFFSET 0x0d0c /* Application interrupt/reset control registr */
#define NVIC_AIRCR_OFFSET 0x0d0c /* Application interrupt/reset control register */
#define NVIC_SYSCON_OFFSET 0x0d10 /* System control register */
#define NVIC_CFGCON_OFFSET 0x0d14 /* Configuration control register */
#define NVIC_SYSH_PRIORITY_OFFSET(n) (0x0d14 + 4*((n) >> 2))
+1 -1
View File
@@ -181,7 +181,7 @@ uint32_t *arm_syscall(uint32_t *regs)
cmd = regs[REG_R0];
/* if cmd == SYS_restore_context (*running_task)->xcp.regs is valid
* should not be overwriten
* should not be overwritten
*/
if (cmd != SYS_restore_context)
+24 -24
View File
@@ -4431,10 +4431,10 @@ config AT32_TIM1_CHANNEL
channel {1,..,4}
config AT32_TIM1_CLOCK
int "TIM1 work frequence for capture"
int "TIM1 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM1_CAP
@@ -4460,10 +4460,10 @@ config AT32_TIM2_CHANNEL
channel {1,..,4}
config AT32_TIM2_CLOCK
int "TIM2 work frequence for capture"
int "TIM2 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM2_CAP
@@ -4489,10 +4489,10 @@ config AT32_TIM3_CHANNEL
channel {1,..,4}
config AT32_TIM3_CLOCK
int "TIM3 work frequence for capture"
int "TIM3 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM3_CAP
@@ -4518,10 +4518,10 @@ config AT32_TIM4_CHANNEL
channel {1,..,4}
config AT32_TIM4_CLOCK
int "TIM4 work frequence for capture"
int "TIM4 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM4_CAP
@@ -4547,10 +4547,10 @@ config AT32_TIM5_CHANNEL
channel {1,..,4}
config AT32_TIM5_CLOCK
int "TIM5 work frequence for capture"
int "TIM5 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM5_CAP
@@ -4576,10 +4576,10 @@ config AT32_TIM8_CHANNEL
channel {1,..,4}
config AT32_TIM8_CLOCK
int "TIM8 work frequence for capture"
int "TIM8 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM8_CAP
@@ -4605,10 +4605,10 @@ config AT32_TIM9_CHANNEL
channel {1,..,4}
config AT32_TIM9_CLOCK
int "TIM9 work frequence for capture"
int "TIM9 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM9_CAP
@@ -4634,10 +4634,10 @@ config AT32_TIM10_CHANNEL
channel {1,..,4}
config AT32_TIM10_CLOCK
int "TIM10 work frequence for capture"
int "TIM10 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM10_CAP
@@ -4663,10 +4663,10 @@ config AT32_TIM11_CHANNEL
channel {1,..,4}
config AT32_TIM11_CLOCK
int "TIM11 work frequence for capture"
int "TIM11 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM11_CAP
@@ -4692,10 +4692,10 @@ config AT32_TIM12_CHANNEL
channel {1,..,4}
config AT32_TIM12_CLOCK
int "TIM12 work frequence for capture"
int "TIM12 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM12_CAP
@@ -4721,10 +4721,10 @@ config AT32_TIM13_CHANNEL
channel {1,..,4}
config AT32_TIM13_CLOCK
int "TIM13 work frequence for capture"
int "TIM13 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM13_CAP
@@ -4750,10 +4750,10 @@ config AT32_TIM14_CHANNEL
channel {1,..,4}
config AT32_TIM14_CLOCK
int "TIM14 work frequence for capture"
int "TIM14 work frequency for capture"
default 1000000
---help---
This clock frequence limiting the count rate at the expense of resolution.
This clock frequency limiting the count rate at the expense of resolution.
endif # AT32_TIM14_CAP
+4 -4
View File
@@ -1510,7 +1510,7 @@ static int at32_recvframe(struct at32_ethmac_s *priv)
* 3) All of the TX descriptors are in flight.
*
* This last case is obscure. It is due to that fact that each packet
* that we receive can generate an unstoppable transmisson. So we have
* that we receive can generate an unstoppable transmission. So we have
* to stop receiving when we can not longer transmit. In this case, the
* transmit logic should also have disabled further RX interrupts.
*/
@@ -1769,7 +1769,7 @@ static void at32_receive(struct at32_ethmac_s *priv)
}
/* We are finished with the RX buffer. NOTE: If the buffer is
* re-used for transmission, the dev->d_buf field will have been
* reused for transmission, the dev->d_buf field will have been
* nullified.
*/
@@ -2003,11 +2003,11 @@ static void at32_interrupt_work(void *arg)
at32_putreg(ETH_DMAINT_NIS, AT32_ETH_DMASR);
}
/* Handle error interrupt only if CONFIG_DEBUG_NET is eanbled */
/* Handle error interrupt only if CONFIG_DEBUG_NET is enabled */
#ifdef CONFIG_DEBUG_NET
/* Check if there are pending "anormal" interrupts */
/* Check if there are pending "abnormal" interrupts */
if ((dmasr & ETH_DMAINT_AIS) != 0)
{
+1 -1
View File
@@ -2496,7 +2496,7 @@ static int at32_i2c_reset(struct i2c_master_s *dev)
out:
/* Release the port for re-use by other clients */
/* Release the port for reuse by other clients */
nxmutex_unlock(&priv->lock);
return ret;
+3 -3
View File
@@ -2230,8 +2230,8 @@ static inline void at32_ep0out_testmode(struct at32_usbdev_s *priv,
* Name: at32_ep0out_stdrequest
*
* Description:
* Handle a stanard request on EP0. Pick off the things of interest to the
* USB device controller driver; pass what is left to the class driver.
* Handle a standard request on EP0. Pick off the things of interest to
* the USB device controller driver; pass what is left to the class driver.
*
****************************************************************************/
@@ -5646,7 +5646,7 @@ void arm_usbinitialize(void)
arm_usbuninitialize();
/* Initialie the driver data structure */
/* Initialize the driver data structure */
at32_swinitialize(priv);
+1 -1
View File
@@ -2774,7 +2774,7 @@ static inline void at32_gint_hcoutisr(struct at32_usbhost_s *priv,
else if ((pending & OTGFS_HCINT_STALL) != 0)
{
/* Clear the pending the STALL response receiv (STALL) interrupt */
/* Clear the pending the STALL response receive (STALL) interrupt */
at32_putreg(AT32_OTGFS_HCINT(chidx), OTGFS_HCINT_STALL);
+4 -4
View File
@@ -2800,7 +2800,7 @@ static int pwm_outputs_enable(struct pwm_lowerhalf_s *dev,
uint32_t ccer = 0;
uint32_t regval = 0;
/* Get curren register state */
/* Get current register state */
ccer = pwm_getreg(priv, AT32_GTIM_CCER_OFFSET);
@@ -2823,7 +2823,7 @@ static int pwm_outputs_enable(struct pwm_lowerhalf_s *dev,
if (state == true)
{
/* Enable outpus - set bits */
/* Enable outputs - set bits */
ccer |= regval;
}
@@ -2886,7 +2886,7 @@ errout:
* Name: pwm_trgo_configure
*
* Description:
* Confiugre an output synchronisation event for PWM timer (TRGO/TRGO2)
* Configure an output synchronisation event for PWM timer (TRGO/TRGO2)
*
****************************************************************************/
@@ -2989,7 +2989,7 @@ static uint16_t pwm_outputs_from_channels(struct at32_pwmtimer_s *priv)
if (channel != 0)
{
/* Enable output if confiugred */
/* Enable output if configured */
if (priv->channels[i].out1.in_use == 1)
{
+1 -1
View File
@@ -2189,7 +2189,7 @@ static int at32_waitresponse(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 response (due to
* failure means only a failure 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.
+2 -2
View File
@@ -246,7 +246,7 @@ struct up_dev_s
#ifdef SERIAL_HAVE_TXDMA
const unsigned int txdma_channel; /* DMA channel assigned */
DMA_HANDLE txdma; /* currently-open trasnmit DMA stream */
DMA_HANDLE txdma; /* currently-open transmit DMA stream */
#endif
#ifdef SERIAL_HAVE_RXDMA
@@ -2824,7 +2824,7 @@ uart_dev_t *at32_serial_get_uart(int uart_num)
*
* Description:
* Performs the low level USART initialization early in debug so that the
* serial console will be available during bootup. This must be called
* serial console will be available during boot up. This must be called
* before arm_serialinit.
*
****************************************************************************/

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