I followed the instructions in section 5 of the BHI260AB SDK Quick Start Guide in order to use the VirtBSXLeanDeviceOrientation and VirtBSXCustomAccelDataSource custom virtual drivers, and I got the following errors:
The specific changes I made were to add the following lines to the end of the board config file:
and to add the following lines to ENABLED_DRIVERS in config.7189_di03_rtos_bhi260.cmake:
I'm using BHI260AB SDK version 1.1.6.
Solved! Go to Solution.
I narrowed down the issue, it occurs when you call printf() with a parameter, like so:
printf("ldo %d %d\n", g_output.orientation, g_output.orientation);
Note that I'm using the GCC compiler, not the MetaWare compiler.