|
Post by curiousparty on May 11, 2022 15:29:30 GMT -5
I'm interested in porting Proffie os to another arduino compatible board. What specifically would I need to change in the original proffie code to make that possible?
|
|
|
Post by profezzorn on May 13, 2022 21:44:09 GMT -5
So, I've been making that a little easier recently. I've tried porting ProffieOS to a few CPUs, but except for the Teensy processors, it's not really complete.
Basically, the thing to do is to create a config file and a board config file. Then turn off as many features as possible (SD, AUDIO, WS2811, MOTION, etc.) and compile for the new board. Once that works, you can try out the serial monitor, but not much else. Then you turn on the feature defines, one by one and try to make them work.
sound and ws2811 can be particularly bothersome to port to a new cpu, because they need to be implemented using DMA, or some other thing that can run independently of the CPU.
ALso, in order for ProffieOS to work ok, it needs ~64k RAM and ~256k FLASH. It needs to run at at least 50Mhz, and an FPU is helpful. Also, fast SD card access (or some other storage) is very helpful.
|
|