Mannie Peterson (aka FellFromTree) developed an embedded operating system called HeliOS, which is specifically designed for 8-bit and 32-bit Arduino boards and is easy to use with the Arduino IDE. HeliOS is said to only have 21 function calls and implements collaboration, event driven multitasking, task notification / messaging, timers, and memory management.
How does HeliOS work?
HeliOS was written with hobbyists, enthusiasts and researchers in mind who want more functionality than what existing task schedulers offer yet want to avoid the size and complexity of an RTOS. HeliOS has only 21 function calls and implements a wide variety of functionality including cooperative multitasking (run-time balanced), event driven multitasking, task notification/messaging, timers and managed memory. Not only is HeliOS easy to use, it is conveniently available through the Arduino IDE Library Manager or from GitHub as a ZIP file and has out-of-the-box support for Arduino AVR, SAM, SAMD and ESP8266. Either way, HeliOS is compliant with Arduino’s 1.5 (rev 2.2) Library Manager Specifications so getting started is a snap!Source: https://create.arduino.cc/projecthub/FellFromTree/helios-embedded-operating-system-e311bf
Industrial use of LoRa & ESP32-based solutions
One of industrial IoT devices, supporting LoRa wireless technology is ESP32 based eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information and also Raspberry Pi based solutions check Industrial IoT Shop with all the configuration options for eModGATE.