docs: fix misspelling across the tree

Found a few annoying typos and figured I better run script and
fix anything it can find, here are the results...

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-18 14:45:40 -04:00 committed by Maureen Helm
parent b023fbf938
commit f2cb20c772
133 changed files with 191 additions and 191 deletions

View file

@ -12,7 +12,7 @@
# expect to learn how to build the kernel reading this file.
if(NOT DEFINED ZEPHYR_BINARY_DIR)
message(FATAL_ERROR "A user error has occured.
message(FATAL_ERROR "A user error has occurred.
cmake was invoked with '${CMAKE_CURRENT_LIST_DIR}' specified as the source directory,
but it must be invoked with an application source directory,
such as '${CMAKE_CURRENT_LIST_DIR}/samples/hello_world'.
@ -39,7 +39,7 @@ project(Zephyr-Kernel VERSION ${PROJECT_VERSION})
enable_language(C CXX ASM)
# Verify that the toolchain can compile a dummy file, if it is not we
# won't be able to test for compatiblity with certain C flags.
# won't be able to test for compatibility with certain C flags.
check_c_compiler_flag("" toolchain_is_ok)
assert(toolchain_is_ok "The toolchain is unable to build a dummy C file. See CMakeError.log.")

View file

@ -15,7 +15,7 @@ source "modules/Kconfig"
endmenu
# Include these first so that any properties (e.g. defaults) below can be
# overriden in *.defconfig files (by defining symbols in multiple locations).
# overridden in *.defconfig files (by defining symbols in multiple locations).
# After merging all the symbol definitions, Kconfig picks the first property
# (e.g. the first default) with a satisfied condition.
#
@ -63,7 +63,7 @@ config LINKER_ORPHAN_SECTION_PLACE
config LINKER_ORPHAN_SECTION_WARN
bool "Warn"
help
Linker places the orphan sections in ouput and issues
Linker places the orphan sections in output and issues
warning about those sections.
config LINKER_ORPHAN_SECTION_ERROR

View file

@ -9,7 +9,7 @@
#
# Include these first so that any properties (e.g. defaults) below can be
# overriden (by defining symbols in multiple locations)
# overridden (by defining symbols in multiple locations)
# Note: $ARCH might be a glob pattern
source "$(ARCH_DIR)/$(ARCH)/Kconfig"

View file

@ -27,7 +27,7 @@
/*
* GCC can detect if memcpy is passed a NULL argument, however one of
* the cases of relocate_vector_table() it is valid to pass NULL, so we
* supress the warning for this case. We need to do this before
* suppress the warning for this case. We need to do this before
* string.h is included to get the declaration of memcpy.
*/
#pragma GCC diagnostic push

View file

@ -134,7 +134,7 @@ SECTION_FUNC(TEXT, __start)
#endif
/* TODO if shadow register sets enabled, interate through them to set
* up. Need to clear r0, write gp, set the execption stack pointer
* up. Need to clear r0, write gp, set the exception stack pointer
* GH-1821
*/

View file

@ -175,7 +175,7 @@ no_unlock:
SECTION_FUNC(TEXT, z_thread_entry_wrapper)
/* This all corresponds to struct init_stack_frame defined in
* thread.c. We need to take this stuff off the stack and put
* it in the apporpriate registers
* it in the appropriate registers
*/
/* Can't return from here, just put NULL in ra */

View file

@ -228,7 +228,7 @@ static void *get_dynamic_stub(int stub_idx)
u32_t offset;
/*
* Because we want the sizes of the stubs to be consisent and minimized,
* Because we want the sizes of the stubs to be consistent and minimized,
* stubs are grouped into blocks, each containing a push and subsequent
* 2-byte jump instruction to the end of the block, which then contains
* a larger jump instruction to common dynamic IRQ handling code

View file

@ -58,7 +58,7 @@ SECTION_FUNC(TEXT, z_x86_trampoline_to_kernel)
/* %esp = _kernel->current->stack_info.start
*
* This is the lowest address of the user mode stack, and higest
* This is the lowest address of the user mode stack, and highest
* address of the kernel stack, they are adjacent.
* We want to transplant context here.
*/
@ -166,7 +166,7 @@ SECTION_FUNC(TEXT, z_x86_syscall_entry_stub)
/* %esp = _kernel->current->stack_info.start
*
* This is the lowest address of the user mode stack, and higest
* This is the lowest address of the user mode stack, and highest
* address of the kernel stack, they are adjacent.
* We want to transplant context here.
*/

View file

@ -133,7 +133,7 @@ int z_arch_buffer_validate(void *addr, size_t size, int write)
MMU_PAGE_NUM((char *)addr + size - 1);
}
/* For all the pde's appart from the starting pde,
/* For all the pde's apart from the starting pde,
* will have the start pte number as zero.
*/
if (pde != start_pde_num) {

View file

@ -245,7 +245,7 @@ class PageMode_PAE:
# In-case the start address aligns with a page table entry other
# than zero and the mem_size is greater than (1024*4096) i.e 4MB
# in case where it overflows the currenty PDE's range then limit the
# in case where it overflows the current PDE's range then limit the
# PTE to 1024 and so make the mem_size reflect the actual size
# taken up in the current PDE
if (size + (pte_valid_addr_start * 4096)) >= \
@ -277,7 +277,7 @@ class PageMode_PAE:
# create all the extra PDEs needed to fit the requested size
# this loop starts from the current pde till the last pde that is
# needed the last pde is calcualted as the (start_addr + size) >>
# needed the last pde is calculated as the (start_addr + size) >>
# 22
if overflow_size != 0:
for extra_pdpte in range(pdpte_index,
@ -488,7 +488,7 @@ def read_mmu_list(mmu_list_data):
other_addr, other_end_addr))
sys.exit(2)
# add the retrived info another list
# add the retrieved info another list
regions.append((addr, size, flags))
return (pd_start_addr, regions)

View file

@ -190,7 +190,7 @@ typedef struct s_preempFloatReg {
} tPreempFloatReg;
/*
* The thread control stucture definition. It contains the
* The thread control structure definition. It contains the
* various fields to manage a _single_ thread. The TCS will be aligned
* to the appropriate architecture specific boundary via the
* z_new_thread() call.

View file

@ -183,7 +183,7 @@ struct apic_regs {
#define _apic (*((volatile struct apic_regs *)0xfee00000ll))
/* Crazy encoding for this, but susceptable to a formula. Returns the
/* Crazy encoding for this, but susceptible to a formula. Returns the
* DIVIDE_CONF register value that divides the input clock by 2^n (n
* in the range 0-7).
*/

View file

@ -58,7 +58,7 @@ static inline void *xuk_get_g_ptr()
*
* + Values from 0x100 to 0x1ff are mapped to raw vectors 0x00-0xff
* and can be used for handling exceptions, for INT instructions, or
* for MSI- or IPI-directed interrupts that specifiy specific
* for MSI- or IPI-directed interrupts that specify specific
* vectors.
*
* + Values outside this range may be exposed symbolically for other

View file

@ -227,7 +227,7 @@ _zxt_int_exit:
* every timer interrupt. Manages the tick timer and calls
* xPortSysTickHandler() every tick. See the detailed description of the
* XT_RTOS_ENTER macro in xtensa_rtos.h. Callable from C. Implemented in
* assmebly code for performance.
* assembly code for performance.
*
*/
.globl _zxt_timer_int

View file

@ -73,7 +73,7 @@ typedef struct s_preempCoprocReg {
} tPreempCoprocReg;
/*
* The thread control stucture definition. It contains the
* The thread control structure definition. It contains the
* various fields to manage a _single_ thread.
*/
struct _thread_arch {

View file

@ -178,7 +178,7 @@ STRUCT_END(XtSolFrame)
* otherwise a thread retains ownership of the co-processor even when it loses
* control of the processor. An Xtensa co-processor exception is triggered when
* any co-processor instruction is executed by a thread that is not the owner,
* and the context switch of that co-processor is then peformed by the handler.
* and the context switch of that co-processor is then performed by the handler.
* Ownership represents which thread's state is currently in the co-processor.
*
* Co-processors may not be used by interrupt or exception handlers. If a

View file

@ -40,7 +40,7 @@ static int pwr_ctrl_init(struct device *dev)
* from the VDD power rail. Both of these power rails need to be enabled before
* the sensor driver init can be performed. The VDD rail also has to be powered up
* before the CCS_VDD rail. These checks are to enforce the power up sequence
* constraits.
* constraints.
*/
#if CONFIG_BOARD_VDD_PWR_CTRL_INIT_PRIORITY <= CONFIG_GPIO_NRF_INIT_PRIORITY

View file

@ -99,21 +99,21 @@ static void arm_v2m_beetle_pinmux_defaults(void)
/* Set GPIO Alternate Functions */
gpio_0 = (1<<0); /* Sheild 0 UART 0 RXD */
gpio_0 |= (1<<1); /* Sheild 0 UART 0 TXD */
gpio_0 |= (1<<14); /* Sheild 0 I2C SDA SBCON2 */
gpio_0 |= (1<<15); /* Sheild 0 I2C SCL SBCON2 */
gpio_0 |= (1<<10); /* Sheild 0 SPI_3 nCS */
gpio_0 |= (1<<11); /* Sheild 0 SPI_3 MOSI */
gpio_0 |= (1<<12); /* Sheild 0 SPI_3 MISO */
gpio_0 |= (1<<13); /* Sheild 0 SPI_3 SCK */
gpio_0 = (1<<0); /* Shield 0 UART 0 RXD */
gpio_0 |= (1<<1); /* Shield 0 UART 0 TXD */
gpio_0 |= (1<<14); /* Shield 0 I2C SDA SBCON2 */
gpio_0 |= (1<<15); /* Shield 0 I2C SCL SBCON2 */
gpio_0 |= (1<<10); /* Shield 0 SPI_3 nCS */
gpio_0 |= (1<<11); /* Shield 0 SPI_3 MOSI */
gpio_0 |= (1<<12); /* Shield 0 SPI_3 MISO */
gpio_0 |= (1<<13); /* Shield 0 SPI_3 SCK */
CMSDK_AHB_GPIO0_DEV->altfuncset = gpio_0;
gpio_1 = (1<<0); /* UART 1 RXD */
gpio_1 |= (1<<1); /* UART 1 TXD */
gpio_1 |= (1<<6); /* Sheild 1 I2C SDA */
gpio_1 |= (1<<7); /* Sheild 1 I2C SCL */
gpio_1 |= (1<<6); /* Shield 1 I2C SDA */
gpio_1 |= (1<<7); /* Shield 1 I2C SCL */
gpio_1 |= (1<<2); /* ADC SPI_1 nCS */
gpio_1 |= (1<<3); /* ADC SPI_1 MOSI */
gpio_1 |= (1<<4); /* ADC SPI_1 MISO */

View file

@ -2,13 +2,13 @@
if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
message(FATAL_ERROR "This board requires the BabbleSim simulator. Please set\
the enviroment variable BSIM_COMPONENTS_PATH to point to its components \
the environment variable BSIM_COMPONENTS_PATH to point to its components \
folder. More information can be found in\
https://babblesim.github.io/folder_structure_and_env.html")
endif()
if (NOT DEFINED ENV{BSIM_OUT_PATH})
message(FATAL_ERROR "This board requires the BabbleSim simulator. Please set\
the enviroment variable BSIM_OUT_PATH to point to the folder where the\
the environment variable BSIM_OUT_PATH to point to the folder where the\
simulator is compiled to. More information can be found in\
https://babblesim.github.io/folder_structure_and_env.html")
endif()

View file

@ -160,7 +160,7 @@ class Message:
def create_loadfw_cmd(self, size, sha):
"""
Creates a command to load firmware with associated paramters
Creates a command to load firmware with associated parameters
"""
cmd = 'Load Firmware'
print('CMD >>> %s.' % cmd)

View file

@ -332,7 +332,7 @@ endmacro()
# or zephyr_library_named. The constructors create a CMake library
# with a name accessible through the variable ZEPHYR_CURRENT_LIBRARY.
#
# The variable ZEPHYR_CURRENT_LIBRARY should seldomly be needed since
# The variable ZEPHYR_CURRENT_LIBRARY should seldom be needed since
# the zephyr libraries have methods that modify the libraries. These
# methods have the signature: zephyr_library_<target-function>
#
@ -830,7 +830,7 @@ endfunction()
# _mysection_size = ABSOLUTE(_mysection_end - _mysection_start);
#
# When placing into SECTIONS or RAM_SECTIONS, the files must instead define
# their own output sections to acheive the same thing:
# their own output sections to achieve the same thing:
# SECTION_PROLOGUE(.mysection,,)
# {
# _mysection_start = .;
@ -1336,7 +1336,7 @@ endmacro()
# assert_not(OBSOLETE_VAR "OBSOLETE_VAR has been removed; use NEW_VAR instead")
#
# will cause a FATAL_ERROR and print an error message if the first
# espression is true
# expression is true
macro(assert_not test comment)
if(${test})
message(FATAL_ERROR "Assertion failed: ${comment}")

View file

@ -26,7 +26,7 @@ macro(toolchain_ld_baremetal)
#
# CONFIG_LINKER_ORPHAN_SECTION_PLACE is to place the orphan sections
# without any warnings or errors, which is the default behavior.
# So there is no need to explicity set a linker flag.
# So there is no need to explicitly set a linker flag.
if(CONFIG_LINKER_ORPHAN_SECTION_WARN)
zephyr_ld_options(
${LINKERFLAGPREFIX},--orphan-handling=warn

View file

@ -9,7 +9,7 @@
#
# New users should set the env var 'ZEPHYR_TOOLCHAIN_VARIANT' to
# 'cross-compile' and the 'CROSS_COMPILE' env var to the toolchain
# prefix. This interface is consisent with the other non-"Zephyr SDK"
# prefix. This interface is consistent with the other non-"Zephyr SDK"
# toolchains.
#
# It can be set from either the environment or from a CMake variable

View file

@ -11,7 +11,7 @@ set(LINKER ld)
# Choose one of the toolchains in 'TOOLCHAIN_HOME' at random to use as
# a 'generic' toolchain until we know for sure which toolchain we
# should use. Note that we can't use ARCH to distingush between
# should use. Note that we can't use ARCH to distinguish between
# toolchains because choosing between iamcu and non-iamcu is dependent
# on Kconfig, not ARCH.
file(GLOB toolchain_paths ${TOOLCHAIN_HOME}/*)

View file

@ -13,7 +13,7 @@ stack.
Zephyr supports mainly Bluetooth Low Energy (BLE), the low-power
version of the Bluetooth specification. Zephyr also has limited support
for portions of the BR/EDR Host. Throughout this architecture document we
use BLE interchangably for Bluetooth except when noted.
use BLE interchangeably for Bluetooth except when noted.
.. _bluetooth-layers:

View file

@ -247,7 +247,7 @@ works like ``if y`` (is always satisfied).
.. note::
``range`` properties on ``int`` and ``hex`` symbols work the same way, and
can also be added or overriden in :file:`Kconfig.defconfig` files.
can also be added or overridden in :file:`Kconfig.defconfig` files.
If you want a symbol to only be user-configurable on some boards, make its base
definition have no prompt, and then add a prompt to it in the

View file

@ -62,7 +62,7 @@ Client procedures can be enabled with the configuration option:
Discover procedures can be initiated with the use of
:cpp:func:`bt_gatt_discover` API which takes the
:cpp:class:`bt_gatt_dicover_params` struct which describes the type of
:cpp:class:`bt_gatt_discover_params` struct which describes the type of
discovery. The parameters also serves as a filter when setting the ``uuid``
field only attributes which matches will be discovered, in contrast setting it
to NULL allows all attributes to be discovered.

View file

@ -67,7 +67,7 @@ An application reads data from the socket and passes the buffer to the CoAP libr
to parse the message. If the CoAP message is proper, the library uses the buffer
along with resources defined above to call the correct callback function
to handle the CoAP request from the client. It's the callback function's
responsibilty to either reply or act according to CoAP request.
responsibility to either reply or act according to CoAP request.
.. code-block:: c

View file

@ -346,7 +346,7 @@ release:
* :github:`5370` - [Coverity CID: 180699] Error handling issues in /tests/bluetooth/tester/src/gatt.c
* :github:`5374` - merge_config.sh can behave differently from merge_config.py
* :github:`5379` - sample: net/socket/http_get: no printf output
* :github:`5382` - P2P Device Firwmare Update (FOTA) over BLE and Serial
* :github:`5382` - P2P Device Firmware Update (FOTA) over BLE and Serial
* :github:`5391` - drivers: stm32 clock control: F0 Series with PREDIV1 Support uses wrong PLLSOURCE define for HSI clock
* :github:`5401` - delta_ticks_from_prev become negative and waiting tasks never scheduled
* :github:`5406` - UART1 on STM32F0 Series not working: errors in makro to enable clock
@ -382,7 +382,7 @@ release:
* :github:`5576` - None of the :github:'XYZ' links work in the 1.10 release notes
* :github:`5589` - Issue with using generic gcc cross compile with cmake
* :github:`5601` - docs for cc3220sf_launchxl are out of date/incorrect
* :github:`5608` - Bluetooth LE continous scan weird behaviour
* :github:`5608` - Bluetooth LE continuous scan weird behaviour
* :github:`5619` - zephyr.git/tests/misc/test_build/testcase.yaml#test_newlib @ esp32:xtensa BUILD failed
* :github:`5626` - Building samples failed
* :github:`5640` - MacOS compile error with -std=gnu89

View file

@ -264,7 +264,7 @@ Documentation
* Added description for kernel test cases through extensive doxygen comments
* Discovered some API docs were missing, and fixed
* Documentation added covering system calls and userspace, kernel, and
threading APIs, POSIX compability, VLANs, network traffic
threading APIs, POSIX compatibility, VLANs, network traffic
classification, and the sanitycheck script used by CI.
* Documented writing guidelines and local doc generation process
* Improved Sphinx search results output (removed markup)
@ -649,7 +649,7 @@ These GitHub issues were closed since the previous 1.11.0 tagged release:
* :github:`7480` - pthread_attr_init( ) does not conform to POSIX specification
* :github:`7482` - [Coverity CID :185523] Out-of-bounds read in lsm6dsl driver
* :github:`7495` - cmake: extensions: ToolchainCapabilityDatabase.cmake parse error in shippable
* :github:`7500` - DHCP: when CONFIG_NET_APP_MY_IPV4_ADDR is IP stack needs to rebind on DHCP aquire
* :github:`7500` - DHCP: when CONFIG_NET_APP_MY_IPV4_ADDR is IP stack needs to rebind on DHCP acquire
* :github:`7508` - [Coverity CID :185523] Memory - illegal accesses in /drivers/sensor/lsm6dsl/lsm6dsl.c
* :github:`7511` - [Coverity CID :185391] Incorrect expression in /tests/lib/rbtree/src/main.c
* :github:`7519` - Verify CODEOWNERS (not) including subfolders is intended

View file

@ -833,7 +833,7 @@ release:
* :github:`14753` - nrf52840_pca10056: Get rid of leading spurious 0x00 byte in UART output
* :github:`14743` - Directed advertising to Android does not work
* :github:`14741` - Bluetooth scanning frequent resetting
* :github:`14714` - Mesh network traffic overflow ungraceful stop. (MMFAR Adress: 0x0)
* :github:`14714` - Mesh network traffic overflow ungraceful stop. (MMFAR Address: 0x0)
* :github:`14698` - USB: usb/console sample does not work for most of the boards
* :github:`14697` - USB: cdc_acm_composite sample might lose characters
* :github:`14693` - ARC: need test coverage for MPU stack guards
@ -1132,7 +1132,7 @@ release:
* :github:`13378` - Missing Documentation for Networking subsystem
* :github:`13361` - nucleo_f103rb blinky example cannot run
* :github:`13357` - Tracing hooks problem on POSIX
* :github:`13353` - z_timeout_remaining should substract z_clock_elapsed
* :github:`13353` - z_timeout_remaining should subtract z_clock_elapsed
* :github:`13342` - arm: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL
* :github:`13341` - arc: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL
* :github:`13340` - NRF52 pca10040 boards open the "Flash hardware support" option, the BT Mesh example does not work properly
@ -1373,7 +1373,7 @@ release:
* :github:`11998` - intermittent failures in tests/kernel/common: test_timeout_order: (poll_events[ii].state not equal to K_POLL_STATE_SEM_AVAILABLE)
* :github:`11989` - Reel Board mesh_badge sample | Light sensor bug
* :github:`11980` - cmake: Build fails in an environment without 'python' binary
* :github:`11967` - nrfx SPI driver blocks indefinitly when transfering
* :github:`11967` - nrfx SPI driver blocks indefinitely when transferring
* :github:`11961` - Python warning in process_gperf.py
* :github:`11935` - Invalid usage of k_busy_wait()
* :github:`11916` - ISR table (_sw_isr_table) generation is fragile and can result in corrupted binaries
@ -1656,7 +1656,7 @@ release:
* :github:`10186` - GPIO callback disable has no effect due to _gpio_fire_callbacks
* :github:`10164` - logger sample fails on qemu_xtensa due to lack of backend
* :github:`10152` - gitlint complains of apostrophe in user name
* :github:`10146` - [bluetooth][PTS] Getting Connection failed to be established ocasionally
* :github:`10146` - [bluetooth][PTS] Getting Connection failed to be established occasionally
* :github:`10143` - Why does BT_SETTINGS require PRINTK?
* :github:`10137` - sample/basic/button should configure expected pin configuration
* :github:`10134` - sensor: vl53l0x: Warning message when building in ext/hal/st/lib/sensor/vl53l0x
@ -1787,7 +1787,7 @@ release:
* :github:`7986` - The scripts (debug, debugserver and flash) are not working for Intel S1000 board
* :github:`7818` - big_http_download stuck during download on qemu_x86
* :github:`7817` - Confusing macros: SECONDS vs K_SECONDS, MSEC vs K_MSEC
* :github:`7760` - cmake failure using ExternalProject and dependancies w/ninja
* :github:`7760` - cmake failure using ExternalProject and dependencies w/ninja
* :github:`7706` - ARM NXP hardware stack overflows do not report _NANO_ERR_STACK_CHK_FAIL or provide MPU fault information
* :github:`7638` - get FAULT when fuzzing sys_ring_buf\_ put and sys_ring_bug_get APIs
* :github:`7510` - [Coverity CID :185395] Memory - corruptions in /samples/net/mbedtls_sslclient/src/mini_client.c

View file

@ -505,7 +505,7 @@ static int fir_coef_scale(s32_t *fir_scale, int *fir_shift, int add_shift,
* decimator. For the settings chosen for FIFOs A and B output a lookup
* is done for FIR coefficients from the included coefficients tables.
* For some decimation factors there may be several length coefficient sets.
* It is due to possible restruction of decimation engine cycles per given
* It is due to possible restriction of decimation engine cycles per given
* sample rate. If the coefficients length is exceeded the lookup continues.
* Therefore the list of coefficient set must present the filters for a
* decimation factor in decreasing length order.
@ -1218,7 +1218,7 @@ static void dmic_start(struct device *dev)
/* Clear soft reset for all/used PDM controllers. This should
* start capture in sync.
*/
LOG_DBG("Releasing soft reset for all PDM controlers");
LOG_DBG("Releasing soft reset for all PDM controllers");
for (i = 0; i < DMIC_HW_CONTROLLERS; i++) {
DMIC_REG_UPD(CIC_CONTROL(i), CIC_CONTROL_SOFT_RESET_BIT, 0);
}

View file

@ -465,7 +465,7 @@ static int bt_spi_send(struct net_buf *buf)
* Since a RESET has been requested, the chip will now restart.
* Unfortunately the BlueNRG will reply with "reset received" but
* since it does not send back a NOP, we have no way to tell when the
* RESET has actually taken palce. Instead, we use the vendor command
* RESET has actually taken place. Instead, we use the vendor command
* EVT_BLUE_INITIALIZED as an indication that it is safe to proceed.
*/
if (bt_spi_get_cmd(buf->data) == BT_HCI_OP_RESET) {

View file

@ -51,7 +51,7 @@ static int do_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *op,
struct tc_shim_drv_state *data = ctx->drv_sessn_state;
/* TinyCrypt expects the IV and cipher text to be in a contiguous
* buffer for efficieny
* buffer for efficiency
*/
if (iv != op->in_buf) {
LOG_ERR("TC needs contiguous iv and ciphertext");

View file

@ -26,7 +26,7 @@
#define ILI9340_CMD_POWER_CTRL_2 0xC1
#define ILI9340_CMD_VCOM_CTRL_1 0xC5
#define ILI9340_CMD_VCOM_CTRL_2 0xC7
#define ILI9340_CMD_POSITVE_GAMMA_CORRECTION 0xE0
#define ILI9340_CMD_POSITIVE_GAMMA_CORRECTION 0xE0
#define ILI9340_CMD_NEGATIVE_GAMMA_CORRECTION 0xE1
#define ILI9341_CMD_POWER_CTRL_A 0xCB

View file

@ -63,7 +63,7 @@ void ili9340_lcd_init(struct ili9340_data *data)
tx_data[12] = 0x0E;
tx_data[13] = 0x09;
tx_data[14] = 0x00;
ili9340_transmit(data, ILI9340_CMD_POSITVE_GAMMA_CORRECTION, tx_data,
ili9340_transmit(data, ILI9340_CMD_POSITIVE_GAMMA_CORRECTION, tx_data,
15);
tx_data[0] = 0x00;

View file

@ -125,7 +125,7 @@ void ili9340_lcd_init(struct ili9340_data *p_ili9340)
ili9340_transmit(p_ili9340, cmd, data, 1);
/* Positive Gamma Correction */
cmd = ILI9340_CMD_POSITVE_GAMMA_CORRECTION;
cmd = ILI9340_CMD_POSITIVE_GAMMA_CORRECTION;
data[0] = 0x0FU;
data[1] = 0x2AU;
data[2] = 0x28U;

View file

@ -15,7 +15,7 @@
/* This option enables support to push multiple packets to the DMA engine.
* This currently doesn't work given the current version of net_pkt or
* net_buf does not allowed access from multiple threads. This option is
* therefore currenlty disabled.
* therefore currently disabled.
*/
#define GMAC_MULTIPLE_TX_PACKETS 0

View file

@ -20,7 +20,7 @@
* +-------------------------------------------------------+
*
* BUSY - Erase/Write In Progress - 1 device is executing a command, 0 ready for command
* WEL - Write Enable Latch - 1 write enable is received, 0 completeion of
* WEL - Write Enable Latch - 1 write enable is received, 0 completion of
* a Write Disable, Page Program, Erase, Write Status Register
*
* S15 S14 S13 S12 S11 S10 S9 S8

View file

@ -44,7 +44,7 @@ struct gpio_pcal9535a_drv_data {
struct device *i2c_master;
/**
* Specify polarity inversion of pin. This is used for ouput as
* Specify polarity inversion of pin. This is used for output as
* the polarity inversion registers on chip affects inputs only.
*/
u32_t out_pol_inv;

View file

@ -66,7 +66,7 @@ static int gpio_sam_config_pin(Pio * const pio, u32_t mask, int flags)
/* Disable the interrupt. */
pio->PIO_IDR = mask;
/* Disable ther additional interrupt modes. */
/* Disable their additional interrupt modes. */
pio->PIO_AIMDR = mask;
}

View file

@ -17,7 +17,7 @@ menuconfig I2C
if I2C
# Include these first so that any properties (e.g. defaults) below can be
# overriden (by defining symbols in multiple locations)
# overridden (by defining symbols in multiple locations)
source "drivers/i2c/Kconfig.cc13xx_cc26xx"
source "drivers/i2c/Kconfig.dw"
source "drivers/i2c/Kconfig.esp32"

View file

@ -277,7 +277,7 @@ static int i2c_cc13xx_cc26xx_init(struct device *dev)
/* Enable I2C peripheral clock */
PRCMPeripheralRunEnable(PRCM_PERIPH_I2C0);
/* Enable in sleep mode until proper power managment is added */
/* Enable in sleep mode until proper power management is added */
PRCMPeripheralSleepEnable(PRCM_PERIPH_I2C0);
PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_I2C0);

View file

@ -121,7 +121,7 @@ static int i2c_mcux_transfer(struct device *dev, struct i2c_msg *msgs,
transfer.dataSize = msgs->len;
/* Prevent the controller to send a start condition between
* messages, except if explicitely requested.
* messages, except if explicitly requested.
*/
if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) {
transfer.flags |= kI2C_TransferNoStartFlag;

View file

@ -118,7 +118,7 @@ static int mcux_lpi2c_transfer(struct device *dev, struct i2c_msg *msgs,
transfer.flags = mcux_lpi2c_convert_flags(msgs->flags);
/* Prevent the controller to send a start condition between
* messages, except if explicitely requested.
* messages, except if explicitly requested.
*/
if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) {
transfer.flags |= kLPI2C_TransferNoStartFlag;

View file

@ -39,7 +39,7 @@ static int i2c_nios2_configure(struct device *dev, u32_t dev_config)
}
if (I2C_ADDR_10_BITS & dev_config) {
LOG_ERR("i2c config addresing error\n");
LOG_ERR("i2c config addressing error\n");
rc = -EINVAL;
goto i2c_cfg_err;
}

View file

@ -66,7 +66,7 @@ static bool received_dest_addr_matched(u8_t *rx_buffer)
switch (rx_buffer[DEST_ADDR_TYPE_OFFSET] & DEST_ADDR_TYPE_MASK) {
case DEST_ADDR_TYPE_SHORT:
/* First check if the destination is broadcast */
/* If not broadcast, check if lenght and address matches */
/* If not broadcast, check if length and address matches */
if (memcmp(&rx_buffer[DEST_ADDR_OFFSET],
BROADCAST_ADDRESS,
SHORT_ADDRESS_SIZE) != 0 &&
@ -80,7 +80,7 @@ static bool received_dest_addr_matched(u8_t *rx_buffer)
break;
case DEST_ADDR_TYPE_EXTENDED:
/* If not broadcast, check if lenght and address matches */
/* If not broadcast, check if length and address matches */
if (net_if_get_link_addr(upipe->iface)->len !=
EXTENDED_ADDRESS_SIZE ||
memcmp(&rx_buffer[DEST_ADDR_OFFSET],

View file

@ -238,7 +238,7 @@ static int rtc_stm32_init(struct device *dev)
LL_RCC_LSE_SetDriveCapability(CONFIG_RTC_STM32_LSE_DRIVE_STRENGTH);
LL_RCC_LSE_Enable();
/* Wait untill LSE is ready */
/* Wait until LSE is ready */
while (LL_RCC_LSE_IsReady() != 1) {
}

View file

@ -175,7 +175,7 @@
#define BMG160_BUS_SPEED I2C_SPEED_FAST
#endif
/* end of default settigns */
/* end of default settings */
struct bmg160_device_config {
const char *i2c_port;

View file

@ -59,7 +59,7 @@ static int gts_channel_get(struct device *dev,
analog_val = analog_val >> 2;
/*
* The formula for converting the analog value to degrees Celisus
* The formula for converting the analog value to degrees Celsius
* is taken from the sensor reference page:
* http://www.seeedstudio.com/wiki/Grove_-_Temperature_Sensor
*/

View file

@ -182,7 +182,7 @@ static int hp206c_wait_dev_ready(struct device *dev, u32_t timeout_ms)
return -EBUSY;
}
static int hp206c_adc_aquire(struct device *dev, enum sensor_channel chan)
static int hp206c_adc_acquire(struct device *dev, enum sensor_channel chan)
{
struct hp206c_device_data *hp206c = dev->driver_data;
@ -278,7 +278,7 @@ static int hp206c_channel_get(struct device *dev,
static const struct sensor_driver_api hp206c_api = {
.attr_set = hp206c_attr_set,
.sample_fetch = hp206c_adc_aquire,
.sample_fetch = hp206c_adc_acquire,
.channel_get = hp206c_channel_get,
};

View file

@ -59,7 +59,7 @@ static int lis2dh_start_trigger_int1(struct device *dev)
u8_t raw[LIS2DH_BUF_SZ];
u8_t ctrl1 = 0U;
/* power down temporarly to align interrupt & data output sampling */
/* power down temporarily to align interrupt & data output sampling */
status = lis2dh_reg_read_byte(dev, LIS2DH_REG_CTRL1, &ctrl1);
if (unlikely(status < 0)) {
return status;

View file

@ -34,7 +34,7 @@ static u8_t sx9500_reg_defaults[] = {
0x40, /* Doze enabled, 2x scan period doze, no raw filter. */
0x30, /* Average threshold. */
0x0f, /* Debouncer off, lowest average negative filter,
* highest average postive filter.
* highest average positive filter.
*/
0x0e, /* Proximity detection threshold: 280 */
0x00, /* No automatic compensation, compensate each pin

View file

@ -7,7 +7,7 @@
/* See www.ti.com/lit/pdf/slau356f, Chapter 22, for MSP432P4XX UART info. */
/* include driverlib/gpio.h (from the msp432p4xx SDK) before Z's uart.h so
* that the definition of BIT is not overriden */
* that the definition of BIT is not overridden */
#include <driverlib/gpio.h>
#include <uart.h>

View file

@ -219,7 +219,7 @@ static int uart_sifive_irq_tx_complete(struct device *dev)
volatile struct uart_sifive_regs_t *uart = DEV_UART(dev);
/*
* No TX EMTPY flag for this controller,
* No TX EMPTY flag for this controller,
* just check if TX FIFO is not full
*/
return !(uart->tx & TXDATA_FULL);

View file

@ -209,7 +209,7 @@ static int spi_cc13xx_cc26xx_init_0(struct device *dev)
/* Enable SSI0 peripherals */
PRCMPeripheralRunEnable(PRCM_PERIPH_SSI0);
/* Enable in sleep mode until proper power managment is added */
/* Enable in sleep mode until proper power management is added */
PRCMPeripheralSleepEnable(PRCM_PERIPH_SSI0);
PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_SSI0);
@ -261,7 +261,7 @@ static int spi_cc13xx_cc26xx_init_1(struct device *dev)
/* Enable SSI1 peripherals */
PRCMPeripheralRunEnable(PRCM_PERIPH_SSI1);
/* Enable in sleep mode until proper power managment is added */
/* Enable in sleep mode until proper power management is added */
PRCMPeripheralSleepEnable(PRCM_PERIPH_SSI1);
PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_SSI1);

View file

@ -90,7 +90,7 @@ static int spi_sam_configure(struct device *dev,
spi_csr |= SPI_CSR_BITS(SPI_CSR_BITS_8_BIT);
}
/* Use the requested or next higest possible frequency */
/* Use the requested or next highest possible frequency */
div = SOC_ATMEL_SAM_MCK_FREQ_HZ / config->frequency;
div = MAX(1, MIN(UINT8_MAX, div));
spi_csr |= SPI_CSR_SCBR(div);

View file

@ -104,7 +104,7 @@ static int spi_sam0_configure(struct device *dev,
/* 8 bits per transfer */
ctrlb.bit.CHSIZE = 0;
/* Use the requested or next higest possible frequency */
/* Use the requested or next highest possible frequency */
div = (SOC_ATMEL_SAM0_GCLK0_FREQ_HZ / config->frequency) / 2U - 1;
div = MAX(0, MIN(UINT8_MAX, div));

View file

@ -669,7 +669,7 @@ static int sys_clock_resume(struct device *dev)
* source like TSC
* 2) Expire all timers anyway
* 3) Expire only the timer at the top
* 4) Contine from where the timer left
* 4) Continue from where the timer left
*
* 1 and 2 require change to how timers are handled. 4 may not
* give a good user experience. After waiting for a long period

View file

@ -115,7 +115,7 @@ static int iwdg_stm32_install_timeout(struct device *dev,
tickstart = k_uptime_get_32();
while (LL_IWDG_IsReady(iwdg) == 0) {
/* Wait untill WVU, RVU, PVU are reset before updating */
/* Wait until WVU, RVU, PVU are reset before updating */
if ((k_uptime_get_32() - tickstart) > IWDG_DEFAULT_TIMEOUT) {
return -ENODEV;
}

View file

@ -25,7 +25,7 @@
#define _RESET_SECTION_NAME reset
/* This linker script requires the following macros to be defined in the
* SOC-specfic linker script. All of these values can be found defined
* SOC-specific linker script. All of these values can be found defined
* in system.h for CPU configurations that can generate a HAL.
*
* _RESET_VECTOR CPU entry point at boot

View file

@ -42,7 +42,7 @@ extern "C" {
#define _NANO_ERR_KERNEL_PANIC (6) /* Kernel panic (fatal to system) */
struct __esf {
u32_t dummy; /*maybe we will want to add somethign someday*/
u32_t dummy; /*maybe we will want to add something someday*/
};
typedef struct __esf NANO_ESF;

View file

@ -661,7 +661,7 @@ struct bt_conn_auth_cb {
/** @brief notify that pairing process was complete.
*
* This callback notifies the applicaiton that the pairing process
* This callback notifies the application that the pairing process
* has been completed.
*
* @param conn Connection object.

View file

@ -299,7 +299,7 @@ typedef int (*json_append_bytes_t)(const char *bytes, size_t len,
* int height;
* };
*
* struct person_heigths_array {
* struct person_heights_array {
* struct person_height heights;
* }
*
@ -314,7 +314,7 @@ typedef int (*json_append_bytes_t)(const char *bytes, size_t len,
* };
*
* struct json_obj_descr person_height_array_descr[] = {
* JSON_OBJ_DESCR_OBJECT(struct person_heigths_array,
* JSON_OBJ_DESCR_OBJECT(struct person_heights_array,
* heights, person_heigth_descr),
* };
*

View file

@ -346,7 +346,7 @@ static inline void k_obj_free(void *obj)
* The purpose of this data type is to clearly distinguish between the
* declared symbol for a stack (of type k_thread_stack_t) and the underlying
* buffer which composes the stack data actually used by the underlying
* thread; they cannot be used interchangably as some arches precede the
* thread; they cannot be used interchangeably as some arches precede the
* stack buffer region with guard areas that trigger a MPU or MMU fault
* if written to.
*

View file

@ -109,7 +109,7 @@ enum coap_msgtype {
COAP_TYPE_RESET = 3
};
#define coap_make_response_code(clas, det) ((clas << 5) | (det))
#define coap_make_response_code(class, det) ((class << 5) | (det))
/**
* @brief Set of response codes available for a response packet.

View file

@ -74,7 +74,7 @@ struct http_parser_settings;
* chunked' headers that indicate the presence of a body.
*
* Returning `2` from on_headers_complete will tell parser that it should not
* expect neither a body nor any futher responses on this connection. This is
* expect neither a body nor any further responses on this connection. This is
* useful for handling responses to a CONNECT request which may not contain
* `Upgrade` or `Connection: upgrade` headers.
*

View file

@ -128,7 +128,7 @@ struct net_stats_tcp {
/** Amount of retransmitted data. */
net_stats_t resent;
/** Number of recived TCP segments. */
/** Number of received TCP segments. */
net_stats_t recv;
/** Number of sent TCP segments. */
@ -168,7 +168,7 @@ struct net_stats_udp {
/** Number of dropped UDP segments. */
net_stats_t drop;
/** Number of recived UDP segments. */
/** Number of received UDP segments. */
net_stats_t recv;
/** Number of sent UDP segments. */

View file

@ -49,7 +49,7 @@ struct k_thread *z_priq_rb_best(struct _priq_rb *pq);
* to the original Zephyr scheduler. RAM requirements are
* comparatively high, but performance is very fast. Won't work with
* features like deadline scheduling which need large priority spaces
* to represet their requirements.
* to represent their requirements.
*/
struct _priq_mq {
sys_dlist_t queues[32];

View file

@ -145,7 +145,7 @@
#endif
/*
* This is meant to be used in conjonction with __in_section() and similar
* This is meant to be used in conjunction with __in_section() and similar
* where scattered structure instances are concatened together by the linker
* and walked by the code at run time just like a contiguous array of such
* structures.

View file

@ -662,7 +662,7 @@ int z_impl_k_pipe_get(struct k_pipe *pipe, void *data, size_t bytes_to_read,
desc->buffer += bytes_copied;
desc->bytes_to_xfer -= bytes_copied;
/* Write request has been satsified */
/* Write request has been satisfied */
pipe_thread_ready(thread);
thread = (struct k_thread *)sys_dlist_get(&xfer_list);

View file

@ -79,7 +79,7 @@ config UPDATEHUB_SHELL
Activate shell module that provides UpdateHub commands like
config UPDATEHUB_DTLS
bool"Activite communication CoAPS/DTLS"
bool"Activate communication CoAPS/DTLS"
depends on UPDATEHUB
select MBEDTLS
select MBEDTLS_ENABLE_HEAP

View file

@ -191,7 +191,7 @@ static bool start_coap_client(void)
return true;
}
static void cleanup_conection(void)
static void cleanup_connection(void)
{
if (close(ctx.sock) < 0) {
LOG_ERR("Could not close the socket");
@ -466,7 +466,7 @@ static enum updatehub_response install_update(void)
}
cleanup:
cleanup_conection();
cleanup_connection();
error:
ctx.downloaded_size = 0;
@ -550,7 +550,7 @@ static int report(enum updatehub_state state)
wait_fds();
cleanup:
cleanup_conection();
cleanup_connection();
error:
k_free(firmware_version);
@ -709,7 +709,7 @@ enum updatehub_response updatehub_probe(void)
ctx.code_status = UPDATEHUB_HAS_UPDATE;
cleanup:
cleanup_conection();
cleanup_connection();
error:
k_free(metadata);

View file

@ -170,7 +170,7 @@ static int audio_driver_start_host_streams(void)
{
int ret = 0;
/* trigger transmision */
/* trigger transmission */
ret = i2s_trigger(i2s_host_dev, I2S_DIR_TX, I2S_TRIGGER_START);
if (ret) {
LOG_ERR("I2S TX failed with code %d", ret);
@ -189,7 +189,7 @@ static int audio_driver_stop_host_streams(void)
{
int ret;
/* stop transmision */
/* stop transmission */
ret = i2s_trigger(i2s_host_dev, I2S_DIR_TX, I2S_TRIGGER_STOP);
if (ret) {
LOG_ERR("I2S TX failed with code %d", ret);
@ -358,7 +358,7 @@ static void audio_driver_stop_periph_streams(void)
LOG_ERR("I2S TX failed with code %d", ret);
}
/* trigger transmision */
/* trigger transmission */
ret = dmic_trigger(dmic_device, DMIC_TRIGGER_STOP);
if (ret) {
LOG_ERR("dmic_trigger failed with code %d", ret);

View file

@ -37,9 +37,9 @@
#define MAX_SENS_STATUS_LEN 8
#define SENS_PROP_ID_TEMP_CELCIUS 0x2A1F
#define SENS_PROP_ID_UNIT_TEMP_CELCIUS 0x272F
#define SENS_PROP_ID_TEMP_CELCIUS_SIZE 2
#define SENS_PROP_ID_TEMP_CELSIUS 0x2A1F
#define SENS_PROP_ID_UNIT_TEMP_CELSIUS 0x272F
#define SENS_PROP_ID_TEMP_CELSIUS_SIZE 2
enum {
SENSOR_HDR_A = 0,
@ -203,7 +203,7 @@ static void sensor_desc_get(struct bt_mesh_model *model,
/* TODO */
}
static void sens_temperature_celcius_fill(struct net_buf_simple *msg)
static void sens_temperature_celsius_fill(struct net_buf_simple *msg)
{
struct sensor_hdr_b hdr;
/* TODO Get only temperature from sensor */
@ -212,7 +212,7 @@ static void sens_temperature_celcius_fill(struct net_buf_simple *msg)
hdr.format = SENSOR_HDR_B;
hdr.length = sizeof(temp_degrees);
hdr.prop_id = SENS_PROP_ID_UNIT_TEMP_CELCIUS;
hdr.prop_id = SENS_PROP_ID_UNIT_TEMP_CELSIUS;
get_hdc1010_val(val);
temp_degrees = sensor_value_to_double(&val[0]);
@ -243,8 +243,8 @@ static void sensor_create_status(u16_t id, struct net_buf_simple *msg)
bt_mesh_model_msg_init(msg, BT_MESH_MODEL_OP_SENS_STATUS);
switch (id) {
case SENS_PROP_ID_TEMP_CELCIUS:
sens_temperature_celcius_fill(msg);
case SENS_PROP_ID_TEMP_CELSIUS:
sens_temperature_celsius_fill(msg);
break;
default:
sens_unknown_fill(id, msg);

View file

@ -26,7 +26,7 @@ static void test_counter_interrupt_fn(struct device *counter_dev,
printk("!!! Alarm !!!\n");
printk("Now: %u\n", now_sec);
/* Set a new alarm with a double lenght duration */
/* Set a new alarm with a double length duration */
config->ticks = config->ticks * 2U;
printk("Set alarm in %u sec\n", config->ticks);

View file

@ -92,7 +92,7 @@ void main(void)
return;
}
/* Configurate the chip using default values */
/* Configure the chip using default values */
data[0] = 0x03;
data[1] = 0x99;
write_reg16(i2c_dev, 0x00, data);

View file

@ -1,8 +1,8 @@
sample:
name: CMSIS_RTOS_V1 Syncronization
name: CMSIS_RTOS_V1 Synchronization
tests:
sample.portability.cmsis_rtos_v1.timer_synchronization:
tags: cmsis_rtos_v1_syncronization
tags: cmsis_rtos_v1_synchronization
min_ram: 32
min_flash: 34
harness: console

View file

@ -1,8 +1,8 @@
sample:
name: CMSIS_RTOS_V2 Syncronization
name: CMSIS_RTOS_V2 Synchronization
tests:
sample.portability.cmsis_rtos_v2.timer_synchronization:
tags: cmsis_rtos_v2_syncronization
tags: cmsis_rtos_v2_synchronization
min_ram: 32
min_flash: 34
harness: console

View file

@ -8,7 +8,7 @@
*
* Basic example of userspace thread protected memory
*
* NOTE: The encryption algorithim is unverified and
* NOTE: The encryption algorithm is unverified and
* based on a 1930's erra piece of hardware.
* DO NOT USE THIS CODE FOR SECURITY
*

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
# A script to generate a list of boards that have changed or added and create an
# arguemnts file for sanitycheck to allow running more tests for those boards.
# arguments file for sanitycheck to allow running more tests for those boards.
import re, os
import sh

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
# A script to generate a list of tests that have changed or added and create an
# arguemnts file for sanitycheck to allow running those tests with --all
# arguments file for sanitycheck to allow running those tests with --all
import os
import sh

View file

@ -15,7 +15,7 @@
# -b base branch
# -r the remote to rebase on
#
# The script can be run locally using for exmaple:
# The script can be run locally using for example:
# ./scripts/ci/run_ci.sh -b master -r origin -l -R <commit range>
set -xe

View file

@ -146,7 +146,7 @@ coccinelle () {
if [[ $VIRTUAL = "" ]]; then
echo "No available modes found in \"$COCCI\" script."
echo "Consider adding vitrual rules to the script."
echo "Consider adding virtual rules to the script."
exit 1
elif [[ $VIRTUAL != *"$MODE"* ]]; then
echo "Invalid mode \"$MODE\" supplied!"
@ -161,7 +161,7 @@ coccinelle () {
else
MODE=org
fi
echo "Using random availble mode: \"$MODE\""
echo "Using random available mode: \"$MODE\""
echo ''
fi

View file

@ -193,7 +193,7 @@ def merge_properties(parent, fname, to_dict, from_dict):
# Warn when overriding a property and changing its value...
if (k in to_dict and to_dict[k] != from_dict[k] and
# ...unless it's the 'title', 'description', or 'version'
# property. These are overriden deliberately.
# property. These are overridden deliberately.
not k in {'title', 'version', 'description'} and
# Also allow the category to be changed from 'optional' to
# 'required' without a warning

View file

@ -3,7 +3,7 @@
Filters a file, classifying output in errors, warnings and discarding
the rest.
Given a set of regular expresions read from files named *.conf in the
Given a set of regular expressions read from files named *.conf in the
given configuration path(s), of the format:
#
@ -49,7 +49,7 @@ config_regex = \
def config_import_file(filename):
"""
Imports regular expresions from any file *.conf in the given path,
Imports regular expression from any file *.conf in the given path,
format as given in the main doc
"""
try:
@ -85,7 +85,7 @@ def config_import_file(filename):
def config_import_path(path):
"""
Imports regular expresions from any file *.conf in the given path
Imports regular expression from any file *.conf in the given path
"""
file_regex = re.compile(r".*\.conf$")
try:
@ -104,7 +104,7 @@ def config_import_path(path):
def config_import(paths):
"""
Imports regular expresions from any file *.conf in the list of paths.
Imports regular expression from any file *.conf in the list of paths.
If a path is "" or None, the list of paths until then is flushed
and only the new ones are considered.

View file

@ -256,7 +256,7 @@ def generate_linker_script(linker_file, sram_data_linker_file,
gen_string += string_create_helper("bss",
memory_type, full_list_of_sections, 0)
#finally writting to the linker file
#finally writing to the linker file
with open(linker_file, "a+") as file_desc:
file_desc.write(gen_string)

View file

@ -71,7 +71,7 @@ def main():
for warning in kconf.warnings:
print("\n" + warning, file=sys.stderr)
# Turn all warnings except for explicity whitelisted ones into errors. In
# Turn all warnings except for explicitly whitelisted ones into errors. In
# particular, this will turn assignments to undefined Kconfig variables
# into errors.
#
@ -148,7 +148,7 @@ def verify_assigned_choice_value(choice):
#
# We check choice symbols separately to avoid warnings when two different
# choice symbols within the same choice are set to y. This might happen if
# a choice selection from a board defconfig is overriden in a prj.conf, for
# a choice selection from a board defconfig is overridden in a prj.conf, for
# example. The last choice symbol set to y becomes the selection (and all
# other choice symbols get the value n).
#

View file

@ -1385,7 +1385,7 @@ class MakeGenerator:
cmd = ["make", "-k", "-j", str(JOBS), "-f", tf.name, "all"]
# assure language neutral environemnt
# assure language neutral environment
make_env = os.environ.copy()
make_env['LC_MESSAGES'] = 'C.UTF-8'
p = subprocess.Popen(cmd, stderr=subprocess.PIPE,

View file

@ -5,7 +5,7 @@
*/
/**
* For all purposes, Zephyr threads see a CPU running at an infinitly high
* For all purposes, Zephyr threads see a CPU running at an infinitely high
* clock.
*
* Therefore, the code will always run until completion after each interrupt,

View file

@ -32,7 +32,7 @@ SECTION_FUNC(exception.other, __soc_handle_irq)
/*
* __soc_is_irq is defined as .weak to allow re-implementation by
* SOCs that does not truely follow the riscv privilege specification.
* SOCs that does not truly follow the riscv privilege specification.
*/
WTEXT(__soc_is_irq)

View file

@ -75,7 +75,7 @@ void __attribute__((section(".iram1"))) __start(void)
CODE_UNREACHABLE;
}
/* Boot-time static default printk handler, possibly to be overriden later. */
/* Boot-time static default printk handler, possibly to be overridden later. */
int z_arch_printk_char_out(int c)
{
if (c == '\n') {

View file

@ -1498,7 +1498,7 @@ static inline u32_t isr_rx_scan(u8_t devmatch_ok, u8_t devmatch_id,
* +/- half the 32KHz clock resolution. In order to achieve
* a microsecond resolution, in the case of negative remainder,
* the radio packet timer is started one 32KHz tick early,
* hence substract one tick unit from the measurement of the
* hence subtract one tick unit from the measurement of the
* packet end.
*/
if (!_radio.remainder_anchor ||
@ -9496,7 +9496,7 @@ static void ctrl_tx_enqueue(struct connection *conn,
* by peer, hence place this new ctrl after head
*/
/* if data transmited once, keep it at head of the tx list,
/* if data transmitted once, keep it at head of the tx list,
* as we will insert a ctrl after it, hence advance the
* data pointer
*/

View file

@ -7,10 +7,10 @@
#define HAL_TICKER_CNTR_CLK_FREQ_HZ 32768U
/* Macro definining the minimum counter compare offset */
/* Macro defining the minimum counter compare offset */
#define HAL_TICKER_CNTR_CMP_OFFSET_MIN 3
/* Macro definining the max. counter update latency in ticks */
/* Macro defining the max. counter update latency in ticks */
#define HAL_TICKER_CNTR_SET_LATENCY 0
/* Macro to translate microseconds to tick units.

View file

@ -1537,7 +1537,7 @@ static void ctrl_tx_enqueue(struct ll_conn *conn, struct node_tx *tx)
* by peer, hence place this new ctrl after head
*/
/* if data transmited once, keep it at head of the tx list,
/* if data transmitted once, keep it at head of the tx list,
* as we will insert a ctrl after it, hence advance the
* data pointer
*/

View file

@ -11,14 +11,14 @@
* the backing storage.
*
* Enqueuing is a 2 step procedure: Alloc and commit. We say an allocated
* buffer yet to be committed, exists in a limbo state - until comitted.
* buffer yet to be committed, exists in a limbo state - until committed.
* It is only safe to write to a buffer while it is in limbo.
*
* Invariant: last-index refers to the buffer that is safe to write while in
* limbo-state. Outside limbo state, last-index refers one buffer ahead of what
* has been enqueued.
*
* There are essentialy two APIs, distinguished by the buffer-type:
* There are essentially two APIs, distinguished by the buffer-type:
* API 1 Value-type : MFIFO_DEFINE(name1, sizeof(struct foo), cnt1);
* API 2 Pointer-type : MFIFO_DEFINE(name2, sizeof(void *), cnt2);
*

View file

@ -471,7 +471,7 @@ static u8_t find_info_cb(const struct bt_gatt_attr *attr, void *user_data)
return BT_GATT_ITER_STOP;
}
/* Fast foward to next item position */
/* Fast forward to next item position */
data->info16 = net_buf_add(data->buf, sizeof(*data->info16));
data->info16->handle = sys_cpu_to_le16(attr->handle);
data->info16->uuid = sys_cpu_to_le16(BT_UUID_16(attr->uuid)->val);
@ -487,7 +487,7 @@ static u8_t find_info_cb(const struct bt_gatt_attr *attr, void *user_data)
return BT_GATT_ITER_STOP;
}
/* Fast foward to next item position */
/* Fast forward to next item position */
data->info128 = net_buf_add(data->buf, sizeof(*data->info128));
data->info128->handle = sys_cpu_to_le16(attr->handle);
memcpy(data->info128->uuid, BT_UUID_128(attr->uuid)->val,
@ -613,7 +613,7 @@ static u8_t find_type_cb(const struct bt_gatt_attr *attr, void *user_data)
/* If service has been found, error should be cleared */
data->err = 0x00;
/* Fast foward to next item position */
/* Fast forward to next item position */
data->group = net_buf_add(data->buf, sizeof(*data->group));
data->group->start_handle = sys_cpu_to_le16(attr->handle);
data->group->end_handle = sys_cpu_to_le16(attr->handle);
@ -809,7 +809,7 @@ static u8_t read_type_cb(const struct bt_gatt_attr *attr, void *user_data)
*/
data->err = 0x00;
/* Fast foward to next item position */
/* Fast forward to next item position */
data->item = net_buf_add(data->buf, sizeof(*data->item));
data->item->handle = sys_cpu_to_le16(attr->handle);
@ -1115,7 +1115,7 @@ static u8_t read_group_cb(const struct bt_gatt_attr *attr, void *user_data)
return BT_GATT_ITER_STOP;
}
/* Fast foward to next group position */
/* Fast forward to next group position */
data->group = net_buf_add(data->buf, sizeof(*data->group));
/* Initialize group handle range */

View file

@ -530,7 +530,7 @@ static void l2cap_br_conf(struct bt_l2cap_chan *chan)
conf->dcid = sys_cpu_to_le16(BR_CHAN(chan)->tx.cid);
/*
* Add MTU option if app set non default BR/EDR L2CAP MTU,
* otherwise sent emtpy configuration data meaning default MTU
* otherwise sent empty configuration data meaning default MTU
* to be used.
*/
if (BR_CHAN(chan)->rx.mtu != L2CAP_BR_DEFAULT_MTU) {

View file

@ -38,7 +38,7 @@
#include "prov.h"
/* Minimum valid Mesh Network PDU length. The Network headers
* themselves take up 9 bytes. After that there is a minumum of 1 byte
* themselves take up 9 bytes. After that there is a minimum of 1 byte
* payload for both CTL=1 and CTL=0 PDUs (smallest OpCode is 1 byte). CTL=1
* PDUs must use a 64-bit (8 byte) NetMIC, whereas CTL=0 PDUs have at least
* a 32-bit (4 byte) NetMIC and AppMIC giving again a total of 8 bytes.

View file

@ -105,7 +105,7 @@
enum {
REMOTE_PUB_KEY, /* Remote key has been received */
LINK_ACTIVE, /* Link has been opened */
HAVE_DHKEY, /* DHKey has been calcualted */
HAVE_DHKEY, /* DHKey has been calculated */
SEND_CONFIRM, /* Waiting to send Confirm value */
WAIT_NUMBER, /* Waiting for number input from user */
WAIT_STRING, /* Waiting for string input from user */

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