Skip to content

Commit e731bdc

Browse files
dbkindernashif
authored andcommitted
doc: fix docs, include, and Kconfig misspellings
Fix misspellings missed during regular reviews Signed-off-by: David B. Kinder <[email protected]>
1 parent 9c2c115 commit e731bdc

File tree

12 files changed

+23
-23
lines changed

12 files changed

+23
-23
lines changed

doc/development_process/api_lifecycle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Stable
6868
The API has proven satisfactory, but cleanup in the underlying code may cause
6969
minor changes. Backwards-compatibility will be maintained if reasonable.
7070

71-
An API can be declared ``stable`` after fullfilling the following requirements:
71+
An API can be declared ``stable`` after fulfilling the following requirements:
7272

7373
- Test cases for the new API with 100% coverage
7474
- Complete documentation in code. All public interfaces shall be documented

doc/development_process/documentation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ API Documentation
88
Well documented APIs enhance the experience for developers and are an essential
99
requirement for defining an API's success. Doxygen is a general purpose
1010
documentation tool that the zephyr project uses for documenting APIs. It
11-
generates either an on-line documentation browser (in HTML) and/or providess
11+
generates either an on-line documentation browser (in HTML) and/or provides
1212
input for other tools that is used to generate a reference manual from
1313
documented source files. In particular, doxygen's XML output is used as an input
1414
when producing the Zephyr project's online documentation.
@@ -30,7 +30,7 @@ document all test code using the same tools and in the same context and generate
3030
documentation for all unit and integration tests maintained in the same
3131
environment. Tests are documented using references to the APIs or functionality
3232
they validate by creating a link back to the APIs and by adding a reference to
33-
the original resquirements.
33+
the original requirements.
3434

3535

3636
Documentation Guidelines

doc/guides/networking/networking_with_host.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ possible:
3232

3333
* native_posix board.
3434

35-
* The Zepher instance can be executed as a user space process in the host
35+
* The Zephyr instance can be executed as a user space process in the host
3636
system. This is the most convenient way to debug the Zephyr system as one
3737
can attach host debugger directly to the running Zephyr instance. This
3838
requires that there is an adaptation driver in Zephyr for interfacing

include/can.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ static inline int _impl_can_configure(struct device *dev, enum can_mode mode,
416416
}
417417

418418
/**
419-
* @brief Converter that translates betwen can_frame and zcan_frame structs.
419+
* @brief Converter that translates between can_frame and zcan_frame structs.
420420
*
421421
* @param frame Pointer to can_frame struct.
422422
* @param zframe Pointer to zcan_frame struct.
@@ -432,7 +432,7 @@ static inline void can_copy_frame_to_zframe(struct can_frame *frame,
432432
}
433433

434434
/**
435-
* @brief Converter that translates betwen zcan_frame and can_frame structs.
435+
* @brief Converter that translates between zcan_frame and can_frame structs.
436436
*
437437
* @param zframe Pointer to zcan_frame struct.
438438
* @param frame Pointer to can_frame struct.
@@ -447,7 +447,7 @@ static inline void can_copy_zframe_to_frame(struct zcan_frame *zframe,
447447
}
448448

449449
/**
450-
* @brief Converter that translates betwen can_filter and zcan_frame_filter
450+
* @brief Converter that translates between can_filter and zcan_frame_filter
451451
* structs.
452452
*
453453
* @param filter Pointer to can_filter struct.
@@ -465,7 +465,7 @@ void can_copy_filter_to_zfilter(struct can_filter *filter,
465465
}
466466

467467
/**
468-
* @brief Converter that translates betwen zcan_filter and can_filter
468+
* @brief Converter that translates between zcan_filter and can_filter
469469
* structs.
470470
*
471471
* @param zfilter Pointer to zcan_filter struct.

include/net/socket_offload_ops.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
#include <net/socket.h> /* needed for struct pollfd */
2929

3030
/**
31-
* @brief An offloaded Socket API interafce
31+
* @brief An offloaded Socket API interface
3232
*
3333
* It is assumed that these offload functions follow the
3434
* POSIX socket API standard for arguments, return values and setting of errno.

soc/arm/nxp_imx/rt/Kconfig.soc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ config IMAGE_VECTOR_TABLE_OFFSET
237237
help
238238
The Image Vector Table (IVT) provides the boot ROM with pointers to
239239
the application entry point and device configuration data. The boot
240-
ROM reqiures a fixed IVT offset for each type of boot device.
240+
ROM requires a fixed IVT offset for each type of boot device.
241241

242242
config DEVICE_CONFIGURATION_DATA
243243
bool "Enable device configuration data"
244244
help
245-
Device configuration data (DCD) provides a sequence of commmands to
245+
Device configuration data (DCD) provides a sequence of commands to
246246
the boot ROM to initialize components such as an SDRAM.
247247

248248
endif # NXP_IMX_RT_BOOT_HEADER

subsys/bluetooth/controller/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,10 @@ config BT_CTLR_LOWEST_PRIO
507507
The interrupt priority for RNG and other non-critical functions.
508508

509509
config BT_CTLR_LOW_LAT
510-
bool "Low latency non-negotiating event pre-emption"
510+
bool "Low latency non-negotiating event preemption"
511511
default y if SOC_SERIES_NRF51X
512512
help
513-
Use low latency non-negotiating event pre-emption. This reduces
513+
Use low latency non-negotiating event preemption. This reduces
514514
Radio ISR latencies by the controller event scheduling framework.
515515
Consequently, this reduces on-air radio utilization due to redundant
516516
radio state switches.

subsys/debug/Kconfig.segger

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ config USE_SEGGER_RTT
1212
depends on HAS_SEGGER_RTT
1313
help
1414
Enable Segger J-Link RTT libraries for platforms that support it.
15-
Selection of this option enables use of RTT for various subsytems.
15+
Selection of this option enables use of RTT for various subsystems.
1616
Note that by enabling this option, RTT buffers consume more RAM.
1717

1818
if USE_SEGGER_RTT

subsys/net/ip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ config NET_HEADERS_ALWAYS_CONTIGUOUS
478478
This a hidden option, which one should use with a lot of care.
479479
NO bug reports will be accepted if that option is enabled!
480480
You are warned.
481-
If you are 100% sure the headers memore space is always in a
481+
If you are 100% sure the headers memory space is always in a
482482
contiguous space, this will save stack usage and ROM in net core.
483483
This is a possible case when using IPv4 only, with
484484
NET_BUF_FIXED_DATA_SIZE enabled and NET_BUF_DATA_SIZE of 128 for

subsys/net/ip/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ config NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS
4242
help
4343
This MUST not be used unless you have an hard to catch bug. This will
4444
reset the pkt cursor when it's freed, so any subsequent r/w operations
45-
will not segfault, but just bail out and hopefuly it will enable you
45+
will not segfault, but just bail out and hopefully it will enable you
4646
to know who/where the packet was freed already. Do not set this, by
4747
any means, unless you are actively debugging.
4848

subsys/power/policy/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,47 +27,47 @@ config SYS_PM_LPS_1_MIN_RES
2727
depends on HAS_STATE_LOW_POWER_1
2828
default 5000
2929
help
30-
Minimum residency in miliseconds to enter SYS_POWER_STATE_LOW_POWER_1
30+
Minimum residency in milliseconds to enter SYS_POWER_STATE_LOW_POWER_1
3131
state.
3232

3333
config SYS_PM_LPS_2_MIN_RES
3434
int "Low Power State 2 minimum residency"
3535
depends on HAS_STATE_LOW_POWER_2
3636
default 10000
3737
help
38-
Minimum residency in miliseconds to enter SYS_POWER_STATE_LOW_POWER_2
38+
Minimum residency in milliseconds to enter SYS_POWER_STATE_LOW_POWER_2
3939
state.
4040

4141
config SYS_PM_LPS_3_MIN_RES
4242
int "Low Power State 3 minimum residency"
4343
depends on HAS_STATE_LOW_POWER_3
4444
default 30000
4545
help
46-
Minimum residency in miliseconds to enter SYS_POWER_STATE_LOW_POWER_3
46+
Minimum residency in milliseconds to enter SYS_POWER_STATE_LOW_POWER_3
4747
state.
4848

4949
config SYS_PM_DEEP_SLEEP_1_MIN_RES
5050
int "Deep Sleep State 1 minimum residency"
5151
depends on HAS_STATE_DEEP_SLEEP_1
5252
default 60000
5353
help
54-
Minimum residency in miliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_1
54+
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_1
5555
state.
5656

5757
config SYS_PM_DEEP_SLEEP_2_MIN_RES
5858
int "Deep Sleep State 2 minimum residency"
5959
depends on HAS_STATE_DEEP_SLEEP_2
6060
default 90000
6161
help
62-
Minimum residency in miliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_2
62+
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_2
6363
state.
6464

6565
config SYS_PM_DEEP_SLEEP_3_MIN_RES
6666
int "Deep Sleep State 3 minimum residency"
6767
depends on HAS_STATE_DEEP_SLEEP_3
6868
default 120000
6969
help
70-
Minimum residency in miliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_3
70+
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_3
7171
state.
7272

7373
endif # SYS_PM_POLICY_RESIDENCY

subsys/usb/class/hid/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ config USB_HID_DEVICE_NAME_1
3131
depends on USB_HID_DEVICE_1
3232
default "HID_1"
3333
help
34-
Device name for the seconf HID Device.
34+
Device name for the second HID Device.
3535

3636
endif # USB_COMPOSITE_DEVICE
3737

0 commit comments

Comments
 (0)