Skip to content

Instantly share code, notes, and snippets.

@vankxr
Last active February 25, 2020 22:39
Show Gist options
  • Save vankxr/ff59c56b62a48704c541d0471f584f0f to your computer and use it in GitHub Desktop.
Save vankxr/ff59c56b62a48704c541d0471f584f0f to your computer and use it in GitHub Desktop.
Install CMSIS Device packs
#!/bin/sh
wget http://packs.download.atmel.com/Atmel.SAME70_DFP.2.4.166.atpack
wget http://packs.download.atmel.com/Atmel.SAMS70_DFP.2.4.134.atpack
wget http://packs.download.atmel.com/Atmel.SAMV70_DFP.2.4.130.atpack
wget http://packs.download.atmel.com/Atmel.SAMV71_DFP.2.4.182.atpack
wget https://www.silabs.com/documents/public/cmsis-packs/SiliconLabs.GeckoPlatform_EFM32JG1B_DFP.2.7.0.pack
wget https://www.silabs.com/documents/public/cmsis-packs/SiliconLabs.GeckoPlatform_EFM32PG1B_DFP.2.7.0.pack
wget https://www.silabs.com/documents/public/cmsis-packs/SiliconLabs.GeckoPlatform_EFM32GG11B_DFP.2.7.0.pack
wget https://www.silabs.com/documents/public/cmsis-packs/SiliconLabs.GeckoPlatform_EFM32GG12B_DFP.2.7.0.pack
wget https://www.silabs.com/documents/public/cmsis-packs/SiliconLabs.GeckoPlatform_EFR32BG22_DFP.2.7.0.pack
wget https://keilpack.azureedge.net/pack/Keil.STM32F1xx_DFP.2.3.0.pack
wget https://keilpack.azureedge.net/pack/Keil.STM32L1xx_DFP.1.2.0.pack
for f in *.pack; do unzip -d "${f%*.pack}" "$f"; rm "$f"; done
for f in *.atpack; do unzip -d "${f%*.atpack}" "$f"; rm "$f"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment