Leightweight RTOS for Cortex M3 development on Linux? - Page 1
Forum section: electronics / general

author: davorin
author_rank: Unknown
timestamp: March 15, 2018, 04:38:27 pm
content: What do people use here for developing applications under a RTOS for Cortex M0 - M4 family?So far I only used riot-os, which is rather a nice OS but more for wireless sensor networks...And just tried to install zephyr...well documented...not a nightmare to install..so I just deleted it again (o;Basically I am looking for:- leightweight, small footprint- tcp/ip stack for small server application- No Eclipse IDE or any other JAVA monster (o;FInal goal is to run a GPIB TCPIP proxy on a smartfusion2 SoC which Microsemi is giving away rather cheap (o;

author: krho
author_rank: Regular Contributor
timestamp: March 15, 2018, 05:35:36 pm
content: FreeRtos with tcpip stack and fat stack is now MIT licensed.

author: mubes
author_rank: Regular Contributor
timestamp: March 15, 2018, 06:26:44 pm
content: My go-to tends to be freertos but if you fancy swimming upstream a bit then take a look at MBED-OS which appears to incorporate a MIT licenced version of Keil RTX. I've only glanced at it so far and it's on my to-do list but that list keeps on getting longer so it could be a while.MBED itself seems to have a lot of community contributed drivers, and I'm not sure how I feel about that <Glances nervously in direction of Arduino>.If you _do_ look into it then please report back...inquiring minds would like to know.Dave

author: mac.6
author_rank: Regular Contributor
timestamp: March 15, 2018, 09:35:47 pm
content: If you don't mind GPL licence, chibiOS is another choice, quite a lot of port and drivers.

author: mubes
author_rank: Regular Contributor
timestamp: March 15, 2018, 10:44:28 pm
content: Yes, chibiOs, and especially it's HAL, is pretty nice, provided you happen to be on a well supported chip....unfortunately I doubt the smartfusion perhiperals will meet that criterion.Dave

author: mac.6
author_rank: Regular Contributor
timestamp: March 16, 2018, 10:01:26 am
content: It's always the same thing with RTOS+framework bundles. Either it's a fast lane with good supported chips, or a nightmare with non supported ones.That's why I tend to use minimal FreeRTOS port with vendor provided SDK/libs.

author: capt bullshot
author_rank: Super Contributor
timestamp: March 16, 2018, 11:23:30 am
content: I've made my own ecosystem for STM32 devices, using ChibiOS, LwIP, and STM STDFW / HAL drivers (just to be able to use their CubeMX tool for pinout configuration).No fancy IDE, everything relies on Makefiles. Quite ugly stuff, anyway ...http://wunderkis.de/thestm32files.htmlBTW:I've done a TCP to GPIB board in ancient times, using ancient technology (this links to a German page):http://wunderkis.de/scbrd/index.html

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: March 16, 2018, 05:46:59 pm
content: I have my own RTOS that I originally wrote for the M68000 and which I've ported to the ARM Cortex-M, PIC32, AVR32, etc. It has two advantages for me: 1) I know the code intimately (because I wrote it); 2) no licensing issues.

author: westfw
author_rank: Super Contributor
timestamp: March 17, 2018, 01:58:12 am
content: I'd normally thing of "an RTOS" and "a TCP/IP" stack as separate products...A lightweight RTOS is pretty easy, and there are lots of choices. TCP stacks... have a lot more opportunity for bloat, and I think fewer well-respected implementations. :-(

author: krho
author_rank: Regular Contributor
timestamp: March 17, 2018, 12:57:56 pm
content: tcp/ip stack that desn't support ipv6 now days isn't worth the bytes it occupies.

author: Karel
author_rank: Super Contributor
timestamp: March 17, 2018, 01:10:43 pm
content: Quote from: krho on March 17, 2018, 12:57:56 pmWhy? Is there any place where you can't use IPv4?