The Arduino IDE on OSX returns an error when HID uploading: java.io.IOException: Cannot run program /Users/xxx/Documents/Arduino/hardware/Arduino_STM32/tools/macosx/hid_flash": error=2, No such file or directory
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/tools/macosx/hid-flash
renaming the file solved the problem therefore hid-flash should be called hid_flash
