Author Topic: Zephyr  (Read 2414 times)

0 Members and 1 Guest are viewing this topic.

Offline OmicronTopic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: be
Zephyr
« on: March 06, 2018, 04:36:48 pm »
Does anyone have any experience using this RTOS:

https://www.zephyrproject.org

I was considering NuttX for a new project but this seems like it might be an alternative. I'm wondering if anyone has used it in a project? Any good or bad experiences with it?
 

Offline krho

  • Regular Contributor
  • *
  • Posts: 223
  • Country: si
Re: Zephyr
« Reply #1 on: March 06, 2018, 06:24:49 pm »
It depends on what CPU you will use.
Most of the CPUs they say are supported only UART and some timers are supported and that's it.

Nuttx supports more hardware out of the box. But I've given up on it. I don't have any more time to debug buggy USB stack on STM32L4
 

Online coppice

  • Super Contributor
  • ***
  • Posts: 9400
  • Country: gb
Re: Zephyr
« Reply #2 on: March 06, 2018, 06:49:53 pm »
The RTOS market is so horribly fragmented. I haven't seen one where all the pieces of the puzzle are polished. There really needs to be a shakeout, until the number left standing allows adequate resources to be pumped into each of the ones left standing.
 

Offline OmicronTopic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: be
Re: Zephyr
« Reply #3 on: March 06, 2018, 07:46:40 pm »
I'm mostly interested in arm. It seems the latest versions do have decent support for higher level features on STM32. E.g networking. My concern with NuttX is that it seems to be a one person project.
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 593
Re: Zephyr
« Reply #4 on: March 12, 2018, 04:32:57 am »
I looked into it for a lightweight python interpreter to run scripts from C - they have all the parts to do that - but it doesn’t.

It’s bloated compared to C. It’s without question inefficient. And I’m sure it has a place for enthusiasts, but for a real commercial product no way.
 

Offline obiwanjacobi

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: nl
  • What's this yippee-yayoh pin you talk about!?
    • Marctronix Blog
Re: Zephyr
« Reply #5 on: March 12, 2018, 07:28:51 am »
It's hard to find good usage patterns that cover all (most) of the options - in general.
Everybody is looking for it that is why there are so many of everything. You should see the libraries in the JavaScript community - it's a complete mess.
Arduino Template Library | Zalt Z80 Computer
Wrong code should not compile!
 

Online mac.6

  • Regular Contributor
  • *
  • Posts: 226
  • Country: fr
Re: Zephyr
« Reply #6 on: March 12, 2018, 08:21:40 am »
Zephyr is not an RTOS, it's a framework with an RTOS. That's why it's so "bloated"
I have seen that they moved to CMake, which is way better than reusing kbuild.
 

Offline OmicronTopic starter

  • Regular Contributor
  • *
  • Posts: 142
  • Country: be
Re: Zephyr
« Reply #7 on: March 12, 2018, 09:38:41 am »
I'm not sure I understand what Zephyr has to do with running Python scripts.

If all I needed was an RTOS kernel then I'd have to look no further than FreeRTOS. The problem is that most projects I do these days require much more than that, e.g. networking, USB support, bluetooth, SD-Card file system, etc. Sure, you can cobble something together from various open source projects, but that's far from ideal. There used to be eCos which was pretty good but it seems to have passed into obscurity with nothing much to replace it. I was hoping Zephyr might finally fill this gap. These days I often find myself "upscaling" a design to use a Linux based system on module simply to get reliable networking, USB, bluetooth etc etc... Obviously that is not possible for many designs where cost or space is an issue.
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 593
Re: Zephyr
« Reply #8 on: March 15, 2018, 05:27:44 am »
Haha!! I’m so dumb!!!

I mistook Zephyr for Zerynth! I had just been looking at it and it didn’t even occur to me to really pay attention to the spelling.

If you take away the python part of Zerynth, there is a lot of overlap, actually.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf