what is the best way to include ardupilot librarys in anther different project?
For example how can stm32 read GPS\imu via GPS\imu Ardupilot library.
Following are the steps that i went through:
1) I used c++ compiler to compile chibios with stm32 .
2) I copied the AP_HAL, AP_HAL_CHIBIOS and AP_Common that are existed in Ardupilot library to project in step 1.
3) I created make file to compile the files in step 2 on the project, however, I faced some problems as following:
a).....target 'build/obj/sumd.cpp' doesn't match the target patterned
b).....target 'build/obj/Device.o' given more than once in the same rule
c) arm-none-eabi-gcc:fetal error :no input files
or :
I should use waf to build like Ardupilot.
Best regards
ASD ASD