Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:uhsdr_dev:win10_toolchain [17.02.2018 11:28] – df9ts | en:uhsdr_dev:win10_toolchain [13.03.2018 09:34] (current) – [Using Git with GNU-MCU-Eclipse] corrected scrambled formatting df9ts_user | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Based on [[https:// | ||
| - | |||
| Summary of [[https:// | Summary of [[https:// | ||
| * Overview here: [[https:// | * Overview here: [[https:// | ||
| * Java from here  [[https:// | * Java from here  [[https:// | ||
| - |  | + | * If you run 64 bit windows make sure to install 64 bit JRE from here [[https:// | 
| - | ** | + | |
| * Install and test | * Install and test | ||
| * Gnu Arm toolchain from here, Win32 exe  [[https:// | * Gnu Arm toolchain from here, Win32 exe  [[https:// | ||
| - | * Execute. Installs in C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major | + | * Execute | 
| + | * Installs in C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major | ||
| * See [[https:// | * See [[https:// | ||
| * Download Gnu Arm Windows build tools from here  [[https:// | * Download Gnu Arm Windows build tools from here  [[https:// | ||
| Line 41: | Line 39: | ||
| * Will install in C:\Program Files\GNU ARM Eclipse\QEMU\2.8.0-201612271623-dev | * Will install in C:\Program Files\GNU ARM Eclipse\QEMU\2.8.0-201612271623-dev | ||
| * Get latest MCU Eclipse from here  [[https:// | * Get latest MCU Eclipse from here  [[https:// | ||
| - | * Extract downloaded zip file to c:\ (otherwise path names may become too long) | + | * Extract downloaded zip file to c: (otherwise path names may become too long) | 
| * Run GNU MCU Eclipse | * Run GNU MCU Eclipse | ||
| * Follow work space preferences " | * Follow work space preferences " | ||
| Line 47: | Line 45: | ||
| Install PAckages CMSIS | Install PAckages CMSIS | ||
| - | * See https:// | ||
| - | * In Eclipse Help-> | ||
| - | * Check that "GNU MCU C/C++ Packs (Experimental)" | ||
| - | * In Eclipse goto C/C++ packs perspective (hover over toolbar icons to find the icon with two boxes in orange yellow) | ||
| - | * In this perspectiv, above middle window, click on the icon with the two yellow arrows, to update the packages definitions from all repositories | ||
| - | * If any warnings that certain packages cannot be downloaded please click " | ||
| - | * When finished, in left window, choose STMMicroelectronics | ||
| - | * Install STM32F7 pack | ||
| - | * Ín left window, click once on STM32F7 series. | ||
| - | * Then select package in middle window | ||
| - | * then above middle window click yellow box icon to install a local copy of the selected package | ||
| - | * You will see status message " | ||
| - | * Install STM32H7 in the same way | ||
| - |  | + |  | 
| + | * In Eclipse Help→Install new software, Work with: "GNU MCU Eclipse plug-ins", | ||
| + | * Check that "GNU MCU C/C++ Packs (Experimental)" | ||
| + | * In Eclipse goto C/C++ packs perspective (hover over toolbar icons to find the icon with two boxes in orange yellow) | ||
| + | * In this perspectiv, above middle window, click on the icon with the two yellow arrows, to update the packages definitions from all repositories | ||
| + | * If any warnings that certain packages cannot be downloaded please click " | ||
| + | * When finished, in left window, choose STMMicroelectronics | ||
| + | * Install STM32F7 pack | ||
| + | * Ín left window, click once on STM32F7 series. | ||
| + | * Then select package in middle window | ||
| + | * then above middle window click yellow box icon to install a local copy of the selected package | ||
| + | * You will see status message " | ||
| + | * Install STM32H7 in the same way | ||
| + | |||
| + | Set active project, check MCU set correctly | ||
| + | |||
| + | * See  [[https:// | ||
| + | * Set/check that active project is correct | ||
| + | * Set/check that device is correct: | ||
| + | * For OVI40 with F7 MCU: Project → Properties → C/C++ Build → Settings → Devices → STM32F767ZI | ||
| + | * For OVI40 with H7 MCU: Project → Properties → C/C++ Build → Settings → Devices → STM32H743ZI | ||
| + | |||
| + | ==== Check for updates ==== | ||
| + | |||
| + | * in Eclipse Help→check for updates | ||
| + | |||
| + | ==== Using Git with GNU-MCU-Eclipse ==== | ||
| + | |||
| + | === Option: Github Desktop === | ||
| + | * Download Github desktop from [[https:// | ||
| + | * Start Github Desktop, enter your Githu username and password, clone repository " | ||
| + | * Optional: create local branch of cloned repo for tests | ||
| + | * In Eclipse, create new workspace pointing to local clone of cloned Github UHSDR repository | ||
| + | * Check Eclipse settings for | ||
| + | * active build config | ||
| + | * MCU device used * … | ||
| + | |||
| + | === Option: git commandline === | ||
| + | * create directory where UHSDR repository should reside, e.g. d: | ||
| + | |||
| + | === Import git UHSDR project into Eclipse installation === | ||
| + | * In Eclipse, choose “File→Import”. | ||
| + | * .. then choose “General→Existing Projects into Workspace”. | ||
| + | * Then choose the folder “mchf-eclipse in the path where you just downloaded the zip file as “root-directory” | ||
| + | * The project is now recognized and can be imported * Next: check Eclipse settings | ||