Skip to content

Commit

Permalink
Merge pull request #9 from jeffeb3/remove-hals
Browse files Browse the repository at this point in the history
Testing out removing the extra HAL directories.
  • Loading branch information
V1EngineeringInc authored Aug 28, 2020
2 parents 3a54a15 + f597461 commit f43f143
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/configs/boards/mini-rambo
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ opt_set DEFAULT_AXIS_STEPS_PER_UNIT "{ 100, 100, 400, 837 }"
opt_set PWM_MOTOR_CURRENT "{ 900, 900, 900 }"
opt_set E0_AUTO_FAN_PIN "6"

pushd Marlin/src/HAL
rm -rf DUE ESP32 LINUX LPC1768 SAMD51 STM* TEENSY*
popd

# Write some useful tidbits to the readme.
echo "- Configured for MiniRambo" >> README.md

4 changes: 4 additions & 0 deletions src/configs/boards/rambo
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ opt_set MOTHERBOARD "BOARD_RAMBO"
opt_set DEFAULT_AXIS_STEPS_PER_UNIT "{ 100, 100, 400, 100 }"
opt_set DIGIPOT_MOTOR_CURRENT "{ 138, 138, 138, 138, 138 }"

pushd Marlin/src/HAL
rm -rf DUE ESP32 LINUX LPC1768 SAMD51 STM* TEENSY*
popd

# Write some useful tidbits to the readme.
echo "- Configured for Rambo" >> README.md

4 changes: 4 additions & 0 deletions src/configs/boards/ramps
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

# MOTHERBOARD is set to ramps by default.

pushd Marlin/src/HAL
rm -rf DUE ESP32 LINUX LPC1768 SAMD51 STM* TEENSY*
popd

opt_set DEFAULT_AXIS_STEPS_PER_UNIT "{ 200, 200, 800, 200 }"

4 changes: 4 additions & 0 deletions src/configs/boards/skr_1p3
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ opt_set SERIAL_PORT_2 0

opt_set DEFAULT_AXIS_STEPS_PER_UNIT "{ 200, 200, 800, 200 }"

pushd Marlin/src/HAL
rm -rf AVR DUE ESP32 LINUX SAMD51 STM* TEENSY*
popd

# Write some useful tidbits to the readme.
echo "- Configured for Skr v1.3" >> README.md

4 changes: 4 additions & 0 deletions src/configs/boards/skr_pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ opt_set SERIAL_PORT_2 -1

opt_set DEFAULT_AXIS_STEPS_PER_UNIT "{ 100, 100, 400, 100 }"

pushd Marlin/src/HAL
rm -rf AVR DUE ESP32 LINUX LPC1768 SAMD51 TEENSY*
popd

# Write some useful tidbits to the readme.
echo "- Configured for Skr Pro v1.2" >> README.md

0 comments on commit f43f143

Please sign in to comment.