Can I add a second instance of a supported MEMS sensor to project in the CubeMX configurator?
Sorry for the I'm too stupid to figure this out myself question, but couldn't figure out how to do this myself. In CubeMX Pinout & Configuration under software packs, I can install MEMS support, add a LSM6DSO (and required support elements) using i2c. In the Software Packages I can configure the mems and the LSM6DSO (including the SD0/AD0 pin for LSB of the address).
But, how does one add a second LSM6DSO to the project? Configuring the second slave address looks easy enough, but I need a second sensor instance first. Do I have to manually replicate the generated code used to create the first instance or is there some built-in way to "give me another i2c device with this configuration" option?
