Closed MauroMombelli closed 2 years ago
@MauroMombelli Agreed, but as mentioned in the disclaimer section in the README, we assume the user to implement this behavior. The library's sole purpose is to allow developer/user to flash STM32 MCU and make it extensible(it can be flashed via MQTT, HTTP Client, Web Sockets, SPIFFS, etc.). The developer/user could use an additional pin on an ESP, MOSFETs, or any other methods they see fit. This also helps us ensure we do not have to test for every permutation and combination, in terms of pin compatibility and user setup.
If you implement this functionality, please do comment here with repo link and I shall update the README accordingly. Thank you.
Perhaps a pin that has a pull down resistor could be used, such as GPIO2. So that the STM32 always starts automatically without ESP32 intervention.
https://www.tme.eu/Document/518ee50b428e44b1d7a5af85218fcf3b/esp32-wroom-32du.pdf
By adding an additional pin, controlling BOOT0, the whole programming operation can be automated without human intevention