aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/chconf.h2
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/chconf.h2
-rw-r--r--demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h2
-rw-r--r--demos/AVR/NIL-MT-DB-X4/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/chconf.h2
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/chconf.h2
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h2
-rw-r--r--demos/AVR/RT-MT-DB-X4/chconf.h2
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h2
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/chconf.h2
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/chconf.h2
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h2
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/chconf.h4
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h2
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/chconf.h2
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h2
-rw-r--r--demos/various/NIL-ARMCM0-GENERIC/chconf.h2
-rw-r--r--demos/various/NIL-ARMCM4-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARM7-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARMCM0-GENERIC/chconf.h2
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/chconf.h2
-rwxr-xr-xdemos/various/RT-Posix-Simulator/chconf.h2
-rw-r--r--demos/various/RT-Win32-Simulator/chconf.h2
-rw-r--r--os/common/oslib/include/chfactory.h46
-rw-r--r--os/common/oslib/src/chfactory.c12
-rw-r--r--os/nil/templates/chconf.h2
-rw-r--r--os/rt/templates/chconf.h4
-rw-r--r--test/nil/testbuild/chconf.h2
-rw-r--r--test/rt/testbuild/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h2
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h2
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h2
-rw-r--r--testhal/AVR/MEGA/ADC/chconf.h2
-rw-r--r--testhal/AVR/MEGA/EXT/chconf.h2
-rw-r--r--testhal/AVR/MEGA/GPT/chconf.h2
-rw-r--r--testhal/AVR/MEGA/I2C/chconf.h2
-rw-r--r--testhal/AVR/MEGA/ICU/chconf.h2
-rw-r--r--testhal/AVR/MEGA/PWM/chconf.h2
-rw-r--r--testhal/AVR/MEGA/SPI/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h2
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F0xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/RTC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SDADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h2
-rw-r--r--testhal/STM32/STM32F3xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/GPT/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2C/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/I2S/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/RTC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/SDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h2
-rw-r--r--testhal/STM32/STM32F4xx/WDG/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/DAC/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/SPI/chconf.h2
-rw-r--r--testhal/STM32/STM32L1xx/UART/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/CAN/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/EXT/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h2
-rw-r--r--testhal/STM32/STM32L4xx/USB_CDC/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h2
-rwxr-xr-xtesthal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h2
226 files changed, 258 insertions, 252 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
index 987337f16..f6984dc5d 100755
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
index 64182d5fb..446d7dacd 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-ARDUINO-MINI/chconf.h b/demos/AVR/NIL-ARDUINO-MINI/chconf.h
index 64182d5fb..446d7dacd 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-MINI/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-ARDUINO-NANO/chconf.h b/demos/AVR/NIL-ARDUINO-NANO/chconf.h
index 64182d5fb..446d7dacd 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-NANO/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-ARDUINO-UNO/chconf.h b/demos/AVR/NIL-ARDUINO-UNO/chconf.h
index 64182d5fb..446d7dacd 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/chconf.h
+++ b/demos/AVR/NIL-ARDUINO-UNO/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
index bdd8d8006..ceee5482e 100644
--- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
+++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/NIL-MT-DB-X4/chconf.h b/demos/AVR/NIL-MT-DB-X4/chconf.h
index 75a78f0c6..0185bb67e 100644
--- a/demos/AVR/NIL-MT-DB-X4/chconf.h
+++ b/demos/AVR/NIL-MT-DB-X4/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-ARDUINO-MEGA/chconf.h b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
index b952729b2..e1ffdb102 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/chconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-ARDUINO-MINI/chconf.h b/demos/AVR/RT-ARDUINO-MINI/chconf.h
index 01c18df29..a513f11c9 100644
--- a/demos/AVR/RT-ARDUINO-MINI/chconf.h
+++ b/demos/AVR/RT-ARDUINO-MINI/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-ARDUINO-NANO/chconf.h b/demos/AVR/RT-ARDUINO-NANO/chconf.h
index 01c18df29..a513f11c9 100644
--- a/demos/AVR/RT-ARDUINO-NANO/chconf.h
+++ b/demos/AVR/RT-ARDUINO-NANO/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-ARDUINO-UNO/chconf.h b/demos/AVR/RT-ARDUINO-UNO/chconf.h
index 01c18df29..a513f11c9 100644
--- a/demos/AVR/RT-ARDUINO-UNO/chconf.h
+++ b/demos/AVR/RT-ARDUINO-UNO/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
index 7e51e4cbf..5d9817313 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/AVR/RT-MT-DB-X4/chconf.h b/demos/AVR/RT-MT-DB-X4/chconf.h
index e3722ab4e..3e2e375f7 100644
--- a/demos/AVR/RT-MT-DB-X4/chconf.h
+++ b/demos/AVR/RT-MT-DB-X4/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/NIL-SPC560D-EVB/chconf.h b/demos/SPC5/NIL-SPC560D-EVB/chconf.h
index 2ac6cda72..1165a0d88 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/chconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC560B-EVB/chconf.h b/demos/SPC5/RT-SPC560B-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC560B-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC560D-EVB/chconf.h b/demos/SPC5/RT-SPC560D-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC560D-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC560P-EVB/chconf.h b/demos/SPC5/RT-SPC560P-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC560P-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC563M-EVB/chconf.h b/demos/SPC5/RT-SPC563M-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC563M-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC564A-EVB/chconf.h b/demos/SPC5/RT-SPC564A-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC564A-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC56EC-EVB/chconf.h b/demos/SPC5/RT-SPC56EC-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/SPC5/RT-SPC56EL-EVB/chconf.h b/demos/SPC5/RT-SPC56EL-EVB/chconf.h
index 4c86757b6..c2f767563 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/chconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
index 0b9c8acdf..7e6daaebe 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
index 85cd567dc..a4e130fdb 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
index 71d2e41bf..3da22fc8b 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
index 239d4863c..912b3a9cf 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
index 1bb433dd8..260145e60 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
index 937c8e568..fcd948e50 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
index 6c48335c8..c6b882185 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
index f8205622d..270957fb5 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
index a67fae509..0d4c319d8 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
index 1bb433dd8..260145e60 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
index 09b2276d8..78a102ca8 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
index c89718a86..90ff6b74b 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
index df4380d65..1b9999803 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
index 364c62eb4..180811e94 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
index 364c62eb4..180811e94 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
index 364c62eb4..180811e94 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
index c41d448cb..1bfb0d9af 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
index 364c62eb4..180811e94 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/chconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/chconf.h
index 99a4d844a..6e7571273 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/chconf.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY-REVC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
index 105877b17..b66f147af 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h
@@ -339,7 +339,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
@@ -389,7 +389,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
index 95991bb1b..9f3b0eb23 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/chconf.h b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/chconf.h
index 95991bb1b..9f3b0eb23 100644
--- a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/chconf.h
+++ b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
index aae7767d4..8fa0d93ce 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/chconf.h
@@ -346,7 +346,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/chconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/chconf.h
index 900cfed18..0a4ea73a6 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/chconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
index 900cfed18..0a4ea73a6 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
index 900cfed18..0a4ea73a6 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
index aaf6154a7..3d007d429 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
index c41d448cb..1bfb0d9af 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/NIL-ARMCM0-GENERIC/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
index 3421f2e19..2e965b2b8 100644
--- a/demos/various/NIL-ARMCM0-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM0-GENERIC/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
index 3421f2e19..2e965b2b8 100644
--- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/NIL-ARMCM4-GENERIC/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/RT-ARM7-GENERIC/chconf.h b/demos/various/RT-ARM7-GENERIC/chconf.h
index 4fee0aeb1..5992befe5 100644
--- a/demos/various/RT-ARM7-GENERIC/chconf.h
+++ b/demos/various/RT-ARM7-GENERIC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/RT-ARMCM0-GENERIC/chconf.h b/demos/various/RT-ARMCM0-GENERIC/chconf.h
index 4fee0aeb1..5992befe5 100644
--- a/demos/various/RT-ARMCM0-GENERIC/chconf.h
+++ b/demos/various/RT-ARMCM0-GENERIC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/RT-ARMCM4-GENERIC/chconf.h b/demos/various/RT-ARMCM4-GENERIC/chconf.h
index 99a4d844a..6e7571273 100644
--- a/demos/various/RT-ARMCM4-GENERIC/chconf.h
+++ b/demos/various/RT-ARMCM4-GENERIC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/RT-Posix-Simulator/chconf.h b/demos/various/RT-Posix-Simulator/chconf.h
index 440bc2959..f7a1407d9 100755
--- a/demos/various/RT-Posix-Simulator/chconf.h
+++ b/demos/various/RT-Posix-Simulator/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/demos/various/RT-Win32-Simulator/chconf.h b/demos/various/RT-Win32-Simulator/chconf.h
index 440bc2959..f7a1407d9 100644
--- a/demos/various/RT-Win32-Simulator/chconf.h
+++ b/demos/various/RT-Win32-Simulator/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/os/common/oslib/include/chfactory.h b/os/common/oslib/include/chfactory.h
index e89d0814b..c00fe21a1 100644
--- a/os/common/oslib/include/chfactory.h
+++ b/os/common/oslib/include/chfactory.h
@@ -47,8 +47,8 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGHT) || defined(__DOXYGEN__)
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) || defined(__DOXYGEN__)
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
#endif
/**
@@ -98,9 +98,9 @@
(CH_CFG_FACTORY_MAILBOXES == TRUE) || \
(CH_CFG_FACTORY_OBJ_FIFOS == TRUE))
-#if (CH_CFG_FACTORY_MAX_NAMES_LENGHT < 0) || \
- (CH_CFG_FACTORY_MAX_NAMES_LENGHT > 32)
-#error "invalid CH_CFG_FACTORY_MAX_NAMES_LENGHT value"
+#if (CH_CFG_FACTORY_MAX_NAMES_LENGTH < 0) || \
+ (CH_CFG_FACTORY_MAX_NAMES_LENGTH > 32)
+#error "invalid CH_CFG_FACTORY_MAX_NAMES_LENGTH value"
#endif
#if CH_CFG_USE_MEMCORE == FALSE
@@ -143,8 +143,8 @@ typedef struct ch_dyn_element {
* @brief Number of references to this object.
*/
ucnt_t refs;
-#if (CH_CFG_FACTORY_MAX_NAMES_LENGHT > 0) || defined(__DOXIGEN__)
- char name[CH_CFG_FACTORY_MAX_NAMES_LENGHT];
+#if (CH_CFG_FACTORY_MAX_NAMES_LENGTH > 0) || defined(__DOXYGEN__)
+ char name[CH_CFG_FACTORY_MAX_NAMES_LENGTH];
#else
const char *name;
#endif
@@ -157,7 +157,7 @@ typedef struct ch_dyn_list {
dyn_element_t *next;
} dyn_list_t;
-#if (CH_CFG_FACTORY_OBJECTS_REGISTRY == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_OBJECTS_REGISTRY == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a registered object.
*/
@@ -174,7 +174,7 @@ typedef struct ch_registered_static_object {
} registered_object_t;
#endif
-#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a dynamic buffer object.
*/
@@ -191,7 +191,7 @@ typedef struct ch_dyn_object {
} dyn_buffer_t;
#endif
-#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a dynamic semaphore.
*/
@@ -207,7 +207,7 @@ typedef struct ch_dyn_semaphore {
} dyn_semaphore_t;
#endif
-#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a dynamic buffer object.
*/
@@ -228,7 +228,7 @@ typedef struct ch_dyn_mailbox {
} dyn_mailbox_t;
#endif
-#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Type of a dynamic buffer object.
*/
@@ -263,13 +263,13 @@ typedef struct ch_objects_factory {
* @brief Pool of the available registered objects.
*/
memory_pool_t obj_pool;
-#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXYGEN__)
/**
* @brief List of the allocated buffer objects.
*/
dyn_list_t buf_list;
#endif /* CH_CFG_FACTORY_GENERIC_BUFFERS = TRUE */
-#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
/**
* @brief List of the allocated semaphores.
*/
@@ -279,13 +279,13 @@ typedef struct ch_objects_factory {
*/
memory_pool_t sem_pool;
#endif /* CH_CFG_FACTORY_SEMAPHORES = TRUE */
-#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXYGEN__)
/**
* @brief List of the allocated buffer objects.
*/
dyn_list_t mbx_list;
#endif /* CH_CFG_FACTORY_MAILBOXES = TRUE */
-#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXYGEN__)
/**
* @brief List of the allocated "objects FIFO" objects.
*/
@@ -309,28 +309,28 @@ extern objects_factory_t ch_factory;
extern "C" {
#endif
void _factory_init(void);
-#if (CH_CFG_FACTORY_OBJECTS_REGISTRY == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_OBJECTS_REGISTRY == TRUE) || defined(__DOXYGEN__)
registered_object_t *chFactoryRegisterObject(const char *name,
void *objp);
registered_object_t *chFactoryFindObject(const char *name);
void chFactoryReleaseObject(registered_object_t *rop);
#endif
-#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXYGEN__)
dyn_buffer_t *chFactoryCreateBuffer(const char *name, size_t size);
dyn_buffer_t *chFactoryFindBuffer(const char *name);
void chFactoryReleaseBuffer(dyn_buffer_t *dbp);
#endif
-#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
dyn_semaphore_t *chFactoryCreateSemaphore(const char *name, cnt_t n);
dyn_semaphore_t *chFactoryFindSemaphore(const char *name);
void chFactoryReleaseSemaphore(dyn_semaphore_t *dsp);
#endif
-#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXYGEN__)
dyn_mailbox_t *chFactoryCreateMailbox(const char *name, size_t n);
dyn_mailbox_t *chFactoryFindMailbox(const char *name);
void chFactoryReleaseMailbox(dyn_mailbox_t *dmp);
#endif
-#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_OBJ_FIFOS == TRUE) || defined(__DOXYGEN__)
dyn_objects_fifo_t *chFactoryCreateObjectsFIFO(const char *name,
size_t objsize,
size_t objn,
@@ -351,6 +351,7 @@ extern "C" {
* @note This function can be used on any kind of dynamic object.
*
* @param[in] dep pointer to the element field of the object
+ * @return The duplicated object reference.
*
* @iclass
*/
@@ -363,10 +364,11 @@ static inline dyn_element_t *chFactoryDuplicateReferenceI(dyn_element_t *dep) {
return dep;
}
-#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Returns the size of a generic dynamic buffer object.
*
+ * @param[in] dbp dynamic buffer object reference
* @return The size of the buffer object in bytes.
*
* @api
diff --git a/os/common/oslib/src/chfactory.c b/os/common/oslib/src/chfactory.c
index 45a6a0681..5e6f396fb 100644
--- a/os/common/oslib/src/chfactory.c
+++ b/os/common/oslib/src/chfactory.c
@@ -81,7 +81,7 @@ static dyn_element_t *dyn_list_find(const char *name, dyn_list_t *dlp) {
dyn_element_t *p = dlp->next;
while (p != (dyn_element_t *)dlp) {
- if (strncmp(p->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGHT) == 0) {
+ if (strncmp(p->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGTH) == 0) {
return p;
}
p = p->next;
@@ -132,7 +132,7 @@ static dyn_element_t *dyn_create_object_heap(const char *name,
}
/* Initializing object list element.*/
- strncpy(dep->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGHT);
+ strncpy(dep->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGTH);
dep->refs = 1U;
dep->next = dlp->next;
@@ -178,7 +178,7 @@ static dyn_element_t *dyn_create_object_pool(const char *name,
}
/* Initializing object list element.*/
- strncpy(dep->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGHT);
+ strncpy(dep->name, name, CH_CFG_FACTORY_MAX_NAMES_LENGTH);
dep->refs = 1U;
dep->next = ch_factory.sem_list.next;
@@ -262,6 +262,10 @@ void _factory_init(void) {
* @param[in] name name to be assigned to the registered object
* @param[in] objp pointer to the object to be registered
*
+ * @return The reference to the registered object.
+ * @retval NULL if the object to be registered cannot be allocated or
+ * a registered object with the same name exists.
+ *
* @api
*/
registered_object_t *chFactoryRegisterObject(const char *name,
@@ -558,7 +562,7 @@ dyn_mailbox_t *chFactoryFindMailbox(const char *name) {
* by one, if reaches zero then the dynamic mailbox object memory
* is freed.
*
- * @param[in] dbp dynamic mailbox object reference
+ * @param[in] dmp dynamic mailbox object reference
*
* @api
*/
diff --git a/os/nil/templates/chconf.h b/os/nil/templates/chconf.h
index 2ac6cda72..1165a0d88 100644
--- a/os/nil/templates/chconf.h
+++ b/os/nil/templates/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h
index 569b7d4da..31a575871 100644
--- a/os/rt/templates/chconf.h
+++ b/os/rt/templates/chconf.h
@@ -309,7 +309,7 @@
* @{
*/
#define CH_CFG_USE_FACTORY TRUE
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
#define CH_CFG_FACTORY_SEMAPHORES TRUE
@@ -351,7 +351,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/test/nil/testbuild/chconf.h b/test/nil/testbuild/chconf.h
index 15686da01..008b99eef 100644
--- a/test/nil/testbuild/chconf.h
+++ b/test/nil/testbuild/chconf.h
@@ -194,7 +194,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/test/rt/testbuild/chconf.h b/test/rt/testbuild/chconf.h
index 61a823df5..695243d7a 100644
--- a/test/rt/testbuild/chconf.h
+++ b/test/rt/testbuild/chconf.h
@@ -388,7 +388,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h b/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h b/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
index aae7767d4..8fa0d93ce 100644
--- a/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LIS3MLD/chconf.h
@@ -346,7 +346,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h b/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
index aae7767d4..8fa0d93ce 100644
--- a/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
+++ b/testex/STM32/STM32L4xx/I2C-LSM6DS0/chconf.h
@@ -346,7 +346,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h b/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
index 1590a4264..08c0d7a65 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
index 1590a4264..08c0d7a65 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/ADC/chconf.h b/testhal/AVR/MEGA/ADC/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/ADC/chconf.h
+++ b/testhal/AVR/MEGA/ADC/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/EXT/chconf.h b/testhal/AVR/MEGA/EXT/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/EXT/chconf.h
+++ b/testhal/AVR/MEGA/EXT/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/GPT/chconf.h b/testhal/AVR/MEGA/GPT/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/GPT/chconf.h
+++ b/testhal/AVR/MEGA/GPT/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/I2C/chconf.h b/testhal/AVR/MEGA/I2C/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/I2C/chconf.h
+++ b/testhal/AVR/MEGA/I2C/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/ICU/chconf.h b/testhal/AVR/MEGA/ICU/chconf.h
index bfd6be77a..88b78bca6 100644
--- a/testhal/AVR/MEGA/ICU/chconf.h
+++ b/testhal/AVR/MEGA/ICU/chconf.h
@@ -360,7 +360,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/PWM/chconf.h b/testhal/AVR/MEGA/PWM/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/PWM/chconf.h
+++ b/testhal/AVR/MEGA/PWM/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/MEGA/SPI/chconf.h b/testhal/AVR/MEGA/SPI/chconf.h
index 01c18df29..a513f11c9 100644
--- a/testhal/AVR/MEGA/SPI/chconf.h
+++ b/testhal/AVR/MEGA/SPI/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
index 141f68e43..a34530648 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
index 141f68e43..a34530648 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
index 141f68e43..a34530648 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
index 141f68e43..a34530648 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
@@ -341,7 +341,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/ADC/chconf.h b/testhal/STM32/STM32F0xx/ADC/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/CAN/chconf.h b/testhal/STM32/STM32F0xx/CAN/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F0xx/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/EXT/chconf.h b/testhal/STM32/STM32F0xx/EXT/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/EXT/chconf.h
+++ b/testhal/STM32/STM32F0xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/SPI/chconf.h b/testhal/STM32/STM32F0xx/SPI/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F0xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/UART/chconf.h b/testhal/STM32/STM32F0xx/UART/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/UART/chconf.h
+++ b/testhal/STM32/STM32F0xx/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F0xx/WDG/chconf.h b/testhal/STM32/STM32F0xx/WDG/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/STM32F0xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F0xx/WDG/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/ADC/chconf.h b/testhal/STM32/STM32F1xx/ADC/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/CAN/chconf.h b/testhal/STM32/STM32F1xx/CAN/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/EXT/chconf.h b/testhal/STM32/STM32F1xx/EXT/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/EXT/chconf.h
+++ b/testhal/STM32/STM32F1xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/I2C/chconf.h b/testhal/STM32/STM32F1xx/I2C/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/I2C/chconf.h
+++ b/testhal/STM32/STM32F1xx/I2C/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/RTC/chconf.h b/testhal/STM32/STM32F1xx/RTC/chconf.h
index 0611bae40..2c64ac93e 100644
--- a/testhal/STM32/STM32F1xx/RTC/chconf.h
+++ b/testhal/STM32/STM32F1xx/RTC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/SPI/chconf.h b/testhal/STM32/STM32F1xx/SPI/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/UART/chconf.h b/testhal/STM32/STM32F1xx/UART/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/UART/chconf.h
+++ b/testhal/STM32/STM32F1xx/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
index 59adad39f..ce365633d 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
index 9456055a5..64e374f13 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F2xx/EXT/chconf.h b/testhal/STM32/STM32F2xx/EXT/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32F2xx/EXT/chconf.h
+++ b/testhal/STM32/STM32F2xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/ADC/chconf.h b/testhal/STM32/STM32F37x/ADC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/ADC/chconf.h
+++ b/testhal/STM32/STM32F37x/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/CAN/chconf.h b/testhal/STM32/STM32F37x/CAN/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/CAN/chconf.h
+++ b/testhal/STM32/STM32F37x/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/EXT/chconf.h b/testhal/STM32/STM32F37x/EXT/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/EXT/chconf.h
+++ b/testhal/STM32/STM32F37x/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/I2C/chconf.h b/testhal/STM32/STM32F37x/I2C/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/I2C/chconf.h
+++ b/testhal/STM32/STM32F37x/I2C/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/SDADC/chconf.h b/testhal/STM32/STM32F37x/SDADC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/SDADC/chconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/SPI/chconf.h b/testhal/STM32/STM32F37x/SPI/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/SPI/chconf.h
+++ b/testhal/STM32/STM32F37x/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/UART/chconf.h b/testhal/STM32/STM32F37x/UART/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/UART/chconf.h
+++ b/testhal/STM32/STM32F37x/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F37x/USB_CDC/chconf.h b/testhal/STM32/STM32F37x/USB_CDC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/ADC/chconf.h b/testhal/STM32/STM32F3xx/ADC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F3xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/CAN/chconf.h b/testhal/STM32/STM32F3xx/CAN/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F3xx/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/DAC/chconf.h b/testhal/STM32/STM32F3xx/DAC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/DAC/chconf.h
+++ b/testhal/STM32/STM32F3xx/DAC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/EXT/chconf.h b/testhal/STM32/STM32F3xx/EXT/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/EXT/chconf.h
+++ b/testhal/STM32/STM32F3xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/SPI/chconf.h b/testhal/STM32/STM32F3xx/SPI/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F3xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/UART/chconf.h b/testhal/STM32/STM32F3xx/UART/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/UART/chconf.h
+++ b/testhal/STM32/STM32F3xx/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC/chconf.h b/testhal/STM32/STM32F3xx/USB_CDC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F3xx/WDG/chconf.h b/testhal/STM32/STM32F3xx/WDG/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F3xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F3xx/WDG/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/ADC/chconf.h b/testhal/STM32/STM32F4xx/ADC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/ADC/chconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/CAN/chconf.h b/testhal/STM32/STM32F4xx/CAN/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/CAN/chconf.h
+++ b/testhal/STM32/STM32F4xx/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/DAC/chconf.h b/testhal/STM32/STM32F4xx/DAC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/DAC/chconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/EXT/chconf.h b/testhal/STM32/STM32F4xx/EXT/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/EXT/chconf.h
+++ b/testhal/STM32/STM32F4xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/GPT/chconf.h b/testhal/STM32/STM32F4xx/GPT/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/GPT/chconf.h
+++ b/testhal/STM32/STM32F4xx/GPT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/I2C/chconf.h b/testhal/STM32/STM32F4xx/I2C/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/I2C/chconf.h
+++ b/testhal/STM32/STM32F4xx/I2C/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/I2S/chconf.h b/testhal/STM32/STM32F4xx/I2S/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/I2S/chconf.h
+++ b/testhal/STM32/STM32F4xx/I2S/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/RTC/chconf.h b/testhal/STM32/STM32F4xx/RTC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/RTC/chconf.h
+++ b/testhal/STM32/STM32F4xx/RTC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/SDC/chconf.h b/testhal/STM32/STM32F4xx/SDC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/SDC/chconf.h
+++ b/testhal/STM32/STM32F4xx/SDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/SPI/chconf.h b/testhal/STM32/STM32F4xx/SPI/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F4xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/UART/chconf.h b/testhal/STM32/STM32F4xx/UART/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/UART/chconf.h
+++ b/testhal/STM32/STM32F4xx/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/chconf.h b/testhal/STM32/STM32F4xx/USB_CDC/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F4xx/WDG/chconf.h b/testhal/STM32/STM32F4xx/WDG/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/STM32F4xx/WDG/chconf.h
+++ b/testhal/STM32/STM32F4xx/WDG/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/SPI/chconf.h b/testhal/STM32/STM32F7xx/SPI/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/SPI/chconf.h
+++ b/testhal/STM32/STM32F7xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/USB_CDC/chconf.h b/testhal/STM32/STM32F7xx/USB_CDC/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F7xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
index 4465b4d39..3ef7e11a3 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L0xx/ADC/chconf.h b/testhal/STM32/STM32L0xx/ADC/chconf.h
index 6b65c511d..c7a415dd3 100644
--- a/testhal/STM32/STM32L0xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L0xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L0xx/EXT/chconf.h b/testhal/STM32/STM32L0xx/EXT/chconf.h
index 6b65c511d..c7a415dd3 100644
--- a/testhal/STM32/STM32L0xx/EXT/chconf.h
+++ b/testhal/STM32/STM32L0xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L0xx/SPI/chconf.h b/testhal/STM32/STM32L0xx/SPI/chconf.h
index 6b65c511d..c7a415dd3 100644
--- a/testhal/STM32/STM32L0xx/SPI/chconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
index 52cb9653b..b55dfac4b 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/ADC/chconf.h b/testhal/STM32/STM32L1xx/ADC/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L1xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/DAC/chconf.h b/testhal/STM32/STM32L1xx/DAC/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/DAC/chconf.h
+++ b/testhal/STM32/STM32L1xx/DAC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/EXT/chconf.h b/testhal/STM32/STM32L1xx/EXT/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/EXT/chconf.h
+++ b/testhal/STM32/STM32L1xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/SPI/chconf.h b/testhal/STM32/STM32L1xx/SPI/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/SPI/chconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L1xx/UART/chconf.h b/testhal/STM32/STM32L1xx/UART/chconf.h
index d702816d3..566d7ecf3 100644
--- a/testhal/STM32/STM32L1xx/UART/chconf.h
+++ b/testhal/STM32/STM32L1xx/UART/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/ADC/chconf.h b/testhal/STM32/STM32L4xx/ADC/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32L4xx/ADC/chconf.h
+++ b/testhal/STM32/STM32L4xx/ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/CAN/chconf.h b/testhal/STM32/STM32L4xx/CAN/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32L4xx/CAN/chconf.h
+++ b/testhal/STM32/STM32L4xx/CAN/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/EXT/chconf.h b/testhal/STM32/STM32L4xx/EXT/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32L4xx/EXT/chconf.h
+++ b/testhal/STM32/STM32L4xx/EXT/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/STM32L4xx/USB_CDC/chconf.h b/testhal/STM32/STM32L4xx/USB_CDC/chconf.h
index 1590a4264..08c0d7a65 100644
--- a/testhal/STM32/STM32L4xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32L4xx/USB_CDC/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
index b65408adf..1a6c5ded1 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f103_olimex/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
index 1dfed4843..0c2c44ee3 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f373_eval/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f407_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
index 1dfed4843..0c2c44ee3 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f429_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f746_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
index 6b65c511d..c7a415dd3 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l053_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
index c41d448cb..1bfb0d9af 100755
--- a/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l151_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
index 1590a4264..08c0d7a65 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
index de016bdc8..194cd87b9 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
index 0ebf5bf3b..e4a0797aa 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32f303_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.
diff --git a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
index 1590a4264..08c0d7a65 100644
--- a/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg-stm32l476_discovery/chconf.h
@@ -338,7 +338,7 @@
* @details If the specified length is zero then the name is stored by
* pointer but this could have unintended side effects.
*/
-#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
+#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
/**
* @brief Enables the registry of generic objects.