HGLRC F722 barometer not recognized, and INAV not allowing other barometer
HGLRC F722 has a built-in barometer. This is not recognized in INAV 5. I read on Betaflight site that HGLRC connect barometer on SPI bus but didn't configure it as such. So, seems that needs a fix. Additionally, trying to use another barometer (BQNANO 1.0 - barometer BMP280), INAV recognized the compass on the board, but not the barometer, which probably a knock of effect of the first issue.
Is there a way around this? or if issue is recognized can fix please be available.
Regards.
root-cause is, HGLRCF722 target.h defines 3 lines for the controller barometer (BMP280) to configure it in SPI bus 1, and at the same time defines barometer at I2C bus 1. That causes not only the built in barometer not to function, but also prevented recognition of an external barometer connected to controller I2C bus pads.
solution: comment the 3 lines referring to SPI bus definition.
Regards, Magdy.
Note, HGLRC had an earlier version of the controller that worked fine (most likely barometer was SPI based). New two controllers I got did not work until I implemented solution outlined above, as they are I2C based. As such, a generic solution maybe required to support both or two builds will be needed, one for each controller.