So as the next step I started writing defines and helper macros in CMSIS style for the PIO assembler instructions. I have currently done this for JMP and WAIT, just to give a feel for how this would look like before investing the time to do this for all instructions.
Sorry for mixing up the two issues. I reset my branch at https://github.com/electroniceel/ChibiOS/tree/rp2-pio-make to just contain the PIO specifics and created a new thread at https://forum.chibios.org/viewtopic.php?t=6691 about the generic rules.mk change.
I originally posted this in https://forum.chibios.org/viewtopic.php?p=43841#p43841 , but since this is about the generic rules.mk for all ARMCMx and not just about RP2 specifics, emulator asked me to move this discussion here.
Currenly the file os/common/startup/ARMCMx/compilers/GCC/mk/rules ...
Before tackling PIO further, I did some more Makefile-work to ease working with the RP2 MCUs.
Makefiles are very sensitive to ordering. Currently the generic ARM GCC rules.mk does not allow you to add something to $(OUTFILES). You can't add something beforehand because it overwrites it and you can ...
when porting my pio projects, the most annoying issue was that building the header files out of the pio assembler files was not automated in the build process and I had to manually call pioasm all the time. This is why I addressed this first.
I have published a branch here: https://github.com ...
Yes, the PIO LLD is missing a few functions, a patch would be great. If not I will make a pass at is likely later this week.
Very good. I'm currently migrating some more of my PIO functions and take notes where things could be improved. I guess I will have some patches for PIO ready for your ...
I have seen that you added HAL support for the PIO units of the RP2040 and RP2350. Thank you for implementing that.
It took me some time, but I now have a PIO unit working with it. I'm eager to use your PIO HAL functions, because I had function/variable name clashes with PIO when ...