Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-02-21 18:37:40 +0300
committerdc42 <dcrocker@eschertech.com>2018-02-21 18:37:40 +0300
commit77e24085221d1c0bd02dd5872cc8615fd4560522 (patch)
tree7af908cf0a6f122a86d5e755bf40fa2afc7a701a /BuildInstructions.md
parentd565cfae67d6d6bab3e806dba824792934e2360a (diff)
update macOS build instructions (#161)
Diffstat (limited to 'BuildInstructions.md')
-rw-r--r--BuildInstructions.md15
1 files changed, 5 insertions, 10 deletions
diff --git a/BuildInstructions.md b/BuildInstructions.md
index f724d561..c11a35e1 100644
--- a/BuildInstructions.md
+++ b/BuildInstructions.md
@@ -27,24 +27,19 @@ Instructions for building dc42 fork of RepRapFirmware under Windows
Instructions for building dc42 fork of RepRapFirmware under macOS
=================================================================
-[These instructions have not yet been updated to use the newer cgcc version needed by firmware 1.20alpha3 and later.]
-1. Download and install Arduino IDE, and start it.
+Using Homebrew-Cask makes it very easy to install new software on macOS: https://caskroom.github.io/
-2. Go to: Tools -> Board -> Boards Manager... and install "Arduino SAM Boards"
+1. Download and install the gcc-arm-embedded: brew cask install gcc-arm-embedded
-3. Download and install Eclipse. Oxygen Release (4.7.0) exists while writing these instructions.
+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.
5. Open Eclipse and import RepRapFirmware and CoreNG projects.
-6. Right click "RepRapFirmware" project and select Properties. Go To "C/C++ Build -> Settings" and change the path: `/Users/<YOUR USER NAME>/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin`. You better visit that folder before changing on Eclipse to check whether it exists. If it does not, go to `/Users/<YOUR USER NAME>/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc` and find the toolchain path.
+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. Again Right click "RepRapFirmware" project and select Properties. Go To "C/C++ Build -> Settings". Under "Cross GCC Compiler" and "Cross G++ Compiler" you will see "Includes". Add DuetWiFiSocketServer's `src/includes` folder to the "Include paths (-I)" of both "Cross GCC Compiler" and "Cross G++ Compiler".
-
-9. 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.
-
-D Crocker, updated 2017-09-22.
+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.