This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 1efeb39da070f25917a8670af41c2ca5fee62467 Author: Lars Kruse <de...@sumpfralle.de> AuthorDate: Fri May 2 12:31:09 2025 +0200 style: add codespell configuration for common spelling exceptions This file can be extended in order to cover all spelling check exceptions (perceived as misspellings). --- .codespell-ignore-lines | 14 ++++++++++++++ .codespellrc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/.codespell-ignore-lines b/.codespell-ignore-lines new file mode 100644 index 0000000000..77b123d24d --- /dev/null +++ b/.codespell-ignore-lines @@ -0,0 +1,14 @@ +/* Bit fields for LESENSE CURCH */ + CURCH, + Linix, +Linix 45ZWN24-40 2 0.5 Ohm 0.400 mH 2.34A 24V +* Linix 45ZWN24-40 (PMSM motor dedicated for NXP FRDM-MC-LVMTR kit) + DUE SCHEM. PIN MAPPING SAM3X DUE SCHEM. BOARD LABEL + SCHEM, + * ADDR -> BTC & TBE - Send one more byte + TBE, + /* All even touch pads have the same position for the THN bits. + /* All odd touch pads have the same position for the THN bits. + THN, +# define AES_ISR_URAT_WORRDACC (5 << AES_ISR_URAT_SHIFT) /* WRONLY register read access */ + WRONLY, diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000000..756101a0ab --- /dev/null +++ b/.codespellrc @@ -0,0 +1,49 @@ +[codespell] + +# Add complete lines to be ignored to this file. +# Example for ignoring all current occurrences of (verifiably correct) word usage: +# grep -hirw "emac" | sort | uniq >>.codespell-ignore-lines +exclude-file = .codespell-ignore-lines + +# Ignore complete files (e.g. legal text or other immutable material). +skip = + LICENSE, + +# Ignore seemingly misspelled words. +# lowercase: case insensitive +# uppercase: case sensitive +# (see https://github.com/codespell-project/codespell/issues/3638) +# This setting should be used only for frequently used words. +# Exotic word occurrences should be filtered with the "exclude-file" setting instead. +ignore-words-list = + ACI, + AFE, + afile, + ALS, + AMEBA, + ARCHTYPE, + DAA, + dout, + emac, + eeeprom, + extint, + filp, + FRAM, + hart, + hsi, + iif, + inport, + lod, + mot, + NWE, + OEN, + PRES, + REGONS, + SAIs, + SER, + synopsys, + TE, + TIMOUT, + tolen, + UE, + WRON,