Skip to content

Commit a659662

Browse files
committed
2 parents e6f362e + 03ccfa6 commit a659662

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

Readme.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,27 @@ https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_PanelDue
3535

3636
# Development
3737

38-
## Build requirements
38+
As at version 3.5.1 this project can be built under either Eclipse or using CMake.
3939

40+
## Building using Eclipse
41+
42+
### Requirements
43+
- Eclipse CDT
44+
- arm-none-eabi-gcc
45+
- Git (an easy way to get it is to install Git Desktop)
46+
47+
### Windows
48+
- Create an Eclipse workspace
49+
- Clone this Git project (PanelDueFirmware) into it (you can do this in Git Desktop)
50+
- Open a command prompt at ```<your workspace name>\PanelDueFirmware``` and run command: ```git submodule update```
51+
- Open Eclipse, add the project to the workspace, select the build configuration you require and build
52+
53+
### Ubuntu etc.
54+
- As for Windows, but you will need to change the post-build step ```cp``` commands in the Eclipse project to appropriate Linux ```cat``` commands
55+
56+
## Building using CMake
57+
58+
### Requirements
4059
- arm-none-eabi-gcc
4160
- cat
4261
- cmake
@@ -60,7 +79,9 @@ $ brew install gcc-arm-embedded
6079

6180
### Windows
6281

63-
Download and install latest toolchain from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
82+
- Download and install latest toolchain from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
83+
- Download and install a Linux-like build environment such as MSYS2
84+
- Download and install cmake
6485

6586
## Setup repository
6687

0 commit comments

Comments
 (0)