fprime icon indicating copy to clipboard operation
fprime copied to clipboard

Revive Small Platform Support

Open LeStarch opened this issue 3 years ago • 5 comments

F´ Version
Affected Component


Feature Description

AVR and small ARM compilations are failing since v2.1. We should revive support.

LeStarch avatar Dec 21 '21 20:12 LeStarch

@LeStarch Would you consider the fprime-arduino repo a good overall reference for porting F Prime v3.0.0 to a new bare metal embedded microcontroller? Or is there another project in the fprime-community that you recommend?

astroesteban avatar Feb 10 '22 19:02 astroesteban

@astroesteban fprime-arduino is the repository that is failing. As far as I am aware there are no current small baremetal systems using F´. The fprime-arduino toolchain approach should work, it just needs an fpp-ification of its components.

@SterlingPeet was looking into refactoring fprime-arudino at some point, so we should see if changes are in progress there.

LeStarch avatar Feb 10 '22 21:02 LeStarch

I see. Good to know. I'll spend some time over the next couple of months porting F' v3.0.0 to the Raspberry Pi Pico. I'll make sure to document any blockers or quirks I come across.

astroesteban avatar Feb 11 '22 00:02 astroesteban

What is the current status of this issue? I'm interested in running f-prime on pi pico. Is it something worth pursing alone?

not7cd avatar May 20 '22 16:05 not7cd

@not7cd I haven't had a chance to work on this. I've been pretty busy with a different project.

I ended up spending time trying to port F Prime to the Texas Instruments TM4C123GXL microcontrollers. You can view the repo here. It's an Arm-based microcontroller. I still need to create the topology and get the cross-compilation working (there's some linker issues) but you could probably reference pieces of that project for the Pico. Note that the Raspberry Pi Pico uses the Pico SDK which could present additional integration challenges or effort.

astroesteban avatar May 24 '22 15:05 astroesteban

Note: @SterlingPeet and I are working on upgrading fprime-arduino to generally support arduino-framework boards. However, along with the other issue....this is being done in fprime-community and as such this issue should be closed.

LeStarch avatar Sep 29 '22 21:09 LeStarch