I am diving into the ArduCopter code for my project. I am curious how the Arducopter repository is compiled for specific hardware (whether its APM or PIXHAWK). When I look at the Arducopter repositories, I come across lot of .pde (arduino specific files) which seems to be related to ArduPilotMega (an arduino based autopilot).
I wonder how those .pde compiles into a working executable for PIXHAWK. or is it that I am missing some files.
If you can guide me to some tutorial/documentation, it would be really appreciated.