i needed to keep aligned some struct in my code.
But i wanted to be easy to add structure, and make them thread-safe, garbage-safe, type-safe and easy to use, so anybody can use it with little effort.
Also i wanted to make it type safe and as static as possible, without the need to use any allocation.
What i created (with the help of Francesco Nero) is this: https://github.com/MauroMombelli/microStructDb
i would like to have a feddback on code style and everythig.
please note that the is missing locking mechanism into https://github.com/MauroMombelli/microS ... c/engine.h, so it is not thread-safe (but is portable), i'm planning to use Mutex in my application, but it is up to you.
This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest