diff --git a/demos/ADI/RT-ADUCM360-ADICUP360/cfg/chconf.h b/demos/ADI/RT-ADUCM360-ADICUP360/cfg/chconf.h index 0f57c5c98..81d82c92a 100644 --- a/demos/ADI/RT-ADUCM360-ADICUP360/cfg/chconf.h +++ b/demos/ADI/RT-ADUCM360-ADICUP360/cfg/chconf.h @@ -108,21 +108,6 @@ #define CH_CFG_TIME_QUANTUM 0 #endif -/** - * @brief Managed RAM size. - * @details Size of the RAM area to be managed by the OS. If set to zero - * then the whole available RAM is used. The core memory is made - * available to the heap allocator and/or can be used directly through - * the simplified core memory allocator. - * - * @note In order to let the OS manage the whole RAM the linker script must - * provide the @p __heap_base__ and @p __heap_end__ symbols. - * @note Requires @p CH_CFG_USE_MEMCORE. - */ -#if !defined(CH_CFG_MEMCORE_SIZE) -#define CH_CFG_MEMCORE_SIZE 0 -#endif - /** * @brief Idle thread automatic spawn suppression. * @details When this option is activated the function @p chSysInit() @@ -311,6 +296,28 @@ #define CH_CFG_USE_MESSAGES_PRIORITY FALSE #endif +/** + * @brief Dynamic Threads APIs. + * @details If enabled then the dynamic threads creation APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_WAITEXIT. + * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. + */ +#if !defined(CH_CFG_USE_DYNAMIC) +#define CH_CFG_USE_DYNAMIC TRUE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name OSLIB options + * @{ + */ +/*===========================================================================*/ + /** * @brief Mailboxes APIs. * @details If enabled then the asynchronous messages (mailboxes) APIs are @@ -334,6 +341,21 @@ #define CH_CFG_USE_MEMCORE TRUE #endif +/** + * @brief Managed RAM size. + * @details Size of the RAM area to be managed by the OS. If set to zero + * then the whole available RAM is used. The core memory is made + * available to the heap allocator and/or can be used directly through + * the simplified core memory allocator. + * + * @note In order to let the OS manage the whole RAM the linker script must + * provide the @p __heap_base__ and @p __heap_end__ symbols. + * @note Requires @p CH_CFG_USE_MEMCORE. + */ +#if !defined(CH_CFG_MEMCORE_SIZE) +#define CH_CFG_MEMCORE_SIZE 0 +#endif + /** * @brief Heap Allocator APIs. * @details If enabled then the memory heap allocator APIs are included @@ -393,16 +415,14 @@ #endif /** - * @brief Dynamic Threads APIs. - * @details If enabled then the dynamic threads creation APIs are included + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included * in the kernel. * * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_WAITEXIT. - * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. */ -#if !defined(CH_CFG_USE_DYNAMIC) -#define CH_CFG_USE_DYNAMIC TRUE +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE #endif /** @} */ diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/cfg/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/cfg/chconf.h index b433f1198..2989bcafe 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/cfg/chconf.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h index 9a4dcf26b..535b434d7 100644 --- a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h +++ b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-ARDUINO-MINI/chconf.h b/demos/AVR/NIL-ARDUINO-MINI/chconf.h index 01d6a99bd..17b3ca71d 100644 --- a/demos/AVR/NIL-ARDUINO-MINI/chconf.h +++ b/demos/AVR/NIL-ARDUINO-MINI/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-ARDUINO-NANO/chconf.h b/demos/AVR/NIL-ARDUINO-NANO/chconf.h index 9a4dcf26b..535b434d7 100644 --- a/demos/AVR/NIL-ARDUINO-NANO/chconf.h +++ b/demos/AVR/NIL-ARDUINO-NANO/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-ARDUINO-UNO/chconf.h b/demos/AVR/NIL-ARDUINO-UNO/chconf.h index 9a4dcf26b..535b434d7 100644 --- a/demos/AVR/NIL-ARDUINO-UNO/chconf.h +++ b/demos/AVR/NIL-ARDUINO-UNO/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h index 9a4dcf26b..535b434d7 100644 --- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h +++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/NIL-MT-DB-X4/chconf.h b/demos/AVR/NIL-MT-DB-X4/chconf.h index 1151888f2..d0ca07569 100644 --- a/demos/AVR/NIL-MT-DB-X4/chconf.h +++ b/demos/AVR/NIL-MT-DB-X4/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h +++ b/demos/AVR/RT-ARDUINO-LEONARDO/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-ARDUINO-MEGA/chconf.h b/demos/AVR/RT-ARDUINO-MEGA/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-ARDUINO-MEGA/chconf.h +++ b/demos/AVR/RT-ARDUINO-MEGA/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-ARDUINO-MINI/chconf.h b/demos/AVR/RT-ARDUINO-MINI/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-ARDUINO-MINI/chconf.h +++ b/demos/AVR/RT-ARDUINO-MINI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-ARDUINO-NANO/chconf.h b/demos/AVR/RT-ARDUINO-NANO/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-ARDUINO-NANO/chconf.h +++ b/demos/AVR/RT-ARDUINO-NANO/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-ARDUINO-UNO/chconf.h b/demos/AVR/RT-ARDUINO-UNO/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-ARDUINO-UNO/chconf.h +++ b/demos/AVR/RT-ARDUINO-UNO/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h index 6247ebb4d..e6ffb5e41 100644 --- a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h +++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-MT-DB-X4/chconf.h b/demos/AVR/RT-MT-DB-X4/chconf.h index 6daff93cf..61b008d67 100644 --- a/demos/AVR/RT-MT-DB-X4/chconf.h +++ b/demos/AVR/RT-MT-DB-X4/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-PRO-MICRO/chconf.h b/demos/AVR/RT-PRO-MICRO/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/RT-PRO-MICRO/chconf.h +++ b/demos/AVR/RT-PRO-MICRO/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/RT-TEENSY2-USB/chconf.h b/demos/AVR/RT-TEENSY2-USB/chconf.h index 4cfd2bc0c..447ae6f96 100644 --- a/demos/AVR/RT-TEENSY2-USB/chconf.h +++ b/demos/AVR/RT-TEENSY2-USB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/TEST-SUITE-NIL/chconf.h b/demos/AVR/TEST-SUITE-NIL/chconf.h index c92b38a1e..cb1cfa255 100644 --- a/demos/AVR/TEST-SUITE-NIL/chconf.h +++ b/demos/AVR/TEST-SUITE-NIL/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/TEST-SUITE-OSLIB/chconf.h b/demos/AVR/TEST-SUITE-OSLIB/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/TEST-SUITE-OSLIB/chconf.h +++ b/demos/AVR/TEST-SUITE-OSLIB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/AVR/TEST-SUITE-RT/chconf.h b/demos/AVR/TEST-SUITE-RT/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/demos/AVR/TEST-SUITE-RT/chconf.h +++ b/demos/AVR/TEST-SUITE-RT/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/NIL-SPC560D-EVB/chconf.h b/demos/SPC5/NIL-SPC560D-EVB/chconf.h index 772b493ca..eafbe6fab 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/chconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC560B-EVB/chconf.h b/demos/SPC5/RT-SPC560B-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC560B-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560B-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC560D-EVB/chconf.h b/demos/SPC5/RT-SPC560D-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC560D-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560D-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC560P-EVB/chconf.h b/demos/SPC5/RT-SPC560P-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC560P-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560P-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC563M-EVB/chconf.h b/demos/SPC5/RT-SPC563M-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC563M-EVB/chconf.h +++ b/demos/SPC5/RT-SPC563M-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC564A-EVB/chconf.h b/demos/SPC5/RT-SPC564A-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC564A-EVB/chconf.h +++ b/demos/SPC5/RT-SPC564A-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC56EC-EVB/chconf.h b/demos/SPC5/RT-SPC56EC-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/chconf.h +++ b/demos/SPC5/RT-SPC56EC-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/SPC5/RT-SPC56EL-EVB/chconf.h b/demos/SPC5/RT-SPC56EL-EVB/chconf.h index d8542561b..ba38c0237 100644 --- a/demos/SPC5/RT-SPC56EL-EVB/chconf.h +++ b/demos/SPC5/RT-SPC56EL-EVB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h index 27051091c..5cbf38d8a 100644 --- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h index b445a22be..4fea59173 100644 --- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ @@ -625,8 +636,7 @@ * @details User fields added to the end of the @p thread_t structure. */ #define CH_CFG_THREAD_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ \ - void *osal_delete_handler; + /* Add threads custom fields here.*/ /** * @brief Threads initialization hook. diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h index ef233ee23..a4ba2a2a3 100644 --- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ @@ -625,8 +636,7 @@ * @details User fields added to the end of the @p thread_t structure. */ #define CH_CFG_THREAD_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ \ - void *osal_delete_handler; + /* Add threads custom fields here.*/ /** * @brief Threads initialization hook. diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/cfg/chconf.h index b21be9cb9..b9835bc57 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/cfg/chconf.h index e223d1367..3bc1491d9 100644 --- a/demos/STM32/NIL-STM32F100-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32F100-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/chconf.h index 0876d5c7e..7f652f59b 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/cfg/chconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/cfg/chconf.h index 463057877..82550b48f 100644 --- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/cfg/chconf.h +++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/cfg/chconf.h index 25e8c8488..a29bf248f 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/cfg/chconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/cfg/chconf.h index 1be171858..32b9b8efa 100644 --- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/cfg/chconf.h index e223d1367..3bc1491d9 100644 --- a/demos/STM32/NIL-STM32L152-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32L152-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32L476-DISCOVERY/cfg/chconf.h b/demos/STM32/NIL-STM32L476-DISCOVERY/cfg/chconf.h index 0876d5c7e..7f652f59b 100644 --- a/demos/STM32/NIL-STM32L476-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NIL-STM32L476-DISCOVERY/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg/stm32f746_discovery/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg/stm32f746_discovery/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg/stm32f746_discovery/chconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f107_goldbull/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f107_goldbull/chconf.h index 318416d5a..cd3a6bd1b 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f107_goldbull/chconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f107_goldbull/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f407_olimex/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f407_olimex/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f407_olimex/chconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f407_olimex/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f746_discovery/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f746_discovery/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f746_discovery/chconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/chconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/chconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h index 09afb19e4..81ccf7a17 100644 --- a/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h index d22f9f473..708485435 100644 --- a/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h index 0aef8f0bd..3aeb1b52a 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/cfg/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/cfg/chconf.h index 0ac65fe7d..93234f4e5 100755 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h index 0ac65fe7d..93234f4e5 100644 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/cfg/chconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/cfg/chconf.h index 0ac65fe7d..93234f4e5 100644 --- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h index 83db94455..563c2b4e7 100644 --- a/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h index b7c3c45de..db7d91a3a 100644 --- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h +++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h index a789e3043..8986b8b8e 100644 --- a/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h index a789e3043..8986b8b8e 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h index 82093cec0..27be423f1 100644 --- a/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/cfg/chconf.h index a789e3043..8986b8b8e 100644 --- a/demos/STM32/RT-STM32H743I-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32H743I-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h index 333fffa21..aa2bbdf9e 100644 --- a/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h b/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h +++ b/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST/cfg/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST/cfg/chconf.h index fc7525859..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ @@ -729,7 +740,6 @@ /* Port-specific settings (override port settings defaulted in chcore.h). */ /*===========================================================================*/ -#define PORT_USE_SYSCALL TRUE #endif /* CHCONF_H */ /** @} */ diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/NIL-ARMCM0-GENERIC/cfg/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/cfg/chconf.h index 36fbbcdfa..44ccaa4da 100644 --- a/demos/various/NIL-ARMCM0-GENERIC/cfg/chconf.h +++ b/demos/various/NIL-ARMCM0-GENERIC/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h index 36fbbcdfa..44ccaa4da 100644 --- a/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h +++ b/demos/various/NIL-ARMCM4-GENERIC/cfg/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-ARM7-GENERIC/chconf.h b/demos/various/RT-ARM7-GENERIC/chconf.h index ac8c8b059..580ec5c66 100644 --- a/demos/various/RT-ARM7-GENERIC/chconf.h +++ b/demos/various/RT-ARM7-GENERIC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h index ac8c8b059..580ec5c66 100644 --- a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h +++ b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h index b7c3c45de..db7d91a3a 100644 --- a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h +++ b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h b/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h index b7c3c45de..db7d91a3a 100644 --- a/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h +++ b/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-Posix-Simulator/cfg/chconf.h b/demos/various/RT-Posix-Simulator/cfg/chconf.h index 4645eedb0..c2e726fc4 100755 --- a/demos/various/RT-Posix-Simulator/cfg/chconf.h +++ b/demos/various/RT-Posix-Simulator/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/demos/various/RT-Win32-Simulator/cfg/chconf.h b/demos/various/RT-Win32-Simulator/cfg/chconf.h index e162bf62e..e758ef976 100644 --- a/demos/various/RT-Win32-Simulator/cfg/chconf.h +++ b/demos/various/RT-Win32-Simulator/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/os/nil/templates/chconf.h b/os/nil/templates/chconf.h index 772b493ca..eafbe6fab 100644 --- a/os/nil/templates/chconf.h +++ b/os/nil/templates/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/os/oslib/include/chdelegates.h b/os/oslib/include/chdelegates.h index 9bee484bf..1c1690d1f 100644 --- a/os/oslib/include/chdelegates.h +++ b/os/oslib/include/chdelegates.h @@ -147,10 +147,10 @@ static inline msg_t chDelegateCallDirect3(thread_t *tp, delegate_fn0_t func, * @brief Direct call to a function with four parameters. */ static inline msg_t chDelegateCallDirect4(thread_t *tp, delegate_fn0_t func, - msg_t p1, msg_t p2, msg_t p2, + msg_t p1, msg_t p2, msg_t p3, msg_t p4) { - return chDelegateCallVeneer(tp, __ch_delegate_fn4, func, p1, p2, p4); + return chDelegateCallVeneer(tp, __ch_delegate_fn4, func, p1, p2, p3, p4); } #endif /* CH_CFG_USE_DELEGATES == TRUE */ diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h index 1be3f2c32..a08115948 100644 --- a/os/rt/templates/chconf.h +++ b/os/rt/templates/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/test/nil/testbuild/chconf.h b/test/nil/testbuild/chconf.h index 36fbbcdfa..44ccaa4da 100644 --- a/test/nil/testbuild/chconf.h +++ b/test/nil/testbuild/chconf.h @@ -261,6 +261,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/test/rt/testbuild/chconf.h b/test/rt/testbuild/chconf.h index d5065378e..98a2d17ab 100644 --- a/test/rt/testbuild/chconf.h +++ b/test/rt/testbuild/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h +++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/ADUCM/SPI/cfg/chconf.h b/testhal/ADUCM/SPI/cfg/chconf.h index 0f57c5c98..81d82c92a 100644 --- a/testhal/ADUCM/SPI/cfg/chconf.h +++ b/testhal/ADUCM/SPI/cfg/chconf.h @@ -108,21 +108,6 @@ #define CH_CFG_TIME_QUANTUM 0 #endif -/** - * @brief Managed RAM size. - * @details Size of the RAM area to be managed by the OS. If set to zero - * then the whole available RAM is used. The core memory is made - * available to the heap allocator and/or can be used directly through - * the simplified core memory allocator. - * - * @note In order to let the OS manage the whole RAM the linker script must - * provide the @p __heap_base__ and @p __heap_end__ symbols. - * @note Requires @p CH_CFG_USE_MEMCORE. - */ -#if !defined(CH_CFG_MEMCORE_SIZE) -#define CH_CFG_MEMCORE_SIZE 0 -#endif - /** * @brief Idle thread automatic spawn suppression. * @details When this option is activated the function @p chSysInit() @@ -311,6 +296,28 @@ #define CH_CFG_USE_MESSAGES_PRIORITY FALSE #endif +/** + * @brief Dynamic Threads APIs. + * @details If enabled then the dynamic threads creation APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_WAITEXIT. + * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. + */ +#if !defined(CH_CFG_USE_DYNAMIC) +#define CH_CFG_USE_DYNAMIC TRUE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name OSLIB options + * @{ + */ +/*===========================================================================*/ + /** * @brief Mailboxes APIs. * @details If enabled then the asynchronous messages (mailboxes) APIs are @@ -334,6 +341,21 @@ #define CH_CFG_USE_MEMCORE TRUE #endif +/** + * @brief Managed RAM size. + * @details Size of the RAM area to be managed by the OS. If set to zero + * then the whole available RAM is used. The core memory is made + * available to the heap allocator and/or can be used directly through + * the simplified core memory allocator. + * + * @note In order to let the OS manage the whole RAM the linker script must + * provide the @p __heap_base__ and @p __heap_end__ symbols. + * @note Requires @p CH_CFG_USE_MEMCORE. + */ +#if !defined(CH_CFG_MEMCORE_SIZE) +#define CH_CFG_MEMCORE_SIZE 0 +#endif + /** * @brief Heap Allocator APIs. * @details If enabled then the memory heap allocator APIs are included @@ -393,16 +415,14 @@ #endif /** - * @brief Dynamic Threads APIs. - * @details If enabled then the dynamic threads creation APIs are included + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included * in the kernel. * * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_WAITEXIT. - * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. */ -#if !defined(CH_CFG_USE_DYNAMIC) -#define CH_CFG_USE_DYNAMIC TRUE +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE #endif /** @} */ diff --git a/testhal/AVR/MEGA/ADC/chconf.h b/testhal/AVR/MEGA/ADC/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/ADC/chconf.h +++ b/testhal/AVR/MEGA/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/EXT/chconf.h b/testhal/AVR/MEGA/EXT/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/EXT/chconf.h +++ b/testhal/AVR/MEGA/EXT/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/GPT/chconf.h b/testhal/AVR/MEGA/GPT/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/GPT/chconf.h +++ b/testhal/AVR/MEGA/GPT/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/I2C/chconf.h b/testhal/AVR/MEGA/I2C/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/I2C/chconf.h +++ b/testhal/AVR/MEGA/I2C/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/ICU/chconf.h b/testhal/AVR/MEGA/ICU/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/ICU/chconf.h +++ b/testhal/AVR/MEGA/ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/PWM/chconf.h b/testhal/AVR/MEGA/PWM/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/PWM/chconf.h +++ b/testhal/AVR/MEGA/PWM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/MEGA/SPI/chconf.h b/testhal/AVR/MEGA/SPI/chconf.h index 7617746a7..23605db37 100644 --- a/testhal/AVR/MEGA/SPI/chconf.h +++ b/testhal/AVR/MEGA/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/AES/chconf.h b/testhal/AVR/XMEGA/AES/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/AES/chconf.h +++ b/testhal/AVR/XMEGA/AES/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/SERIAL/chconf.h b/testhal/AVR/XMEGA/SERIAL/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/SERIAL/chconf.h +++ b/testhal/AVR/XMEGA/SERIAL/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/SPI/chconf.h b/testhal/AVR/XMEGA/SPI/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/SPI/chconf.h +++ b/testhal/AVR/XMEGA/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h +++ b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/USART/chconf.h b/testhal/AVR/XMEGA/USART/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/USART/chconf.h +++ b/testhal/AVR/XMEGA/USART/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/XMEGA/WDT/chconf.h b/testhal/AVR/XMEGA/WDT/chconf.h index 6daff93cf..61b008d67 100644 --- a/testhal/AVR/XMEGA/WDT/chconf.h +++ b/testhal/AVR/XMEGA/WDT/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h index 1a7dbe648..f1bcb25a1 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/ADC/chconf.h b/testhal/STM32/STM32F0xx/ADC/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/ADC/chconf.h +++ b/testhal/STM32/STM32F0xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/CAN/chconf.h b/testhal/STM32/STM32F0xx/CAN/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/CAN/chconf.h +++ b/testhal/STM32/STM32F0xx/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F0xx/WDG/chconf.h b/testhal/STM32/STM32F0xx/WDG/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/STM32F0xx/WDG/chconf.h +++ b/testhal/STM32/STM32F0xx/WDG/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/ADC/chconf.h b/testhal/STM32/STM32F1xx/ADC/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/ADC/chconf.h +++ b/testhal/STM32/STM32F1xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/CAN/chconf.h b/testhal/STM32/STM32F1xx/CAN/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/CAN/chconf.h +++ b/testhal/STM32/STM32F1xx/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/I2C/chconf.h b/testhal/STM32/STM32F1xx/I2C/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/I2C/chconf.h +++ b/testhal/STM32/STM32F1xx/I2C/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/RTC/chconf.h b/testhal/STM32/STM32F1xx/RTC/chconf.h index 42929b85a..78adac238 100644 --- a/testhal/STM32/STM32F1xx/RTC/chconf.h +++ b/testhal/STM32/STM32F1xx/RTC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/SPI/chconf.h b/testhal/STM32/STM32F1xx/SPI/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/SPI/chconf.h +++ b/testhal/STM32/STM32F1xx/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/UART/chconf.h b/testhal/STM32/STM32F1xx/UART/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/UART/chconf.h +++ b/testhal/STM32/STM32F1xx/UART/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h index 7b764c20c..9b3e45ebf 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h index 269b51deb..305ee2808 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/ADC/chconf.h b/testhal/STM32/STM32F37x/ADC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/ADC/chconf.h +++ b/testhal/STM32/STM32F37x/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/CAN/chconf.h b/testhal/STM32/STM32F37x/CAN/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/CAN/chconf.h +++ b/testhal/STM32/STM32F37x/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/I2C/chconf.h b/testhal/STM32/STM32F37x/I2C/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/I2C/chconf.h +++ b/testhal/STM32/STM32F37x/I2C/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/SDADC/chconf.h b/testhal/STM32/STM32F37x/SDADC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/SDADC/chconf.h +++ b/testhal/STM32/STM32F37x/SDADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/SPI/chconf.h b/testhal/STM32/STM32F37x/SPI/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/SPI/chconf.h +++ b/testhal/STM32/STM32F37x/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/UART/chconf.h b/testhal/STM32/STM32F37x/UART/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/UART/chconf.h +++ b/testhal/STM32/STM32F37x/UART/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F37x/USB_CDC/chconf.h b/testhal/STM32/STM32F37x/USB_CDC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/ADC/chconf.h b/testhal/STM32/STM32F3xx/ADC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/ADC/chconf.h +++ b/testhal/STM32/STM32F3xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/CAN/chconf.h b/testhal/STM32/STM32F3xx/CAN/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/CAN/chconf.h +++ b/testhal/STM32/STM32F3xx/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/DAC/chconf.h b/testhal/STM32/STM32F3xx/DAC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/DAC/chconf.h +++ b/testhal/STM32/STM32F3xx/DAC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F3xx/WDG/chconf.h b/testhal/STM32/STM32F3xx/WDG/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F3xx/WDG/chconf.h +++ b/testhal/STM32/STM32F3xx/WDG/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/ADC/chconf.h b/testhal/STM32/STM32F4xx/ADC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/ADC/chconf.h +++ b/testhal/STM32/STM32F4xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/CAN/chconf.h b/testhal/STM32/STM32F4xx/CAN/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/CAN/chconf.h +++ b/testhal/STM32/STM32F4xx/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/DAC/chconf.h b/testhal/STM32/STM32F4xx/DAC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/DAC/chconf.h +++ b/testhal/STM32/STM32F4xx/DAC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h +++ b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h +++ b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/GPT/chconf.h b/testhal/STM32/STM32F4xx/GPT/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/GPT/chconf.h +++ b/testhal/STM32/STM32F4xx/GPT/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/I2S/chconf.h b/testhal/STM32/STM32F4xx/I2S/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/I2S/chconf.h +++ b/testhal/STM32/STM32F4xx/I2S/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/RTC/chconf.h b/testhal/STM32/STM32F4xx/RTC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/RTC/chconf.h +++ b/testhal/STM32/STM32F4xx/RTC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/SDC/chconf.h b/testhal/STM32/STM32F4xx/SDC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/SDC/chconf.h +++ b/testhal/STM32/STM32F4xx/SDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/WDG/chconf.h b/testhal/STM32/STM32F4xx/WDG/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F4xx/WDG/chconf.h +++ b/testhal/STM32/STM32F4xx/WDG/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h +++ b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F7xx/SPI/chconf.h b/testhal/STM32/STM32F7xx/SPI/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F7xx/SPI/chconf.h +++ b/testhal/STM32/STM32F7xx/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h +++ b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L0xx/ADC/chconf.h b/testhal/STM32/STM32L0xx/ADC/chconf.h index 72a0b8c2d..2e8dcc8a2 100644 --- a/testhal/STM32/STM32L0xx/ADC/chconf.h +++ b/testhal/STM32/STM32L0xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L0xx/SPI/chconf.h b/testhal/STM32/STM32L0xx/SPI/chconf.h index 72a0b8c2d..2e8dcc8a2 100644 --- a/testhal/STM32/STM32L0xx/SPI/chconf.h +++ b/testhal/STM32/STM32L0xx/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h index 0d09a14c3..ad4fc6705 100644 --- a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/ADC/chconf.h b/testhal/STM32/STM32L1xx/ADC/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/ADC/chconf.h +++ b/testhal/STM32/STM32L1xx/ADC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/DAC/chconf.h b/testhal/STM32/STM32L1xx/DAC/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/DAC/chconf.h +++ b/testhal/STM32/STM32L1xx/DAC/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/SPI/chconf.h b/testhal/STM32/STM32L1xx/SPI/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/SPI/chconf.h +++ b/testhal/STM32/STM32L1xx/SPI/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/UART/chconf.h b/testhal/STM32/STM32L1xx/UART/chconf.h index cd3ec68e6..46033beb8 100644 --- a/testhal/STM32/STM32L1xx/UART/chconf.h +++ b/testhal/STM32/STM32L1xx/UART/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L4xx/CAN/chconf.h b/testhal/STM32/STM32L4xx/CAN/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/STM32L4xx/CAN/chconf.h +++ b/testhal/STM32/STM32L4xx/CAN/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/ADC/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32h743_nucleo144/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32h743_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h +++ b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h index 82093cec0..27be423f1 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h index 9e410d025..ce8281e8f 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h index 1db6757f0..7e54d50cb 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h index 72a0b8c2d..2e8dcc8a2 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h index 333fffa21..aa2bbdf9e 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h index 82093cec0..27be423f1 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h index 82093cec0..27be423f1 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h index d46f4addc..0d6cd6b53 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h index 97541c020..8958c368c 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ 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 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h index 1be3f2c32..a08115948 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ 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 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h index 038c5cd2c..48c05c01f 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h @@ -414,6 +414,17 @@ #define CH_CFG_USE_OBJ_CACHES TRUE #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl b/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl index c3cdebabe..458c939fe 100644 --- a/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl +++ b/tools/ftl/processors/conf/chconf_nil/chconf.h.ftl @@ -272,6 +272,17 @@ #define CH_CFG_USE_OBJ_CACHES ${doc.CH_CFG_USE_OBJ_CACHES!"TRUE"} #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES ${doc.CH_CFG_USE_DELEGATES!"TRUE"} +#endif + /** @} */ /*===========================================================================*/ diff --git a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl index 09b1c1273..7f4732c1f 100644 --- a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl +++ b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl @@ -425,6 +425,17 @@ #define CH_CFG_USE_OBJ_CACHES ${doc.CH_CFG_USE_OBJ_CACHES!"TRUE"} #endif +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES ${doc.CH_CFG_USE_DELEGATES!"TRUE"} +#endif + /** @} */ /*===========================================================================*/