Closed ukhov79 closed 10 months ago
You're absolutely correct, for now this dependency handling is totally missing. I was thinking about how I would handle it, using git submodules or downloading in Makefile
, and now I'm planning to add downloading with the Makefile
(I don't like submodules).
If you want to build with Wi-Fi and MAVLink, you may download MAVLink library manually and put it to the flix
directory.
Yes, I did. everything worked perfectly. Thanks! However, my Arduino IDE sometimes refuses to upload code to the board and I have to restart IDE.
I guess the recommended way to edit this code for experienced developers is using VSCode and console for building and uploading. I have VSCode config files that make IntelliSense work with the Arduino code and the simulation code, I just have not committed them yet (they are not portable enough).
I want to keep full compatibility with Arduino IDE to get to the lowest barrier of entry to study this code. Although it's not the most convenient way.
@ukhov79, I decided to solve this in a radical way, without using submodules or Makefile downloads. I created an Arduino library that allows to install MAVLink in an easy Arduino way, and utilized it in this project.
So if you can check if it works, that would be helpful.
Great solution! It works!
It would be cool to add dependencies for the MAVLINK library: https://github.com/mavlink/c_library_v2