Using STMCubeIDE and Micropython
I want to add a USB thumb drive (mass storage) to a NUCLEO-144 F767ZI board. I see the STM32CubeIDE can be used to point GPIO lines PA8~PA12, PG6, PG7 to connector CN13 (USB Micro-AB) or to the Morpho connectors to realize a USB OTG (On the Go) interface suitable for thumb drives.
Three questions -
1. Is it possible to use the STM32CubeIDE to configure the NUCLEO for USB OTG **and** also have Micropython running for the main application code?
This may be thought of as a 'hybrid software' solution leveraging parts of STM32CubeIDE (for USB OTG setup) and Micropython. Preferably, I'd like to implement the USB thumb drive in Micropython exclusively, but I've not found a solution to do that.
2. Any suggestions for a purely Micropython implementation of STM32 USB OTG interface to support a USB thumb drive?
3. Any suggestions (is it even possible?) for a hybrid software solution that uses parts of STM32CubeIDE to configure hardware (with compiled C modules) and also allows Micropython to run for application software? If so, any suggestions for implementing the hooks (register access, function calls, data sharing) between Micropython and features implemented in C and configured by STM32CubeIDE?
Thank you in advance for any insights or suggestions you may offer.
