CLASSES: CLASS C style adapted for embedded systems
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

____ _    ____ ____ ____ ____ ____
|    |    |__| [__  [__  |___ [__
|___ |___ |  | ___] ___] |___ ___]

CLASS C language style adapted for Embedded System.

So May I name it CLASSES style? Sounds not bad :-)


I write C using CLASS style with fun. When developing some algorithms in C targeted at embedded system where static memory is used instead of dynamic heap memory, I tried to adapt the CLASS style to the embedded version.

To avoid use of heap memory, the following issues need to be re-considered:

  • How to create object with user-adjustable parameters?
  • How to initialize object with parameters?
  • How to return memory block in APIs?


This project is my solution.

For detailed explanation of this style, please read my post "CLASS Style Adapted for Embedded Systems" along with the code.