Open thalesmaoa opened 4 years ago
I found the problem.
~/.platformio/packages/tool-stm32duino$ nano maple_upload
at line 40:
"${DFU_UTIL}" -d ${usbID} -a ${altID} -D ${binfile} ${dfuse_addr} -R
double quote mark is missing
"${DFU_UTIL}" -d ${usbID} -a ${altID} -D "${binfile}" ${dfuse_addr} -R
Before you consider that this is an STM32duino bug, I've checked. https://github.com/stm32duino/Arduino_Tools/blob/master/linux/maple_upload.sh Not only the file is different, but it is correct:
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" ${dfuse_addr} -R
I'm not sure where platformio push ststm32 files, but it is outdated.
@valeros This bug is still unfixed and people are hitting this bug in e.g. https://community.platformio.org/t/platformio-newbie-hitting-wall-after-wall/19971
I found a bug but can't find a way to fix it.
My project folder:
When I try to upload:
Now, if I remove the space from my folder name:
And upload: