Yes, the github url is for the BHI260AP.
You need to modify interface part for your system.
Below functions are coded for COINES which is our EVM platform, so you need to change interface code.
bhy2_spi_read, bhy2_spi_write, bhy2_i2c_read, bhy2_i2c_write
Once you can communicate it with BHI260 properly, you can use example code.
We are trying to compile the sample code on github using segger embedded studio. However, we are getting the error that the usb.h library could not be found. Which compiler should we use to run the code on Github? The processor we use is NRF52840 and we are working in windows environment. Can you help me?