Background
Using the default configuration for the SensorTile.box PRO with its associated sensors-on-board demo, no USB device is detected. I'm testing on Ubuntu but also confirmed USB virtual COM is disabled when attempting on Windows.
I traced this to some conflict between the USB driver and the I2C sensors. Adding an overlay file with the 3 sensors on I2C1 disabled re-enables USB:
&{/soc/i2c@40005400/lps22df@5d} {
status = "disabled";
};
&{/soc/i2c@40005400/lis2mdl@1e} {
status = "disabled";
};
&{/soc/i2c@40005400/stts22h@38} {
status = "disabled";
};
No errors or warnings are flagged when building and there is no indication of a conflict. I tried to get UART output using a JLink Base with VCOM enabled, and following the instructions in the README, but I could not get an output even on a functional build with the I2C sensors disabled. I then attempted to get outputs over RTT but CONFIG_USE_SEGGER_RTT=y produces compilation errors.
Test Conditions Hardware
Software
Background Using the default configuration for the SensorTile.box PRO with its associated sensors-on-board demo, no USB device is detected. I'm testing on Ubuntu but also confirmed USB virtual COM is disabled when attempting on Windows.
I traced this to some conflict between the USB driver and the I2C sensors. Adding an overlay file with the 3 sensors on I2C1 disabled re-enables USB:
No errors or warnings are flagged when building and there is no indication of a conflict. I tried to get UART output using a JLink Base with VCOM enabled, and following the instructions in the README, but I could not get an output even on a functional build with the I2C sensors disabled. I then attempted to get outputs over RTT but
CONFIG_USE_SEGGER_RTT=y
produces compilation errors.