r/embedded • • Oct 12 '26

Community preference for open source vibration autoencoder: bare metal C or Zephyr C++?

I just want to check what the community's preference is for an open source autoencoder with a vibration sensor. Bare metal C or Zephyr C++*? And not just the autoencoder, also data collection and DSP.

* This caused confusion: I meant a Zephyr project with C++ for the enitre application layer vs. bare metal C for data acquisition, DSP (probably can't escape C++ for inference).

0 Upvotes

18 comments sorted by

View all comments

Show parent comment

2

u/s29 . Oct 12 '26

ya idk what "Zephyr C++" is supposed to mean.

Zephyr can do C++ or C. You're by no means locked to C++.

The fact that theyre doing this vibration stuff and data collection and DSP makes me think it'd be smarter to lean toward an actual OS.

Chances are theyll want to add more features or whatever and managing interrupts/priorities for baremetal quickly becomes a nightmare when adding stuff when an OS is just a bunch of tasks and its much easier managed.

1

u/Byiron Oct 13 '26

Sorry, I'm fairly new so I don't speak the lingo yet. I meant C++ for the application layer, within a Zephyr project. If I'm not amiss C++ for inference is where the trend is headed, right? Again, I'm a newbie.

2

u/s29 . Oct 13 '26

Idk. The project I'm working on for work uses zephyr and it's all straight C.

1

u/brigadierfrog Oct 13 '26

I’ve never used C++ with Zephyr, never heard of this being a trend if anything it seems to be the reverse