Search found 95 matches

by electronic_eel
Mon Apr 13, 2026 12:53 pm
Forum: Bug Reports
Topic: ARMCMx GCC rules.mk: allow to add to $(OUTFILES)
Replies: 5
Views: 468

Re: ARMCMx GCC rules.mk: allow to add to $(OUTFILES)

Giovanni wrote: Mon Apr 13, 2026 7:59 am A new variable looks easier to use.
Ok.

Patch attached and also available at https://github.com/electroniceel/ChibiO ... k-outfiles.

Please consider applying.

Once that is in I will start to work with emulator on the RP2 specific part that will use this new variable.

Thank you.
by electronic_eel
Sun Apr 12, 2026 3:50 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units

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.

Here is what I came up with ...
by electronic_eel
Sat Apr 11, 2026 8:15 pm
Forum: Bug Reports
Topic: ARMCMx GCC rules.mk: allow to add to $(OUTFILES)
Replies: 5
Views: 468

Re: ARMCMx GCC rules.mk: allow to add to $(OUTFILES)

Another way to solve this issue would be to introduce a separate variable that is designed for such additions like this:


--- a/os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk
+++ b/os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk
@@ -143,7 +143,7 @@ VPATH = $(SRCPATHS)
# Makefile rules ...
by electronic_eel
Sat Apr 11, 2026 1:39 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units

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 concur that automatic flashing from ...
by electronic_eel
Sat Apr 11, 2026 1:34 pm
Forum: Bug Reports
Topic: ARMCMx GCC rules.mk: allow to add to $(OUTFILES)
Replies: 5
Views: 468

ARMCMx GCC rules.mk: allow to add to $(OUTFILES)

Hi,

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 ...
by electronic_eel
Thu Apr 09, 2026 10:38 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units

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 ...
by electronic_eel
Tue Apr 07, 2026 9:50 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units

Hi,

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 ...
by electronic_eel
Sun Apr 05, 2026 11:19 am
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units


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 ...
by electronic_eel
Sat Apr 04, 2026 6:04 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

Re: RP2040 + RP2350 HAL: support for PIO units


You should talk with emulator/Buzz/Ellerbach, they are working on the full RP support.

Yes, I wanted to talk to him. I hope he sees the message here.


Most discussion is on our discord if you want to propose changes/improvements.

I would prefer not having to use discord. The last time I ...
by electronic_eel
Sat Apr 04, 2026 5:33 pm
Forum: RP2040-RP2350 Support
Topic: RP2040 + RP2350 HAL: support for PIO units
Replies: 10
Views: 915

RP2040 + RP2350 HAL: support for PIO units

Hi emulator,

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 ...