Skip to content

Commit 37a1388

Browse files
marcmoThoFrankACN
andauthored
Typos typos typos, and treefmt fixes (eclipse-openbsw#101)
Change-Id: I86501274ec4ee61dc718a6d9caa894a4ff0745ec Co-authored-by: Thomas Frank <[email protected]>
1 parent b7fddd1 commit 37a1388

File tree

81 files changed

+152
-152
lines changed

Some content is hidden

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

81 files changed

+152
-152
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ All notable changes to this project will be documented in this file.
4343
* Clean up includes in application/systems
4444
* Switch camel_case to PascalCalse filenames
4545
* Downgrade cmake to version 3.22
46-
* Make unit test separate executeable
46+
* Make unit test separate executable
4747
* Move platform support code into executables
4848
* Switch from platform::atomic to std::atomic
4949

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describes Eclipse OpenBSW in detail and provides simple setup guides to build an
7373

7474
## Contributing
7575

76-
It is expected that this respository will be used as a starting point for many custom developments.
76+
It is expected that this repository will be used as a starting point for many custom developments.
7777
You may wish to contribute back some of your work to this repository.
7878
For more details see [CONTRIBUTING](CONTRIBUTING.md).
7979

doc/codingGuidelines/conventions/comments.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The following comment styles are allowed:
8888
bool isValid(uint32_t id);
8989
9090
- It is common to omit the *\\brief* tag. The first sentence until the first "." or empty line
91-
is treated as brief decription.
91+
is treated as brief description.
9292
- If you use tags, use the backslash style, not the at-sign style (*\\return* vs. *@return*).
9393
- It is also okay to skip the doxygen comment completely for methods whose functionality,
9494
parameters and return value are obvious due to the declaration.
@@ -113,7 +113,7 @@ This includes extracting inlined functions and choosing good names.
113113
class BadTimeout
114114
{
115115
public:
116-
static const uint8_t MAX_TIMEOUT = 128U; // unit is miliseconds
116+
static const uint8_t MAX_TIMEOUT = 128U; // unit is milliseconds
117117
118118
// ...
119119
};

doc/codingGuidelines/conventions/statements.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Additionally, C and C++ code can interpret NULL differently which leads to incom
123123
**Use nullptr!**
124124

125125
Modern code should use ``nullptr`` instead of ``0`` or ``NULL`` to maximize readability and
126-
prevent suprising overload resolution outcomes between pointer and integral types.
126+
prevent surprising overload resolution outcomes between pointer and integral types.
127127

128128
.. code-block:: cpp
129129
@@ -229,7 +229,7 @@ Critical Sections
229229

230230
| Avoid critical sections if possible by design. Sometimes this is not feasible, e.g. when accessing
231231
shared HW resources.
232-
| In these cases use a lock meachnism with the RAII pattern:
232+
| In these cases use a lock mechanism with the RAII pattern:
233233
234234
.. code-block:: cpp
235235
@@ -258,4 +258,4 @@ It is often hard to understand the values of delays. Explain the chosen values i
258258
Retries
259259
-------
260260

261-
Document retries in the code or make it obvious by designing a clear API.
261+
Document retries in the code or make it obvious by designing a clear API.

doc/learning/hwio/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ If you dive deeper, you will find that code under ``executables/referenceApp/pla
6060
sets up the configuration of the software for this board.
6161
In the ``main()`` function called at startup, the very first function called is ``StaticBsp::init()`` and this
6262
initializes the board as configured by the code under ``executables/referenceApp/platforms/s32k148evb/bspConfiguration/``.
63-
This makes use of resuable APIs defined for BSPs for many different boards and SOCs.
63+
This makes use of reusable APIs defined for BSPs for many different boards and SOCs.
6464
Explore this code to further understand how the board's hardware components are configured and then used.
6565

doc/learning/layout/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can view this as a map to regularly refer back to as you navigate and become
2727
| └── s32k1xx
2828
└── tools
2929
30-
``admin``: holds platform-specific build adapation files.
30+
``admin``: holds platform-specific build adaptation files.
3131
In particular the ``cmake`` subdirectory contains platform-specific settings for the build environment.
3232

3333
``doc``: holds some of the RST (reStructuredText) documentation files from which this documentation is built.

executables/referenceApp/platforms/s32k148evb/bspConfiguration/doc/user/bspAdc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Example
7777
}
7878
7979
This code snippet placed in the demo system could read the ADC value and store the scaled data in the
80-
variable `value` wth the context menu.
80+
variable `value` in the context menu.
8181

8282
As per the demo, ADC channel is configured to read a value from internal potentiometer
8383
(``ADC0 - Channel_28``) available in the evaluation board. The value is then scaled to

executables/referenceApp/platforms/s32k148evb/main/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ The ``main`` module contains below sub-modules associated to S32k148:
1212
- startup : Startup code.
1313
- linker script file : Contains information about memory allocation
1414
- static BSP : system which controls BSP even before the lifecycle starts ("static")
15-
- Systems: system associcated to Board Support Package (BSP)
15+
- Systems: system associated to Board Support Package (BSP)
1616

1717
See the user documentation for detailed information:
1818

1919
.. toctree::
20-
user/index
20+
user/index

executables/referenceApp/platforms/s32k148evb/main/doc/user/systems/BspSystem.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BSP System
66
The `BspSystem` class encapsulates the implementation of BSP management within the system
77
architecture, residing within the `systems` namespace.
88

9-
BspSytem is low level module, that can be initialized after main.
9+
BspSystem is low level module, that can be initialized after main.
1010

1111
This class offers functionalities for initializing, running, and shutting down the BSP system, as
1212
well as executing cyclic tasks and integrating with testing functionalities.

libs/bsp/bspCharInputOutput/include/charInputOutput/charIo.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ extern "C"
1111
using tCharIOApi = struct
1212
{
1313
void (*init)(void);
14-
void (*setAsynchron)(void);
15-
void (*setSynchron)(void);
14+
void (*setAsynchronous)(void);
15+
void (*setSynchronous)(void);
1616
int (*putc)(int c);
1717
int (*getc)(void);
1818
void (*Idle)(void);
@@ -37,12 +37,12 @@ int setCharIOApi2Default(void);
3737
/**
3838
* Make CharIO output asynchronous
3939
*/
40-
void charIoSetAsynchron(void);
40+
void charIoSetAsynchronous(void);
4141

4242
/**
4343
* Make CharIO output synchronous
4444
*/
45-
void charIoSetSynchron(void);
45+
void charIoSetSynchronous(void);
4646

4747
/**
4848
* CharIO idle task for asynchronous output

0 commit comments

Comments
 (0)