Live data from Hacker News

Amazon FreeRTOS – IoT operating system for microcontrollers

aws.amazon.com

31–40 of 106 posts

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#31

Earlier quoted context omitted.

GPL would be fine too; I'd just like something that actually qualifies as FOSS, rather than something proprietary.

GPL is also a non-FOSS license. It says it is, but its not. Can't wait until the GPL is a rarely used license.

It meets the Free Software definition, the OSD, and the DFSG. And even anti-copyleft zealots rarely descend as far as to attempt to claim (falsely) that it isn't a FOSS license, rather than simply complaining that they find it distasteful.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#32
post #24
post #23

What's the advantage of a RTOS?

Been awhile since I dealt with microcontrollers, but my recollection is that some non-trivial amount of things have to be done by a RTOS. For example if your thing is attached to a sensor that spits out 47 bytes of sensor data every N clock cycles, and has a buffer that is 94 bytes, then you damn well better be reading that thing every N*2 clock cycles with a hard guarantee that your routine is finished copying all 9…

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

#33

What devices (not chip) on the market that they support? I can't seem to find it anywhere.

They list 4 dev boards on their website, from Microchip, NXP, STM and TI. With the exception of the PIC from microchip it looks like they are all ARM based. Will be exciting to see if the ESP 32 becomes supported, since it already supports regular FreeRTOS

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#34
How do ppl like freertos vs zephyr vs nuttx?

Have any real comparisons been done? Both on flexibility (platform support and code portability... I know... Nuttx, POSIX) and performance (interrupts, context switching, etc)

I've been looking at zephyr which seems all around better, albeit a bit less mature. I have no hard data though... Hence this question.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#35

Earlier quoted context omitted.

I'm a bit confused. I guessed he was selling it with Wittenstein given (a) they have commercial licenses for the same source and (b) one of their docs said he helped set up the High Integrity Division of Wittenstein. That link makes me wonder what impact they had at all on FreeRTOS. https://www.highintegritysystems.com/openrtos/ Note that I don't follow FreeRTOS's closely. I just discovered it searching for RTOS's wi…

This certainly seems to make OPENRTOS^R redundant The additional value offered by OPENRTOS is as a ‘commercial and legal wrapper’ for FreeRTOS users.

The commercial variant still offers indemnification, warranty, and support; all of these are at the least mandated by many large organizations' acquisition policies.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#38

Is this like the sample projects Microsoft makes available for interfacing a variety of development boards to their IoT hub [0] (a few of which use FreeRTOS), or is there something more to it? As usual the AWS docs are rich in inspiring buzz-words and very poor in explaining what the thing actually does. Not that Azure is better in that regard... [0] https://catalog.azureiotsuite.com/

In this case it seems Amazon outright acquired whoever was maintaining FreeRTOS and has made it available under an MIT license: https://aws.amazon.com/blogs/opensource/announcing-freertos-... So presumably they have bigger plans beyond examples.

I hope so too. At least FreeRTOS has tons of track time on it (I've been using it for years). Whence Google Brillo (or whatever it's called this year?)

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#39
>Amazon FreeRTOS ... and extends it with software libraries that make it easy to securely connect your small, low-power devices to AWS cloud services

why do IoT devices have to connect to the cloud? Is there any legitimate use case other than reporting data gathered on the customer? Why do have all these gadgets have to snoop on us?

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#40
post #29
post #25

Earlier quoted context omitted.

The advantage is that you can make claims about the maximum time it take to process something. Contrast that to Windows, macos, or Ubuntu that generally are zippy on new hardware, but sometimes the circle spins or the hourglass shows up and makes you wait, possibly for an outsized period of time for what is being processed.

To make any worthwhile claims you need the worst case execution time of your code. Even in the absence of multi-threading, technologies like caches or out-of-order execution can make this quite painful. The common solution seems to be: Don't care for some missed values (e.g. non-safety critical systems) or over provisioning (absence of budget pressure). -> A RTOS alone doesn't give you any reliable claims (but does m…

What I assume IncRnd is referring to is the deterministic behavior of an RTOS. Here is a good white paper from National Instruments:

http://www.ni.com/white-paper/3938/en/

Post reply on HN