Writing embedded software for microcontrollers that is reusable and portable can be challenging. Different microcontrollers contain different architectures and peripherals which makes creating any cross-platform application code difficult to achieve. The fact is, developers can write embedded software that is reusable and portable in a microcontroller based environment.
Over the last year or so I’ve been compiling all my knowledge how to develop reusable firmware which includes how to write low-level drivers, hardware abstraction layers and generate templates that can be used to accelerate the process into a book that will be released later this summer.
I’ve posted the first chapter and the table of contents on my website at the following link:
Developing Reusable Firmware – A Practical Approach to APIs, HALs and Drivers
If you are interested learning more about how to write reusable firmware, the first chapter will give you great insight into how to begin this process.
This needs to be a c++ book and how, what not to use. Used alongside cubemx.