aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/ATSAMA5D2/RT-SAMA-LWIP-WOLFSSL/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-NSEC/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-SEC/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT-SNI/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-WOLFSSL-HALCRYPTO/cfg/halconf.h27
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h27
-rw-r--r--demos/AVR/NIL-ARDUINO-MEGA/halconf.h27
-rw-r--r--demos/AVR/NIL-ARDUINO-MINI/halconf.h27
-rw-r--r--demos/AVR/NIL-ARDUINO-NANO/halconf.h27
-rw-r--r--demos/AVR/NIL-ARDUINO-UNO/halconf.h27
-rw-r--r--demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h27
-rw-r--r--demos/AVR/NIL-MT-DB-X4/halconf.h27
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/halconf.h27
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/halconf.h27
-rw-r--r--demos/AVR/RT-ARDUINO-MINI/halconf.h27
-rw-r--r--demos/AVR/RT-ARDUINO-NANO/halconf.h27
-rw-r--r--demos/AVR/RT-ARDUINO-UNO/halconf.h27
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h27
-rw-r--r--demos/AVR/RT-MT-DB-X4/halconf.h27
-rw-r--r--demos/AVR/RT-PRO-MICRO/halconf.h27
-rw-r--r--demos/AVR/RT-TEENSY2-USB/halconf.h27
-rw-r--r--demos/AVR/TEST-SUITE-NIL/halconf.h27
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/halconf.h27
-rw-r--r--demos/AVR/TEST-SUITE-RT/halconf.h27
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h27
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/halconf.h27
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/halconf.h27
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h27
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h27
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h27
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h27
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F334-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F413ZH-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F722ZE-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/cfg/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F756ZG-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/cfg/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/halconf.h27
-rw-r--r--demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/halconf.h27
-rwxr-xr-xdemos/various/RT-Posix-Simulator/cfg/halconf.h27
-rw-r--r--demos/various/RT-Win32-Simulator/cfg/halconf.h27
-rwxr-xr-xos/hal/dox/wspi.dox26
-rw-r--r--os/hal/include/hal_wspi.h20
-rw-r--r--os/hal/templates/hal_wspi_lld.c208
-rw-r--r--os/hal/templates/hal_wspi_lld.h145
-rw-r--r--os/hal/templates/halconf.h27
-rw-r--r--os/hal/templates/platform.mk6
-rw-r--r--test/rt/testbuild/halconf.h27
-rw-r--r--testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h27
-rw-r--r--testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h27
-rw-r--r--testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-BMP085/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-HTS221/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS22HB/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303AGR/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h27
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h27
-rw-r--r--testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h27
-rw-r--r--testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/CRYPTO/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/FLEX-SPI/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/MATRIX/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/RTC/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/SDMMC/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/SECUMOD/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/SERIAL/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/SPI/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/TC/halconf.h27
-rw-r--r--testhal/ATSAMA5D2/UART/halconf.h27
-rw-r--r--testhal/AVR/MEGA/ADC/halconf.h27
-rw-r--r--testhal/AVR/MEGA/EXT/halconf.h27
-rw-r--r--testhal/AVR/MEGA/GPT/halconf.h27
-rw-r--r--testhal/AVR/MEGA/I2C/halconf.h27
-rw-r--r--testhal/AVR/MEGA/ICU/halconf.h27
-rw-r--r--testhal/AVR/MEGA/PWM/halconf.h27
-rw-r--r--testhal/AVR/MEGA/SPI/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/AES/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/SERIAL/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/SPI/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/USART/halconf.h27
-rw-r--r--testhal/AVR/XMEGA/WDT/halconf.h27
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h27
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h27
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h27
-rw-r--r--testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/halconf.h27
-rw-r--r--testhal/STM32/STM32F0xx/WDG/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/I2C/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/RTC/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/SPI/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/UART/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/halconf.h27
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h27
-rw-r--r--testhal/STM32/STM32F2xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/I2C/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/SDADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/SPI/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/UART/halconf.h27
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/DAC/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h27
-rw-r--r--testhal/STM32/STM32F3xx/WDG/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/DAC/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/DMA_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/GPT/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/I2S/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/RTC/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/SDC/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h27
-rw-r--r--testhal/STM32/STM32F4xx/WDG/halconf.h27
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32F7xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32F7xx/SPI/halconf.h27
-rw-r--r--testhal/STM32/STM32F7xx/USB_RAW/halconf.h27
-rw-r--r--testhal/STM32/STM32L0xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32L0xx/SPI/halconf.h27
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/DAC/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/PWM-ICU/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/SPI/halconf.h27
-rw-r--r--testhal/STM32/STM32L1xx/UART/halconf.h27
-rw-r--r--testhal/STM32/STM32L4xx/ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32L4xx/CAN/halconf.h27
-rw-r--r--testhal/STM32/STM32L4xx/GPT-ADC/halconf.h27
-rw-r--r--testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h27
-rw-r--r--tools/ftl/processors/conf/halconf/halconf.h.ftl27
257 files changed, 7207 insertions, 2 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA-LWIP-WOLFSSL/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA-LWIP-WOLFSSL/cfg/halconf.h
index bb799747d..e9fc05d43 100644
--- a/demos/ATSAMA5D2/RT-SAMA-LWIP-WOLFSSL/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA-LWIP-WOLFSSL/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-NSEC/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-NSEC/halconf.h
index 3f42043ed..65908512a 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-NSEC/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-NSEC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-SEC/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-SEC/cfg/halconf.h
index 2cc033eaa..c6e6364d6 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-SEC/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-HTTPS-SEC/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/cfg/halconf.h
index 3f42043ed..65908512a 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTP-CLIENT/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT-SNI/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT-SNI/cfg/halconf.h
index 7d0a38cc8..4ef63a7ed 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT-SNI/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT-SNI/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT/cfg/halconf.h
index 7d0a38cc8..4ef63a7ed 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP-HTTPS-CLIENT/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
index bb799747d..e9fc05d43 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/cfg/halconf.h
index 3f42043ed..65908512a 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
index 3f42043ed..65908512a 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-WOLFSSL-HALCRYPTO/cfg/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-WOLFSSL-HALCRYPTO/cfg/halconf.h
index 5fbd810fc..abafddda9 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-WOLFSSL-HALCRYPTO/cfg/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-WOLFSSL-HALCRYPTO/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-ARDUINO-MEGA/halconf.h b/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-MEGA/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-ARDUINO-MINI/halconf.h b/demos/AVR/NIL-ARDUINO-MINI/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/NIL-ARDUINO-MINI/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-MINI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-ARDUINO-NANO/halconf.h b/demos/AVR/NIL-ARDUINO-NANO/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/NIL-ARDUINO-NANO/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-NANO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-ARDUINO-UNO/halconf.h b/demos/AVR/NIL-ARDUINO-UNO/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/NIL-ARDUINO-UNO/halconf.h
+++ b/demos/AVR/NIL-ARDUINO-UNO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
+++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/NIL-MT-DB-X4/halconf.h b/demos/AVR/NIL-MT-DB-X4/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/demos/AVR/NIL-MT-DB-X4/halconf.h
+++ b/demos/AVR/NIL-MT-DB-X4/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
index b4b1acb9c..5590c5a80 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-ARDUINO-MEGA/halconf.h b/demos/AVR/RT-ARDUINO-MEGA/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/halconf.h
+++ b/demos/AVR/RT-ARDUINO-MEGA/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-ARDUINO-MINI/halconf.h b/demos/AVR/RT-ARDUINO-MINI/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/RT-ARDUINO-MINI/halconf.h
+++ b/demos/AVR/RT-ARDUINO-MINI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-ARDUINO-NANO/halconf.h b/demos/AVR/RT-ARDUINO-NANO/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/RT-ARDUINO-NANO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-NANO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-ARDUINO-UNO/halconf.h b/demos/AVR/RT-ARDUINO-UNO/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/RT-ARDUINO-UNO/halconf.h
+++ b/demos/AVR/RT-ARDUINO-UNO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-MT-DB-X4/halconf.h b/demos/AVR/RT-MT-DB-X4/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/demos/AVR/RT-MT-DB-X4/halconf.h
+++ b/demos/AVR/RT-MT-DB-X4/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-PRO-MICRO/halconf.h b/demos/AVR/RT-PRO-MICRO/halconf.h
index b4b1acb9c..5590c5a80 100644
--- a/demos/AVR/RT-PRO-MICRO/halconf.h
+++ b/demos/AVR/RT-PRO-MICRO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/RT-TEENSY2-USB/halconf.h b/demos/AVR/RT-TEENSY2-USB/halconf.h
index b1ac2ee07..8cc96cc9a 100644
--- a/demos/AVR/RT-TEENSY2-USB/halconf.h
+++ b/demos/AVR/RT-TEENSY2-USB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/TEST-SUITE-NIL/halconf.h b/demos/AVR/TEST-SUITE-NIL/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/TEST-SUITE-NIL/halconf.h
+++ b/demos/AVR/TEST-SUITE-NIL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/TEST-SUITE-OSLIB/halconf.h b/demos/AVR/TEST-SUITE-OSLIB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/halconf.h
+++ b/demos/AVR/TEST-SUITE-OSLIB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/AVR/TEST-SUITE-RT/halconf.h b/demos/AVR/TEST-SUITE-RT/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/AVR/TEST-SUITE-RT/halconf.h
+++ b/demos/AVR/TEST-SUITE-RT/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/NIL-SPC560D-EVB/halconf.h b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC560B-EVB/halconf.h b/demos/SPC5/RT-SPC560B-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC560B-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC560D-EVB/halconf.h b/demos/SPC5/RT-SPC560D-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC560P-EVB/halconf.h b/demos/SPC5/RT-SPC560P-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC560P-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC563M-EVB/halconf.h b/demos/SPC5/RT-SPC563M-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC563M-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC564A-EVB/halconf.h b/demos/SPC5/RT-SPC564A-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC564A-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC56EC-EVB/halconf.h b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/SPC5/RT-SPC56EL-EVB/halconf.h b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
index a578a268d..919745909 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/cfg-stm32f746_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
index c8e8e1093..8cc45dd0b 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f107_goldbull/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
index a578a268d..919745909 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f407_olimex/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
index a578a268d..919745909 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F070RB-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
index a0a325591..0a944d14d 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
index 076258c2c..35e5c0ee3 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
index 3f42043ed..65908512a 100644
--- a/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
+++ b/demos/STM32/RT-STM32F107-OLIMEX_P107-LWIP/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F207ZG-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F303RE-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F303ZE-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F334-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/halconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/halconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO64/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
index 14cff7e30..ba2f0263c 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F410RB-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F412ZG-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F413ZH-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F413ZH-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F413ZH-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F413ZH-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F429ZI-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32F446RE-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F446ZE-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F469I-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F722ZE-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F722ZE-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F722ZE-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F722ZE-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/halconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/halconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F746ZG-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F756ZG-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F756ZG-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F756ZG-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F756ZG-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h b/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32F767ZI-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h b/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
index 92be52b41..9548cc122 100644
--- a/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
+++ b/demos/STM32/RT-STM32H743I-NUCLEO144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L073RZ-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/halconf.h b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/cfg/halconf.h
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/halconf.h b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/halconf.h
+++ b/demos/STM32/RT-STM32L496ZG-NUCLEO144/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/halconf.h b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/halconf.h
index b92351f24..31a83af4b 100644
--- a/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/halconf.h
+++ b/demos/STM32/RT-STM32L4R5ZI-NUCLEO144/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/various/RT-Posix-Simulator/cfg/halconf.h b/demos/various/RT-Posix-Simulator/cfg/halconf.h
index 4c1afaa56..e8dadfb39 100755
--- a/demos/various/RT-Posix-Simulator/cfg/halconf.h
+++ b/demos/various/RT-Posix-Simulator/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/demos/various/RT-Win32-Simulator/cfg/halconf.h b/demos/various/RT-Win32-Simulator/cfg/halconf.h
index 4c1afaa56..e8dadfb39 100644
--- a/demos/various/RT-Win32-Simulator/cfg/halconf.h
+++ b/demos/various/RT-Win32-Simulator/cfg/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/os/hal/dox/wspi.dox b/os/hal/dox/wspi.dox
new file mode 100755
index 000000000..5cf29d9bc
--- /dev/null
+++ b/os/hal/dox/wspi.dox
@@ -0,0 +1,26 @@
+/*
+ ChibiOS - Copyright (C) 2006..2018 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.
+*/
+
+/**
+ * @defgroup WSPI WSPI Driver
+ * @brief Generic WSPI Driver
+ * @details This module defines an abstract interface for an wide SPI
+ * communication interface (Quad SPI, Octal SPI and similar).
+ * @pre In order to use the WSPI driver the @p HAL_USE_WSPI option
+ * must be enabled in @p halconf.h.
+ *
+ * @ingroup HAL_NORMAL_DRIVERS
+ */
diff --git a/os/hal/include/hal_wspi.h b/os/hal/include/hal_wspi.h
index 3d7a9a1aa..8ba4be5ff 100644
--- a/os/hal/include/hal_wspi.h
+++ b/os/hal/include/hal_wspi.h
@@ -37,7 +37,7 @@
* supported. The LLD can also define additional modes or reorder
* the bit masks in a more convenient way for the underlying
* implementation. It is important however to maintain the same
- * same for the same functionality.
+ * name for the same functionality.
* @{
*/
#define WSPI_CFG_INSTRUCTION_MODE_MASK (7LU << 0LU)
@@ -143,6 +143,24 @@ typedef enum {
} wspistate_t;
/**
+ * @brief Type of a structure representing an WSPI driver.
+ */
+typedef struct hal_wspi_driver WSPIDriver;
+
+/**
+ * @brief Type of a structure representing an WSPI driver configuration.
+ */
+typedef struct hal_wspi_config WSPIConfig;
+
+/**
+ * @brief Type of a WSPI notification callback.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object triggering the
+ * callback
+ */
+typedef void (*wspicallback_t)(WSPIDriver *wspip);
+
+/**
* @brief Type of a WSPI command descriptor.
*/
typedef struct {
diff --git a/os/hal/templates/hal_wspi_lld.c b/os/hal/templates/hal_wspi_lld.c
new file mode 100644
index 000000000..233caa67a
--- /dev/null
+++ b/os/hal/templates/hal_wspi_lld.c
@@ -0,0 +1,208 @@
+/*
+ ChibiOS - Copyright (C) 2006..2018 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 hal_wspi_lld.c
+ * @brief PLATFORM WSPI subsystem low level driver source.
+ *
+ * @addtogroup WSPI
+ * @{
+ */
+
+#include "hal.h"
+
+#if (HAL_USE_WSPI == TRUE) || defined(__DOXYGEN__)
+
+/*===========================================================================*/
+/* Driver local definitions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
+/** @brief WSPID1 driver identifier.*/
+#if (PLATFORM_WSPI_USE_WSPI1 == TRUE) || defined(__DOXYGEN__)
+WSPIDriver WSPID1;
+#endif
+
+/*===========================================================================*/
+/* Driver local variables and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver local functions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver interrupt handlers. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver exported functions. */
+/*===========================================================================*/
+
+/**
+ * @brief Low level WSPI driver initialization.
+ *
+ * @notapi
+ */
+void wspi_lld_init(void) {
+
+#if PLATFORM_WSPI_USE_WSPI1
+ wspiObjectInit(&WSPID1);
+#endif
+}
+
+/**
+ * @brief Configures and activates the WSPI peripheral.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ *
+ * @notapi
+ */
+void wspi_lld_start(WSPIDriver *wspip) {
+
+ /* If in stopped state then full initialization.*/
+ if (wspip->state == WSPI_STOP) {
+#if PLATFORM_WSPI_USE_WSPI1
+ if (&WSPID1 == wspip) {
+ }
+#endif
+
+ /* Common initializations.*/
+ }
+
+ /* WSPI setup and enable.*/
+}
+
+/**
+ * @brief Deactivates the WSPI peripheral.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ *
+ * @notapi
+ */
+void wspi_lld_stop(WSPIDriver *wspip) {
+
+ /* If in ready state then disables WSPI.*/
+ if (wspip->state == WSPI_READY) {
+
+ /* WSPI disable.*/
+
+ /* Stopping involved clocks.*/
+#if PLATFORM_WSPI_USE_WSPI1
+ if (&WSPID1 == wspip) {
+ }
+#endif
+ }
+}
+
+/**
+ * @brief Sends a command without data phase.
+ * @post At the end of the operation the configured callback is invoked.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ * @param[in] cmdp pointer to the command descriptor
+ *
+ * @notapi
+ */
+void wspi_lld_command(WSPIDriver *wspip, const wspi_command_t *cmdp) {
+
+ (void)wspip;
+ (void)cmdp;
+}
+
+/**
+ * @brief Sends a command with data over the WSPI bus.
+ * @post At the end of the operation the configured callback is invoked.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ * @param[in] cmdp pointer to the command descriptor
+ * @param[in] n number of bytes to send
+ * @param[in] txbuf the pointer to the transmit buffer
+ *
+ * @notapi
+ */
+void wspi_lld_send(WSPIDriver *wspip, const wspi_command_t *cmdp,
+ size_t n, const uint8_t *txbuf) {
+
+ (void)wspip;
+ (void)cmdp;
+ (void)n;
+ (void)txbuf;
+}
+
+/**
+ * @brief Sends a command then receives data over the WSPI bus.
+ * @post At the end of the operation the configured callback is invoked.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ * @param[in] cmdp pointer to the command descriptor
+ * @param[in] n number of bytes to send
+ * @param[out] rxbuf the pointer to the receive buffer
+ *
+ * @notapi
+ */
+void wspi_lld_receive(WSPIDriver *wspip, const wspi_command_t *cmdp,
+ size_t n, uint8_t *rxbuf) {
+
+ (void)wspip;
+ (void)cmdp;
+ (void)n;
+ (void)rxbuf;
+}
+
+#if (WSPI_SUPPORTS_MEMMAP == TRUE) || defined(__DOXYGEN__)
+/**
+ * @brief Maps in memory space a WSPI flash device.
+ * @pre The memory flash device must be initialized appropriately
+ * before mapping it in memory space.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ * @param[in] cmdp pointer to the command descriptor
+ * @param[out] addrp pointer to the memory start address of the mapped
+ * flash or @p NULL
+ *
+ * @notapi
+ */
+void wspi_lld_map_flash(WSPIDriver *wspip,
+ const wspi_command_t *cmdp,
+ uint8_t **addrp) {
+
+ (void)wspip;
+ (void)cmdp;
+ (void)addrp;
+}
+
+/**
+ * @brief Unmaps from memory space a WSPI flash device.
+ * @post The memory flash device must be re-initialized for normal
+ * commands exchange.
+ *
+ * @param[in] wspip pointer to the @p WSPIDriver object
+ *
+ * @notapi
+ */
+void wspi_lld_unmap_flash(WSPIDriver *wspip) {
+
+ (void)wspip;
+}
+#endif /* WSPI_SUPPORTS_MEMMAP == TRUE */
+
+#endif /* HAL_USE_WSPI */
+
+/** @} */
diff --git a/os/hal/templates/hal_wspi_lld.h b/os/hal/templates/hal_wspi_lld.h
new file mode 100644
index 000000000..9b3a1550d
--- /dev/null
+++ b/os/hal/templates/hal_wspi_lld.h
@@ -0,0 +1,145 @@
+/*
+ ChibiOS - Copyright (C) 2006..2018 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 hal_wspi_lld.h
+ * @brief PLATFORM WSPI subsystem low level driver header.
+ *
+ * @addtogroup WSPI
+ * @{
+ */
+
+#ifndef HAL_WSPI_LLD_H
+#define HAL_WSPI_LLD_H
+
+#if (HAL_USE_WSPI == TRUE) || defined(__DOXYGEN__)
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
+/**
+ * @name WSPI capabilities
+ * @{
+ */
+#define WSPI_SUPPORTS_MEMMAP TRUE
+/** @} */
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/**
+ * @name Configuration options
+ * @{
+ */
+/**
+ * @brief WSPID1 driver enable switch.
+ * @details If set to @p TRUE the support for WSPID1 is included.
+ * @note The default is @p FALSE.
+ */
+#if !defined(PLATFORM_WSPI_USE_WSPI1) || defined(__DOXYGEN__)
+#define PLATFORM_WSPI_USE_WSPI1 FALSE
+#endif
+/** @} */
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/**
+ * @brief Driver configuration structure.
+ */
+struct hal_wspi_config {
+ /**
+ * @brief Operation complete callback or @p NULL.
+ */
+ wspicallback_t end_cb;
+ /* End of the mandatory fields.*/
+};
+
+/**
+ * @brief Structure representing an WSPI driver.
+ */
+struct hal_wspi_driver {
+ /**
+ * @brief Driver state.
+ */
+ wspistate_t state;
+ /**
+ * @brief Current configuration data.
+ */
+ const WSPIConfig *config;
+#if (WSPI_USE_WAIT == TRUE) || defined(__DOXYGEN__)
+ /**
+ * @brief Waiting thread.
+ */
+ thread_reference_t thread;
+#endif /* WSPI_USE_WAIT */
+#if (WSPI_USE_MUTUAL_EXCLUSION == TRUE) || defined(__DOXYGEN__)
+ /**
+ * @brief Mutex protecting the peripheral.
+ */
+ mutex_t mutex;
+#endif /* WSPI_USE_MUTUAL_EXCLUSION */
+#if defined(WSPI_DRIVER_EXT_FIELDS)
+ WSPI_DRIVER_EXT_FIELDS
+#endif
+ /* End of the mandatory fields.*/
+};
+
+/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+#if (PLATFORM_WSPI_USE_WSPI1 == TRUE) && !defined(__DOXYGEN__)
+extern WSPIDriver WSPID1;
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void wspi_lld_init(void);
+ void wspi_lld_start(WSPIDriver *wspip);
+ void wspi_lld_stop(WSPIDriver *wspip);
+ void wspi_lld_command(WSPIDriver *wspip, const wspi_command_t *cmdp);
+ void wspi_lld_send(WSPIDriver *wspip, const wspi_command_t *cmdp,
+ size_t n, const uint8_t *txbuf);
+ void wspi_lld_receive(WSPIDriver *wspip, const wspi_command_t *cmdp,
+ size_t n, uint8_t *rxbuf);
+#if WSPI_SUPPORTS_MEMMAP == TRUE
+ void wspi_lld_map_flash(WSPIDriver *wspip,
+ const wspi_command_t *cmdp,
+ uint8_t **addrp);
+ void wspi_lld_unmap_flash(WSPIDriver *wspip);
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* HAL_USE_WSPI */
+
+#endif /* HAL_WSPI_LLD_H */
+
+/** @} */
diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h
index d78e812a7..15d9d3ebe 100644
--- a/os/hal/templates/halconf.h
+++ b/os/hal/templates/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG TRUE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI TRUE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT TRUE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/os/hal/templates/platform.mk b/os/hal/templates/platform.mk
index 535e83b20..ee1d9e294 100644
--- a/os/hal/templates/platform.mk
+++ b/os/hal/templates/platform.mk
@@ -76,6 +76,9 @@ endif
ifneq ($(findstring HAL_USE_WDG TRUE,$(HALCONF)),)
PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_wdg_lld.c
endif
+ifneq ($(findstring HAL_USE_WSPI TRUE,$(HALCONF)),)
+PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_wspi_lld.c
+endif
else
PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \
${CHIBIOS}/os/hal/templates/hal_adc_lld.c \
@@ -100,7 +103,8 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \
${CHIBIOS}/os/hal/templates/hal_trng_lld.c \
${CHIBIOS}/os/hal/templates/hal_uart_lld.c \
${CHIBIOS}/os/hal/templates/hal_usb_lld.c \
- ${CHIBIOS}/os/hal/templates/hal_wdg_lld.c
+ ${CHIBIOS}/os/hal/templates/hal_wdg_lld.c \
+ ${CHIBIOS}/os/hal/templates/hal_wspi_lld.c
endif
# Required include directories
diff --git a/test/rt/testbuild/halconf.h b/test/rt/testbuild/halconf.h
index f7910c9ea..e9dde8bcb 100644
--- a/test/rt/testbuild/halconf.h
+++ b/test/rt/testbuild/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
+++ b/testex/STM32/STM32F3xx/I2C-LSM303DLHC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
index 4cd7610c7..78e079d97 100644
--- a/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32F3xx/SPI-L3GD20/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h b/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
index f34b75893..996c435da 100644
--- a/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
+++ b/testex/STM32/STM32F3xx/SPI-N25Q128/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h b/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
index 128b31a8e..4bc333b01 100644
--- a/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-BMP085/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h b/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-HTS221/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h b/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LIS3MLD/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LPS22HB/halconf.h b/testex/STM32/STM32F4xx/I2C-LPS22HB/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS22HB/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS22HB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h b/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LPS25H/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303AGR/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM303AGR/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303AGR/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303AGR/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
index bc968964f..8f2290403 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DS0/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
index e379bb04a..8b551144c 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h b/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
index daf851311..7aa673330 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
index daf851311..7aa673330 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h b/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
index b597e1cae..93c9a9a6d 100644
--- a/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
+++ b/testex/STM32/STM32L4xx/QSPI-N25Q128/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
index 4cd7610c7..78e079d97 100644
--- a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
+++ b/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/CRYPTO/halconf.h b/testhal/ATSAMA5D2/CRYPTO/halconf.h
index be8fce4cf..baa360488 100644
--- a/testhal/ATSAMA5D2/CRYPTO/halconf.h
+++ b/testhal/ATSAMA5D2/CRYPTO/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/FLEX-SPI/halconf.h b/testhal/ATSAMA5D2/FLEX-SPI/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/ATSAMA5D2/FLEX-SPI/halconf.h
+++ b/testhal/ATSAMA5D2/FLEX-SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/MATRIX/halconf.h b/testhal/ATSAMA5D2/MATRIX/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/ATSAMA5D2/MATRIX/halconf.h
+++ b/testhal/ATSAMA5D2/MATRIX/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/RTC/halconf.h b/testhal/ATSAMA5D2/RTC/halconf.h
index 2cc033eaa..c6e6364d6 100644
--- a/testhal/ATSAMA5D2/RTC/halconf.h
+++ b/testhal/ATSAMA5D2/RTC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/SDMMC/halconf.h b/testhal/ATSAMA5D2/SDMMC/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/ATSAMA5D2/SDMMC/halconf.h
+++ b/testhal/ATSAMA5D2/SDMMC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/SECUMOD/halconf.h b/testhal/ATSAMA5D2/SECUMOD/halconf.h
index 97a955b26..51a09cdf1 100644
--- a/testhal/ATSAMA5D2/SECUMOD/halconf.h
+++ b/testhal/ATSAMA5D2/SECUMOD/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/SERIAL/halconf.h b/testhal/ATSAMA5D2/SERIAL/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/ATSAMA5D2/SERIAL/halconf.h
+++ b/testhal/ATSAMA5D2/SERIAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/SPI/halconf.h b/testhal/ATSAMA5D2/SPI/halconf.h
index 4cd7610c7..78e079d97 100644
--- a/testhal/ATSAMA5D2/SPI/halconf.h
+++ b/testhal/ATSAMA5D2/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/TC/halconf.h b/testhal/ATSAMA5D2/TC/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/ATSAMA5D2/TC/halconf.h
+++ b/testhal/ATSAMA5D2/TC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/ATSAMA5D2/UART/halconf.h b/testhal/ATSAMA5D2/UART/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/testhal/ATSAMA5D2/UART/halconf.h
+++ b/testhal/ATSAMA5D2/UART/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/ADC/halconf.h b/testhal/AVR/MEGA/ADC/halconf.h
index 92be52b41..9548cc122 100644
--- a/testhal/AVR/MEGA/ADC/halconf.h
+++ b/testhal/AVR/MEGA/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/EXT/halconf.h b/testhal/AVR/MEGA/EXT/halconf.h
index a49102228..790e95514 100644
--- a/testhal/AVR/MEGA/EXT/halconf.h
+++ b/testhal/AVR/MEGA/EXT/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/GPT/halconf.h b/testhal/AVR/MEGA/GPT/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/AVR/MEGA/GPT/halconf.h
+++ b/testhal/AVR/MEGA/GPT/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/I2C/halconf.h b/testhal/AVR/MEGA/I2C/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testhal/AVR/MEGA/I2C/halconf.h
+++ b/testhal/AVR/MEGA/I2C/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/ICU/halconf.h b/testhal/AVR/MEGA/ICU/halconf.h
index 6e8225bae..bc05473cd 100644
--- a/testhal/AVR/MEGA/ICU/halconf.h
+++ b/testhal/AVR/MEGA/ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/PWM/halconf.h b/testhal/AVR/MEGA/PWM/halconf.h
index 27e789e35..9cf1b86f1 100644
--- a/testhal/AVR/MEGA/PWM/halconf.h
+++ b/testhal/AVR/MEGA/PWM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/MEGA/SPI/halconf.h b/testhal/AVR/MEGA/SPI/halconf.h
index 4cd7610c7..78e079d97 100644
--- a/testhal/AVR/MEGA/SPI/halconf.h
+++ b/testhal/AVR/MEGA/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/AES/halconf.h b/testhal/AVR/XMEGA/AES/halconf.h
index be8fce4cf..baa360488 100644
--- a/testhal/AVR/XMEGA/AES/halconf.h
+++ b/testhal/AVR/XMEGA/AES/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/SERIAL/halconf.h b/testhal/AVR/XMEGA/SERIAL/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/XMEGA/SERIAL/halconf.h
+++ b/testhal/AVR/XMEGA/SERIAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/SPI/halconf.h b/testhal/AVR/XMEGA/SPI/halconf.h
index a0a325591..0a944d14d 100644
--- a/testhal/AVR/XMEGA/SPI/halconf.h
+++ b/testhal/AVR/XMEGA/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
+++ b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/USART/halconf.h b/testhal/AVR/XMEGA/USART/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/testhal/AVR/XMEGA/USART/halconf.h
+++ b/testhal/AVR/XMEGA/USART/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/XMEGA/WDT/halconf.h b/testhal/AVR/XMEGA/WDT/halconf.h
index a0fe517d0..5f1711181 100644
--- a/testhal/AVR/XMEGA/WDT/halconf.h
+++ b/testhal/AVR/XMEGA/WDT/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG TRUE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
index b92351f24..31a83af4b 100644
--- a/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
+++ b/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F0xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F0xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/CAN/halconf.h b/testhal/STM32/STM32F0xx/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32F0xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F0xx/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/WDG/halconf.h b/testhal/STM32/STM32F0xx/WDG/halconf.h
index 21b9261ff..86fc36fb8 100644
--- a/testhal/STM32/STM32F0xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F0xx/WDG/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG TRUE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F1xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F1xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32F1xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F1xx/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h
index 2978e88e8..3dcd590b7 100644
--- a/testhal/STM32/STM32F1xx/I2C/halconf.h
+++ b/testhal/STM32/STM32F1xx/I2C/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h
index 23bd50e9e..d11d1829a 100644
--- a/testhal/STM32/STM32F1xx/RTC/halconf.h
+++ b/testhal/STM32/STM32F1xx/RTC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/STM32F1xx/SPI/halconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/testhal/STM32/STM32F1xx/UART/halconf.h
+++ b/testhal/STM32/STM32F1xx/UART/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
index 2ebcdbec6..06d1cf0a0 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/halconf.h b/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
index ad6060dac..6cb10e8b6 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F2xx/USB_CDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F37x/ADC/halconf.h
+++ b/testhal/STM32/STM32F37x/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32F37x/CAN/halconf.h
+++ b/testhal/STM32/STM32F37x/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h
index 2978e88e8..3dcd590b7 100644
--- a/testhal/STM32/STM32F37x/I2C/halconf.h
+++ b/testhal/STM32/STM32F37x/I2C/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F37x/SDADC/halconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/STM32F37x/SPI/halconf.h
+++ b/testhal/STM32/STM32F37x/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/testhal/STM32/STM32F37x/UART/halconf.h
+++ b/testhal/STM32/STM32F37x/UART/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32F37x/USB_CDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/ADC/halconf.h b/testhal/STM32/STM32F3xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F3xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F3xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
+++ b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/CAN/halconf.h b/testhal/STM32/STM32F3xx/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32F3xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F3xx/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/DAC/halconf.h b/testhal/STM32/STM32F3xx/DAC/halconf.h
index 969b56c69..da51cf84e 100644
--- a/testhal/STM32/STM32F3xx/DAC/halconf.h
+++ b/testhal/STM32/STM32F3xx/DAC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F3xx/WDG/halconf.h b/testhal/STM32/STM32F3xx/WDG/halconf.h
index 21b9261ff..86fc36fb8 100644
--- a/testhal/STM32/STM32F3xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F3xx/WDG/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG TRUE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/ADC/halconf.h b/testhal/STM32/STM32F4xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32F4xx/ADC/halconf.h
+++ b/testhal/STM32/STM32F4xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/CAN/halconf.h b/testhal/STM32/STM32F4xx/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32F4xx/CAN/halconf.h
+++ b/testhal/STM32/STM32F4xx/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/DAC/halconf.h b/testhal/STM32/STM32F4xx/DAC/halconf.h
index 969b56c69..da51cf84e 100644
--- a/testhal/STM32/STM32F4xx/DAC/halconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
index 969b56c69..da51cf84e 100644
--- a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
+++ b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
index 6e1198b68..02fff4043 100644
--- a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
+++ b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/GPT/halconf.h b/testhal/STM32/STM32F4xx/GPT/halconf.h
index ef91edb9e..45fd0ea1f 100644
--- a/testhal/STM32/STM32F4xx/GPT/halconf.h
+++ b/testhal/STM32/STM32F4xx/GPT/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/I2S/halconf.h b/testhal/STM32/STM32F4xx/I2S/halconf.h
index 5cd32ae13..56c6d2de5 100644
--- a/testhal/STM32/STM32F4xx/I2S/halconf.h
+++ b/testhal/STM32/STM32F4xx/I2S/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
+++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/RTC/halconf.h b/testhal/STM32/STM32F4xx/RTC/halconf.h
index 2cc033eaa..c6e6364d6 100644
--- a/testhal/STM32/STM32F4xx/RTC/halconf.h
+++ b/testhal/STM32/STM32F4xx/RTC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/SDC/halconf.h b/testhal/STM32/STM32F4xx/SDC/halconf.h
index bd42e92a9..ad280d34d 100644
--- a/testhal/STM32/STM32F4xx/SDC/halconf.h
+++ b/testhal/STM32/STM32F4xx/SDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F4xx/WDG/halconf.h b/testhal/STM32/STM32F4xx/WDG/halconf.h
index 21b9261ff..86fc36fb8 100644
--- a/testhal/STM32/STM32F4xx/WDG/halconf.h
+++ b/testhal/STM32/STM32F4xx/WDG/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG TRUE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
index a64fdbb06..491c5da0b 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
index f313a7ef6..c1c1f039f 100644
--- a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F7xx/SPI/halconf.h b/testhal/STM32/STM32F7xx/SPI/halconf.h
index 4cd7610c7..78e079d97 100644
--- a/testhal/STM32/STM32F7xx/SPI/halconf.h
+++ b/testhal/STM32/STM32F7xx/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
index 93ce1236e..b5b76c4a3 100644
--- a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
+++ b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT TRUE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L0xx/ADC/halconf.h b/testhal/STM32/STM32L0xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32L0xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L0xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L0xx/SPI/halconf.h b/testhal/STM32/STM32L0xx/SPI/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/STM32L0xx/SPI/halconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/halconf.h b/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
index 8cb357f67..7afc02393 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
+++ b/testhal/STM32/STM32L0xx/USB_CDC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/ADC/halconf.h b/testhal/STM32/STM32L1xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32L1xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L1xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/DAC/halconf.h b/testhal/STM32/STM32L1xx/DAC/halconf.h
index 969b56c69..da51cf84e 100644
--- a/testhal/STM32/STM32L1xx/DAC/halconf.h
+++ b/testhal/STM32/STM32L1xx/DAC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
index a987e6ef7..b1367032d 100644
--- a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
+++ b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/SPI/halconf.h b/testhal/STM32/STM32L1xx/SPI/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/STM32L1xx/SPI/halconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L1xx/UART/halconf.h b/testhal/STM32/STM32L1xx/UART/halconf.h
index 6919cd63b..b06e02dfa 100644
--- a/testhal/STM32/STM32L1xx/UART/halconf.h
+++ b/testhal/STM32/STM32L1xx/UART/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L4xx/ADC/halconf.h b/testhal/STM32/STM32L4xx/ADC/halconf.h
index f3bfc7ff2..bbeffc258 100644
--- a/testhal/STM32/STM32L4xx/ADC/halconf.h
+++ b/testhal/STM32/STM32L4xx/ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L4xx/CAN/halconf.h b/testhal/STM32/STM32L4xx/CAN/halconf.h
index 55ee4bcb3..44ce6d77c 100644
--- a/testhal/STM32/STM32L4xx/CAN/halconf.h
+++ b/testhal/STM32/STM32L4xx/CAN/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
index a64fdbb06..491c5da0b 100644
--- a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
+++ b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
index c48475a0d..ea72a09b6 100644
--- a/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
+++ b/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h
index b597e1cae..93c9a9a6d 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */
diff --git a/tools/ftl/processors/conf/halconf/halconf.h.ftl b/tools/ftl/processors/conf/halconf/halconf.h.ftl
index 89061f30c..8e2af71e5 100644
--- a/tools/ftl/processors/conf/halconf/halconf.h.ftl
+++ b/tools/ftl/processors/conf/halconf/halconf.h.ftl
@@ -212,6 +212,13 @@
#define HAL_USE_WDG ${doc.HAL_USE_WDG!"FALSE"}
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI ${doc.HAL_USE_WSPI!"FALSE"}
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -538,6 +545,26 @@
#define USB_USE_WAIT ${doc.USB_USE_WAIT!"FALSE"}
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT ${doc.WSPI_USE_WAIT!"TRUE"}
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION ${doc.WSPI_USE_MUTUAL_EXCLUSION!"TRUE"}
+#endif
+
#endif /* HALCONF_H */
/** @} */