.. as far as I can see it would be easier on most or all respects to develop if it were just plain C++.
Especially since the new HAL layer replaces (and needs to defeat) the final Arduino abstractions still used.
Is it because of the bootloader and the programmer device free firmware upload that Arduino is used?
Regards
Soren
Replies
Hi Soren,
The remaining pieces of Arduino-like structure are there to make it possible for people to use the arduino build environment, which provides an easy starting point for people getting into the project. It is also to give a reasonably smooth transition from earlier versions of the code which was more tightly tied to Arduino.
I've recently pushed some changes to git master which now allow some of our build targets (such as SITL and PX4) to build without having the arduino toolchain installed at all. On the AVR based APM1 and APM2 we still use some Arduino header files, but we don't use any of the library functions.
Cheers, Tridge