I wanted to make my badger2040 read the bmp280 temp sensor so I wrote a custom app and made a add-on board for it. All the details can be found at my blog post below.
Blog post - https://facelesstech.wordpress.com/2023/01/22/adventures-into-badger2040-hacking/