Live data from Hacker News

Amazon FreeRTOS – IoT operating system for microcontrollers

aws.amazon.com

61–70 of 106 posts

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#61

Earlier quoted context omitted.

That's a fair question. There definitely are people not wanting the additional stuff from Amazon.

For example, probably most people using FreeRTOS thus far were using it for ordinary MCU stuff like listening for button presses and blinking LEDs without even involving a wifi transceiver at any point.

[deleted]

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#62
post #58

Earlier quoted context omitted.

No existing Linux-based RTOS that I know of will run on a microcontroller. Not enough Flash for program memory or RAM for volatile storage. Can any useful Linux-based RTOS kernel fit into 1MB of non-volatile storage and use less than ~512KB RAM; would love to know of one if it exists!

Replied as a sibling, and it certainly doesn't qualify as useful, but Dmitry Grinberg wrote an ARM emulator for AVR, soldered a SIMM to a board with an ATMEGA1284P and an SD card on an SPI bus connection, and got Linux to boot. The 24MHz clock rate is effectively reduced to about 6.5kHz, but it might be possible to find a use for such a device.

Interesting, thanks for sharing!

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#63
post #32
post #24

Earlier quoted context omitted.

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…

An additional advantage of some kind of RTOS, or at least using interrupts: infinite looping uses more power than sleeping and waiting for interrupts.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#66
post #46

Earlier quoted context omitted.

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.

Would you care to elaborate on what you believe makes the GPL a non-FOSS license?

It definitely limits the freedom of both the author and user, by restricting the means in which the software may be distributed and the limiting author's right to add additional restrictions (the "all distributions must adhere to these restrictions but can't add more" clause which makes it incompatible with the Apple App Store, for example). It's "Free" in the Free Software Foundation sense but not really in the way some people think of "freedom."

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#67

>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?

> why do IoT devices have to connect to the cloud?

to allow a "secure" connection (plus all the snooping and reporting).

as near as i can tell, there's no way to concoct a device to run on a home network which an average consumer's browser will be happy talking SSL to.

(if anyone knows a way i'd love to hear it.)

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#68

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.

We will be back to the world of public domain and freeware.

Everything will have a light version open source, with the actual goodies only available in the commercial version.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#69
post #21

Earlier quoted context omitted.

I do hope they'll keep maintaining it - I've been working with an ESP32 lately and the stuff Espressif has been able to build using FreeRTOS as a base is nothing short of incredible. $7 for wifi and bluetooth on a development board.

Agreed, the esp32 has blown me away with what it can do for a few dollars. I have a custom board with the esp-wroom-32 and the temperature sensor I'm using is more expensive than the esp32 module!

The ESP32 is just like a tiny Amstrad PCW 1512, with dual core and extra network support.

Which for anyone that used a PCW, means it can do a lot.

Re: Amazon FreeRTOS – IoT operating system for microcontrollers

#70
post #68

Earlier quoted context omitted.

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.

We will be back to the world of public domain and freeware. Everything will have a light version open source, with the actual goodies only available in the commercial version.

Until then we have the actual goodies only available in the cloud. ;)
Post reply on HN