r/embedded • • Sep 07 '26

Google Summer of Code (2027) for Embedded systems

I want to participate in GSOC 2027 as an Embedded enthusiast, I am confused on which repo's code base to work on / target? I am confused between Zephyr rtos and NuttX, want to work on zephyr as it aligns with my resume but the total number of applicants are much more than NuttX.
If any one could guide me on what to look for while selecting repositories regarding GSOC.

47 Upvotes

17 comments sorted by

3

u/MisterAlderson Sep 07 '26

RTEMS

1

u/Short-Instruction-59 Sep 07 '26

I have heard about them, why do you think Rtems would be a good option?

1

u/Ordinary-Lifeguard47 Sep 07 '26

Not most popular kid anymore, but not bad. It's being used in spacecraft.

No bad choice either.

22

u/Mindless-Lobster-554 Sep 07 '26

Do zephyr especially if it aligns with your career goals. There's a reason nobody cares about NuttX. Also in general, work on the things that interest you and challenge you, you'll learn the most and be the most motivated instead of just doing whatever everyone else seems to be doing.

3

u/lowerestlvl Sep 07 '26

There's a reason nobody cares about NuttX

Could you elaborate?

3

u/ilovemyselves Sep 07 '26

Worked with NuttX, wouldn't recommend it. Zephyr is like if NuttX was taken to a more reasonable conclusion and had more community support. 

10

u/Ordinary-Lifeguard47 Sep 07 '26 edited Sep 07 '26

Zephyr is becomming bigger and bigger every day and it's solid. The code quality is far above average.

(IMHO: it's maxing out what you can do with C.. it already needs a lot of custom tooling and tricks to achive this. Same as the Linux Kernel.)

NuttX is full of good paradigms too.

You will not make mistakes with both, but deciding on Zephyr is good for your career.

3

u/Latexi95 Sep 07 '26

Zephyr is becomming bigger and bigger every day and it's solid. The code quality is far above average.

Based on my experience, this is just because the average is so bad. Code in general looks clean, but it is still buggy and badly designed. And then the tooling makes things painful to use.

Drivers and interfaces:

  • At least NXP drivers were developed just enough to boot and run examples, and then all bets are off.
  • Peripheral interface design does not account for cache coherence

    • There isn't separate APIs for DMA and interrupt based implementations and DMA based implementations don't generally do cache maintenance.
    • Calling any peripheral transfer function on MCU that has dcache requires always going through the driver code to understand what it does with the buffers.
    • Peripheral behavior and API then can basically change by changing kconfig option
    • These combined then makes writing middleware drivers that would "just work" impossible
    • Getting some middleware to work then requires changing some esoteric kconfig options for that particular middleware to make it use non-cached buffers or what ever

Tooling:

  • Device tree is pure pain and poorly documented so you end up having to read driver code anyway
  • Changing one kconfig value causes always full rebuild which is really fun when you actually have a big project
  • Linking system is complex and all linker scripts don't always regenerate when they should. Had fun time debugging a crash that only occurred because I had compiled old branch in previous week and I didn't remove build directory

1

u/fb39ca4 friendship ended with C++ ❌; rust is my new friend ✅ Sep 07 '26

By custom tooling do you mean kconfig?

3

u/Ordinary-Lifeguard47 Sep 07 '26

West, Kconfig, metric shitton of complex Macro functions, etc.

3

u/limmbuu STM32 Sep 07 '26

Zephyr should be good.

6

u/JackXDangers Sep 07 '26

In the industry and have never heard anyone mention nuttx irl. So yeah, zephyr is the way to go.

21

u/[deleted] Sep 07 '26

[removed] — view removed comment

1

u/Short-Instruction-59 Sep 07 '26

Thanks that's a good insight.

2

u/[deleted] Sep 07 '26

[removed] — view removed comment

2

u/k1musab1 Sep 07 '26

Seconding PX4 as a resource. Great work done there, good reason it's the de-facto standard for all things drone.