Has anyone properly configured uploading to the Micromod STM32F405 with PlatformIO without the arduino dependencies? I am using some features of the chip not supported in Arduino, so I have it set up to use STM32Cube. It uploads and says no errors when put into DFU mode, but the chip fails to reset and just stays in boot mode perpetually after upload. Only way to kick it out was to go back into ArduinoIDE and upload blinky via the normal stuff.
Platformio ini settings:
[env:genericSTM32F405RG]
platform = ststm32
board = genericSTM32F405RG
framework = stm32cube
upload_protocol = dfu
alternative settings:
[env:sparkfun_micromod_f405]
platform = ststm32
board = sparkfun_micromod_f405
framework = stm32cube
upload_protocol = dfu