Olin Electric Motorsports Electrical/Firmware Development Environment built with Vagrant and VirtualBox
To start using this Vagrant environment, please run the following commands:
$ sudo apt-get update
$ sudo apt-get upgrade
Download VirtualBox 5.2.16 appropriate for you system..
Then, please run the following commands.
$ sudo apt-get install git vagrant virtualbox-extension-pack virtualbox-guest-additions-iso
$ sudo usermod -aG vboxusers $USER
$ sudo shutdown -r now
Once your computer restarts, please run the following commands to get this repository to your computer.
$ vagrant plugin install vagrant-vbguest
$ mkdir GitHub;cd Github (or cd /to/where/you/want)
$ git clone https://github.com/olin-electric-motorsports/OEM_box.git
$ cd OEM_box/
$
The VagrantBox built for this repository is developed based on the information provided in Holger Woltersdorf's Helpers repository.
The development environment use OpenOCD and GDB for developing STM32 chips.
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs
restart your terminal
$ sudo npm install --global xpm
again restart your terminal
$ xpm install --global @gnu-mcu-eclipse/arm-none-eabi-gcc
$ xpm install --global @gnu-mcu-eclipse/openocd
Run the bash file in this repo to open up openocd and gdb.
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions https://www.npmjs.com/package/xpm https://gnu-mcu-eclipse.github.io/toolchain/arm/install/#target-vs-host-platform https://gnu-mcu-eclipse.github.io/openocd/install/