The program we use to flash the STM32 on Recore is using a deprecated interface via /sys/class/gpio.
A workaround is to let gpioset toggle the pins instead of stm32flash
In the file
/usr/local/bin/flash-stm32
change
stm32flash -w ${STM32_BINARY} -v -i -196,196 -g 0 ${FLASH_DEVICE}
to
stm32flash -w ${STM32_BINARY} -v -g 0 ${FLASH_DEVICE}
and then add
gpioset 1 196=1
before that.
The program we use to flash the STM32 on Recore is using a deprecated interface via /sys/class/gpio. A workaround is to let
gpioset
toggle the pins instead ofstm32flash
In the file/usr/local/bin/flash-stm32
changestm32flash -w ${STM32_BINARY} -v -i -196,196 -g 0 ${FLASH_DEVICE}
tostm32flash -w ${STM32_BINARY} -v -g 0 ${FLASH_DEVICE}
and then addgpioset 1 196=1
before that.