Skip to content

A Vagrant configuration that sets up the CE Embedded Development Environment. It is based off of the stm32-eclipse-linux-trusty64 project but uses a pre-configured Base Box hosted in Atlas.

License

Notifications You must be signed in to change notification settings

ContextualElectronics/embedded-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant-based VirtualBox environment for STM32 ARM Development using Ubuntu 14.04 Server

Attention!

This project requires a relatively recent computer that supports Hardware Virtualization. You MUST make sure you have AMD-V or VT-x extensions enabled in your computer's BIOS otherwise the Virtual Machine will not boot!

If you encounter other problems, check out the Gotchas section below

Host OS Requirements

  • Windows 7 or higher, or Mac OS X Mountain Lion or higher
  • About 15GB of Free Space on OS hard drive

Prerequisites before you begin building the virtual machine

Building the environment for the first time

  • Download a copy of this repository as a zip file
  • Unzip on your local system
  • Open a terminal/command prompt, navigate to the unzipped folder, execute vagrant up
  • If you have never used Vagrant before, Vagrant will try to install some required plugins the first time you execute vagrant up. Vagrant will install them first, prompt for you to restart vagrant up, then exit the program. Execute vagrant up to continue building the Virtual Machine after the plugins install.
  • Go get something to drink, eat, or otherwise occupy your time as it will take a while to download the 2.1+GB base box from the Atlas cloud.
  • Eventually you will have an Ubuntu Desktop that is prompting you to log in. The password is contextual

Installed Tools

  • Eclipse 4.4 (Luna)
  • Eclipse CDT for C/C++
  • EmbSysRegViewer for Eclipse
  • TCF Terminal View for Eclipse
  • GNU ARM Plugin for Eclipse
  • ATOM Text Editor
  • Evince PDF Reader
  • Vim Text Editor
  • ack-grep
  • Git
  • stlink command line tools
  • OpenOCD 0.9.0 2015-05-19 Release
  • GNU ARM Tools 2015-Q2 Release
  • Firefox web browser
  • KiCAD EDA Software Suite

Removing the Dev Environment Image from your hard drive

  • Open a terminal, navigate to the unzipped folder, execute vagrant destroy This will delete the VM from your system.

Gotchas

If you are using Windows and receive an error that the Vagrant Home Directory can't have spaces in it due to a bug in Ruby, your User home directory probably has a space in it.

  • Create a folder "home" within C:\Hashicorp\Vagrant - C:\Hashicorp\Vagrant\home ( This assumes you used the default install directory for Vagrant )
  • Add the environment variable VAGRANT_HOME to Windows, see http://www.computerhope.com/issues/ch000549.htm if you don't know how.
  • Reboot your system for the new environment variable to take effect.
  • Try again...

About

A Vagrant configuration that sets up the CE Embedded Development Environment. It is based off of the stm32-eclipse-linux-trusty64 project but uses a pre-configured Base Box hosted in Atlas.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages