The Zephyr RTOS (Real-Time Operating System) with its hardware abstraction layer is designed for portability between various MCU (Micro-Controller Units) including, but by no means limited too, the Nordic nRF51, nRF91, STM32, ESP32.
The source repository for Zephyr can be found at https://github.com/zephyrproject-rtos/zephyr.
