Get the latest tech news
How to use I2C devices in (Apache) NuttX: Adding support for an I2C device
Previously in this EmbeddedRelated article, we saw how to find an I2C device connected to your board using the i2ctool that is very familiar for people with previous experience with embedded...
As you did in previous article, press and hold the Raspberry Pi Pico BOOTSEL button and connect the USB cable. After the file is flash the green LED will turn on, you can also run "sudo dmesg" to confirm that USB CDC/ACM was detected correctly. Run minicom (or your preferred terminal console tool) and press "Enter" three times to let the "NSH>" appears.
Or read this on Hacker News