User Tools

Site Tools


projects:virtualmachine:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:virtualmachine:index [2014-02-03 10:40]
arnaud
projects:virtualmachine:index [2021-06-24 16:16] (current)
kimberly
Line 1: Line 1:
-====== Bitcraze Virtual Machine ====== +<WRAP center round important 60%> 
-In order to easily get going with the development of Bitcraze projects we have pre-configured a virtual machine that can be imported into [[http://www.vmware.com/products/player/|WM Player]] or [[https://www.virtualbox.org/|Oracle VirtualBox]]. It contains all the pre-requisites needed for development and usage of the projects at Bitcraze.+This page has deprecated and moved to the new documentation framework of the main Bitcraze websitePlease go to [[https://www.bitcraze.io/]]. 
 +</WRAP>
  
-If you would like to create your own virtual machine instead of downloading ours, then have a look at [[projects:virtualmachine:create_vm|these intructions]]. 
  
-**Please note:** All the instructions here (and on sub-pages) are always updated to match the latest available version of the VM and might not be valid for earlier versions.+====== Bitcraze Virtual Machine ====== 
 +In order to easily get going with the development of Bitcraze projects we have pre-configured a virtual machine that can be imported into [[https://www.virtualbox.org/|Oracle VirtualBox]]. It contains pre-requisites needed for development and usage of the projects at Bitcraze. For more information on what's included in the Bitcraze VM have a look at [[https://github.com/bitcraze/bitcraze-vm/blob/master/README.md|the README in the repository]].
  
-====== Download ====== +<WRAP center round info> 
-You can download the VM using one of the link below: +//**Note**// 
-  * Bitcraze VM 0.4 ([[http://tracker.bitcraze.se/torrents/Bitcraze%20VM%200.4.ova.torrent|torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze%20VM%200.4.ova|direct download]]) ([[https://mega.co.nz/#!LMoHWILC!ZpfSmCWjt_yGdBaNYoUqUwqB6SRsAfdh6N9FUhHbxNQ|mega]]) +The virtual machine can also be imported into [[http://www.vmware.com/products/player/|WM Player]] however you will then have to install the [[https://www.vmware.com/support/ws5/doc/ws_newguest_tools_linux.html#wp1118025|guest tools]] by yourself
-  * Bitcraze VM 0.3 ([[http://taffanel.org/tracker/torrents/Bitcraze%20VM%200.3.ova.torrent|torrent]]) ([[https://mega.co.nz/#!ScQh1KRQ!azKj-0LhnIDyWH5mCvauZTWwLzM4lbJWi9MTBmT_nEI|direct download]]) +</WRAP>
-  * Bitcraze VM 0.2 ([[http://tracker.bitcraze.se/torrents/UbuntuBitcraze_0.2.ova.torrent|torrent]])+
  
-Please note that direct downloads are hosted at MEGA, so it's limited to 6 downloads at a timeUsing torrents are preferred. +The VM is built using Packer, so if you would like to build you're own just clone the [[https://github.com/bitcraze/bitcraze-vm|Bitcraze VM repo]] and follow the instructions in the READMEFor reference [[projects:virtualmachine:create_vm|here's the old install instructions]].
-====== VM info ====== +
-The latest available version of the VM is 0.4. +
-<code> +
-OS  Xubuntu 13.10 +
-HDD ~8.8 GB (dynamically sized) +
-RAM : 1 GB +
-User: bitcraze +
-Pass: crazyflie +
-</code>+
  
-===== Configuration ===== +For information on how to install the VM please have a look at our [[https://www.bitcraze.io/getting-started-with-the-crazyflie-2-0/#inst-comp|Getting started guide]] and for instructions on how to develop for and flash the Crazyflie have a look at our [[https://www.bitcraze.io/getting-started-with-development/|Getting started with development guide]].
-The VM comes pre-configured with the following: +
-  * udev rules for Crazyradio and bootloader +
-  * Pre-configured USB filters for passing Crazyradio/NRF BOOT to the VM (not enabled by default)+
  
-**NOTE**: The USB filters in the 0.3 version of the VM specify a serial number for the radio dongle.  This means the pre-configured filter cannot be used as is.  Create your own filter by plugging in the radio and then choosing "Add Filter", the dongle should appear in the provided list. You can also edit and remove the serial number from the Filter which will make it work for all Crazyradio dongles. +====== Download ====== 
- +To download the latest version of the Bitcraze VM, visit the [[https://github.com/bitcraze/bitcraze-vm/releases/|Bitcraze VM GitHub release page]].
-===== Installed software ===== +
-Below is a overview of what's installed in the virtual machine: +
-  * VirtualBox guest additions (for network sharing, screen resize, etc) +
-  * gnu-arm-none-eabi toolchain and build tools +
-  * Mercurial +
-  * TortoiseHG +
-  * pyusb, pygame and pyqt +
-  * Qt4 and QtDesigner +
-  * KiCad +
-  * Eclipse with compiling/debugging/flashing configured (for use with BusBlaster) +
-  * gedit +
-  * SDCC 3.2 +
- +
-===== Projects ===== +
-The following projects are cloned into the VM: +
-  * crazyflie-firmware +
-  * crazyflie-bootloader +
-  * crazyflie-pc-client +
-  * crazyradio-firmware +
-  * crazyradio-electronics +
- +
-There are also short-cuts on the desktop to easily run the Crazyflie PC client and also to update all the projects to the latest version available on Bitbucket. +
- +
-===== Development ===== +
-The VM comes pre-installed and pre-configured for development. Here's what you can do: +
-  * Update and build the latest versions of the Crazyflie/Crazyradio firmware +
-  * Easily flash the Crazyflie firmware from Eclipse using the radio +
-  * [[projects:virtualmachine:jtag_debug|Debug the Crazyflie firmware via JTAG (pre-configured for BusBlaster)]] +
-  * View and modify the Crazyradio electronics design +
-  * Develop for Crazyflie PC client with QtDesigner for the UI +
-===== HOW-TOs ===== +
-==== Update all the projects ==== +
-If you would like to update to the latest version from Bitbucket for all the projects you can either use the short-cut on the desktop (//Update all projects//) or run the following command: +
-<code> +
-/home/bitcraze/bin/update_all_projects.sh +
-</code> +
- +
-==== Run the Crazyflie PC client ==== +
-If you would like to fly the Crazyflie then you should to the following: +
-  * Insert the controller and Crazyradio and pass them to the VM. In VirtualBox this is done by right-clicking on the USB icon in the bottom left hand of the screen and selecting the Crazyradio and the controller +
-  * Start the cfclient either by using the short-cut on the desktop (//Crazyflie PC client latest//) or by running the following command: <code>/home/bitcraze/projects/crazyflie-pc-client/cfclient</code> +
-  * Press the //Connect// button and select the URI starting with //radio// and then press //Connect//+
  
-**PLEASE NOTE:** If no controller is passed to VirtualBox the default controller will be the //VirtualBox USB Tablet//. This device together with the default controller mapping will set the thrust depending on where the mouse-pointer is on the screenMake sure to check that there's no thrust **before** connecting to the Crazyflie.+==== Previous version ==== 
 +  Bitcraze VM 2017.03 ([[http://files.bitcraze.se/dl/BitcrazeVM_2017.03.ova.torrent|Torrent]]) ([[http://files.bitcraze.se/dl/BitcrazeVM_2017.03.ova|Direct download]])  ([[https://mega.nz/#!iRBUTLQT!Rb4GhehAcewn2MuNT60wD7j8-Jow9lF1HOAhQWZAxfI|Mega]])\ 
 +  Bitcraze VM 2016-06 ([[http://files.bitcraze.se/dl/Bitcraze_VM_2016-06.ova.torrent|Torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze_VM_2016-06.ova|direct download]])  ([[https://mega.nz/#!XJw2kDya!48mCn7rw-Or1E-jnA-5FYFdqGm5xe4gzmdsM87bgm24|Mega]]) 
 +  Bitcraze VM 0.8 ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.8.ova.torrent|torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.8.ova|direct download]]) ([[https://mega.nz/#!XdYnDI6R!wp5mSKoaBIyPd0aWds6EhInZNnKy9eHC2LM1DzqYacc|Mega]])
  
-==== How do I pull the latest stable release from the repository on Bitbucket? ==== +====== Tutorials ====== 
-Pulling the latest stable release of the firmware and client can be done using the following commands: +[[projects:virtualmachine:tutorials:vmware-win7|How to install and setup the VM in VMware, Windows 7 First steps to learn to program the CF2]]
-<code> +
-cd ~/projects/crazyflie-firmware +
-hg pull && hg update -C 2013.4 +
-cd ~/projects/crazyflie-pc-client +
-hg pull && hg update -C 2013.4.2 +
-</code>+
  
-==== Build the Crazyflie firmware ==== 
-Running the following commands will build the firmware which can be flashed with the wireless bootloader. For updating the Crazyflie use the resulting //cflie.bin//. 
-<code> 
-cd ~/projects/crazyflie-firmware 
-make CLOAD=1 DEBUG=0 
-</code> 
projects/virtualmachine/index.1391420408.txt.gz · Last modified: 2015-07-15 16:30 (external edit)