I have lots of ESP32 MicroPython experience but new to the H7 development environment, so I have some basic questions on the code development procedure. I haven’t done a lot of experimentation yet so maybe some answers to questions will save me time. I have the IDE running on both a Windows10 and a Linux box and can hook up to the board and get examples running. Impressive!
This is my understanding, please correct me if I am wrong here. It looks like code that is downloaded to run from the IDE (connect to the board and click the green arrow to run the code) is precompiled into bytecode and then loaded up into H7 RAM memory and run from there? It doesn’t persist across a reset.
If you do want persistent code you would write it to H7 flash drive memory (making sure it flushes prior to reset). If you want your code to run at boot time you will create a main.py file on flash memory and that will execute at startup. Any other custom modules that would be imported must also be resident on flash. The IDE typically saves files to local disk, you would then copy/paste to the H7 flash drive in another window?