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
Next revision Both sides next revision
projects:virtualmachine:index [2015-07-15 16:31]
127.0.0.1 external edit
projects:virtualmachine:index [2016-06-14 16:00]
macke
Line 1: Line 1:
 ====== Bitcraze Virtual Machine ====== ====== 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 all the pre-requisites needed for development and usage of the projects at Bitcraze.+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.
  
 <WRAP center round info> <WRAP center round info>
Line 7: Line 7:
 </WRAP> </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]]. **NOTE:** These instructions are deprecated since the VM is now created with a script instead. It's kept as referens for now.
  
-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.
  
-**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. 
 ====== Download ====== ====== Download ======
-You can download the VM using one of the link below: +You can download the VM using one of the link below (torrents preferred)
-  * Bitcraze VM 0.6 ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.6.ova.torrent|torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.6.ova|direct download]]) ([[https://mega.co.nz/#!3YhyFBAI!WO2yKBE-x_9PesM37k79sGdo_1-LVpbHTyexGmYnm3A|Mega]]) +  * Bitcraze VM 2016-06 (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.([[http://files.bitcraze.se/dl/Bitcraze_VM_0.5.ova.torrent|torrent]]) ([[http://files.bitcraze.se/dl/Bitcraze_VM_0.5.ova|direct download]]) +  * Bitcraze VM 0.([[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]])
-  * 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]]) +
-  * 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]]) +
-  * 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 time. Using torrents are preferred. 
 ====== VM info ====== ====== VM info ======
-The latest available version of the VM is 0.6 and is created from scratch (i.e not updated from 0.5). +The [[https://github.com/bitcraze/bitcraze-vm|GitHub repository for the Bitcraze VM]] contains information on how the machine is set up and what comes pre-installed.
-<code> +
-OS  Xubuntu 14.10 +
-HDD : ~29 GB (dynamically sized) +
-RAM : 1 GB +
-User: bitcraze +
-Pass: crazyflie +
-</code> +
- +
-===== Configuration ===== +
-The VM comes pre-configured with the following: +
-  * udev rules for Crazyradio, Crazyradio bootloader and Crazyflie 2.0 +
-  * Pre-configured USB filters for passing Crazyradio, the NRF BOOT and the Crazyflie 2.0 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. +
- +
-===== Installed software ===== +
-Below is a overview of what'installed in the virtual machine: +
-  * VirtualBox guest additions (for network sharing, screen resize, etc) +
-  * gnu-arm-none-eabi toolchain and build tools +
-  * Git and gitg +
-  * pyusb, pysdl2 and pyqt +
-  * Qt4 and QtDesigner +
-  * PyQtGraph +
-  * PyCharm +
-  * Oracle Java JRE (for PyCharm) +
-  * KiCad +
-  * Eclipse with compiling/debugging/flashing configured (for use with STLink v2) +
-  * SDCC +
- +
-===== Projects ===== +
-The following projects are cloned into the VM: +
-  * crazyflie-firmware +
-  * crazyflie-bootloader +
-  * crazyflie-pc-client +
-  * crazyradio-firmware +
-  * crazyradio-electronics +
-  * crazyflie-android-client +
-  * crazyflie2-exp-template-electronics +
-  * crazyflie2-stm-bootloader +
-  * crazyflie2-nrf-bootloader +
-  * crazyflie2-nrf-firmware +
- +
-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 GitHub.+
  
-===== Development ===== +====== HOW-TOs ====== 
-The VM comes pre-installed and pre-configured for development. Here's what you can do: +===== Update all the projects =====
-  * 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 STLink v2)]] +
-  * 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 GitHub for all the projects you can either use the short-cut on the desktop (//Update all projects//) or run the following command: If you would like to update to the latest version from GitHub for all the projects you can either use the short-cut on the desktop (//Update all projects//) or run the following command:
 <code> <code>
Line 80: Line 26:
 </code> </code>
  
-==== Run the Crazyflie PC client ====+===== Run the Crazyflie PC client =====
 If you would like to fly the Crazyflie then you should to the following: 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   * 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
Line 88: Line 34:
 **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 screen. Make sure to check that there's no thrust **before** connecting to the Crazyflie. **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 screen. Make sure to check that there's no thrust **before** connecting to the Crazyflie.
  
-==== Build the Crazyflie firmware ====+===== 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//. 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> <code>
Line 95: Line 41:
 </code> </code>
  
-==== Tutorials ====+====== Tutorials ======
 [[projects:virtualmachine:tutorials:vmware-win7|How to install and setup the VM in VMware, Windows 7 & First steps to learn to program the CF2]] [[projects:virtualmachine:tutorials:vmware-win7|How to install and setup the VM in VMware, Windows 7 & First steps to learn to program the CF2]]
  
-{{tag>update_on_vm_release}} 
projects/virtualmachine/index.txt · Last modified: 2021-06-24 16:16 by kimberly