If there is a betaflight config we can likely add it
Thank you for adding that Alex.
Is that what you need @andyp1per?
By āweā I meant in the general sense. I can give pointers to anyone who has one and wants to take a crack.
That would be great. I appreciate the help. I ordered one but havenāt received it yet.
The thing Iām most wary of is the onboard SPI-based ExpressLRS Rx. I have the previous version FC (2.2 versus 3) and setup using Betaflight was totally different to an external serial one. I have never built any flavor of Ardupilot so I donāt know how such things are divided between the firmware itself versus configuration.
You need to be able to build ArduPilot. If itās SPI based then that is not currently supported.
It says ELRS is serial connected rather than SPI which we do support fine - I did a port for a similar board
Ok thatās great. I was going by the 2.2 version which is SPI.
I understand that Iāll have to build the firmware. I was just pointing out that I havenāt done that before for Arducopter.
Ok, Iāve received the FC board. Reading through the documentation for building custom targets, there seem to be choices for the OS on which to configure the environment. Which one is easiest for a noob? Is it possible to configure the Linux version for an Rpi4?
Not that I am aware of
So would you suggest the Windows environment then? The setup for any of them seems pretty involved so if oneās better than the others Iād rather start off there.
If you have windows then use WSL (Windows Subsystem for Linux) - itās the easiest way and just requires the same setup as linux
Since the build system is Linux based it seemed more straightforward to run on Linux directly to me and I donāt want to keep of of the files that I may never use again on my PC, so I made a bootable external USB drive with Ubuntu on it.
I am up to the point of trying to build the first example in ardupilot/BUILD.md. ./waf list_boards works, but the configure command fails. "Could not find the program [āarm-none-eabi-arā]. Can someone help with this?
After I get through what Iām assuming are installation / configuration problems, Iāll be on to trying to customize for my hardware. I havenāt been able to find documentation for how to do that. I expect there is a board map that identifies where resources like the ESCs, barometer etc are located. Based on your initial comments there is already a 405-based target that can be edited?
Make sure you run ./Tools/environment_install/install-prereqs-ubuntu.sh then you should have all the dependencies you need
Thank you for your help.
I switched to the ābuilding the codeā thread and forgot to finish āsetting up the build environmentā. Thank you for catching that. I was missing some Python libraries that are also probably taken care of by that step.
So once I get that figured out, which model were you referring to when you said youād built something similar?
Where is the memory map (or however I customize it) that Iāll need to edit?
Ah its an AT32 chip I had not spotted that. Thatās not currently supported. There is a PR in the works, but not complete yet - I think you will have to wait until that is done.
There are two versions. I have the STM32F405 one.
Is there a betaflight config for the board?
Yes. The dump is attached to one of the first posts in this thread.