Move the macros to a single place and reduce the variations not based on board, but based on - The name of the entry-point function, specified by AP_MAIN; - Whether it contains argc/argv arguments or not. The goal here is that programs (vehicles and examples) don't need to include all possible boards to define a main function. Further patches will change the programs. |
||
---|---|---|
.. | ||
examples | ||
utility | ||
AnalogIn.cpp | ||
AnalogIn.h | ||
AnalogSource.cpp | ||
AP_HAL_FLYMAPLE_Namespace.h | ||
AP_HAL_FLYMAPLE_Private.h | ||
AP_HAL_FLYMAPLE.h | ||
FlymaplePortingNotes.txt | ||
FlymapleWirish.h | ||
GPIO.cpp | ||
GPIO.h | ||
HAL_FLYMAPLE_Class.cpp | ||
HAL_FLYMAPLE_Class.h | ||
I2CDriver.cpp | ||
I2CDriver.h | ||
RCInput.cpp | ||
RCInput.h | ||
RCOutput.cpp | ||
RCOutput.h | ||
Scheduler.cpp | ||
Scheduler.h | ||
Semaphores.cpp | ||
Semaphores.h | ||
SPIDriver.cpp | ||
SPIDriver.h | ||
Storage.cpp | ||
Storage.h | ||
UARTDriver.cpp | ||
UARTDriver.h | ||
Util.h |