Skip to content

Commit f483b1b

Browse files
nazar01nashif
authored andcommitted
everywhere: fix typos
Fix a lot of typos Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
1 parent 3b576fc commit f483b1b

File tree

757 files changed

+1284
-1284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

757 files changed

+1284
-1284
lines changed

.github/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
- "arch/xtensa/**/*"
7171
- "include/arch/xtensa/**/*"
7272
"area: RISCV":
73-
- "arch/risv/**/*"
73+
- "arch/riscv/**/*"
7474
- "include/arch/riscv/**/*"
7575
"area: ARC":
7676
- "arch/arc/**/*"

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ zephyr_compile_options(
271271
# ToDo: Remember to get feedback from Oticon on this, as they might use the `ASM_BASE_FLAG` since this is done this way.
272272
zephyr_compile_options($<$<COMPILE_LANGUAGE:ASM>:$<TARGET_PROPERTY:asm,required>>)
273273

274-
# @Intent: Enforce standard integer type correspondance to match Zephyr usage.
274+
# @Intent: Enforce standard integer type correspondence to match Zephyr usage.
275275
# (must be after compiler specific flags)
276276
if(NOT CONFIG_ARCH_POSIX)
277277
# `zephyr_stdint.h` is not included for the POSIX (native) arch because it

arch/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ choice CACHE_TYPE
799799
config HAS_ARCH_CACHE
800800
bool "Integrated cache controller"
801801
help
802-
"Integrade on-core cache controller"
802+
"Integrated on-core cache controller"
803803

804804
config HAS_EXTERNAL_CACHE
805805
bool "External cache controller"

arch/arc/core/irq_manage.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void z_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags)
135135

136136
__ASSERT(prio < CONFIG_NUM_IRQ_PRIO_LEVELS,
137137
"invalid priority %d for irq %d", prio, irq);
138-
/* 0 -> CONFIG_NUM_IRQ_PRIO_LEVELS allocted to secure world
138+
/* 0 -> CONFIG_NUM_IRQ_PRIO_LEVELS allocated to secure world
139139
* left prio levels allocated to normal world
140140
*/
141141
#if defined(CONFIG_ARC_SECURE_FIRMWARE)

arch/arm/core/aarch32/userspace.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ SECTION_FUNC(TEXT,z_arm_userspace_enter)
245245
mov r0, lr
246246

247247
#if defined(CONFIG_ARMV7_R)
248-
/* change processor mode to unprivileged, with all interrrupts enabled. */
248+
/* change processor mode to unprivileged, with all interrupts enabled. */
249249
msr CPSR_c, #MODE_USR
250250
#else
251251
/* change processor mode to unprivileged */

arch/posix/core/swap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
int arch_swap(unsigned int key)
2424
{
2525
/*
26-
* struct k_thread * _current is the currently runnig thread
26+
* struct k_thread * _current is the currently running thread
2727
* struct k_thread * _kernel.ready_q.cache contains the next thread to
2828
* run (cannot be NULL)
2929
*

arch/riscv/core/pmp/core_pmp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static void csr_write_enum(int pmp_csr_enum, ulong_t value)
271271
*
272272
* Configure a memory region to be secured by one of the 16 PMP entries.
273273
*
274-
* @param index Number of the targeted PMP entrie (0 to 15 only).
274+
* @param index Number of the targeted PMP entry (0 to 15 only).
275275
* @param cfg_val Configuration value (cf datasheet or defined flags)
276276
* @param addr_val Address register value
277277
*

arch/riscv/core/thread.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
5555
* Following the RISC-V architecture,
5656
* the MSTATUS register (used to globally enable/disable interrupt),
5757
* as well as the MEPC register (used to by the core to save the
58-
* value of the program counter at which an interrupt/exception occcurs)
58+
* value of the program counter at which an interrupt/exception occurs)
5959
* need to be saved on the stack, upon an interrupt/exception
6060
* and restored prior to returning from the interrupt/exception.
6161
* This shall allow to handle nested interrupts.

arch/sparc/core/fatal.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
5353
*
5454
* HOW TO USE
5555
*
56-
* When invesetigating a crashed program, the first things to look
56+
* When investigating a crashed program, the first things to look
5757
* at is typically the tt, pc and sp (o6). You can lookup the pc
5858
* in the assembly list file or use addr2line. In the listing, the
5959
* register values in the table above can be used. The linker map
@@ -68,7 +68,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
6868
* g7 is the TLS pointer if enabled. A SAVE instruction decreases
6969
* the current window pointer (psr bits 4..0) which results in %o
7070
* registers becoming %i registers and a new set of %l registers
71-
* appear. RESTORE does the oppposite.
71+
* appear. RESTORE does the opposite.
7272
*/
7373

7474

@@ -85,7 +85,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
8585
*
8686
* When printing the registers, we get the "local" and "in"
8787
* registers from the ABI stack save area, while the "out" and
88-
* "global" registares are taken from the exception stack frame
88+
* "global" registers are taken from the exception stack frame
8989
* generated in the fault trap entry.
9090
*/
9191
struct savearea {

arch/x86/core/userspace.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* we go through z_x86_trampoline_to_user.
2424
*
2525
* We don't need to update the privilege mode initial stack pointer either,
26-
* privilege elevation always lands on the trampoline stack and the irq/sycall
26+
* privilege elevation always lands on the trampoline stack and the irq/syscall
2727
* code has to manually transition off of it to the appropriate stack after
2828
* switching page tables.
2929
*/

arch/x86/core/x86_mmu.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ static inline pentry_t pte_atomic_update(pentry_t *pte, pentry_t update_val,
977977
* bits and return the previous PTE value.
978978
*
979979
* Common mask values:
980-
* MASK_ALL - Update all PTE bits. Exitsing state totally discarded.
980+
* MASK_ALL - Update all PTE bits. Existing state totally discarded.
981981
* MASK_PERM - Only update permission bits. All other bits and physical
982982
* mapping preserved.
983983
*
@@ -1147,7 +1147,7 @@ static int range_map_ptables(pentry_t *ptables, void *virt, uintptr_t phys,
11471147
* @param size Size of the physical region to map
11481148
* @param entry_flags Desired state of non-address PTE bits covered by mask,
11491149
* ignored if OPTION_RESET
1150-
* @param mask What bits in the PTE to actually modifiy; unset bits will
1150+
* @param mask What bits in the PTE to actually modify; unset bits will
11511151
* be preserved. Ignored if OPTION_RESET.
11521152
* @param options Control options. Do not set OPTION_USER here. OPTION_FLUSH
11531153
* will trigger a TLB shootdown after all tables are updated.
@@ -1334,7 +1334,7 @@ static void identity_map_remove(uint32_t level)
13341334
#endif
13351335

13361336
/* Invoked to remove the identity mappings in the page tables,
1337-
* they were only needed to tranisition the instruction pointer at early boot
1337+
* they were only needed to transition the instruction pointer at early boot
13381338
*/
13391339
__boot_func
13401340
void z_x86_mmu_init(void)

arch/xtensa/core/gdbstub.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ void arch_gdb_init(void)
981981
* converting BREAK.N into BREAK which is bigger.
982982
* This is needed as the GDB stub will need to change
983983
* the program counter past this instruction to
984-
* continue working. Or else SoC would repeartedly
984+
* continue working. Or else SoC would repeatedly
985985
* raise debug exception on this instruction and
986986
* won't go forward.
987987
*/

boards/arc/emsdp/support/openocd.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88

99
# Configure JTAG cable
10-
# EM SDP has built-in FT2232 chip, which is similiar to Digilent HS-1.
10+
# EM SDP has built-in FT2232 chip, which is similar to Digilent HS-1.
1111
adapter driver ftdi
1212

1313
# Only specify FTDI serial number if it is specified via

boards/arc/hsdk/support/openocd-2-cores.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Configure JTAG cable
66
# SDP has built-in FT2232 chip, which is similar to Digilent HS-1, except that
7-
# it uses channgel B for JTAG, instead of channel A.
7+
# it uses channel B for JTAG, instead of channel A.
88
adapter driver ftdi
99

1010
# Only specify FTDI serial number if it is specified via

boards/arc/hsdk/support/openocd.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Configure JTAG cable
66
# SDP has built-in FT2232 chip, which is similar to Digilent HS-1, except that
7-
# it uses channgel B for JTAG, instead of channel A.
7+
# it uses channel B for JTAG, instead of channel A.
88
adapter driver ftdi
99

1010
# Only specify FTDI serial number if it is specified via

boards/arc/qemu_arc/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ QEMU, and display the following console output:
8080
8181
*** Booting Zephyr OS build zephyr-v2.2.0-2486-g7dbfcf4bab57 ***
8282
threadA: Hello World from qemu_arc!
83-
threudB: Hello World from qemu_arc!
83+
threadB: Hello World from qemu_arc!
8484
threadA: Hello World from qemu_arc!
8585
threadB: Hello World from qemu_arc!
8686

boards/arm/96b_argonkey/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Hardware
3737
- Temperature/Pressure: STMicro LPS22HB
3838
- ALS: Intersil ISL29034
3939
- Proximity: STMicro VL53L0X
40-
- Acclerometer/Gyroscope: STMicro LSM6DSL
40+
- Accelerometer/Gyroscope: STMicro LSM6DSL
4141
- Geomagnetic: STMicro LIS2MDL
4242
- AMR Hall sensor: MRMS501A
4343
- Microphone: STMicro MP34DT05

boards/arm/96b_meerkat96/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ the remaining are not used/tested.
149149
Programming and Debugging
150150
*************************
151151

152-
The 96Boards Meerakat96 board doesn't have QSPI flash for the M4 and it needs
152+
The 96Boards Meerkat96 board doesn't have QSPI flash for the M4 and it needs
153153
to be started by the A7 core. The A7 core is responsible to load the M4 binary
154154
application into the RAM, put the M4 in reset, set the M4 Program Counter and
155155
Stack Pointer, and get the M4 out of reset. The A7 can perform these steps at

boards/arm/96b_neonkey/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Hardware
3737
- Pressure: BMP280
3838
- ALS/Proximity: RPR-0521RS
3939
- Geomagnetic: BMM150
40-
- Acclerometer/Gyroscope: BMI160
40+
- Accelerometer/Gyroscope: BMI160
4141
- AMR Hall sensor: MRMS501A
4242
- Microphone: SPK0415HM4H-B
4343

boards/arm/96b_stm32_sensor_mez/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Hardware
3232
- On board sensors:
3333

3434
- Temperature/Pressure: STMicro LPS22HB
35-
- Acclerometer/Gyroscope: STMicro LSM6DS3H
35+
- Accelerometer/Gyroscope: STMicro LSM6DS3H
3636
- Magnetometer: STMicro LIS3MDL
3737
- Microphone: STMicro MP34DT01
3838

boards/arm/arduino_nano_33_ble/doc/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ Connections and IOs
7171
The `schematic`_ will tell you everything
7272
you need to know about the pins.
7373

74-
A convinience header mapping the Arduino pin names to their
74+
A convenience header mapping the Arduino pin names to their
7575
Zephyr pin numbers can be found in :code:`arduino_nano_33_ble_pins.h`,
7676
if you link against the :code:`arduino_nano_33_ble_pins` CMake library.
7777

78-
For your convience, two Kconfig options are added:
78+
For your convenience, two Kconfig options are added:
7979

8080
#. :code:`BOARD_ARDUINO_NANO_33_BLE_INIT_SENSORS`:
8181
This configuration option enables the internal I2C sensors.

boards/arm/arty/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ DesignStart FPGA`_ Xilinx edition reference designs from ARM. Zephyr supports
3333
both the Cortex-M1 and the Cortex-M3 reference designs. The Cortex-M1 design
3434
targets either the Spartan-7 or Artix-7 based Arty boards, whereas the Cortex-M3
3535
design only targets the Artix-7 based boards. Zephyr only supports the Artix-7
36-
targetted designs for now.
36+
targeted designs for now.
3737

3838
For more information about the ARM Cortex-M1/M3 DesignStart FPGA, see the
3939
following websites:

boards/arm/cc3220sf_launchxl/pinmux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
* driverlib pin defines. For example, I2C_CC32XX_PIN_01_I2C_SCL & 0xff = 0,
7979
* which equals PIN_01 in driverlib pin.h. By matching the PIN_xx defines in
8080
* driverlib pin.h, we can pass the pin directly to the driverlib functions.
81-
* The upper 8 bits of the macro correspond to the pin mux confg mode
81+
* The upper 8 bits of the macro correspond to the pin mux config mode
8282
* value for the pin to operate in the I2C mode. For example, pin 1 is
8383
* configured with mode 1 to operate as I2C_SCL.
8484
*/

boards/arm/cc3235sf_launchxl/pinmux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* driverlib pin defines. For example, I2C_CC32XX_PIN_01_I2C_SCL & 0xff = 0,
5454
* which equals PIN_01 in driverlib pin.h. By matching the PIN_xx defines in
5555
* driverlib pin.h, we can pass the pin directly to the driverlib functions.
56-
* The upper 8 bits of the macro correspond to the pin mux confg mode
56+
* The upper 8 bits of the macro correspond to the pin mux config mode
5757
* value for the pin to operate in the I2C mode. For example, pin 1 is
5858
* configured with mode 1 to operate as I2C_SCL.
5959
*/

boards/arm/contextualelectronics_abc/doc/index.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.. _contextualelectronics_abc:
22

3-
Contextual Eletronics Advanced BLE Cell
4-
#######################################
3+
Contextual Electronics Advanced BLE Cell
4+
########################################
55

66
Overview
77
********
88

9-
The Contextual Eletronics ABC (PCA10056) hardware provides support for the
9+
The Contextual Electronics ABC (PCA10056) hardware provides support for the
1010
Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
1111

1212
* CLOCK

boards/arm/cy8ckit_062_ble/doc/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ are only possible after rework the board and using the revision 1.0.0.
246246
:goals: build
247247
:compact:
248248

249-
#. The diferences from version 0.0.0 to 1.0.0:
249+
#. The differences from version 0.0.0 to 1.0.0:
250250

251251
+-------------+------------+------------+
252-
| Connecion | 0.0.0 | 1.0.0 |
252+
| Connection | 0.0.0 | 1.0.0 |
253253
+=============+============+============+
254254
| CDC-COM RX | P5_0 | P9_0 |
255255
+-------------+------------+------------+

boards/arm/efm32wg_stk3800/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For more information about the EFM32WG SoC and EFM32WG-STK3800 board:
4141
Supported Features
4242
==================
4343

44-
The efm32wg_stk3800oard configuration supports the following hardware features:
44+
The efm32wg_stk3800 board configuration supports the following hardware features:
4545

4646
+-----------+------------+-------------------------------------+
4747
| Interface | Controller | Driver/Component |

boards/arm/frdm_k64f/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ CAN
215215
===
216216

217217
The FRDM-K64F board does not come with an onboard CAN transceiver. In order to
218-
use the CAN bus, an external CAN bus tranceiver must be connected to ``PTB18``
218+
use the CAN bus, an external CAN bus transceiver must be connected to ``PTB18``
219219
(``CAN0_TX``) and ``PTB19`` (``CAN0_RX``).
220220

221221
Programming and Debugging

boards/arm/mec15xxevb_assy6853/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Overview
99
The MEC15xxEVB_ASSY6853 kit is a future development platform to evaluate the
1010
Microchip MEC15XX series microcontrollers. This board needs to be mated with
1111
part number MEC1501 144WFBA SOLDER DC ASSY 6860(cpu board) in order to operate.
12-
The MEC152x has superceded the MEC1501 in production. MEC152x is identical to
12+
The MEC152x has superseded the MEC1501 in production. MEC152x is identical to
1313
MEC150x except for an enhanced Boot-ROM SPI loader. The SPI image format has
1414
been updated requiring a new SPI image tool. MEC1501 and MEC152x SPI image
1515
formats are not compatible with each other. Evaluation and cpu boards are

boards/arm/mikroe_clicker_2/doc/mikroe_clicker_2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Other hardware features have not been enabled yet for this board.
5656

5757
The default configuration can be found in the defconfig file:
5858

59-
``boards/arm/mikroe_clicker_2/mikroe_cliker_2_defconfig``
59+
``boards/arm/mikroe_clicker_2/mikroe_clicker_2_defconfig``
6060

6161
Connections and IOs
6262
===================

boards/arm/mm_feather/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Flashing
198198

199199
Here is an example for the :ref:`hello_world` application.
200200

201-
Connect a DAPLink debuger from your PC to corresponding SWD pins of SwiftIO Feather.
201+
Connect a DAPLink debugger from your PC to corresponding SWD pins of SwiftIO Feather.
202202

203203
.. zephyr-app-commands::
204204
:zephyr-app: samples/hello_world

boards/arm/nrf51_ble400/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Motherboard
7272
3. I2C interface
7373
4. SPI interface
7474
5. 5V/3.3V power input/output: usually used as power output, also common-grounding with other user board
75-
6. USB connector: USB TO UART via onboard convertor CP2102
75+
6. USB connector: USB TO UART via onboard converter CP2102
7676
7. Debugging interface
7777
8. UART interface
7878
9. Battery holder

boards/arm/nrf52840_mdk_usb_dongle/Kconfig.defconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ config BOARD
1414
# To let the nRF5 bootloader load an application, the application
1515
# must be linked after Nordic MBR, that is factory-programmed on the board.
1616

17-
# Nordic nRF5 booatloader exists outside of the partitions specified in the
18-
# DTS file, so we manually override FLASH_LOAD_OFFEST to link the application
17+
# Nordic nRF5 bootloader exists outside of the partitions specified in the
18+
# DTS file, so we manually override FLASH_LOAD_OFFSET to link the application
1919
# correctly, after Nordic MBR.
2020

2121
# When building MCUBoot, MCUBoot itself will select USE_DT_CODE_PARTITION

boards/arm/nucleo_g0b1re/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Nucleo G0B1RE provides the following hardware components:
6363
- Tamper Pins(3)
6464
- 12-bit ADC with 16 channels
6565
- 12-bit DAC with 2 channels(2)
66-
- Analog Comperator(3)
66+
- Analog Comparator(3)
6767
- 12-channel DMA
6868

6969

boards/arm/nucleo_h723zg/support/openocd.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# STM32H745ZI Nucleo board OpenOCD ST-LLINK V3 configuration
1+
# STM32H745ZI Nucleo board OpenOCD ST-LINK V3 configuration
22
#
33
# Copyright (c) 2020 Alexander Kozhinov <AlexanderKozhinov@yandex.com>
44
# SPDX-License-Identifier: Apache-2.0
@@ -13,7 +13,7 @@ set BOARDNAME NUCLEO-H723ZG
1313

1414
source [find target/stm32h7x.cfg]
1515

16-
# Use connect_assert_srst here to be able to programm
16+
# Use connect_assert_srst here to be able to program
1717
# even when core is in sleep mode
1818
reset_config srst_only srst_nogate connect_assert_srst
1919

boards/arm/nucleo_h745zi_q/support/openocd.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
source [find board/st_nucleo_h745zi.cfg]
88

9-
# Use connect_assert_srst here to be able to programm
9+
# Use connect_assert_srst here to be able to program
1010
# even when core is in sleep mode
1111
reset_config srst_only srst_nogate connect_assert_srst
1212

boards/arm/nucleo_l152re/support/openocd.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TODO: Once official oepnOCD fix merged and available in zephyr:
1+
# TODO: Once official openOCD fix merged and available in zephyr:
22
# http://openocd.zylin.com/#/c/5829/
33
# revert to board/st_nucleo_l1.cfg
44
# source [find board/st_nucleo_l1.cfg]

boards/arm/olimex_stm32_h103/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Programming and Debugging
211211

212212
This board does not include any embedded debug tool interface, instead you
213213
will have to use an external probe connected to the available 20-pin JTAG
214-
connector to progran and debug the board. Both JTAG and SWD are supported.
214+
connector to program and debug the board. Both JTAG and SWD are supported.
215215

216216
By default when using ``west debug`` ST-Link will be used with OpenOCD's
217217
SWD transport, but it is also possible to use JTAG with the Olimex ARM-USB-OCD-H

0 commit comments

Comments
 (0)