mod note: moved this to the lounge, seems more appropriate to discuss something not using the axoloti hardware here.
Chibios is portable (assuming the platform your targeting is supported), but there is quite a bit of code in the firmware setting things up, or coded specifically for the hardware (e.g. which codec is used). its not going to work out of the box, thats for sure... you are going to have to go through the firmware code adapting to your hardware.
some of the code in 1.0.12 is also STM specific, i.e. not using Chibios... Im thinking specifically the USB code, though that in the experimental branch has been moved to Chibios... Im not sure if there are other STM dependancies.
What Ive done in the past for arm processors, is to just take the generated code and convert that... i.e. implement a root patcher, there is still quite a bit to do for this, in particular I concentrated on the audio/midi, but the parameters are also important, and a bit deeper in the code base.
For my skill set this was much easier than considering port the firmware, and also allowed me to integrate the code better into the existing OS of my target platform.
this works well for ARM, since even the NEON code is ported (which would be problematic for other architectures).
one thing you have to be careful/aware of though, is sample rate dependancies, if you are moving away from 48k.