You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
BMI088 driver is only usable on nuttx platform now. It worked before on posix/linux platform, but now it cannot be built for posix platform in the master branch due to the following:
#include <px4_platform/board_dma_alloc.h>
File px4_platform/board_dma_alloc.h is only available on nuttx platform at this point. The change/improvement for this drive on nuttx platform should not break it on posix platform.
To Reproduce
Steps to reproduce the behavior:
add the following driver to cmake file of a posix board:
imu/bosch/bmi088
the following build error comes up:
Firmware/src/drivers/imu/bosch/bmi088/BMI088_Gyroscope.cpp:36:10: fatal error: px4_platform/board_dma_alloc.h: No such file or directory
#include <px4_platform/board_dma_alloc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Expected behavior
BMI088 driver can be built and continues to work on posix platform as before.
The text was updated successfully, but these errors were encountered:
Describe the bug
BMI088 driver is only usable on nuttx platform now. It worked before on posix/linux platform, but now it cannot be built for posix platform in the master branch due to the following:
#include <px4_platform/board_dma_alloc.h>
File px4_platform/board_dma_alloc.h is only available on nuttx platform at this point. The change/improvement for this drive on nuttx platform should not break it on posix platform.
To Reproduce
Steps to reproduce the behavior:
imu/bosch/bmi088
Firmware/src/drivers/imu/bosch/bmi088/BMI088_Gyroscope.cpp:36:10: fatal error: px4_platform/board_dma_alloc.h: No such file or directory
#include <px4_platform/board_dma_alloc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Expected behavior
BMI088 driver can be built and continues to work on posix platform as before.
The text was updated successfully, but these errors were encountered: