Development Setup - snowpuppy/augreality GitHub Wiki

This has currently been tested only on Windows and Linux.

  • You can use the Purdue Robotics Operating System as a convenient installer that will install and set up Eclipse, Java, the fundamentals of MinGW, and Yagarto for you. You will still need to install dfu-util separately.
  • Or, install the following:
  • Windows MinGW (RECOMMENDED) or Cygwin. Get the MSYS Basic System and make sure that it is added to the Windows PATH
  • Windows YAGARTO Make sure to check the option to add YAGARTO to the Windows PATH
    Linux GCC ARM Embedded A package for Ubuntu Linux is available at Launchpad PPA
  • Eclipse is recommended for much easier development and Git integration with this website. Development can be done with any editor and make.
  • ST-LINK Utility is used for uploading code to the evaluation board, but dfu-util 0.5 or later is required to upload to the actual PCB. On Ubuntu, sudo apt-get install dfu-util will do the job.
  • Start a command prompt or Terminal and make sure that both make and arm-none-eabi-gcc successfully find a program.
  • Check out the repository and navigate to the desired code to compile and run.
  • Compile the project with make, upload to STM32F4 with make upload. On Linux, a udev rule may need to be created, or sudo make upload used:
    sudo nano /etc/udev/rules.d/32-stm.rules
       ATTRS{idProduct}="df11", ATTRS{idVendor}="0483", MODE="666", GROUP="plugdev"
    sudo adduser <user name> plugdev
    sudo /etc/init.d/udev restart
    
    Log out and back in for the changes to take effect.
⚠️ **GitHub.com Fallback** ⚠️