Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
en:uhsdr_dev:win10_toolchain [17.02.2018 10:12] – df9ts | en:uhsdr_dev:win10_toolchain [13.03.2018 09:31] – df9ts_user |
---|
Based on [[https://github.com/df8oe/UHSDR/wiki/Windows-10-x64-Compiler-Setup-and-Build-Environment|https://github.com/df8oe/UHSDR/wiki/Windows-10-x64-Compiler-Setup-and-Build-Environment]] | |
| |
Summary of [[https://gnu-mcu-eclipse.github.io/install/|https://gnu-mcu-eclipse.github.io/install/]] below: | Summary of [[https://gnu-mcu-eclipse.github.io/install/|https://gnu-mcu-eclipse.github.io/install/]] below: |
| |
* Overview here: [[https://gnu-mcu-eclipse.github.io/install/|https://gnu-mcu-eclipse.github.io/install/]] | * Overview here: [[https://gnu-mcu-eclipse.github.io/install/|https://gnu-mcu-eclipse.github.io/install/]] |
* Java from here [[https://www.java.com/en/download/win10.jsp|https://www.java.com/en/download/win10.jsp]] | * Java from here [[https://www.java.com/en/download/win10.jsp|https://www.java.com/en/download/win10.jsp]] |
* **If you run 64 bit windows make sure to install 64 bit JRE from here [[https://java.com/en/download/manual.jsp|https://java.com/en/download/manual.jsp]] | * If you run 64 bit windows make sure to install 64 bit JRE from here [[https://java.com/en/download/manual.jsp|https://java.com/en/download/manual.jsp]] |
** | |
* Install and test | * Install and test |
* Gnu Arm toolchain from here, Win32 exe [[https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads|https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads]] | * Gnu Arm toolchain from here, Win32 exe [[https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads|https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads]] |
* Execute. Installs in C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major | * Execute downloaded file. Tick "add to path". |
| * Installs in C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major |
* See [[https://gnu-mcu-eclipse.github.io/toolchain/arm/install/|https://gnu-mcu-eclipse.github.io/toolchain/arm/install/]] | * See [[https://gnu-mcu-eclipse.github.io/toolchain/arm/install/|https://gnu-mcu-eclipse.github.io/toolchain/arm/install/]] |
* Download Gnu Arm Windows build tools from here [[https://github.com/gnu-mcu-eclipse/windows-build-tools/releases|https://github.com/gnu-mcu-eclipse/windows-build-tools/releases]] | * Download Gnu Arm Windows build tools from here [[https://github.com/gnu-mcu-eclipse/windows-build-tools/releases|https://github.com/gnu-mcu-eclipse/windows-build-tools/releases]] |
* 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://github.com/gnu-mcu-eclipse/org.eclipse.epp.packages/releases/|https://github.com/gnu-mcu-eclipse/org.eclipse.epp.packages/releases/]] | * Get latest MCU Eclipse from here [[https://github.com/gnu-mcu-eclipse/org.eclipse.epp.packages/releases/|https://github.com/gnu-mcu-eclipse/org.eclipse.epp.packages/releases/]] |
* 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 "global tool chain path" in [[https://gnu-mcu-eclipse.github.io/eclipse/workspace/preferences/|https://gnu-mcu-eclipse.github.io/eclipse/workspace/preferences/]] | * Follow work space preferences "global tool chain path" in [[https://gnu-mcu-eclipse.github.io/eclipse/workspace/preferences/|https://gnu-mcu-eclipse.github.io/eclipse/workspace/preferences/]] |
* Follow tool chain path management in [[https://gnu-mcu-eclipse.github.io/toolchain/path/|https://gnu-mcu-eclipse.github.io/toolchain/path/]] | * Follow tool chain path management in [[https://gnu-mcu-eclipse.github.io/toolchain/path/|https://gnu-mcu-eclipse.github.io/toolchain/path/]] |
* | |
| Install PAckages CMSIS |
| |
| * See [[https://gnu-mcu-eclipse.github.io/plugins/packs-manager/|https://gnu-mcu-eclipse.github.io/plugins/packs-manager/]] |
| * In Eclipse Help→Install new software, Work with: "GNU MCU Eclipse plug-ins", Click "What is already installed" |
| * Check that "GNU MCU C/C++ Packs (Experimental)" are installed, or install them |
| * 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 "ignore" to continue, as long as it does not concern the STMicro packages we are interested in - STM32F7 and STM32H7 |
| * 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 Packs" in bottom right of Eclipse window |
| * Install STM32H7 in the same way |
| |
| Set active project, check MCU set correctly |
| |
| * See [[https://gnu-mcu-eclipse.github.io/eclipse/project/assign-device/|https://gnu-mcu-eclipse.github.io/eclipse/project/assign-device/]] |
| * 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://desktop.github.com/|https://desktop.github.com/]] |
| * Start Github Desktop, enter your Githu username and password, clone repository "https://github.com/df8oe/UHSDR" * 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:\uhsdr''git clone https://github.com/df8oe/UHSDR '' ===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 // |
| |
| |