Last active
December 28, 2020 15:14
-
-
Save zegervdv/9587111 to your computer and use it in GitHub Desktop.
Vagrantfile for STM32 development on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "ArchSTM" | |
# The url from where the 'config.vm.box' box will be fetched if it | |
# doesn't already exist on the user's system. | |
config.vm.box_url = "https://dl.dropboxusercontent.com/u/12183944/ArchSTM32.box" | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ['modifyvm', :id, '--usb', 'on'] | |
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'STMicroelectronics STM32 STLink [0100]', '--vendorid', '0x0483'] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment