Skip to content

Commit e2aa68f

Browse files
Update README with build instructions
1 parent 9f44a77 commit e2aa68f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,22 @@
22
A G-code parser and CNC controller (in Ada)
33

44
For more info: http://blog.adacore.com/make-with-ada-arm-cortex-m-cnc-controller
5+
6+
## Build instructions
7+
8+
### Gcode Viewer
9+
10+
- Download and install the [GNAT and GtkAda packages](http://libre.adacore.com/download/configurations) in the same directory
11+
- Start GPS (GNAT Programing Studio)
12+
- Open the project file gcode_viewer/gcode_viewer.gpr
13+
- Use the "Build all" button to compile
14+
- use the "Run Main: main_gtkada" button to start the application
15+
16+
### CNC controller on the STM32F4 Discovery
17+
18+
- Make sure to get all the Git submodules "$ git submodules update"
19+
- Download and install the [GNAT for ARM package](http://libre.adacore.com/download/configurations)
20+
- Start GPS (GNAT Programing Studio)
21+
- Open the project file stm32f4-disco_controller/stm32f4_disco_CNC_controller.gpr
22+
- Use the "Build all" button to compile
23+
- use the "Flash to board" button to program the STM32F4 Discovery board

0 commit comments

Comments
 (0)