aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/kernel/include/chsys.h2
-rw-r--r--os/kernel/src/chregistry.c2
-rw-r--r--os/kernel/src/chsem.c2
-rw-r--r--os/kernel/templates/chcore.c4
-rw-r--r--os/kernel/templates/chtypes.h2
-rw-r--r--os/ports/GCC/AVR/chcore.c2
-rw-r--r--os/ports/GCC/MSP430/chcore.c2
-rw-r--r--os/ports/GCC/PPC/chcore.c2
-rw-r--r--os/ports/RC/STM8/chcore.c2
-rw-r--r--os/ports/cosmic/STM8/chcore.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h
index 2a30ceabf..555c59126 100644
--- a/os/kernel/include/chsys.h
+++ b/os/kernel/include/chsys.h
@@ -43,7 +43,7 @@
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected, as example because a programming
+ * unrecoverable error is detected, for example because a programming
* error in the application code that triggers an assertion while
* in debug mode.
* @note Can be invoked from any system state.
diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c
index 95893de85..e95ad21a8 100644
--- a/os/kernel/src/chregistry.c
+++ b/os/kernel/src/chregistry.c
@@ -33,7 +33,7 @@
* - <b>Next</b>, returns the next, in creation order, active thread
* in the system.
* .
- * The registry is meant to be mainly a debug feature, as example,
+ * The registry is meant to be mainly a debug feature, for example,
* using the registry a debugger can enumerate the active threads
* in any given moment or the shell can print the active threads
* and their state.<br>
diff --git a/os/kernel/src/chsem.c b/os/kernel/src/chsem.c
index 58cd94808..3e1d2ce88 100644
--- a/os/kernel/src/chsem.c
+++ b/os/kernel/src/chsem.c
@@ -47,7 +47,7 @@
* .
* Semaphores can be used as guards for mutual exclusion zones
* (note that mutexes are recommended for this kind of use) but
- * also have other uses, queues guards and counters as example.<br>
+ * also have other uses, queues guards and counters for example.<br>
* Semaphores usually use a FIFO queuing strategy but it is possible
* to make them order threads by priority by enabling
* @p CH_USE_SEMAPHORES_PRIORITY in @p chconf.h.
diff --git a/os/kernel/templates/chcore.c b/os/kernel/templates/chcore.c
index 9a989d183..c2737b04a 100644
--- a/os/kernel/templates/chcore.c
+++ b/os/kernel/templates/chcore.c
@@ -23,7 +23,7 @@
* @details This file is a template of the system driver functions provided by
* a port. Some of the following functions may be implemented as
* macros in chcore.h if the implementer decides that there is an
- * advantage in doing so, as example because performance concerns.
+ * advantage in doing so, for example because performance concerns.
*
* @addtogroup core
* @details Non portable code templates.
@@ -106,7 +106,7 @@ void port_wait_for_interrupt(void) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
*/
diff --git a/os/kernel/templates/chtypes.h b/os/kernel/templates/chtypes.h
index 164ccbe60..9be581d33 100644
--- a/os/kernel/templates/chtypes.h
+++ b/os/kernel/templates/chtypes.h
@@ -101,7 +101,7 @@ typedef int32_t cnt_t;
* @note This is required because some compilers require a custom keyword,
* usually this macro is just set to "const" for the GCC compiler.
* @note This macro is not used to place constants in different address
- * spaces (like AVR requires as example) because it is assumed that
+ * spaces (like AVR requires for example) because it is assumed that
* a pointer to a ROMCONST constant is compatible with a pointer
* to a normal variable. It is just like the "const" keyword but
* requires that the constant is placed in ROM if the architecture
diff --git a/os/ports/GCC/AVR/chcore.c b/os/ports/GCC/AVR/chcore.c
index 32e48ce52..082b5fd79 100644
--- a/os/ports/GCC/AVR/chcore.c
+++ b/os/ports/GCC/AVR/chcore.c
@@ -103,7 +103,7 @@ void port_switch(Thread *ntp, Thread *otp) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
* @note The function is declared as a weak symbol, it is possible to
diff --git a/os/ports/GCC/MSP430/chcore.c b/os/ports/GCC/MSP430/chcore.c
index cdb98a4c8..d8b1a63de 100644
--- a/os/ports/GCC/MSP430/chcore.c
+++ b/os/ports/GCC/MSP430/chcore.c
@@ -69,7 +69,7 @@ void port_switch(Thread *ntp, Thread *otp) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
* @note The function is declared as a weak symbol, it is possible to
diff --git a/os/ports/GCC/PPC/chcore.c b/os/ports/GCC/PPC/chcore.c
index c09d353ad..907652e6c 100644
--- a/os/ports/GCC/PPC/chcore.c
+++ b/os/ports/GCC/PPC/chcore.c
@@ -30,7 +30,7 @@
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while
* in debug mode).
*/
diff --git a/os/ports/RC/STM8/chcore.c b/os/ports/RC/STM8/chcore.c
index c09e9f864..ed0103049 100644
--- a/os/ports/RC/STM8/chcore.c
+++ b/os/ports/RC/STM8/chcore.c
@@ -62,7 +62,7 @@ void _port_thread_start(void) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
*/
diff --git a/os/ports/cosmic/STM8/chcore.c b/os/ports/cosmic/STM8/chcore.c
index a9a340d4b..1c382cde6 100644
--- a/os/ports/cosmic/STM8/chcore.c
+++ b/os/ports/cosmic/STM8/chcore.c
@@ -56,7 +56,7 @@ void _port_thread_start(void) {
/**
* @brief Halts the system.
* @details This function is invoked by the operating system when an
- * unrecoverable error is detected (as example because a programming
+ * unrecoverable error is detected (for example because a programming
* error in the application code that triggers an assertion while in
* debug mode).
*/