<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Sep 13, 2026 at 4:19 AM Travis Siegel via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 9/11/2026 4:15 PM, Christo Crause via fpc-pascal wrote:<br>
> Here are some thoughts on two types of boards (there are many <br>
> different boards of course):<br>
> - Arduino Uno R4 (esp32-s3 module): Wifi + USB + 1x serial + CAN, <br>
> higher power consumption, limited FPC support in trunk (workable but <br>
> not straight forward).<br>
<br>
<br>
I wasn't aware any of the arduino boards were supported by FPC, I was <br>
actually tempted to mention to the op that FPC might not be a good <br>
development platform, due to lack of support for arduino boards, but <br>
since I hadn't checked to be 100 percent sure, I left that part out of <br>
my reply.<br></blockquote><div><br></div><div>FPC supports just about all of the AVR controllers used in many of the Arduino boards:</div><div>Uno Rev1 - 3, Nano, Pro Mini (atmega328p)</div><div>Leonardo, Micro, Pro Micro (atmega32U4)</div><div>Nano Every, Uno Wifi rev2 (atmega4809)</div><div>Mega (atmega2560)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Good to know such support is present, that might make some of my <br>
projects more accessible to more platforms.<br>
<br>
Where does one find the (limited) arduino support that is present in <br>
FPC? I'd be curious if any of the boards I have are directly supported. <br></blockquote><div><br></div><div><div>FPC supports the AVR controllers but does not provide much in terms of libraries.</div><div>Note that FPC supports the microcontrollers, not the boards as such.</div><div></div><div>Some third party libraries/code example:</div><div><a href="https://github.com/ackarwow/unolib">https://github.com/ackarwow/unolib</a> - Pascal version of some of Arduino's libraries</div><div><a href="https://github.com/ccrause/fpc-avr">https://github.com/ccrause/fpc-avr</a> - Pascal examples and libraries</div><div></div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I realize the difference between arduino boards isn't all that <br>
significant, so support for one is at least partially accessible to <br>
other arduino boards.  How would one (possibly) contribute to increasing <br>
the number of boards supported?<br></blockquote><div><br></div><div>From a compiler perspective the differences between Arduino boards can be massive.</div><div>The controller could be based on AVR, ARM, RISC-V, xtensa or other architecture.</div><div>The Arduino ecosystem hides this detail behind lots of abstraction.</div><div></div><div>Board support is an Arduino ecosystem concept, FPC can define an alias for a </div><div>board that maps to a controller it supports, but it is not the same thing.</div><div><br></div><div>To reproduce the Arduino experience on top of FPC I suggest expanding the Unolib project.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

I have probably half a dozen arduino boards here, along with the same <br>
number of raspberry pies, as well as micro:bit and propeller/basic stamp <br>
boards from parallax.  I'm now beginning to wonder if FPC could be <br>
adapted to work with the parallax propeller boards, since they aren't <br>
(functionally) all that different from arduinos, just been around a <br>
whole lot longer, and have more processors (in most cases)<br>
<br>
This is probably a discussion better directed to the fpc-devel list, but <br>
I'm just curious how difficult (or easy) it would be to support other <br>
boards.<br></blockquote><div><br></div><div>Yes, best to enquire on fpc-devel.</div></div></div>