Author Topic: Leightweight RTOS for Cortex M3 development on Linux?  (Read 2778 times)

0 Members and 1 Guest are viewing this topic.

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 927
  • Country: ch
Leightweight RTOS for Cortex M3 development on Linux?
« on: March 15, 2018, 04:38:27 pm »
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;


 

Offline krho

  • Regular Contributor
  • *
  • Posts: 223
  • Country: si
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #1 on: March 15, 2018, 05:35:36 pm »
FreeRtos with tcpip stack and fat stack is now MIT licensed.
 

Offline mubes

  • Regular Contributor
  • *
  • Posts: 238
  • Country: gb
  • Do Not Boil
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #2 on: March 15, 2018, 06:26:44 pm »
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
 

Offline mac.6

  • Regular Contributor
  • *
  • Posts: 226
  • Country: fr
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #3 on: March 15, 2018, 09:35:47 pm »
If you don't mind GPL licence, chibiOS is another choice, quite a lot of port and drivers.
 

Offline mubes

  • Regular Contributor
  • *
  • Posts: 238
  • Country: gb
  • Do Not Boil
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #4 on: March 15, 2018, 10:44:28 pm »
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

 

Offline mac.6

  • Regular Contributor
  • *
  • Posts: 226
  • Country: fr
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #5 on: March 16, 2018, 10:01:26 am »
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.
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #6 on: March 16, 2018, 11:23:30 am »
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.html

BTW:
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
« Last Edit: March 16, 2018, 11:26:19 am by capt bullshot »
Safety devices hinder evolution
 

Offline Sal Ammoniac

  • Super Contributor
  • ***
  • Posts: 1764
  • Country: us
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #7 on: March 16, 2018, 05:46:59 pm »
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.
"That's not even wrong" -- Wolfgang Pauli
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4312
  • Country: us
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #8 on: March 17, 2018, 01:58:12 am »
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. :-(
 

Offline krho

  • Regular Contributor
  • *
  • Posts: 223
  • Country: si
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #9 on: March 17, 2018, 12:57:56 pm »
tcp/ip stack that desn't support ipv6 now days isn't worth the bytes it occupies.
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2267
  • Country: 00
Re: Leightweight RTOS for Cortex M3 development on Linux?
« Reply #10 on: March 17, 2018, 01:10:43 pm »
tcp/ip stack that desn't support ipv6 now days isn't worth the bytes it occupies.

Why? Is there any place where you can't use IPv4?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf