Fixed various typos and documentation-related issues.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10776 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4ca542e021
commit
d200baf21f
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -341,7 +341,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
@ -389,7 +389,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -346,7 +346,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* pointer but this could have unintended side effects.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGHT) || defined(__DOXYGEN__)
|
#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) || defined(__DOXYGEN__)
|
||||||
#define CH_CFG_FACTORY_MAX_NAMES_LENGHT 8
|
#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -98,9 +98,9 @@
|
||||||
(CH_CFG_FACTORY_MAILBOXES == TRUE) || \
|
(CH_CFG_FACTORY_MAILBOXES == TRUE) || \
|
||||||
(CH_CFG_FACTORY_OBJ_FIFOS == TRUE))
|
(CH_CFG_FACTORY_OBJ_FIFOS == TRUE))
|
||||||
|
|
||||||
#if (CH_CFG_FACTORY_MAX_NAMES_LENGHT < 0) || \
|
#if (CH_CFG_FACTORY_MAX_NAMES_LENGTH < 0) || \
|
||||||
(CH_CFG_FACTORY_MAX_NAMES_LENGHT > 32)
|
(CH_CFG_FACTORY_MAX_NAMES_LENGTH > 32)
|
||||||
#error "invalid CH_CFG_FACTORY_MAX_NAMES_LENGHT value"
|
#error "invalid CH_CFG_FACTORY_MAX_NAMES_LENGTH value"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CH_CFG_USE_MEMCORE == FALSE
|
#if CH_CFG_USE_MEMCORE == FALSE
|
||||||
|
@ -143,8 +143,8 @@ typedef struct ch_dyn_element {
|
||||||
* @brief Number of references to this object.
|
* @brief Number of references to this object.
|
||||||
*/
|
*/
|
||||||
ucnt_t refs;
|
ucnt_t refs;
|
||||||
#if (CH_CFG_FACTORY_MAX_NAMES_LENGHT > 0) || defined(__DOXIGEN__)
|
#if (CH_CFG_FACTORY_MAX_NAMES_LENGTH > 0) || defined(__DOXYGEN__)
|
||||||
char name[CH_CFG_FACTORY_MAX_NAMES_LENGHT];
|
char name[CH_CFG_FACTORY_MAX_NAMES_LENGTH];
|
||||||
#else
|
#else
|
||||||
const char *name;
|
const char *name;
|
||||||
#endif
|
#endif
|
||||||
|
@ -157,7 +157,7 @@ typedef struct ch_dyn_list {
|
||||||
dyn_element_t *next;
|
dyn_element_t *next;
|
||||||
} dyn_list_t;
|
} 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.
|
* @brief Type of a registered object.
|
||||||
*/
|
*/
|
||||||
|
@ -174,7 +174,7 @@ typedef struct ch_registered_static_object {
|
||||||
} registered_object_t;
|
} registered_object_t;
|
||||||
#endif
|
#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.
|
* @brief Type of a dynamic buffer object.
|
||||||
*/
|
*/
|
||||||
|
@ -191,7 +191,7 @@ typedef struct ch_dyn_object {
|
||||||
} dyn_buffer_t;
|
} dyn_buffer_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXIGEN__)
|
#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
* @brief Type of a dynamic semaphore.
|
* @brief Type of a dynamic semaphore.
|
||||||
*/
|
*/
|
||||||
|
@ -207,7 +207,7 @@ typedef struct ch_dyn_semaphore {
|
||||||
} dyn_semaphore_t;
|
} dyn_semaphore_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXIGEN__)
|
#if (CH_CFG_FACTORY_MAILBOXES == TRUE) || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
* @brief Type of a dynamic buffer object.
|
* @brief Type of a dynamic buffer object.
|
||||||
*/
|
*/
|
||||||
|
@ -228,7 +228,7 @@ typedef struct ch_dyn_mailbox {
|
||||||
} dyn_mailbox_t;
|
} dyn_mailbox_t;
|
||||||
#endif
|
#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.
|
* @brief Type of a dynamic buffer object.
|
||||||
*/
|
*/
|
||||||
|
@ -263,13 +263,13 @@ typedef struct ch_objects_factory {
|
||||||
* @brief Pool of the available registered objects.
|
* @brief Pool of the available registered objects.
|
||||||
*/
|
*/
|
||||||
memory_pool_t obj_pool;
|
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.
|
* @brief List of the allocated buffer objects.
|
||||||
*/
|
*/
|
||||||
dyn_list_t buf_list;
|
dyn_list_t buf_list;
|
||||||
#endif /* CH_CFG_FACTORY_GENERIC_BUFFERS = TRUE */
|
#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.
|
* @brief List of the allocated semaphores.
|
||||||
*/
|
*/
|
||||||
|
@ -279,13 +279,13 @@ typedef struct ch_objects_factory {
|
||||||
*/
|
*/
|
||||||
memory_pool_t sem_pool;
|
memory_pool_t sem_pool;
|
||||||
#endif /* CH_CFG_FACTORY_SEMAPHORES = TRUE */
|
#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.
|
* @brief List of the allocated buffer objects.
|
||||||
*/
|
*/
|
||||||
dyn_list_t mbx_list;
|
dyn_list_t mbx_list;
|
||||||
#endif /* CH_CFG_FACTORY_MAILBOXES = TRUE */
|
#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.
|
* @brief List of the allocated "objects FIFO" objects.
|
||||||
*/
|
*/
|
||||||
|
@ -309,28 +309,28 @@ extern objects_factory_t ch_factory;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
void _factory_init(void);
|
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,
|
registered_object_t *chFactoryRegisterObject(const char *name,
|
||||||
void *objp);
|
void *objp);
|
||||||
registered_object_t *chFactoryFindObject(const char *name);
|
registered_object_t *chFactoryFindObject(const char *name);
|
||||||
void chFactoryReleaseObject(registered_object_t *rop);
|
void chFactoryReleaseObject(registered_object_t *rop);
|
||||||
#endif
|
#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 *chFactoryCreateBuffer(const char *name, size_t size);
|
||||||
dyn_buffer_t *chFactoryFindBuffer(const char *name);
|
dyn_buffer_t *chFactoryFindBuffer(const char *name);
|
||||||
void chFactoryReleaseBuffer(dyn_buffer_t *dbp);
|
void chFactoryReleaseBuffer(dyn_buffer_t *dbp);
|
||||||
#endif
|
#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 *chFactoryCreateSemaphore(const char *name, cnt_t n);
|
||||||
dyn_semaphore_t *chFactoryFindSemaphore(const char *name);
|
dyn_semaphore_t *chFactoryFindSemaphore(const char *name);
|
||||||
void chFactoryReleaseSemaphore(dyn_semaphore_t *dsp);
|
void chFactoryReleaseSemaphore(dyn_semaphore_t *dsp);
|
||||||
#endif
|
#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 *chFactoryCreateMailbox(const char *name, size_t n);
|
||||||
dyn_mailbox_t *chFactoryFindMailbox(const char *name);
|
dyn_mailbox_t *chFactoryFindMailbox(const char *name);
|
||||||
void chFactoryReleaseMailbox(dyn_mailbox_t *dmp);
|
void chFactoryReleaseMailbox(dyn_mailbox_t *dmp);
|
||||||
#endif
|
#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,
|
dyn_objects_fifo_t *chFactoryCreateObjectsFIFO(const char *name,
|
||||||
size_t objsize,
|
size_t objsize,
|
||||||
size_t objn,
|
size_t objn,
|
||||||
|
@ -351,6 +351,7 @@ extern "C" {
|
||||||
* @note This function can be used on any kind of dynamic object.
|
* @note This function can be used on any kind of dynamic object.
|
||||||
*
|
*
|
||||||
* @param[in] dep pointer to the element field of the object
|
* @param[in] dep pointer to the element field of the object
|
||||||
|
* @return The duplicated object reference.
|
||||||
*
|
*
|
||||||
* @iclass
|
* @iclass
|
||||||
*/
|
*/
|
||||||
|
@ -363,10 +364,11 @@ static inline dyn_element_t *chFactoryDuplicateReferenceI(dyn_element_t *dep) {
|
||||||
return 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.
|
* @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.
|
* @return The size of the buffer object in bytes.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
|
|
|
@ -81,7 +81,7 @@ static dyn_element_t *dyn_list_find(const char *name, dyn_list_t *dlp) {
|
||||||
dyn_element_t *p = dlp->next;
|
dyn_element_t *p = dlp->next;
|
||||||
|
|
||||||
while (p != (dyn_element_t *)dlp) {
|
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;
|
return p;
|
||||||
}
|
}
|
||||||
p = p->next;
|
p = p->next;
|
||||||
|
@ -132,7 +132,7 @@ static dyn_element_t *dyn_create_object_heap(const char *name,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializing object list element.*/
|
/* 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->refs = 1U;
|
||||||
dep->next = dlp->next;
|
dep->next = dlp->next;
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ static dyn_element_t *dyn_create_object_pool(const char *name,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializing object list element.*/
|
/* 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->refs = 1U;
|
||||||
dep->next = ch_factory.sem_list.next;
|
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] name name to be assigned to the registered object
|
||||||
* @param[in] objp pointer to the object to be registered
|
* @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
|
* @api
|
||||||
*/
|
*/
|
||||||
registered_object_t *chFactoryRegisterObject(const char *name,
|
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
|
* by one, if reaches zero then the dynamic mailbox object memory
|
||||||
* is freed.
|
* is freed.
|
||||||
*
|
*
|
||||||
* @param[in] dbp dynamic mailbox object reference
|
* @param[in] dmp dynamic mailbox object reference
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -309,7 +309,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_USE_FACTORY TRUE
|
#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_OBJECTS_REGISTRY TRUE
|
||||||
#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
|
#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
|
||||||
#define CH_CFG_FACTORY_SEMAPHORES TRUE
|
#define CH_CFG_FACTORY_SEMAPHORES TRUE
|
||||||
|
@ -351,7 +351,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -194,7 +194,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -388,7 +388,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
|
@ -338,7 +338,7 @@
|
||||||
* @details If the specified length is zero then the name is stored by
|
* @details If the specified length is zero then the name is stored by
|
||||||
* pointer but this could have unintended side effects.
|
* 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.
|
* @brief Enables the registry of generic objects.
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue