Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit c3a85e4

Browse files
integrated defines for board and machine
1 parent bbd40ca commit c3a85e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ jobs:
3131
exclude:
3232
- board: BOARD_RUMBA
3333
robot: SIXI
34+
# BOARD_RAMPS can only handle 5 motors
3435
- board: BOARD_RAMPS
3536
robot: SIXI
37+
- board: BOARD_RAMPS
38+
robot: STEWART
39+
- board: BOARD_RAMPS
40+
robot: TRADITIONAL6
3641
# WEMOS anything over 3 motors
3742
- board: BOARD_CNCV3
3843
robot: COREXY
@@ -116,4 +121,4 @@ jobs:
116121
# Finally, we compile the sketch, using the FQBN that was set
117122
# in the build matrix.
118123
- name: Compile Sketch
119-
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./Makelangelo-firmware.ino
124+
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} --build-property 'compiler.cpp.extra_flags="-D BOARD_TYPE=${{matrix.board}}" "-D MACHINE_STYLE=${{matrix.robot}}"' ./Makelangelo-firmware.ino

0 commit comments

Comments
 (0)