This script is refactored into the arm platform libraries that summon-arm-toolchain optionally provides: libcmsis, libstm32, opencm3, and openocd. It is developed on and for Mac OS X, but ought to survive for portability.