Code: Select all
traffens@ubuntu:~/Desktop/projects/crazyflie-firmware$ make
CLEAN_VERSION
CC list.o
CC tasks.o
CC queue.o
CC timers.o
CC heap_4.o
CC port.o
CC stm32f4xx_adc.o
CC stm32f4xx_dbgmcu.o
CC stm32f4xx_dma.o
CC stm32f4xx_exti.o
CC stm32f4xx_flash.o
CC stm32f4xx_gpio.o
CC stm32f4xx_i2c.o
CC stm32f4xx_iwdg.o
CC stm32f4xx_rcc.o
CC stm32f4xx_spi.o
CC stm32f4xx_tim.o
CC stm32f4xx_usart.o
CC stm32f4xx_misc.o
CC stm32f4xx_syscfg.o
CC usb_core.o
CC usb_dcd_int.o
CC usb_dcd.o
CC usbd_ioreq.o
CC usbd_req.o
CC usbd_core.o
CC sensors_mpu9250_lps25h.o
CC sensors_bmi088_bmp388.o
.//src/hal/src/sensors_bmi088_bmp388.c: In function ‘sensorsDeviceInit’:
.//src/hal/src/sensors_bmi088_bmp388.c:465:18: error: assignment to ‘bmp3_com_fptr_t’ {aka ‘signed char (*)(unsigned char, unsigned char, unsigned char *, short unsigned int)’} from incompatible pointer type ‘bstdr_ret_t (*)(uint8_t, uint8_t, uint8_t *, uint16_t)’ {aka ‘enum <anonymous> (*)(unsigned char, unsigned char, unsigned char *, short unsigned int)’} [-Werror=incompatible-pointer-types]
465 | bmp388Dev.read = bmi088_burst_read;
| ^
.//src/hal/src/sensors_bmi088_bmp388.c:466:19: error: assignment to ‘bmp3_com_fptr_t’ {aka ‘signed char (*)(unsigned char, unsigned char, unsigned char *, short unsigned int)’} from incompatible pointer type ‘bstdr_ret_t (*)(uint8_t, uint8_t, uint8_t *, uint16_t)’ {aka ‘enum <anonymous> (*)(unsigned char, unsigned char, unsigned char *, short unsigned int)’} [-Werror=incompatible-pointer-types]
466 | bmp388Dev.write = bmi088_burst_write;
| ^
cc1: all warnings being treated as errors
make[1]: *** [tools/make/targets.mk:27: sensors_bmi088_bmp388.o] Error 1
make: *** [Makefile:403: build] Error 2
traffens@ubuntu:~/Desktop/projects/crazyflie-firmware$