Firmware programming

  • by Bryan Jarmain
  • Search for:

Tag: Structure

Code Structure

Chaining C Functions Together

C is not generally known to offer function call chaining as is commonly found in many Object Orientated Languages. The following shows a C idiom for doing this.

By Bryan Jarmain, 5 years ago April 4, 2016
Code Structure

Coroutines to Reduce Firmware Cost and Complexity.

How coroutines (Protothreads) can be used with C to reduce the cost and complexity of small systems such as those found in IoT based products.

By Bryan Jarmain, 5 years ago March 29, 2016
Code Structure

Why Firmware Doesn’t Scale Downwards Easily

C is the predominant language used by firmware that must scale to any large degree. However attempting to scale it down can be a lot more tricky than scaling it up.

By Bryan Jarmain, 5 years ago March 20, 2016
Code Structure

Scan-depends – a Useful little Script to Visualize C Code Structure

Introduction When writing multi-file C application, or inheriting a project others have worked on, it is always helpful to understand how the code is structured from a file level. Ideally, you want to try to keep module dependencies running in a single direction, limiting reverse dependencies. Keeping the code structure in check can Read more…

By Bryan Jarmain, 5 years ago February 25, 2016
  • by Bryan Jarmain
Hestia | Powered by WordPress