Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
en:uhsdr_dev:win10_toolchain [17.02.2018 18:37] – 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: |
| |
* 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/]] |
| |
Set active project, check MCU set correctly | Set active project, check MCU set correctly |
* See 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 | |
| |
| |
| * 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 === |
| |
Using Git with GNU-MCU-Eclipse | * Download Github desktop from [[https://desktop.github.com/|https://desktop.github.com/]] |
* Download Github desktop from 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 // |
* | |
| |
| |