STLink and STM32Duino
FC Programming
- could use an STlink (SWD) rather than usb DFU
- everything with the original platformio setup might actually have been working? When it lost connection at the end, is that just because firmware download was complete and it was restarting? I should upload with some better code and see if that was happening
- might need to set up a new board config, since idk if the "builtin" led and stuff that platformio is commanding is actually correct... it could be for the random stm32h743 board it thought it was controlling. how do i define those pinouts? can i just modify the betaflight target?
- maybe try everything in the arduino IDE again? I saw some folks online say that worked for them but not platformio...
- https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T) this looks very useful. could go branch this and create a custom board variant in here
- do it this way. then just a matter of adding that custom board to platformio, i think?