My personal collection of self-developed drivers written in pure C designed for the hardware communication with other devices.
I have a dream. One day students and open-source enthusiasts do not need to rely on hundreds of libraries and scripts spread all over the Internet to build their embedded project. Just clone this repo and it will automatically build your driver for any popular embedded platform (excl. Arduino).
I want to make drivers that are highly abstracted enough to be portable across not just microcontroller architectures but whole embedded systems in general.
For example, I want MPU6050 IMU driver to be equally portable between an ESP32 and Nvidia Jetson or Raspberry Pi without major changes in the codebase.
You can provide compilation flags to the make in order to build drivers for specific type of device. There are two ways of doing it:
- Use root directory CMakeLists.txt to build entire project with all drivers in according to your platform.
- Use specific folder's CMakeLists.txt to bulid specific driver you need