thomasfredericks / wemos_motor_shield

Arduino library for the Wemos D1 mini Motor Shield (i2c interface, TB6612 based).
26 stars 6 forks source link

Useless st32flash "-f" modifier #1

Open fabianoriccardi opened 5 years ago

fabianoriccardi commented 5 years ago

Re-Reading your instructions and comparing to stm32flash helper, I was wondering why you have specified "-f" command that forces binary parsing instead the auto-discovery between binary and hex format.

In particular, this was deceiving while flashing the original firmware by Wemos because it is in hex format https://github.com/wemos/Motor_Shield_Firmware In folder: /MDK-ARM/tb6612/tb6612.hex

thomasfredericks commented 5 years ago

I recopied the instructions for the stm32flash from the mentionned sources : https://www.letscontrolit.com/wiki/index.php/WemosMotorshield https://github.com/pbugalski/wemos_motor_shield https://hackaday.io/project/18439-motor-shield-reprogramming

I have no idea what are its options. If removing the "-f" command makes life easier I will take your word for it and remove it.

fabianoriccardi commented 5 years ago

I will dig about it, in the next week, I'm writing a new library to command wemos motor shield...