Description
Hello. I am trying to incorporate the Adafruit Feather STM32F405 Express into the design of a dev kit that I'm building. Out-of-the-box Arduino support is critical.
I followed install instructions, and on MacOS the stm32duino scripts fail when trying to program the board. Here is the support history on the Adafruit site, fyi:
I reduced the problem down to the fact that, for some reason, the script in macosx/stm32CubeProg (which is called macosx/stm32CubeProg.sh in this repo) has a problem. (I do not understand why it has a .sh extension in this repo but it has no extension in the version packaged with stm32duino.)
As you can see in the above forum post, I ultimately found that the 'fix' was to change PORT='USB1' to PORT='usb1' in the macosx script.
I would deeply appreciate your fixing and deploying this asap because it'll be difficult to get users to find and edit this file themselves, and the failure mode will be somewhat mysterious to them. Thank you.