Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Code Organization

In general, we try to encapsulate components of the firmware as independent modules. We have a common library that consists of a number of peripheral drivers and frameworks that are shared across the car.

All modules and drivers should have a simple, common API which can easily be ported across multiple platforms. Our drivers are designed to abstract most of the heavy lifting away from the user, allowing the development of systems without needing to worry about the inner workings of each component.

Coding Style

At Midnight Sun, we use a variant of the Google C++ Style Guide. In general:

...