Skip to content

Commit 25d8025

Browse files
committed
fix spelling
1 parent f14b4ba commit 25d8025

File tree

23 files changed

+33
-29
lines changed

23 files changed

+33
-29
lines changed

.codespell/ignore-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ dout
77
mot
88
te
99
attch
10+
endianess
11+
pris

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ exclude-file = .codespell/exclude-file.txt
77
check-filenames =
88
check-hidden =
99
count =
10-
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/unit-test/vendor,./tests_obsolete,./tools/uf2
10+
skip = *.rb,.cproject,.git,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./tests_obsolete

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ repos:
1515
rev: v2.2.4
1616
hooks:
1717
- id: codespell
18+
args: [-w]
19+
exclude: ^lib/
1820

1921
- repo: local
2022
hooks:

hw/mcu/dialog/da1469x/SDK_10.0.8.105/sdk/bsp/include/DA1469xAB.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -954,11 +954,11 @@ typedef struct { /*!< (@ 0x50030A00) LRA Structur
954954
__IOM uint32_t LRA_FLT_COEF3_REG; /*!< (@ 0x00000034) LRA Filter Coefficient Register */
955955
__IOM uint32_t LRA_BRD_LS_REG; /*!< (@ 0x00000038) LRA Bridge Register */
956956
__IOM uint32_t LRA_BRD_HS_REG; /*!< (@ 0x0000003C) LRA Bridge Register */
957-
__IOM uint32_t LRA_BRD_STAT_REG; /*!< (@ 0x00000040) LRA Bridge Staus Register */
957+
__IOM uint32_t LRA_BRD_STAT_REG; /*!< (@ 0x00000040) LRA Bridge Status Register */
958958
__IOM uint32_t LRA_ADC_CTRL1_REG; /*!< (@ 0x00000044) General Purpose ADC Control Register */
959959
__IM uint32_t RESERVED[2];
960960
__IOM uint32_t LRA_ADC_RESULT_REG; /*!< (@ 0x00000050) General Purpose ADC Result Register */
961-
__IOM uint32_t LRA_LDO_REG; /*!< (@ 0x00000054) LRA LDO Regsiter */
961+
__IOM uint32_t LRA_LDO_REG; /*!< (@ 0x00000054) LRA LDO Register */
962962
__IOM uint32_t LRA_DFT_REG; /*!< (@ 0x00000058) LRA test Register */
963963
} LRA_Type; /*!< Size = 92 (0x5c) */
964964

@@ -1043,7 +1043,7 @@ typedef struct { /*!< (@ 0x50000200) PDC Structur
10431043
__IOM uint32_t PDC_CTRL15_REG; /*!< (@ 0x0000003C) PDC control register */
10441044
__IM uint32_t RESERVED[16];
10451045
__IOM uint32_t PDC_ACKNOWLEDGE_REG; /*!< (@ 0x00000080) Clear a pending PDC bit */
1046-
__IOM uint32_t PDC_PENDING_REG; /*!< (@ 0x00000084) Shows any pending wakup event */
1046+
__IOM uint32_t PDC_PENDING_REG; /*!< (@ 0x00000084) Shows any pending wakeup event */
10471047
__IOM uint32_t PDC_PENDING_SNC_REG; /*!< (@ 0x00000088) Shows any pending IRQ to SNC */
10481048
__IOM uint32_t PDC_PENDING_CM33_REG; /*!< (@ 0x0000008C) Shows any pending IRQ to CM33 */
10491049
__IOM uint32_t PDC_PENDING_CMAC_REG; /*!< (@ 0x00000090) Shows any pending IRQ to CM33 */
@@ -1752,8 +1752,8 @@ typedef struct { /*!< (@ 0x50000100) WAKEUP Struc
17521752
__IOM uint32_t WKUP_SELECT_P1_REG; /*!< (@ 0x00000018) select which inputs from P1 port can trigger
17531753
wkup counter */
17541754
__IM uint32_t RESERVED2[3];
1755-
__IOM uint32_t WKUP_POL_P0_REG; /*!< (@ 0x00000028) select the sesitivity polarity for each P0 input */
1756-
__IOM uint32_t WKUP_POL_P1_REG; /*!< (@ 0x0000002C) select the sesitivity polarity for each P1 input */
1755+
__IOM uint32_t WKUP_POL_P0_REG; /*!< (@ 0x00000028) select the sensitivity polarity for each P0 input */
1756+
__IOM uint32_t WKUP_POL_P1_REG; /*!< (@ 0x0000002C) select the sensitivity polarity for each P1 input */
17571757
__IM uint32_t RESERVED3[3];
17581758
__IOM uint32_t WKUP_STATUS_P0_REG; /*!< (@ 0x0000003C) Event status register for P0 */
17591759
__IOM uint32_t WKUP_STATUS_P1_REG; /*!< (@ 0x00000040) Event status register for P1 */

hw/mcu/dialog/da1469x/src/system_da1469x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SystemInit(void)
3434
__ISB();
3535
#endif
3636

37-
/* Freez watchdog */
37+
/* Freeze watchdog */
3838
GPREG->SET_FREEZE_REG |= GPREG_SET_FREEZE_REG_FRZ_SYS_WDOG_Msk;
3939
/* Initialize power domains (disable radio only) */
4040
CRG_TOP->PMU_CTRL_REG = CRG_TOP_PMU_CTRL_REG_RADIO_SLEEP_Msk;

hw/mcu/nordic/nrf5x/s140_nrf52_6.1.1_API/include/ble_l2cap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ typedef struct
286286
/**@brief L2CAP event structure. */
287287
typedef struct
288288
{
289-
uint16_t conn_handle; /**< Connection Handle on which the event occured. */
289+
uint16_t conn_handle; /**< Connection Handle on which the event occurred. */
290290
uint16_t local_cid; /**< Local Channel ID of the L2CAP channel, or
291291
@ref BLE_L2CAP_CID_INVALID if not present. */
292292
union

hw/mcu/sony/cxd56/tools/flash_writer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
import_serial_module = True
4848

49-
# When SDK release, plase set SDK_RELEASE as True.
49+
# When SDK release, please set SDK_RELEASE as True.
5050
SDK_RELEASE = False
5151

5252
if SDK_RELEASE :
@@ -508,7 +508,7 @@ def main():
508508
do_wait_reset = True
509509
if ConfigArgs.AUTO_RESET:
510510
if subprocess.call("cd " + sys.path[0] + "; ./reset_board.sh", shell=True) == 0:
511-
print("auto reset board sucess!!")
511+
print("auto reset board success!!")
512512
do_wait_reset = False
513513
bootrom_msg = writer.cancel_autoboot()
514514

@@ -536,7 +536,7 @@ def main():
536536

537537
# Remove files
538538
if ConfigArgs.ERASE_NAME :
539-
print(">>> Remove exisiting files ...")
539+
print(">>> Remove existing files ...")
540540
writer.delete_files(ConfigArgs.ERASE_NAME)
541541

542542
# Install files

hw/mcu/sony/cxd56/tools/xmodem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class XMODEM(object):
147147
>>> modem = XMODEM(getc, putc)
148148
149149
150-
:param getc: Function to retreive bytes from a stream
150+
:param getc: Function to retrieve bytes from a stream
151151
:type getc: callable
152152
:param putc: Function to transmit bytes to a stream
153153
:type putc: callable
@@ -215,7 +215,7 @@ def send(self, stream, retry=32, timeout=360, quiet=0, callback=None):
215215
>>> print modem.send(stream)
216216
True
217217
218-
Returns ``True`` upon succesful transmission or ``False`` in case of
218+
Returns ``True`` upon successful transmission or ``False`` in case of
219219
failure.
220220
221221
:param stream: The stream object to send data from.

test/unit-test/vendor/ceedling/bin/ceedling

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ unless (project_found)
8686
end
8787
end
8888

89-
# Genarate gitkeep in test support path
89+
# Generate gitkeep in test support path
9090
FileUtils.touch(File.join(test_support_path, '.gitkeep'))
9191

9292
# If documentation requested, create a place to dump them and do so

test/unit-test/vendor/ceedling/lib/ceedling.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def self.load_project(options = {})
7777
# * The gem name must be prefixed with 'ceedling-' followed by the plugin
7878
# name (ex. 'ceedling-bullseye')
7979
#
80-
# * The contents of the plugin must be isntalled into a subdirectory of
80+
# * The contents of the plugin must be installed into a subdirectory of
8181
# the gem with the same name as the plugin (ex. 'bullseye/')
8282
#
8383
# === Arguments

0 commit comments

Comments
 (0)