Skip to content

Commit 6c5032b

Browse files
Fix typo in CMakeLists.txt
Regenerate all configurations as the typo in in the help text of configuration option: $ ./scripts/forAllConfigurations.sh . cp distortosConfiguration.cmake ../\${configuration}
1 parent f2abd19 commit 6c5032b

File tree

17 files changed

+37
-37
lines changed

17 files changed

+37
-37
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This is the main CMakeLists.txt for distortos
55
#
6-
# author: Copyright (C) 2018-2022 Kamil Szczygiel https://distortec.com https://freddiechopin.info
6+
# author: Copyright (C) 2018-2024 Kamil Szczygiel https://distortec.com https://freddiechopin.info
77
#
88
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
99
# distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
@@ -228,7 +228,7 @@ if(distortos_Checks_06_Asserts)
228228
distortosSetConfiguration(BOOLEAN
229229
distortos_Checks_07_Lightweight_assert
230230
OFF
231-
HELP "Use lightweigth assert instead of the regular one.
231+
HELP "Use lightweight assert instead of the regular one.
232232
233233
If assertion fails, regular assert does the following:
234234
- calls optional assertHook(), passing the information about error location (strings with file and function
@@ -237,7 +237,7 @@ if(distortos_Checks_06_Asserts)
237237
- calls abort();
238238
239239
Lightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different
240-
with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is
240+
with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is
241241
probably only usable with a debugger or as a method to just reset/halt the chip."
242242
OUTPUT_NAME DISTORTOS_LIGHTWEIGHT_ASSERT)
243243

@@ -246,7 +246,7 @@ endif()
246246
distortosSetConfiguration(BOOLEAN
247247
distortos_Checks_08_Lightweight_FATAL_ERROR
248248
OFF
249-
HELP "Use lightweigth FATAL_ERROR instead of the regular one.
249+
HELP "Use lightweight FATAL_ERROR instead of the regular one.
250250
251251
In case of fatal error, regular FATAL_ERROR does the following:
252252
- calls optional fatalErrorHook(), passing the information about error location (strings with file and function
@@ -255,7 +255,7 @@ distortosSetConfiguration(BOOLEAN
255255
- calls abort();
256256
257257
Lightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is
258-
different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is
258+
different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is
259259
probably only usable with a debugger or as a method to just reset/halt the chip."
260260
OUTPUT_NAME DISTORTOS_LIGHTWEIGHT_FATAL_ERROR)
261261

configurations/ST_32F072BDISCOVERY/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ set("distortos_Checks_07_Lightweight_assert"
101101
"OFF"
102102
CACHE
103103
"BOOL"
104-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
104+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
105105
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_buttons"
111111
"ON"
112112
CACHE

configurations/ST_32F429IDISCOVERY/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ set("distortos_Checks_07_Lightweight_assert"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
111111
"OFF"
112112
CACHE
113113
"BOOL"
114-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
114+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
115115
set("distortos_buttons"
116116
"ON"
117117
CACHE

configurations/ST_32F746GDISCOVERY/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ set("distortos_Checks_07_Lightweight_assert"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
111111
"OFF"
112112
CACHE
113113
"BOOL"
114-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
114+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
115115
set("distortos_buttons"
116116
"ON"
117117
CACHE

configurations/ST_32F769IDISCOVERY/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ set("distortos_Checks_07_Lightweight_assert"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
111111
"OFF"
112112
CACHE
113113
"BOOL"
114-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
114+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
115115
set("distortos_buttons"
116116
"ON"
117117
CACHE

configurations/ST_NUCLEO-F091RC/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ set("distortos_Checks_07_Lightweight_assert"
101101
"OFF"
102102
CACHE
103103
"BOOL"
104-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
104+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
105105
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_buttons"
111111
"ON"
112112
CACHE

configurations/ST_NUCLEO-F103RB/test/distortosConfiguration.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ set("distortos_Checks_07_Lightweight_assert"
101101
"OFF"
102102
CACHE
103103
"BOOL"
104-
"Use lightweigth assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
104+
"Use lightweight assert instead of the regular one.\n\nIf assertion fails, regular assert does the following:\n- calls optional assertHook(), passing the information about error location (strings with file and function names, line number) and failed expression (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight assert doesn't pass any arguments to assertHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
105105
set("distortos_Checks_08_Lightweight_FATAL_ERROR"
106106
"OFF"
107107
CACHE
108108
"BOOL"
109-
"Use lightweigth FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweigth version is probably only usable with a debugger or as a method to just reset/halt the chip.")
109+
"Use lightweight FATAL_ERROR instead of the regular one.\n\nIn case of fatal error, regular FATAL_ERROR does the following:\n- calls optional fatalErrorHook(), passing the information about error location (strings with file and function names, line number) and message (string);\n- blocks interrupts;\n- calls abort();\n\nLightweight FATAL_ERROR doesn't pass any arguments to fatalErrorHook() (declaration of this function is different with this option enabled) and replaces abort() with a simple infinite loop. The lightweight version is probably only usable with a debugger or as a method to just reset/halt the chip.")
110110
set("distortos_buttons"
111111
"ON"
112112
CACHE

0 commit comments

Comments
 (0)