diff options
Diffstat (limited to 'demos/STM32/RT-STM32F303-DISCOVERY/chconf.h')
-rw-r--r-- | demos/STM32/RT-STM32F303-DISCOVERY/chconf.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h index 8f3014426..30cca388f 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h +++ b/demos/STM32/RT-STM32F303-DISCOVERY/chconf.h @@ -29,6 +29,9 @@ #define CHCONF_H
#define _CHIBIOS_RT_CONF_
+#define _CHIBIOS_RT_CONF_VER_5_0_
+#define _CHIBIOS_RT_CONF_
+#define _CHIBIOS_RT_CONF_VER_5_0_VER_5_0_
/*===========================================================================*/
/**
@@ -332,12 +335,14 @@ #define CH_CFG_USE_FACTORY TRUE
/**
- * @brief Enables the registry of generic objects.
+ * @brief Maximum length for object names.
+ * @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
/**
- * @brief Enables factory for generic buffers.
+ * @brief Enables the registry of generic objects.
*/
#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
|