The new STM32 Xcos toolbox for Scilab provide Xcos library models for STM32 microcontroller family of STMicroelectonics.

– STM32 configuration is done with STM32CubeMX,
– Automatic “C” code generation for STM32 is based on STM32Cube HAL libraries,
– The STM32 embedded target enables users to quickly deploy their application models in SCILAB and Xcos to STM32 MCUs.
– The STM32 embedded target provides an Xcos blockset library, containing STM32 peripherals, to manage peripherals data.
– The generated code can be built and downloaded on the target.

Read the documentation for more details.