From 2a4fc42a13f26ae5c14be46a8ae3d81efc7b5486 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 2 Apr 2021 17:43:54 +0000 Subject: [PATCH] Configuration files mass update. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14123 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- .../ADUCM/RT-ADUCM360-ADICUP360/cfg/chconf.h | 20 + demos/AVR/RT-ARDUINO-LEONARDO/cfg/chconf.h | 20 + demos/AVR/RT-ARDUINO-MEGA/cfg/chconf.h | 20 + demos/AVR/RT-ARDUINO-MINI/cfg/chconf.h | 20 + demos/AVR/RT-ARDUINO-NANO/cfg/chconf.h | 20 + demos/AVR/RT-ARDUINO-UNO/cfg/chconf.h | 20 + .../AVR/RT-DIGISPARK-ATTINY-167/cfg/chconf.h | 20 + demos/AVR/RT-MT-DB-X4/cfg/chconf.h | 20 + demos/AVR/RT-PRO-MICRO/cfg/chconf.h | 20 + demos/AVR/RT-TEENSY2-USB/cfg/chconf.h | 20 + demos/AVR/TEST-SUITE-OSLIB/cfg/chconf.h | 20 + demos/AVR/TEST-SUITE-RT/cfg/chconf.h | 20 + demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h | 20 + demos/RP/RT-RP2040-PICO/cfg/chconf.h | 20 + demos/SPC5/RT-SPC560B-EVB/chconf.h | 20 + demos/SPC5/RT-SPC560D-EVB/chconf.h | 20 + demos/SPC5/RT-SPC560P-EVB/chconf.h | 20 + demos/SPC5/RT-SPC563M-EVB/chconf.h | 20 + demos/SPC5/RT-SPC564A-EVB/chconf.h | 20 + demos/SPC5/RT-SPC56EC-EVB/chconf.h | 20 + demos/SPC5/RT-SPC56EL-EVB/chconf.h | 20 + .../CMSIS-STM32F407-DISCOVERY/cfg/chconf.h | 20 + .../cfg/chconf.h | 23 +- .../cfg/chconf.h | 25 +- .../cfg/stm32f746_discovery/chconf.h | 20 + .../cfg/stm32f107_goldbull/chconf.h | 20 + .../cfg/stm32f407_olimex/chconf.h | 20 + .../cfg/stm32f746_discovery/chconf.h | 20 + .../cfg/stm32f769_discovery/chconf.h | 20 + .../RT-STM32F030R8-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F031K6-NUCLEO32/cfg/chconf.h | 20 + .../RT-STM32F042K6-NUCLEO32/cfg/chconf.h | 20 + .../STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F070RB-NUCLEO64/cfg/chconf.h | 20 + .../STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F072RB-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F091RC-NUCLEO64/cfg/chconf.h | 20 + .../STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h | 20 + .../STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../RT-STM32F103RB-NUCLEO64/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F207ZG-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F302R8-NUCLEO64/cfg/chconf.h | 20 + .../STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F303K8-NUCLEO32/cfg/chconf.h | 20 + .../RT-STM32F303RE-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F303ZE-NUCLEO144/cfg/chconf.h | 20 + .../STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F334R8-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F373-STM32373C_EVAL/cfg/chconf.h | 20 + .../RT-STM32F401C-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F401RE-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F407-DISCOVERY-G++/cfg/chconf.h | 20 + .../STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F410RB-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F411RE-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F412ZG-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F413ZH-NUCLEO144/cfg/chconf.h | 20 + .../STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F429ZI-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F446RE-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32F446ZE-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F469I-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F722ZE-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F746G-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32F746ZG-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F756ZG-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F767ZI-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32F769I-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32G071RB-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32G431RB-NUCLEO64/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../RT-STM32G474RE-NUCLEO64/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../RT-STM32H750XB-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32H755ZI-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32L031K6-NUCLEO32/cfg/chconf.h | 20 + .../STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32L053R8-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32L073RZ-NUCLEO64/cfg/chconf.h | 20 + .../STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32L152RE-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32L432KC-NUCLEO32/cfg/chconf.h | 20 + .../RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h | 20 + .../RT-STM32L476RG-NUCLEO64/cfg/chconf.h | 20 + .../RT-STM32L496ZG-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h | 20 + .../STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../cfg/chconf.h | 20 + .../RT-STM32L552ZE-NUCLEO144/cfg/chconf.h | 20 + .../RT-STM32WB55CG-NUCLEO48_USB/cfg/chconf.h | 20 + .../RT-STM32WB55RG-NUCLEO68/cfg/chconf.h | 20 + demos/various/RT-ARM7-GENERIC/chconf.h | 20 + demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h | 20 + demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h | 20 + demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h | 20 + demos/various/RT-Posix-Simulator/cfg/chconf.h | 20 + .../cfg/stm32g474re_nucleo64/chconf.h | 20 + .../cfg/stm32l552ze_nucleo144/chconf.h | 20 + .../cfg/stm32l552ze_nucleo144_alt/chconf.h | 20 + demos/various/RT-Win32-Simulator/cfg/chconf.h | 20 + test/rt/testbuild/chconf.h | 20 + testex/ADUCM/SPI-ADXL355/cfg/chconf.h | 20 + .../STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h | 20 + .../STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h | 20 + .../STM32F4xx/I2C-LSM303AGR/cfg/chconf.h | 20 + .../STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h | 20 + .../STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h | 20 + .../STM32/STM32F4xx/SPI-ADXL355/cfg/chconf.h | 20 + .../STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h | 20 + .../STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h | 20 + .../STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h | 20 + .../STM32/STM32F7xx/SPI-ADXL355/cfg/chconf.h | 20 + .../STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h | 20 + testhal/ADUCM/ADUCM36x/SPI/cfg/chconf.h | 20 + testhal/AVR/MEGA/ADC/chconf.h | 20 + testhal/AVR/MEGA/EXT/chconf.h | 20 + testhal/AVR/MEGA/GPT/chconf.h | 20 + testhal/AVR/MEGA/I2C/chconf.h | 20 + testhal/AVR/MEGA/ICU/chconf.h | 20 + testhal/AVR/MEGA/PWM/chconf.h | 20 + testhal/AVR/MEGA/SPI/chconf.h | 20 + testhal/AVR/XMEGA/AES/chconf.h | 20 + testhal/AVR/XMEGA/SERIAL/chconf.h | 20 + testhal/AVR/XMEGA/SPI/chconf.h | 20 + testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h | 20 + testhal/AVR/XMEGA/USART/chconf.h | 20 + testhal/AVR/XMEGA/WDT/chconf.h | 20 + .../AVR/multi/PAL/cfg/arduino_mega/chconf.h | 20 + .../AVR/multi/PAL/cfg/arduino_mini/chconf.h | 20 + .../AVR/multi/PAL/cfg/arduino_nano/chconf.h | 20 + .../AVR/multi/PAL/cfg/arduino_uno/chconf.h | 20 + testhal/STM32/STM32F0xx/ADC/chconf.h | 20 + testhal/STM32/STM32F0xx/CAN/chconf.h | 20 + testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h | 20 + testhal/STM32/STM32F0xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F0xx/USB_CDC/chconf.h | 20 + testhal/STM32/STM32F0xx/WDG/chconf.h | 20 + testhal/STM32/STM32F1xx/ADC/chconf.h | 20 + testhal/STM32/STM32F1xx/CAN/chconf.h | 20 + testhal/STM32/STM32F1xx/I2C/chconf.h | 20 + testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h | 20 + testhal/STM32/STM32F1xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F1xx/RTC/chconf.h | 20 + testhal/STM32/STM32F1xx/SPI/chconf.h | 20 + testhal/STM32/STM32F1xx/UART/chconf.h | 20 + testhal/STM32/STM32F1xx/USB_CDC/chconf.h | 20 + testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h | 20 + testhal/STM32/STM32F2xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F2xx/USB_CDC/chconf.h | 20 + testhal/STM32/STM32F37x/ADC/chconf.h | 20 + testhal/STM32/STM32F37x/CAN/chconf.h | 20 + testhal/STM32/STM32F37x/I2C/chconf.h | 20 + testhal/STM32/STM32F37x/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F37x/SDADC/chconf.h | 20 + testhal/STM32/STM32F37x/SPI/chconf.h | 20 + testhal/STM32/STM32F37x/UART/chconf.h | 20 + testhal/STM32/STM32F37x/USB_CDC/chconf.h | 20 + testhal/STM32/STM32F3xx/ADC/chconf.h | 20 + testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h | 20 + testhal/STM32/STM32F3xx/CAN/chconf.h | 20 + testhal/STM32/STM32F3xx/DAC/chconf.h | 20 + testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h | 20 + testhal/STM32/STM32F3xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h | 20 + testhal/STM32/STM32F3xx/WDG/chconf.h | 20 + testhal/STM32/STM32F4xx/ADC/chconf.h | 20 + testhal/STM32/STM32F4xx/CAN/chconf.h | 20 + testhal/STM32/STM32F4xx/DAC/chconf.h | 20 + testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h | 20 + testhal/STM32/STM32F4xx/DMA_STORM/chconf.h | 20 + testhal/STM32/STM32F4xx/I2S/chconf.h | 20 + testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h | 20 + .../STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h | 20 + testhal/STM32/STM32F4xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F4xx/RTC/chconf.h | 20 + testhal/STM32/STM32F4xx/SDC/chconf.h | 20 + testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h | 20 + testhal/STM32/STM32F4xx/WDG/chconf.h | 20 + testhal/STM32/STM32F7xx/GPT-ADC/chconf.h | 20 + testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h | 20 + testhal/STM32/STM32F7xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32F7xx/SPI/chconf.h | 20 + testhal/STM32/STM32F7xx/USB_RAW/chconf.h | 20 + testhal/STM32/STM32L0xx/SPI/chconf.h | 20 + testhal/STM32/STM32L0xx/USB_CDC/chconf.h | 20 + testhal/STM32/STM32L1xx/ADC/chconf.h | 20 + testhal/STM32/STM32L1xx/DAC/chconf.h | 20 + testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h | 20 + testhal/STM32/STM32L1xx/PWM-ICU/chconf.h | 20 + testhal/STM32/STM32L1xx/SPI/chconf.h | 20 + testhal/STM32/STM32L1xx/UART/chconf.h | 20 + testhal/STM32/STM32L4xx/CAN/chconf.h | 20 + testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h | 20 + .../ADC/cfg/stm32g071rb_nucleo64/chconf.h | 20 + .../ADC/cfg/stm32g474re_nucleo64/chconf.h | 20 + .../ADC/cfg/stm32h743zi_nucleo144/chconf.h | 20 + .../ADC/cfg/stm32l053r8_nucleo64/chconf.h | 20 + .../ADC/cfg/stm32l476_discovery/chconf.h | 20 + .../ADC/cfg/stm32l4r5zi_nucleo144/chconf.h | 20 + .../ADC/cfg/stm32wb55rg_nucleo68/chconf.h | 20 + .../CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h | 20 + .../DAC/cfg/stm32g474re_nucleo64/chconf.h | 20 + .../DAC/cfg/stm32h743_nucleo144/chconf.h | 20 + .../DAC/cfg/stm32l476_discovery/chconf.h | 20 + .../DAC/cfg/stm32l4r5zi_nucleo144/chconf.h | 20 + .../EFL-MFS/cfg/stm32l476_discovery/chconf.h | 20 + .../PAL/cfg/stm32f051_discovery/chconf.h | 20 + .../multi/PAL/cfg/stm32f103_olimex/chconf.h | 20 + .../PAL/cfg/stm32f303_discovery/chconf.h | 20 + .../multi/PAL/cfg/stm32f373_eval/chconf.h | 20 + .../PAL/cfg/stm32f407_discovery/chconf.h | 20 + .../PAL/cfg/stm32f429_discovery/chconf.h | 20 + .../PAL/cfg/stm32f746_discovery/chconf.h | 20 + .../PAL/cfg/stm32l053_discovery/chconf.h | 20 + .../PAL/cfg/stm32l151_discovery/chconf.h | 20 + .../PAL/cfg/stm32l476_discovery/chconf.h | 20 + .../RTC/cfg/stm32f051_discovery/chconf.h | 20 + .../RTC/cfg/stm32f303_discovery/chconf.h | 20 + .../RTC/cfg/stm32f407_discovery/chconf.h | 20 + .../RTC/cfg/stm32f746_discovery/chconf.h | 20 + .../multi/RTC/cfg/stm32g071_nucleo64/chconf.h | 20 + .../RTC/cfg/stm32l053_discovery/chconf.h | 20 + .../RTC/cfg/stm32l476_discovery/chconf.h | 20 + .../RTC/cfg/stm32l4r5_nucleo144/chconf.h | 20 + .../RTC/cfg/stm32wb55rg_nucleo68/chconf.h | 20 + .../cfg/stm32l4r9ai_discovery/chconf.h | 20 + .../SDMMC/cfg/stm32l4r9ai_discovery/chconf.h | 20 + .../multi/SPI/cfg/stm32f091_nucleo64/chconf.h | 20 + .../SPI/cfg/stm32f303_discovery/chconf.h | 20 + .../SPI/cfg/stm32f407_discovery/chconf.h | 20 + .../SPI/cfg/stm32h743_nucleo144/chconf.h | 20 + .../SPI/cfg/stm32h755_nucleo144/chconf.h | 20 + .../SPI/cfg/stm32l476_discovery/chconf.h | 20 + .../SPI/cfg/stm32l4r5_nucleo144/chconf.h | 20 + .../SPI/cfg/stm32l4r9_discovery/chconf.h | 20 + .../TRNG/cfg/stm32l476_discovery/chconf.h | 20 + .../TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h | 20 + .../TRNG/cfg/stm32wb55rg_nucleo68/chconf.h | 20 + .../UART/cfg/stm32f091_nucleo64/chconf.h | 20 + .../UART/cfg/stm32f303_discovery/chconf.h | 20 + .../UART/cfg/stm32f407_discovery/chconf.h | 20 + .../UART/cfg/stm32f746_discovery/chconf.h | 20 + .../UART/cfg/stm32wb55rg_nucleo68/chconf.h | 20 + .../USB_CDC/cfg/stm32f303_discovery/chconf.h | 20 + .../USB_CDC/cfg/stm32f407_discovery/chconf.h | 20 + .../USB_CDC/cfg/stm32f746_discovery/chconf.h | 20 + .../USB_CDC/cfg/stm32h743_nucleo144/chconf.h | 20 + .../USB_CDC/cfg/stm32l476_discovery/chconf.h | 20 + .../USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h | 20 + .../USB_CDC/cfg/stm32wb55cg_nucleo48/chconf.h | 1572 +++++++++-------- .../USB_CDC/cfg/stm32wb55rg_nucleo68/chconf.h | 20 + .../WSPI-MFS/cfg/stm32l476_discovery/chconf.h | 20 + .../WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h | 20 + .../cfg/stm32g474re_nucleo64/chconf.h | 20 + .../cfg/stm32l476_discovery/chconf.h | 20 + .../cfg/stm32g474re_nucleo64/chconf.h | 20 + .../processors/conf/chconf_rt/chconf.h.ftl | 20 + 272 files changed, 6219 insertions(+), 781 deletions(-) diff --git a/demos/ADUCM/RT-ADUCM360-ADICUP360/cfg/chconf.h b/demos/ADUCM/RT-ADUCM360-ADICUP360/cfg/chconf.h index fcb092b99..4a9f84ea7 100644 --- a/demos/ADUCM/RT-ADUCM360-ADICUP360/cfg/chconf.h +++ b/demos/ADUCM/RT-ADUCM360-ADICUP360/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/cfg/chconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-ARDUINO-LEONARDO/cfg/chconf.h +++ b/demos/AVR/RT-ARDUINO-LEONARDO/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-ARDUINO-MEGA/cfg/chconf.h b/demos/AVR/RT-ARDUINO-MEGA/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-ARDUINO-MEGA/cfg/chconf.h +++ b/demos/AVR/RT-ARDUINO-MEGA/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-ARDUINO-MINI/cfg/chconf.h b/demos/AVR/RT-ARDUINO-MINI/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-ARDUINO-MINI/cfg/chconf.h +++ b/demos/AVR/RT-ARDUINO-MINI/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-ARDUINO-NANO/cfg/chconf.h b/demos/AVR/RT-ARDUINO-NANO/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-ARDUINO-NANO/cfg/chconf.h +++ b/demos/AVR/RT-ARDUINO-NANO/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-ARDUINO-UNO/cfg/chconf.h b/demos/AVR/RT-ARDUINO-UNO/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-ARDUINO-UNO/cfg/chconf.h +++ b/demos/AVR/RT-ARDUINO-UNO/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/cfg/chconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/cfg/chconf.h index 87e0af364..0a2a1ea78 100644 --- a/demos/AVR/RT-DIGISPARK-ATTINY-167/cfg/chconf.h +++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-MT-DB-X4/cfg/chconf.h b/demos/AVR/RT-MT-DB-X4/cfg/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/demos/AVR/RT-MT-DB-X4/cfg/chconf.h +++ b/demos/AVR/RT-MT-DB-X4/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-PRO-MICRO/cfg/chconf.h b/demos/AVR/RT-PRO-MICRO/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/RT-PRO-MICRO/cfg/chconf.h +++ b/demos/AVR/RT-PRO-MICRO/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/RT-TEENSY2-USB/cfg/chconf.h b/demos/AVR/RT-TEENSY2-USB/cfg/chconf.h index 40f7328ef..12cba8611 100644 --- a/demos/AVR/RT-TEENSY2-USB/cfg/chconf.h +++ b/demos/AVR/RT-TEENSY2-USB/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/TEST-SUITE-OSLIB/cfg/chconf.h b/demos/AVR/TEST-SUITE-OSLIB/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/TEST-SUITE-OSLIB/cfg/chconf.h +++ b/demos/AVR/TEST-SUITE-OSLIB/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/AVR/TEST-SUITE-RT/cfg/chconf.h b/demos/AVR/TEST-SUITE-RT/cfg/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/demos/AVR/TEST-SUITE-RT/cfg/chconf.h +++ b/demos/AVR/TEST-SUITE-RT/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h index 7b8d03a06..bac05aa11 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/RP/RT-RP2040-PICO/cfg/chconf.h b/demos/RP/RT-RP2040-PICO/cfg/chconf.h index 083585bde..c58850adc 100644 --- a/demos/RP/RT-RP2040-PICO/cfg/chconf.h +++ b/demos/RP/RT-RP2040-PICO/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC560B-EVB/chconf.h b/demos/SPC5/RT-SPC560B-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC560B-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560B-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC560D-EVB/chconf.h b/demos/SPC5/RT-SPC560D-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC560D-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560D-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC560P-EVB/chconf.h b/demos/SPC5/RT-SPC560P-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC560P-EVB/chconf.h +++ b/demos/SPC5/RT-SPC560P-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC563M-EVB/chconf.h b/demos/SPC5/RT-SPC563M-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC563M-EVB/chconf.h +++ b/demos/SPC5/RT-SPC563M-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC564A-EVB/chconf.h b/demos/SPC5/RT-SPC564A-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC564A-EVB/chconf.h +++ b/demos/SPC5/RT-SPC564A-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC56EC-EVB/chconf.h b/demos/SPC5/RT-SPC56EC-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/chconf.h +++ b/demos/SPC5/RT-SPC56EC-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/SPC5/RT-SPC56EL-EVB/chconf.h b/demos/SPC5/RT-SPC56EL-EVB/chconf.h index 64d6b3751..0f5025533 100644 --- a/demos/SPC5/RT-SPC56EL-EVB/chconf.h +++ b/demos/SPC5/RT-SPC56EL-EVB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h index 07ad26dc8..cbb040edf 100644 --- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h index 67f67be62..e6779dc0a 100644 --- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings @@ -660,8 +680,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 ec5a5a8dc..6b92dcd69 100644 --- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings @@ -642,7 +662,7 @@ * @details User fields added to the end of the @p ch_system_t structure. */ #define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ + /* Add OS instance custom fields here.*/ /** * @brief OS instance initialization hook. @@ -660,8 +680,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/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 6b45ca34f..e303e34ea 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 be93b9479..8907a07ad 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 6b45ca34f..e303e34ea 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 6b45ca34f..e303e34ea 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 6b45ca34f..e303e34ea 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h index 8630a8de8..35be696de 100644 --- a/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h index f4b62fcad..0835b672b 100644 --- a/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F051-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h index b3a7b1c33..af7f5a6ae 100644 --- a/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F072-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h index 0d50c998c..988922d53 100644 --- a/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F100-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h index fdf03bca9..96afe09ca 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 fdf03bca9..96afe09ca 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 fdf03bca9..96afe09ca 100644 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 fdf03bca9..96afe09ca 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 @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h index 2d106d690..1714493e3 100644 --- a/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 c1e840d0d..41207be5d 100644 --- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h +++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F207-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F334-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F401C-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F413ZH-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F429-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h index bcf5c541f..af94d3dff 100644 --- a/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F469I-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F722ZE-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h index bcf5c541f..af94d3dff 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F756ZG-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32F769I-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32G071RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32G431RB-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32G474RE-DISCOVERY-DPOW1/cfg/chconf.h b/demos/STM32/RT-STM32G474RE-DISCOVERY-DPOW1/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32G474RE-DISCOVERY-DPOW1/cfg/chconf.h +++ b/demos/STM32/RT-STM32G474RE-DISCOVERY-DPOW1/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32G474RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32G474RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32G474RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32G474RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32H743ZI_REV_XY-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32H743ZI_REV_XY-NUCLEO144/cfg/chconf.h index bcf5c541f..af94d3dff 100644 --- a/demos/STM32/RT-STM32H743ZI_REV_XY-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32H743ZI_REV_XY-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32H750XB-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32H750XB-DISCOVERY/cfg/chconf.h index bcf5c541f..af94d3dff 100644 --- a/demos/STM32/RT-STM32H750XB-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32H750XB-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32H755ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32H755ZI-NUCLEO144/cfg/chconf.h index bcf5c541f..af94d3dff 100644 --- a/demos/STM32/RT-STM32H755ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32H755ZI-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h index 8630a8de8..35be696de 100644 --- a/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h index 8630a8de8..35be696de 100644 --- a/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L053-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h index 8630a8de8..35be696de 100644 --- a/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h index 8630a8de8..35be696de 100644 --- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h index 0d50c998c..988922d53 100644 --- a/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L152-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h +++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h b/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h +++ b/demos/STM32/RT-STM32L452RE-NUCLEO64-P/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_DYNAMIC/cfg/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_DYNAMIC/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_DYNAMIC/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_DYNAMIC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_STATIC/cfg/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_STATIC/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_STATIC/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476-DISCOVERY-SB_HOST_STATIC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h +++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h b/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/RT-STM32L4R9-DISCOVERY/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_GUEST/cfg/chconf.h b/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_GUEST/cfg/chconf.h index d6213a9f8..7b94b1f82 100644 --- a/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_GUEST/cfg/chconf.h +++ b/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_GUEST/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_HOST/cfg/chconf.h b/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_HOST/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_HOST/cfg/chconf.h +++ b/demos/STM32/RT-STM32L552ZE-NUCLEO144-TZ_HOST/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32L552ZE-NUCLEO144/cfg/chconf.h b/demos/STM32/RT-STM32L552ZE-NUCLEO144/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/STM32/RT-STM32L552ZE-NUCLEO144/cfg/chconf.h +++ b/demos/STM32/RT-STM32L552ZE-NUCLEO144/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32WB55CG-NUCLEO48_USB/cfg/chconf.h b/demos/STM32/RT-STM32WB55CG-NUCLEO48_USB/cfg/chconf.h index 7a144ce68..ad3d7955e 100644 --- a/demos/STM32/RT-STM32WB55CG-NUCLEO48_USB/cfg/chconf.h +++ b/demos/STM32/RT-STM32WB55CG-NUCLEO48_USB/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/STM32/RT-STM32WB55RG-NUCLEO68/cfg/chconf.h b/demos/STM32/RT-STM32WB55RG-NUCLEO68/cfg/chconf.h index 7a144ce68..ad3d7955e 100644 --- a/demos/STM32/RT-STM32WB55RG-NUCLEO68/cfg/chconf.h +++ b/demos/STM32/RT-STM32WB55RG-NUCLEO68/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-ARM7-GENERIC/chconf.h b/demos/various/RT-ARM7-GENERIC/chconf.h index 7b8d03a06..bac05aa11 100644 --- a/demos/various/RT-ARM7-GENERIC/chconf.h +++ b/demos/various/RT-ARM7-GENERIC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h index 7b8d03a06..bac05aa11 100644 --- a/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h +++ b/demos/various/RT-ARMCM0-GENERIC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h index c1e840d0d..41207be5d 100644 --- a/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h +++ b/demos/various/RT-ARMCM4-GENERIC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h b/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h index c1e840d0d..41207be5d 100644 --- a/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h +++ b/demos/various/RT-ARMCM4-MAKELIB/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-Posix-Simulator/cfg/chconf.h b/demos/various/RT-Posix-Simulator/cfg/chconf.h index efc546130..bbb4941b7 100755 --- a/demos/various/RT-Posix-Simulator/cfg/chconf.h +++ b/demos/various/RT-Posix-Simulator/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-TEST-Latency/cfg/stm32g474re_nucleo64/chconf.h b/demos/various/RT-TEST-Latency/cfg/stm32g474re_nucleo64/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/various/RT-TEST-Latency/cfg/stm32g474re_nucleo64/chconf.h +++ b/demos/various/RT-TEST-Latency/cfg/stm32g474re_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144/chconf.h b/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144/chconf.h +++ b/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144_alt/chconf.h b/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144_alt/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144_alt/chconf.h +++ b/demos/various/RT-TEST-Latency/cfg/stm32l552ze_nucleo144_alt/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/demos/various/RT-Win32-Simulator/cfg/chconf.h b/demos/various/RT-Win32-Simulator/cfg/chconf.h index 30989493f..70fbec1a9 100644 --- a/demos/various/RT-Win32-Simulator/cfg/chconf.h +++ b/demos/various/RT-Win32-Simulator/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/test/rt/testbuild/chconf.h b/test/rt/testbuild/chconf.h index a573edfdd..a0cd5882d 100644 --- a/test/rt/testbuild/chconf.h +++ b/test/rt/testbuild/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/ADUCM/SPI-ADXL355/cfg/chconf.h b/testex/ADUCM/SPI-ADXL355/cfg/chconf.h index fcb092b99..4a9f84ea7 100644 --- a/testex/ADUCM/SPI-ADXL355/cfg/chconf.h +++ b/testex/ADUCM/SPI-ADXL355/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h +++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32F3xx/SPI-L3GD20/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-HTS221/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-IKS01A2/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LIS3MDL/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LPS22HB/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LPS25H/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM303AGR/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/SPI-ADXL355/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-ADXL355/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/SPI-ADXL355/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-ADXL355/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-L3GD20/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h +++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32F7xx/SPI-ADXL355/cfg/chconf.h b/testex/STM32/STM32F7xx/SPI-ADXL355/cfg/chconf.h index 2056edd7b..225a4c88c 100644 --- a/testex/STM32/STM32F7xx/SPI-ADXL355/cfg/chconf.h +++ b/testex/STM32/STM32F7xx/SPI-ADXL355/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/ADUCM/ADUCM36x/SPI/cfg/chconf.h b/testhal/ADUCM/ADUCM36x/SPI/cfg/chconf.h index d3c07f35a..e53e925cb 100644 --- a/testhal/ADUCM/ADUCM36x/SPI/cfg/chconf.h +++ b/testhal/ADUCM/ADUCM36x/SPI/cfg/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/ADC/chconf.h b/testhal/AVR/MEGA/ADC/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/ADC/chconf.h +++ b/testhal/AVR/MEGA/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/EXT/chconf.h b/testhal/AVR/MEGA/EXT/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/EXT/chconf.h +++ b/testhal/AVR/MEGA/EXT/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/GPT/chconf.h b/testhal/AVR/MEGA/GPT/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/GPT/chconf.h +++ b/testhal/AVR/MEGA/GPT/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/I2C/chconf.h b/testhal/AVR/MEGA/I2C/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/I2C/chconf.h +++ b/testhal/AVR/MEGA/I2C/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/ICU/chconf.h b/testhal/AVR/MEGA/ICU/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/ICU/chconf.h +++ b/testhal/AVR/MEGA/ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/PWM/chconf.h b/testhal/AVR/MEGA/PWM/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/PWM/chconf.h +++ b/testhal/AVR/MEGA/PWM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/MEGA/SPI/chconf.h b/testhal/AVR/MEGA/SPI/chconf.h index 237413aaa..a5d36a1e6 100644 --- a/testhal/AVR/MEGA/SPI/chconf.h +++ b/testhal/AVR/MEGA/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/AES/chconf.h b/testhal/AVR/XMEGA/AES/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/AES/chconf.h +++ b/testhal/AVR/XMEGA/AES/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/SERIAL/chconf.h b/testhal/AVR/XMEGA/SERIAL/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/SERIAL/chconf.h +++ b/testhal/AVR/XMEGA/SERIAL/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/SPI/chconf.h b/testhal/AVR/XMEGA/SPI/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/SPI/chconf.h +++ b/testhal/AVR/XMEGA/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h +++ b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/USART/chconf.h b/testhal/AVR/XMEGA/USART/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/USART/chconf.h +++ b/testhal/AVR/XMEGA/USART/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/XMEGA/WDT/chconf.h b/testhal/AVR/XMEGA/WDT/chconf.h index 8a1cc8ffc..3d97d76dc 100644 --- a/testhal/AVR/XMEGA/WDT/chconf.h +++ b/testhal/AVR/XMEGA/WDT/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mega/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mini/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_nano/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h index 0d3a192e5..ffd1ddb80 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_uno/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/ADC/chconf.h b/testhal/STM32/STM32F0xx/ADC/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/ADC/chconf.h +++ b/testhal/STM32/STM32F0xx/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/CAN/chconf.h b/testhal/STM32/STM32F0xx/CAN/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/CAN/chconf.h +++ b/testhal/STM32/STM32F0xx/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F0xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F0xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F0xx/WDG/chconf.h b/testhal/STM32/STM32F0xx/WDG/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/STM32F0xx/WDG/chconf.h +++ b/testhal/STM32/STM32F0xx/WDG/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/ADC/chconf.h b/testhal/STM32/STM32F1xx/ADC/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/ADC/chconf.h +++ b/testhal/STM32/STM32F1xx/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/CAN/chconf.h b/testhal/STM32/STM32F1xx/CAN/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/CAN/chconf.h +++ b/testhal/STM32/STM32F1xx/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/I2C/chconf.h b/testhal/STM32/STM32F1xx/I2C/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/I2C/chconf.h +++ b/testhal/STM32/STM32F1xx/I2C/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F1xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F1xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/RTC/chconf.h b/testhal/STM32/STM32F1xx/RTC/chconf.h index 6ed9099cc..0c69057db 100644 --- a/testhal/STM32/STM32F1xx/RTC/chconf.h +++ b/testhal/STM32/STM32F1xx/RTC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/SPI/chconf.h b/testhal/STM32/STM32F1xx/SPI/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/SPI/chconf.h +++ b/testhal/STM32/STM32F1xx/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/UART/chconf.h b/testhal/STM32/STM32F1xx/UART/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/UART/chconf.h +++ b/testhal/STM32/STM32F1xx/UART/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h index f933ce6c1..1a2e5db6a 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h index 2e989d26f..93ecada43 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F2xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/STM32F2xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F2xx/USB_CDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/ADC/chconf.h b/testhal/STM32/STM32F37x/ADC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/ADC/chconf.h +++ b/testhal/STM32/STM32F37x/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/CAN/chconf.h b/testhal/STM32/STM32F37x/CAN/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/CAN/chconf.h +++ b/testhal/STM32/STM32F37x/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/I2C/chconf.h b/testhal/STM32/STM32F37x/I2C/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/I2C/chconf.h +++ b/testhal/STM32/STM32F37x/I2C/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/SDADC/chconf.h b/testhal/STM32/STM32F37x/SDADC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/SDADC/chconf.h +++ b/testhal/STM32/STM32F37x/SDADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/SPI/chconf.h b/testhal/STM32/STM32F37x/SPI/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/SPI/chconf.h +++ b/testhal/STM32/STM32F37x/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/UART/chconf.h b/testhal/STM32/STM32F37x/UART/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/UART/chconf.h +++ b/testhal/STM32/STM32F37x/UART/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F37x/USB_CDC/chconf.h b/testhal/STM32/STM32F37x/USB_CDC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/chconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/ADC/chconf.h b/testhal/STM32/STM32F3xx/ADC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/ADC/chconf.h +++ b/testhal/STM32/STM32F3xx/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/CAN/chconf.h b/testhal/STM32/STM32F3xx/CAN/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/CAN/chconf.h +++ b/testhal/STM32/STM32F3xx/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/DAC/chconf.h b/testhal/STM32/STM32F3xx/DAC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/DAC/chconf.h +++ b/testhal/STM32/STM32F3xx/DAC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F3xx/WDG/chconf.h b/testhal/STM32/STM32F3xx/WDG/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F3xx/WDG/chconf.h +++ b/testhal/STM32/STM32F3xx/WDG/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/ADC/chconf.h b/testhal/STM32/STM32F4xx/ADC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/ADC/chconf.h +++ b/testhal/STM32/STM32F4xx/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/CAN/chconf.h b/testhal/STM32/STM32F4xx/CAN/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/CAN/chconf.h +++ b/testhal/STM32/STM32F4xx/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/DAC/chconf.h b/testhal/STM32/STM32F4xx/DAC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/DAC/chconf.h +++ b/testhal/STM32/STM32F4xx/DAC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h +++ b/testhal/STM32/STM32F4xx/DAC_DUAL/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h +++ b/testhal/STM32/STM32F4xx/DMA_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/I2S/chconf.h b/testhal/STM32/STM32F4xx/I2S/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/I2S/chconf.h +++ b/testhal/STM32/STM32F4xx/I2S/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F4xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/RTC/chconf.h b/testhal/STM32/STM32F4xx/RTC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/RTC/chconf.h +++ b/testhal/STM32/STM32F4xx/RTC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/SDC/chconf.h b/testhal/STM32/STM32F4xx/SDC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/SDC/chconf.h +++ b/testhal/STM32/STM32F4xx/SDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F4xx/WDG/chconf.h b/testhal/STM32/STM32F4xx/WDG/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F4xx/WDG/chconf.h +++ b/testhal/STM32/STM32F4xx/WDG/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h +++ b/testhal/STM32/STM32F7xx/GPT-ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32F7xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32F7xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F7xx/SPI/chconf.h b/testhal/STM32/STM32F7xx/SPI/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F7xx/SPI/chconf.h +++ b/testhal/STM32/STM32F7xx/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/chconf.h +++ b/testhal/STM32/STM32F7xx/USB_RAW/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L0xx/SPI/chconf.h b/testhal/STM32/STM32L0xx/SPI/chconf.h index d1e3a42c9..a9bea8785 100644 --- a/testhal/STM32/STM32L0xx/SPI/chconf.h +++ b/testhal/STM32/STM32L0xx/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h index 31ce8ba35..94355c0af 100644 --- a/testhal/STM32/STM32L0xx/USB_CDC/chconf.h +++ b/testhal/STM32/STM32L0xx/USB_CDC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/ADC/chconf.h b/testhal/STM32/STM32L1xx/ADC/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/ADC/chconf.h +++ b/testhal/STM32/STM32L1xx/ADC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/DAC/chconf.h b/testhal/STM32/STM32L1xx/DAC/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/DAC/chconf.h +++ b/testhal/STM32/STM32L1xx/DAC/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/SPI/chconf.h b/testhal/STM32/STM32L1xx/SPI/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/SPI/chconf.h +++ b/testhal/STM32/STM32L1xx/SPI/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L1xx/UART/chconf.h b/testhal/STM32/STM32L1xx/UART/chconf.h index b6a6aeb46..2061300ac 100644 --- a/testhal/STM32/STM32L1xx/UART/chconf.h +++ b/testhal/STM32/STM32L1xx/UART/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L4xx/CAN/chconf.h b/testhal/STM32/STM32L4xx/CAN/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/STM32L4xx/CAN/chconf.h +++ b/testhal/STM32/STM32L4xx/CAN/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h +++ b/testhal/STM32/STM32L4xx/IRQ_STORM/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/chconf.h index d1e3a42c9..a9bea8785 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32g071rb_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32g474re_nucleo64/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32g474re_nucleo64/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32g474re_nucleo64/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32g474re_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32h743zi_nucleo144/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32h743zi_nucleo144/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32h743zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32h743zi_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32l053r8_nucleo64/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32l053r8_nucleo64/chconf.h index d1e3a42c9..a9bea8785 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l053r8_nucleo64/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l053r8_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/ADC/cfg/stm32wb55rg_nucleo68/chconf.h b/testhal/STM32/multi/ADC/cfg/stm32wb55rg_nucleo68/chconf.h index 7a144ce68..ad3d7955e 100644 --- a/testhal/STM32/multi/ADC/cfg/stm32wb55rg_nucleo68/chconf.h +++ b/testhal/STM32/multi/ADC/cfg/stm32wb55rg_nucleo68/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h +++ b/testhal/STM32/multi/CRYPTO/cfg/stm32f756zg_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32g474re_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32h743_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/DAC/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/EFL-MFS/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h index b3bd32643..ce4cf8757 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h index d1e3a42c9..a9bea8785 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h index 0d50c998c..988922d53 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f051_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f407_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f746_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h index 80cc5d31c..5fa359c85 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32g071_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h index 8630a8de8..35be696de 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l053_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32l4r5_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/RTC/cfg/stm32wb55rg_nucleo68/chconf.h b/testhal/STM32/multi/RTC/cfg/stm32wb55rg_nucleo68/chconf.h index 7a144ce68..ad3d7955e 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32wb55rg_nucleo68/chconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32wb55rg_nucleo68/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SDMMC-FATFS/cfg/stm32l4r9ai_discovery/chconf.h b/testhal/STM32/multi/SDMMC-FATFS/cfg/stm32l4r9ai_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/SDMMC-FATFS/cfg/stm32l4r9ai_discovery/chconf.h +++ b/testhal/STM32/multi/SDMMC-FATFS/cfg/stm32l4r9ai_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SDMMC/cfg/stm32l4r9ai_discovery/chconf.h b/testhal/STM32/multi/SDMMC/cfg/stm32l4r9ai_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/SDMMC/cfg/stm32l4r9ai_discovery/chconf.h +++ b/testhal/STM32/multi/SDMMC/cfg/stm32l4r9ai_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32h755_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32h755_nucleo144/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32h755_nucleo144/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32h755_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h index 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l4r5zi_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/TRNG/cfg/stm32wb55rg_nucleo68/chconf.h b/testhal/STM32/multi/TRNG/cfg/stm32wb55rg_nucleo68/chconf.h index 7a144ce68..ad3d7955e 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32wb55rg_nucleo68/chconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32wb55rg_nucleo68/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h index c61ec1cbe..6258b83aa 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h index 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/UART/cfg/stm32wb55rg_nucleo68/chconf.h b/testhal/STM32/multi/UART/cfg/stm32wb55rg_nucleo68/chconf.h index 2f13c9386..98dd0c3ba 100644 --- a/testhal/STM32/multi/UART/cfg/stm32wb55rg_nucleo68/chconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32wb55rg_nucleo68/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 93487c245..0feb303cf 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l4r5_nucleo144/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32wb55cg_nucleo48/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32wb55cg_nucleo48/chconf.h index ba12290b3..d59a01105 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32wb55cg_nucleo48/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32wb55cg_nucleo48/chconf.h @@ -1,776 +1,796 @@ -/* - ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/** - * @file rt/templates/chconf.h - * @brief Configuration file template. - * @details A copy of this file must be placed in each project directory, it - * contains the application specific kernel settings. - * - * @addtogroup config - * @details Kernel related settings and hooks. - * @{ - */ - -#ifndef CHCONF_H -#define CHCONF_H - -#define _CHIBIOS_RT_CONF_ -#define _CHIBIOS_RT_CONF_VER_7_0_ - -/*===========================================================================*/ -/** - * @name System timers settings - * @{ - */ -/*===========================================================================*/ - -/** - * @brief System time counter resolution. - * @note Allowed values are 16, 32 or 64 bits. - */ -#if !defined(CH_CFG_ST_RESOLUTION) -#define CH_CFG_ST_RESOLUTION 32 -#endif - -/** - * @brief System tick frequency. - * @details Frequency of the system timer that drives the system ticks. This - * setting also defines the system tick time unit. - */ -#if !defined(CH_CFG_ST_FREQUENCY) -#define CH_CFG_ST_FREQUENCY 10000 -#endif - -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#if !defined(CH_CFG_INTERVALS_SIZE) -#define CH_CFG_INTERVALS_SIZE 32 -#endif - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#if !defined(CH_CFG_TIME_TYPES_SIZE) -#define CH_CFG_TIME_TYPES_SIZE 32 -#endif - -/** - * @brief Time delta constant for the tick-less mode. - * @note If this value is zero then the system uses the classic - * periodic tick. This value represents the minimum number - * of ticks that is safe to specify in a timeout directive. - * The value one is not valid, timeouts are rounded up to - * this value. - */ -#if !defined(CH_CFG_ST_TIMEDELTA) -#define CH_CFG_ST_TIMEDELTA 2 -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Kernel parameters and options - * @{ - */ -/*===========================================================================*/ - -/** - * @brief Round robin interval. - * @details This constant is the number of system ticks allowed for the - * threads before preemption occurs. Setting this value to zero - * disables the preemption for threads with equal priority and the - * round robin becomes cooperative. Note that higher priority - * threads can still preempt, the kernel is always preemptive. - * @note Disabling the round robin preemption makes the kernel more compact - * and generally faster. - * @note The round robin preemption is not supported in tickless mode and - * must be set to zero in that case. - */ -#if !defined(CH_CFG_TIME_QUANTUM) -#define CH_CFG_TIME_QUANTUM 0 -#endif - -/** - * @brief Idle thread automatic spawn suppression. - * @details When this option is activated the function @p chSysInit() - * does not spawn the idle thread. The application @p main() - * function becomes the idle thread and must implement an - * infinite loop. - */ -#if !defined(CH_CFG_NO_IDLE_THREAD) -#define CH_CFG_NO_IDLE_THREAD FALSE -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Performance options - * @{ - */ -/*===========================================================================*/ - -/** - * @brief OS optimization. - * @details If enabled then time efficient rather than space efficient code - * is used when two possible implementations exist. - * - * @note This is not related to the compiler optimization options. - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_OPTIMIZE_SPEED) -#define CH_CFG_OPTIMIZE_SPEED FALSE -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Subsystem options - * @{ - */ -/*===========================================================================*/ - -/** - * @brief Time Measurement APIs. - * @details If enabled then the time measurement APIs are included in - * the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_TM) -#define CH_CFG_USE_TM TRUE -#endif - -/** - * @brief Time Stamps APIs. - * @details If enabled then the time time stamps APIs are included in - * the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_TIMESTAMP) -#define CH_CFG_USE_TIMESTAMP TRUE -#endif - -/** - * @brief Threads registry APIs. - * @details If enabled then the registry APIs are included in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_REGISTRY) -#define CH_CFG_USE_REGISTRY TRUE -#endif - -/** - * @brief Threads synchronization APIs. - * @details If enabled then the @p chThdWait() function is included in - * the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_WAITEXIT) -#define CH_CFG_USE_WAITEXIT TRUE -#endif - -/** - * @brief Semaphores APIs. - * @details If enabled then the Semaphores APIs are included in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_SEMAPHORES) -#define CH_CFG_USE_SEMAPHORES TRUE -#endif - -/** - * @brief Semaphores queuing mode. - * @details If enabled then the threads are enqueued on semaphores by - * priority rather than in FIFO order. - * - * @note The default is @p FALSE. Enable this if you have special - * requirements. - * @note Requires @p CH_CFG_USE_SEMAPHORES. - */ -#if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY) -#define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE -#endif - -/** - * @brief Mutexes APIs. - * @details If enabled then the mutexes APIs are included in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_MUTEXES) -#define CH_CFG_USE_MUTEXES TRUE -#endif - -/** - * @brief Enables recursive behavior on mutexes. - * @note Recursive mutexes are heavier and have an increased - * memory footprint. - * - * @note The default is @p FALSE. - * @note Requires @p CH_CFG_USE_MUTEXES. - */ -#if !defined(CH_CFG_USE_MUTEXES_RECURSIVE) -#define CH_CFG_USE_MUTEXES_RECURSIVE FALSE -#endif - -/** - * @brief Conditional Variables APIs. - * @details If enabled then the conditional variables APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_MUTEXES. - */ -#if !defined(CH_CFG_USE_CONDVARS) -#define CH_CFG_USE_CONDVARS TRUE -#endif - -/** - * @brief Conditional Variables APIs with timeout. - * @details If enabled then the conditional variables APIs with timeout - * specification are included in the kernel. - * - * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_CONDVARS. - */ -#if !defined(CH_CFG_USE_CONDVARS_TIMEOUT) -#define CH_CFG_USE_CONDVARS_TIMEOUT TRUE -#endif - -/** - * @brief Events Flags APIs. - * @details If enabled then the event flags APIs are included in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_EVENTS) -#define CH_CFG_USE_EVENTS TRUE -#endif - -/** - * @brief Events Flags APIs with timeout. - * @details If enabled then the events APIs with timeout specification - * are included in the kernel. - * - * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_EVENTS. - */ -#if !defined(CH_CFG_USE_EVENTS_TIMEOUT) -#define CH_CFG_USE_EVENTS_TIMEOUT TRUE -#endif - -/** - * @brief Synchronous Messages APIs. - * @details If enabled then the synchronous messages APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_MESSAGES) -#define CH_CFG_USE_MESSAGES TRUE -#endif - -/** - * @brief Synchronous Messages queuing mode. - * @details If enabled then messages are served by priority rather than in - * FIFO order. - * - * @note The default is @p FALSE. Enable this if you have special - * requirements. - * @note Requires @p CH_CFG_USE_MESSAGES. - */ -#if !defined(CH_CFG_USE_MESSAGES_PRIORITY) -#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 - * included in the kernel. - * - * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_SEMAPHORES. - */ -#if !defined(CH_CFG_USE_MAILBOXES) -#define CH_CFG_USE_MAILBOXES TRUE -#endif - -/** - * @brief Core Memory Manager APIs. - * @details If enabled then the core memory manager APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_MEMCORE) -#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 - * in the kernel. - * - * @note The default is @p TRUE. - * @note Requires @p CH_CFG_USE_MEMCORE and either @p CH_CFG_USE_MUTEXES or - * @p CH_CFG_USE_SEMAPHORES. - * @note Mutexes are recommended. - */ -#if !defined(CH_CFG_USE_HEAP) -#define CH_CFG_USE_HEAP TRUE -#endif - -/** - * @brief Memory Pools Allocator APIs. - * @details If enabled then the memory pools allocator APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_MEMPOOLS) -#define CH_CFG_USE_MEMPOOLS TRUE -#endif - -/** - * @brief Objects FIFOs APIs. - * @details If enabled then the objects FIFOs APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_OBJ_FIFOS) -#define CH_CFG_USE_OBJ_FIFOS TRUE -#endif - -/** - * @brief Pipes APIs. - * @details If enabled then the pipes APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_PIPES) -#define CH_CFG_USE_PIPES TRUE -#endif - -/** - * @brief Objects Caches APIs. - * @details If enabled then the objects caches APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_OBJ_CACHES) -#define CH_CFG_USE_OBJ_CACHES TRUE -#endif - -/** - * @brief Delegate threads APIs. - * @details If enabled then the delegate threads APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_DELEGATES) -#define CH_CFG_USE_DELEGATES TRUE -#endif - -/** - * @brief Jobs Queues APIs. - * @details If enabled then the jobs queues APIs are included - * in the kernel. - * - * @note The default is @p TRUE. - */ -#if !defined(CH_CFG_USE_JOBS) -#define CH_CFG_USE_JOBS TRUE -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Objects factory options - * @{ - */ -/*===========================================================================*/ - -/** - * @brief Objects Factory APIs. - * @details If enabled then the objects factory APIs are included in the - * kernel. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_CFG_USE_FACTORY) -#define CH_CFG_USE_FACTORY TRUE -#endif - -/** - * @brief Maximum length for object names. - * @details If the specified length is zero then the name is stored by - * pointer but this could have unintended side effects. - */ -#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) -#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8 -#endif - -/** - * @brief Enables the registry of generic objects. - */ -#if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) -#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE -#endif - -/** - * @brief Enables factory for generic buffers. - */ -#if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) -#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE -#endif - -/** - * @brief Enables factory for semaphores. - */ -#if !defined(CH_CFG_FACTORY_SEMAPHORES) -#define CH_CFG_FACTORY_SEMAPHORES TRUE -#endif - -/** - * @brief Enables factory for mailboxes. - */ -#if !defined(CH_CFG_FACTORY_MAILBOXES) -#define CH_CFG_FACTORY_MAILBOXES TRUE -#endif - -/** - * @brief Enables factory for objects FIFOs. - */ -#if !defined(CH_CFG_FACTORY_OBJ_FIFOS) -#define CH_CFG_FACTORY_OBJ_FIFOS TRUE -#endif - -/** - * @brief Enables factory for Pipes. - */ -#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__) -#define CH_CFG_FACTORY_PIPES TRUE -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Debug options - * @{ - */ -/*===========================================================================*/ - -/** - * @brief Debug option, kernel statistics. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_DBG_STATISTICS) -#define CH_DBG_STATISTICS FALSE -#endif - -/** - * @brief Debug option, system state check. - * @details If enabled the correct call protocol for system APIs is checked - * at runtime. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_DBG_SYSTEM_STATE_CHECK) -#define CH_DBG_SYSTEM_STATE_CHECK TRUE -#endif - -/** - * @brief Debug option, parameters checks. - * @details If enabled then the checks on the API functions input - * parameters are activated. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_DBG_ENABLE_CHECKS) -#define CH_DBG_ENABLE_CHECKS TRUE -#endif - -/** - * @brief Debug option, consistency checks. - * @details If enabled then all the assertions in the kernel code are - * activated. This includes consistency checks inside the kernel, - * runtime anomalies and port-defined checks. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_DBG_ENABLE_ASSERTS) -#define CH_DBG_ENABLE_ASSERTS TRUE -#endif - -/** - * @brief Debug option, trace buffer. - * @details If enabled then the trace buffer is activated. - * - * @note The default is @p CH_DBG_TRACE_MASK_DISABLED. - */ -#if !defined(CH_DBG_TRACE_MASK) -#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED -#endif - -/** - * @brief Trace buffer entries. - * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is - * different from @p CH_DBG_TRACE_MASK_DISABLED. - */ -#if !defined(CH_DBG_TRACE_BUFFER_SIZE) -#define CH_DBG_TRACE_BUFFER_SIZE 128 -#endif - -/** - * @brief Debug option, stack checks. - * @details If enabled then a runtime stack check is performed. - * - * @note The default is @p FALSE. - * @note The stack check is performed in a architecture/port dependent way. - * It may not be implemented or some ports. - * @note The default failure mode is to halt the system with the global - * @p panic_msg variable set to @p NULL. - */ -#if !defined(CH_DBG_ENABLE_STACK_CHECK) -#define CH_DBG_ENABLE_STACK_CHECK FALSE -#endif - -/** - * @brief Debug option, stacks initialization. - * @details If enabled then the threads working area is filled with a byte - * value when a thread is created. This can be useful for the - * runtime measurement of the used stack. - * - * @note The default is @p FALSE. - */ -#if !defined(CH_DBG_FILL_THREADS) -#define CH_DBG_FILL_THREADS FALSE -#endif - -/** - * @brief Debug option, threads profiling. - * @details If enabled then a field is added to the @p thread_t structure that - * counts the system ticks occurred while executing the thread. - * - * @note The default is @p FALSE. - * @note This debug option is not currently compatible with the - * tickless mode. - */ -#if !defined(CH_DBG_THREADS_PROFILING) -#define CH_DBG_THREADS_PROFILING FALSE -#endif - -/** @} */ - -/*===========================================================================*/ -/** - * @name Kernel hooks - * @{ - */ -/*===========================================================================*/ - -/** - * @brief OS instance structure extension. - * @details User fields added to the end of the @p ch_system_t structure. - */ -#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \ - /* Add OS instance custom fields here.*/ - -/** - * @brief OS instance initialization hook. - * @details User initialization code added to the @p chSysInit() function - * just before interrupts are enabled globally. - * - * @param[in] oip pointer to the @p os_instance_t structure - */ -#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \ - /* Add system instance initialization code here.*/ \ -} - -/** - * @brief Threads descriptor structure extension. - * @details User fields added to the end of the @p thread_t structure. - */ -#define CH_CFG_THREAD_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ - -/** - * @brief Threads initialization hook. - * @details User initialization code added to the @p _thread_init() function. - * - * @note It is invoked from within @p _thread_init() and implicitly from all - * the threads creation APIs. - * - * @param[in] tp pointer to the @p thread_t structure - */ -#define CH_CFG_THREAD_INIT_HOOK(tp) { \ - /* Add threads initialization code here.*/ \ -} - -/** - * @brief Threads finalization hook. - * @details User finalization code added to the @p chThdExit() API. - * - * @param[in] tp pointer to the @p thread_t structure - */ -#define CH_CFG_THREAD_EXIT_HOOK(tp) { \ - /* Add threads finalization code here.*/ \ -} - -/** - * @brief Context switch hook. - * @details This hook is invoked just before switching between threads. - * - * @param[in] ntp thread being switched in - * @param[in] otp thread being switched out - */ -#define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ - /* Context switch code here.*/ \ -} - -/** - * @brief ISR enter hook. - */ -#define CH_CFG_IRQ_PROLOGUE_HOOK() { \ - /* IRQ prologue code here.*/ \ -} - -/** - * @brief ISR exit hook. - */ -#define CH_CFG_IRQ_EPILOGUE_HOOK() { \ - /* IRQ epilogue code here.*/ \ -} - -/** - * @brief Idle thread enter hook. - * @note This hook is invoked within a critical zone, no OS functions - * should be invoked from here. - * @note This macro can be used to activate a power saving mode. - */ -#define CH_CFG_IDLE_ENTER_HOOK() { \ - /* Idle-enter code here.*/ \ -} - -/** - * @brief Idle thread leave hook. - * @note This hook is invoked within a critical zone, no OS functions - * should be invoked from here. - * @note This macro can be used to deactivate a power saving mode. - */ -#define CH_CFG_IDLE_LEAVE_HOOK() { \ - /* Idle-leave code here.*/ \ -} - -/** - * @brief Idle Loop hook. - * @details This hook is continuously invoked by the idle thread loop. - */ -#define CH_CFG_IDLE_LOOP_HOOK() { \ - /* Idle loop code here.*/ \ -} - -/** - * @brief System tick event hook. - * @details This hook is invoked in the system tick handler immediately - * after processing the virtual timers queue. - */ -#define CH_CFG_SYSTEM_TICK_HOOK() { \ - /* System tick event code here.*/ \ -} - -/** - * @brief System halt hook. - * @details This hook is invoked in case to a system halting error before - * the system is halted. - */ -#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ - /* System halt code here.*/ \ -} - -/** - * @brief Trace hook. - * @details This hook is invoked each time a new record is written in the - * trace buffer. - */ -#define CH_CFG_TRACE_HOOK(tep) { \ - /* Trace code here.*/ \ -} - -/** @} */ - -/*===========================================================================*/ -/* Port-specific settings (override port settings defaulted in chcore.h). */ -/*===========================================================================*/ - -#endif /* CHCONF_H */ - -/** @} */ +/* + ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/** + * @file rt/templates/chconf.h + * @brief Configuration file template. + * @details A copy of this file must be placed in each project directory, it + * contains the application specific kernel settings. + * + * @addtogroup config + * @details Kernel related settings and hooks. + * @{ + */ + +#ifndef CHCONF_H +#define CHCONF_H + +#define _CHIBIOS_RT_CONF_ +#define _CHIBIOS_RT_CONF_VER_7_0_ + +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name System timers settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief System time counter resolution. + * @note Allowed values are 16, 32 or 64 bits. + */ +#if !defined(CH_CFG_ST_RESOLUTION) +#define CH_CFG_ST_RESOLUTION 32 +#endif + +/** + * @brief System tick frequency. + * @details Frequency of the system timer that drives the system ticks. This + * setting also defines the system tick time unit. + */ +#if !defined(CH_CFG_ST_FREQUENCY) +#define CH_CFG_ST_FREQUENCY 10000 +#endif + +/** + * @brief Time intervals data size. + * @note Allowed values are 16, 32 or 64 bits. + */ +#if !defined(CH_CFG_INTERVALS_SIZE) +#define CH_CFG_INTERVALS_SIZE 32 +#endif + +/** + * @brief Time types data size. + * @note Allowed values are 16 or 32 bits. + */ +#if !defined(CH_CFG_TIME_TYPES_SIZE) +#define CH_CFG_TIME_TYPES_SIZE 32 +#endif + +/** + * @brief Time delta constant for the tick-less mode. + * @note If this value is zero then the system uses the classic + * periodic tick. This value represents the minimum number + * of ticks that is safe to specify in a timeout directive. + * The value one is not valid, timeouts are rounded up to + * this value. + */ +#if !defined(CH_CFG_ST_TIMEDELTA) +#define CH_CFG_ST_TIMEDELTA 2 +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Kernel parameters and options + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Round robin interval. + * @details This constant is the number of system ticks allowed for the + * threads before preemption occurs. Setting this value to zero + * disables the preemption for threads with equal priority and the + * round robin becomes cooperative. Note that higher priority + * threads can still preempt, the kernel is always preemptive. + * @note Disabling the round robin preemption makes the kernel more compact + * and generally faster. + * @note The round robin preemption is not supported in tickless mode and + * must be set to zero in that case. + */ +#if !defined(CH_CFG_TIME_QUANTUM) +#define CH_CFG_TIME_QUANTUM 0 +#endif + +/** + * @brief Idle thread automatic spawn suppression. + * @details When this option is activated the function @p chSysInit() + * does not spawn the idle thread. The application @p main() + * function becomes the idle thread and must implement an + * infinite loop. + */ +#if !defined(CH_CFG_NO_IDLE_THREAD) +#define CH_CFG_NO_IDLE_THREAD FALSE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Performance options + * @{ + */ +/*===========================================================================*/ + +/** + * @brief OS optimization. + * @details If enabled then time efficient rather than space efficient code + * is used when two possible implementations exist. + * + * @note This is not related to the compiler optimization options. + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_OPTIMIZE_SPEED) +#define CH_CFG_OPTIMIZE_SPEED FALSE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Subsystem options + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Time Measurement APIs. + * @details If enabled then the time measurement APIs are included in + * the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_TM) +#define CH_CFG_USE_TM TRUE +#endif + +/** + * @brief Time Stamps APIs. + * @details If enabled then the time time stamps APIs are included in + * the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_TIMESTAMP) +#define CH_CFG_USE_TIMESTAMP TRUE +#endif + +/** + * @brief Threads registry APIs. + * @details If enabled then the registry APIs are included in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_REGISTRY) +#define CH_CFG_USE_REGISTRY TRUE +#endif + +/** + * @brief Threads synchronization APIs. + * @details If enabled then the @p chThdWait() function is included in + * the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_WAITEXIT) +#define CH_CFG_USE_WAITEXIT TRUE +#endif + +/** + * @brief Semaphores APIs. + * @details If enabled then the Semaphores APIs are included in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_SEMAPHORES) +#define CH_CFG_USE_SEMAPHORES TRUE +#endif + +/** + * @brief Semaphores queuing mode. + * @details If enabled then the threads are enqueued on semaphores by + * priority rather than in FIFO order. + * + * @note The default is @p FALSE. Enable this if you have special + * requirements. + * @note Requires @p CH_CFG_USE_SEMAPHORES. + */ +#if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY) +#define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE +#endif + +/** + * @brief Mutexes APIs. + * @details If enabled then the mutexes APIs are included in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_MUTEXES) +#define CH_CFG_USE_MUTEXES TRUE +#endif + +/** + * @brief Enables recursive behavior on mutexes. + * @note Recursive mutexes are heavier and have an increased + * memory footprint. + * + * @note The default is @p FALSE. + * @note Requires @p CH_CFG_USE_MUTEXES. + */ +#if !defined(CH_CFG_USE_MUTEXES_RECURSIVE) +#define CH_CFG_USE_MUTEXES_RECURSIVE FALSE +#endif + +/** + * @brief Conditional Variables APIs. + * @details If enabled then the conditional variables APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_MUTEXES. + */ +#if !defined(CH_CFG_USE_CONDVARS) +#define CH_CFG_USE_CONDVARS TRUE +#endif + +/** + * @brief Conditional Variables APIs with timeout. + * @details If enabled then the conditional variables APIs with timeout + * specification are included in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_CONDVARS. + */ +#if !defined(CH_CFG_USE_CONDVARS_TIMEOUT) +#define CH_CFG_USE_CONDVARS_TIMEOUT TRUE +#endif + +/** + * @brief Events Flags APIs. + * @details If enabled then the event flags APIs are included in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_EVENTS) +#define CH_CFG_USE_EVENTS TRUE +#endif + +/** + * @brief Events Flags APIs with timeout. + * @details If enabled then the events APIs with timeout specification + * are included in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_EVENTS. + */ +#if !defined(CH_CFG_USE_EVENTS_TIMEOUT) +#define CH_CFG_USE_EVENTS_TIMEOUT TRUE +#endif + +/** + * @brief Synchronous Messages APIs. + * @details If enabled then the synchronous messages APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_MESSAGES) +#define CH_CFG_USE_MESSAGES TRUE +#endif + +/** + * @brief Synchronous Messages queuing mode. + * @details If enabled then messages are served by priority rather than in + * FIFO order. + * + * @note The default is @p FALSE. Enable this if you have special + * requirements. + * @note Requires @p CH_CFG_USE_MESSAGES. + */ +#if !defined(CH_CFG_USE_MESSAGES_PRIORITY) +#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 + * included in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_SEMAPHORES. + */ +#if !defined(CH_CFG_USE_MAILBOXES) +#define CH_CFG_USE_MAILBOXES TRUE +#endif + +/** + * @brief Core Memory Manager APIs. + * @details If enabled then the core memory manager APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_MEMCORE) +#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 + * in the kernel. + * + * @note The default is @p TRUE. + * @note Requires @p CH_CFG_USE_MEMCORE and either @p CH_CFG_USE_MUTEXES or + * @p CH_CFG_USE_SEMAPHORES. + * @note Mutexes are recommended. + */ +#if !defined(CH_CFG_USE_HEAP) +#define CH_CFG_USE_HEAP TRUE +#endif + +/** + * @brief Memory Pools Allocator APIs. + * @details If enabled then the memory pools allocator APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_MEMPOOLS) +#define CH_CFG_USE_MEMPOOLS TRUE +#endif + +/** + * @brief Objects FIFOs APIs. + * @details If enabled then the objects FIFOs APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_OBJ_FIFOS) +#define CH_CFG_USE_OBJ_FIFOS TRUE +#endif + +/** + * @brief Pipes APIs. + * @details If enabled then the pipes APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_PIPES) +#define CH_CFG_USE_PIPES TRUE +#endif + +/** + * @brief Objects Caches APIs. + * @details If enabled then the objects caches APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_OBJ_CACHES) +#define CH_CFG_USE_OBJ_CACHES TRUE +#endif + +/** + * @brief Delegate threads APIs. + * @details If enabled then the delegate threads APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_DELEGATES) +#define CH_CFG_USE_DELEGATES TRUE +#endif + +/** + * @brief Jobs Queues APIs. + * @details If enabled then the jobs queues APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_JOBS) +#define CH_CFG_USE_JOBS TRUE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Objects factory options + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Objects Factory APIs. + * @details If enabled then the objects factory APIs are included in the + * kernel. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_CFG_USE_FACTORY) +#define CH_CFG_USE_FACTORY TRUE +#endif + +/** + * @brief Maximum length for object names. + * @details If the specified length is zero then the name is stored by + * pointer but this could have unintended side effects. + */ +#if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) +#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8 +#endif + +/** + * @brief Enables the registry of generic objects. + */ +#if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) +#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE +#endif + +/** + * @brief Enables factory for generic buffers. + */ +#if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) +#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE +#endif + +/** + * @brief Enables factory for semaphores. + */ +#if !defined(CH_CFG_FACTORY_SEMAPHORES) +#define CH_CFG_FACTORY_SEMAPHORES TRUE +#endif + +/** + * @brief Enables factory for mailboxes. + */ +#if !defined(CH_CFG_FACTORY_MAILBOXES) +#define CH_CFG_FACTORY_MAILBOXES TRUE +#endif + +/** + * @brief Enables factory for objects FIFOs. + */ +#if !defined(CH_CFG_FACTORY_OBJ_FIFOS) +#define CH_CFG_FACTORY_OBJ_FIFOS TRUE +#endif + +/** + * @brief Enables factory for Pipes. + */ +#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__) +#define CH_CFG_FACTORY_PIPES TRUE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Debug options + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Debug option, kernel statistics. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_DBG_STATISTICS) +#define CH_DBG_STATISTICS FALSE +#endif + +/** + * @brief Debug option, system state check. + * @details If enabled the correct call protocol for system APIs is checked + * at runtime. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_DBG_SYSTEM_STATE_CHECK) +#define CH_DBG_SYSTEM_STATE_CHECK TRUE +#endif + +/** + * @brief Debug option, parameters checks. + * @details If enabled then the checks on the API functions input + * parameters are activated. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_DBG_ENABLE_CHECKS) +#define CH_DBG_ENABLE_CHECKS TRUE +#endif + +/** + * @brief Debug option, consistency checks. + * @details If enabled then all the assertions in the kernel code are + * activated. This includes consistency checks inside the kernel, + * runtime anomalies and port-defined checks. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_DBG_ENABLE_ASSERTS) +#define CH_DBG_ENABLE_ASSERTS TRUE +#endif + +/** + * @brief Debug option, trace buffer. + * @details If enabled then the trace buffer is activated. + * + * @note The default is @p CH_DBG_TRACE_MASK_DISABLED. + */ +#if !defined(CH_DBG_TRACE_MASK) +#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED +#endif + +/** + * @brief Trace buffer entries. + * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is + * different from @p CH_DBG_TRACE_MASK_DISABLED. + */ +#if !defined(CH_DBG_TRACE_BUFFER_SIZE) +#define CH_DBG_TRACE_BUFFER_SIZE 128 +#endif + +/** + * @brief Debug option, stack checks. + * @details If enabled then a runtime stack check is performed. + * + * @note The default is @p FALSE. + * @note The stack check is performed in a architecture/port dependent way. + * It may not be implemented or some ports. + * @note The default failure mode is to halt the system with the global + * @p panic_msg variable set to @p NULL. + */ +#if !defined(CH_DBG_ENABLE_STACK_CHECK) +#define CH_DBG_ENABLE_STACK_CHECK FALSE +#endif + +/** + * @brief Debug option, stacks initialization. + * @details If enabled then the threads working area is filled with a byte + * value when a thread is created. This can be useful for the + * runtime measurement of the used stack. + * + * @note The default is @p FALSE. + */ +#if !defined(CH_DBG_FILL_THREADS) +#define CH_DBG_FILL_THREADS FALSE +#endif + +/** + * @brief Debug option, threads profiling. + * @details If enabled then a field is added to the @p thread_t structure that + * counts the system ticks occurred while executing the thread. + * + * @note The default is @p FALSE. + * @note This debug option is not currently compatible with the + * tickless mode. + */ +#if !defined(CH_DBG_THREADS_PROFILING) +#define CH_DBG_THREADS_PROFILING FALSE +#endif + +/** @} */ + +/*===========================================================================*/ +/** + * @name Kernel hooks + * @{ + */ +/*===========================================================================*/ + +/** + * @brief OS instance structure extension. + * @details User fields added to the end of the @p ch_system_t structure. + */ +#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \ + /* Add OS instance custom fields here.*/ + +/** + * @brief OS instance initialization hook. + * @details User initialization code added to the @p chSysInit() function + * just before interrupts are enabled globally. + * + * @param[in] oip pointer to the @p os_instance_t structure + */ +#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \ + /* Add system instance initialization code here.*/ \ +} + +/** + * @brief Threads descriptor structure extension. + * @details User fields added to the end of the @p thread_t structure. + */ +#define CH_CFG_THREAD_EXTRA_FIELDS \ + /* Add threads custom fields here.*/ + +/** + * @brief Threads initialization hook. + * @details User initialization code added to the @p _thread_init() function. + * + * @note It is invoked from within @p _thread_init() and implicitly from all + * the threads creation APIs. + * + * @param[in] tp pointer to the @p thread_t structure + */ +#define CH_CFG_THREAD_INIT_HOOK(tp) { \ + /* Add threads initialization code here.*/ \ +} + +/** + * @brief Threads finalization hook. + * @details User finalization code added to the @p chThdExit() API. + * + * @param[in] tp pointer to the @p thread_t structure + */ +#define CH_CFG_THREAD_EXIT_HOOK(tp) { \ + /* Add threads finalization code here.*/ \ +} + +/** + * @brief Context switch hook. + * @details This hook is invoked just before switching between threads. + * + * @param[in] ntp thread being switched in + * @param[in] otp thread being switched out + */ +#define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ + /* Context switch code here.*/ \ +} + +/** + * @brief ISR enter hook. + */ +#define CH_CFG_IRQ_PROLOGUE_HOOK() { \ + /* IRQ prologue code here.*/ \ +} + +/** + * @brief ISR exit hook. + */ +#define CH_CFG_IRQ_EPILOGUE_HOOK() { \ + /* IRQ epilogue code here.*/ \ +} + +/** + * @brief Idle thread enter hook. + * @note This hook is invoked within a critical zone, no OS functions + * should be invoked from here. + * @note This macro can be used to activate a power saving mode. + */ +#define CH_CFG_IDLE_ENTER_HOOK() { \ + /* Idle-enter code here.*/ \ +} + +/** + * @brief Idle thread leave hook. + * @note This hook is invoked within a critical zone, no OS functions + * should be invoked from here. + * @note This macro can be used to deactivate a power saving mode. + */ +#define CH_CFG_IDLE_LEAVE_HOOK() { \ + /* Idle-leave code here.*/ \ +} + +/** + * @brief Idle Loop hook. + * @details This hook is continuously invoked by the idle thread loop. + */ +#define CH_CFG_IDLE_LOOP_HOOK() { \ + /* Idle loop code here.*/ \ +} + +/** + * @brief System tick event hook. + * @details This hook is invoked in the system tick handler immediately + * after processing the virtual timers queue. + */ +#define CH_CFG_SYSTEM_TICK_HOOK() { \ + /* System tick event code here.*/ \ +} + +/** + * @brief System halt hook. + * @details This hook is invoked in case to a system halting error before + * the system is halted. + */ +#define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ + /* System halt code here.*/ \ +} + +/** + * @brief Trace hook. + * @details This hook is invoked each time a new record is written in the + * trace buffer. + */ +#define CH_CFG_TRACE_HOOK(tep) { \ + /* Trace code here.*/ \ +} + +/** @} */ + +/*===========================================================================*/ +/* Port-specific settings (override port settings defaulted in chcore.h). */ +/*===========================================================================*/ + +#endif /* CHCONF_H */ + +/** @} */ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32wb55rg_nucleo68/chconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32wb55rg_nucleo68/chconf.h index a3c4a2f69..d59a01105 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32wb55rg_nucleo68/chconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32wb55rg_nucleo68/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings 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 2d72abd22..730f43975 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testrt/IRQ_STORM/cfg/stm32g474re_nucleo64/chconf.h b/testrt/IRQ_STORM/cfg/stm32g474re_nucleo64/chconf.h index 6b45ca34f..e303e34ea 100644 --- a/testrt/IRQ_STORM/cfg/stm32g474re_nucleo64/chconf.h +++ b/testrt/IRQ_STORM/cfg/stm32g474re_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testrt/IRQ_STORM/cfg/stm32l476_discovery/chconf.h b/testrt/IRQ_STORM/cfg/stm32l476_discovery/chconf.h index 2d72abd22..730f43975 100644 --- a/testrt/IRQ_STORM/cfg/stm32l476_discovery/chconf.h +++ b/testrt/IRQ_STORM/cfg/stm32l476_discovery/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/testrt/VT_STORM/cfg/stm32g474re_nucleo64/chconf.h b/testrt/VT_STORM/cfg/stm32g474re_nucleo64/chconf.h index d6c08d6de..5b9aab527 100644 --- a/testrt/VT_STORM/cfg/stm32g474re_nucleo64/chconf.h +++ b/testrt/VT_STORM/cfg/stm32g474re_nucleo64/chconf.h @@ -31,6 +31,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE FALSE +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings diff --git a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl index 2cde62029..c2af92599 100644 --- a/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl +++ b/tools/ftl/processors/conf/chconf_rt/chconf.h.ftl @@ -42,6 +42,26 @@ #define _CHIBIOS_RT_CONF_ #define _CHIBIOS_RT_CONF_VER_7_0_ +/*===========================================================================*/ +/** + * @name System settings + * @{ + */ +/*===========================================================================*/ + +/** + * @brief Handling of instances. + * @note If enabled then threads assigned to various instances can + * interact each other using the same synchronization objects. + * If disabled then each OS instance is a separate world, no + * direct interactions are handled by the OS. + */ +#if !defined(CH_CFG_SMP_MODE) +#define CH_CFG_SMP_MODE ${doc.CH_CFG_SMP_MODE!"FALSE"} +#endif + +/** @} */ + /*===========================================================================*/ /** * @name System timers settings