diff options
author | dc42 <dcrocker@eschertech.com> | 2018-07-15 01:17:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-15 01:17:49 +0300 |
commit | fd3fad65e0356b12edbf7160147919db5514b9a1 (patch) | |
tree | fa025c3ab5afbc125a8e8b8928d30f5aa0d7a2cd /BuildInstructions.md | |
parent | 2fe3e91319259119fa68b2171b9e26d77adb7727 (diff) |
Update BuildInstructions.md
Updated compiler version
Diffstat (limited to 'BuildInstructions.md')
-rw-r--r-- | BuildInstructions.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/BuildInstructions.md b/BuildInstructions.md index d46cfc34..da49cb03 100644 --- a/BuildInstructions.md +++ b/BuildInstructions.md @@ -3,7 +3,9 @@ Instructions for building dc42 fork of RepRapFirmware under Windows 1. Download and install the gcc cross-compiler: -- To build firmware version 1.20alpha3 and later, you need version 2017-q2-update. You can download an installer for this version from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads. +- To build firmware version 2.01beta2 and later, you need version 2018-q2-update. You can download an installer for this version from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads. + +- To build firmware version 1.20alpha3 and later, you need version 2017-q2-update. You may still be able to download an installer for this version from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads. - To build firmware version 1.20alpha2 and earlier you need version arm-none-eabi-4.8.3-2014q1. A simple way of doing this is to download Arduino version 1.5.8 and install it into folder C:/Arduino-1.5.8. The compiler and associated tools will then be in folder C:\Arduino-1.5.8\hardware\tools\gcc-arm-none-eabi-4.8.3-2014q1\bin. If you already have a later version of Arduino installed including the add-on for SAM processors, you will find the compiler and tools in a different folder, for example C:\Users\<YOUR USER NAME>\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\bin. @@ -25,7 +27,7 @@ Instructions for building dc42 fork of RepRapFirmware under Windows 8. Ensure there is a copy of make.exe on your PATH. If you installed Arduino 1.5.8 into C:/Arduino-1.5.8 then there will be one in C:\Arduino-1.5.8\hardware\arduino\sam\system\CMSIS\Examples\cmsis_example\gcc_arm. -9. Build CoreNG first. Then clean and build RepRapFirmware (the clean step is needed to make Eclipse notice that the CoreNG library has been built). The Duet WiFi and Duet Ethernet builds of RRF use the SAM4E build of CoreNG. The Duet085 build of RRF (which also runs on the Duet06) uses the SAM3X build of CoreNG. The RADDS and Alligator builds of RRF have their own builds of CoreNG. +9. Build CoreNG first, then build FreeRTOS if needed. Then clean and build RepRapFirmware (the clean step is needed to make Eclipse notice that the CoreNG library has been built). The Duet WiFi and Duet Ethernet builds of RRF use the SAM4E build of CoreNG. The Duet085 build of RRF (which also runs on the Duet06) uses the SAM3X build of CoreNG. The RADDS and Alligator builds of RRF have their own builds of CoreNG. Instructions for building dc42 fork of RepRapFirmware under macOS ================================================================= @@ -36,12 +38,12 @@ Using Homebrew-Cask makes it very easy to install new software on macOS: https:/ 3. Download and install Eclipse for C++ : brew cask install eclipse-cpp -4. Download or clone the RepRapFirmware, CoreNG and DuetWiFiSocketServer projects into your workspace. Keep the folder names as is. +4. Download or clone the RepRapFirmware, CoreNG, FreeRTOS and DuetWiFiSocketServer projects into your workspace. Keep the folder names as is. -5. Open Eclipse and import RepRapFirmware and CoreNG projects. +5. Open Eclipse and import RepRapFirmware, FreeRTOS and CoreNG projects. 6. Right click "RepRapFirmware" project and select Properties. Go To "C/C++ Build -> Settings" and change the path: /usr/local/bin/ (or some other other path where arm-none-eabi-g++ and other binaries are located) 7. Do the same for CoreNG project. -8. Build CoreNG first, then RepRapFirmware. The Duet WiFi and Duet Ethernet builds of RRF use the SAM4E build of CoreNG. The Duet085 build of RRF (which also runs on the Duet06) uses the SAM3X build of CoreNG. The RADDS build of RRF has its own build of CoreNG. +8. Build CoreNG and FreeRTOS first, then RepRapFirmware. The Duet WiFi and Duet Ethernet builds of RRF use the SAM4E build of CoreNG. The Duet085 build of RRF (which also runs on the Duet06) uses the SAM3X build of CoreNG. The RADDS build of RRF has its own build of CoreNG. |