Hi.
I found a new computer so i installed Ubuntu 16.04 LTS and paparazzi.
Everything looks fine except some warnings i get when i compile any aircraft.
Also i want to say that there is an error in the openpilot_revo_1.0.h board header, the "#define SPI3_GPIO_AF GPIO_AF5"
should read #define SPI3_GPIO_AF GPIO_AF6
I have tested the spi3 port and it works fine in AF6 which is the correct alternate function for SPI3.
Here is the output containing the warnings that are not related to my files:
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/peripherals/mpu60x0_spi.o
peripherals/mpu60x0_spi.c: In function 'mpu60x0_spi_event':
peripherals/mpu60x0_spi.c:151:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
mpu->config.init_status--; // Retry config (TODO max retry)
~~~~~~~~~~~~~~~~~~~~~~~^~
peripherals/mpu60x0_spi.c:152:7: note: here
case SPITransSuccess:
^~~~
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/peripherals/hmc58xx.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/imu/imu_mpu6000_hmc5883.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/imu.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/nav.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/navigation/common_flight_plan.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/navigation/nav_survey_rectangle.o
In file included from ./firmwares/fixedwing/nav.h:41:0,
from firmwares/fixedwing/nav.c:34:
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h: In function 'auto_nav':
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:165:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:166:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:168:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:55:18: note: here
#define Label(x) label_ ## x:
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:169:7: note: in expansion of macro 'Label'
Label(while_1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:192:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:193:7: note: in expansion of macro 'Stage'
Stage(3)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:195:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
In file included from firmwares/fixedwing/nav.c:40:0:
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:196:7: note: here
default:
^~~~~~~
In file included from ./firmwares/fixedwing/nav.h:41:0,
from firmwares/fixedwing/nav.c:34:
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:207:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:208:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:231:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:232:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:234:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:235:7: note: in expansion of macro 'Stage'
Stage(2)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:237:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:238:7: note: in expansion of macro 'Stage'
Stage(3)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:262:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:263:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:265:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:266:7: note: in expansion of macro 'Stage'
Stage(2)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:268:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:269:7: note: in expansion of macro 'Stage'
Stage(3)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:271:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:272:7: note: in expansion of macro 'Stage'
Stage(4)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:347:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:348:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:358:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:359:7: note: in expansion of macro 'Stage'
Stage(3)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:423:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:424:7: note: in expansion of macro 'Stage'
Stage(1)
^~~~~
./subsystems/navigation/common_flight_plan.h:44:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define InitStage() nav_init_stage();
^~~~~~~~~~~~~~~~
./subsystems/navigation/common_flight_plan.h:51:36: note: in expansion of macro 'InitStage'
#define NextStage() { nav_stage++; InitStage(); }
^~~~~~~~~
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:434:9: note: in expansion of macro 'NextStage'
NextStage();
^~~~~~~~~
./subsystems/navigation/common_flight_plan.h:50:18: note: here
#define Stage(s) case s: nav_stage=s;
^
/home/hendrix/paparazzi/var/aircrafts/DART/ap/generated/flight_plan.h:435:7: note: in expansion of macro 'Stage'
Stage(3)
^~~~~
At top level:
firmwares/fixedwing/nav.c:202:13: warning: 'nav_ground_speed_loop' defined but not used [-Wunused-function]
static void nav_ground_speed_loop(void)
^~~~~~~~~~~~~~~~~~~~~
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/radio_control.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/radio_control/ppm.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/arch/stm32/subsystems/radio_control/ppm_arch.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/guidance/guidance_v.o
firmwares/fixedwing/guidance/guidance_v.c: In function 'v_ctl_climb_loop':
firmwares/fixedwing/guidance/guidance_v.c:349:9: note: #pragma message: AUTO PITCH Enabled!
#pragma message "AUTO PITCH Enabled!"
^~~~~~~
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/guidance/guidance_h.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/stabilization/stabilization_attitude.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/gps/gps_ubx.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/gps.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/modules/datalink/pprz_dl.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/datalink/downlink.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/datalink/datalink.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/subsystems/datalink/telemetry.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/pprzlink/src/pprz_transport.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/fixedwing_datalink.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/ap_downlink.o
CC /home/hendrix/paparazzi/var/aircrafts/DART/ap/firmwares/fixedwing/fbw_downlink.o
LD /home/hendrix/paparazzi/var/aircrafts/DART/ap/ap.elf
OBJCH /home/hendrix/paparazzi/var/aircrafts/DART/ap/ap.hex
OBJCB /home/hendrix/paparazzi/var/aircrafts/DART/ap/ap.bin
Current size:
/home/hendrix/paparazzi/var/aircrafts/DART/ap/ap.elf :
section size addr
.text 0x1bae0 0x8000000
.preinit_array 0x0 0x801bae0
.init_array 0x0 0x801bae0
.fini_array 0x0 0x801bae0
.data 0x3a28 0x20000000
.bss 0x1ad8 0x20003a28
.debug_info 0xa1ee9 0x0
.debug_abbrev 0xfdae 0x0
.debug_aranges 0x24e8 0x0
.debug_macro 0x267b3 0x0
.debug_line 0x2be3f 0x0
.debug_str 0x794ef 0x0
.comment 0x7e 0x0
.ARM.attributes 0x35 0x0
.debug_loc 0x19706 0x0
.debug_ranges 0x3fa0 0x0
.debug_frame 0x8034 0x0
Total 0x1c63cd
make[1]: Leaving directory '/home/hendrix/paparazzi/sw/airborne'
make: Leaving directory '/home/hendrix/paparazzi'
DONE 'make -C /home/hendrix/paparazzi -f Makefile.ac AIRCRAFT=DART ap.compile'