News for hackers. Stuff that matters.
Re:Amazon FreeRTOS – IoT operating system for microcontrollers by HankB99 on Wednesday November 29, 2017 @07:58PM (#15812415)
Two models are common in embedded systems: "main loop" or RTOS. In the main loop model, once initialization is complete, the program loops indefinitely, servicing various functions. Since the developer is responsible for a larger portion of the code, it is easier to meet timing deadlines.

An RTOS provides a convenience to allow various threads to block and thus simplify programming. I would choose an RTOS where there are a greater number of independent tasks which need to be performed.

Both are alternatives to a conventional OS which makes hitting deadlines difficult or impossible.

Re:Amazon FreeRTOS – IoT operating system for microcontrollers by nitrogen on Thursday November 30, 2017 @12:06AM (#15813616)
An additional advantage of some kind of RTOS, or at least using interrupts: infinite looping uses more power than sleeping and waiting for interrupts.