Skip to main content
Associate III
September 21, 2026
Question

Build process automation on Rpi4 (ARM64)

  • September 21, 2026
  • 1 reply
  • 17 views

Hello guys. 
I’m currently trying to implement a CI/CD pipeline on my project, using a dedicated RPi device (Raspbian) as a test-bed. 
I use a python script to generate the cmake.txt file and then the arm libraries and ninja to build the .bin file and the programmer cli to flash it onto my device. 
The thing is that my approach works for now, but trying to include external packages like CMSIS dsp, or user provided libraries is such a huge pain. It works for now that the package is a very specific one, but this might change in the future, with the inclusion of new packs/libraries.

So my question is, what is the best way 


-- Generate the cmakelist file that also includes the external packs/librarie. Is there a possibility to use an extension on Vs code server installed on my RPi ? 

-- Link said packages/libraries. I currently have a copy of a specific version of the Board FW files where most of the middleware files are, my imported libraries and the external CMSIS packs. 

Any advice would be welcomed, especially for the first question.
 

1 reply

Associate
September 21, 2026

Hi Alex,

This package has saved me a few headaches! https://github.com/cpm-cmake/CPM.cmake

You should be able to automate Cmake and building in external libraries easily with it, I did it 5 years ago for a flight controller project.

Let me know if you need any further guidance!