Skip to content

Commit

Permalink
[2.0.x] UltiMachine Archim2 (MarlinFirmware#8190)
Browse files Browse the repository at this point in the history
* UltiMachine Archim2 support

* SPI gets included by the library

* Invert TMC2130 diag pin state

* Clean up Archim2 pins

* Update Archim2 config

* FAN2 -> FAN1

* Cleanup

* Add brief Archim installation instructions

* Bring pins into compliance

* Update 1.0 SD Detect pin for 1.1

* Update Configuration.h

* Update pins_ARCHIM2.h
  • Loading branch information
teemuatlut authored and thinkyhead committed Nov 3, 2017
1 parent f3deb37 commit 70be4d2
Show file tree
Hide file tree
Showing 8 changed files with 3,389 additions and 20 deletions.
1 change: 0 additions & 1 deletion Marlin/Marlin.ino
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#endif

#if ENABLED(HAVE_TMC2130)
#include <SPI.h>
#include <TMC2130Stepper.h>
#endif

Expand Down
86 changes: 68 additions & 18 deletions Marlin/src/HAL/HAL_DUE/fastio_Due.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,31 +404,81 @@ pins
#define DIO91_PIN 15
#define DIO91_WPORT PIOB

#define DIO92_PIN 5
#define DIO92_WPORT PIOA
#if ARDUINO_SAM_ARCHIM
#define DIO92_PIN 11
#define DIO92_WPORT PIOC

#define DIO93_PIN 12
#define DIO93_WPORT PIOB
#define DIO93_PIN 2
#define DIO93_WPORT PIOB

#define DIO94_PIN 22
#define DIO94_WPORT PIOB
#define DIO94_PIN 1
#define DIO94_WPORT PIOB

#define DIO95_PIN 23
#define DIO95_WPORT PIOB
#define DIO95_PIN 0
#define DIO95_WPORT PIOB

#define DIO96_PIN 24
#define DIO96_WPORT PIOB
#define DIO96_PIN 10
#define DIO96_WPORT PIOC

#define DIO97_PIN 20
#define DIO97_WPORT PIOC
#define DIO97_PIN 24
#define DIO97_WPORT PIOB

#define DIO98_PIN 27
#define DIO98_WPORT PIOC
#define DIO98_PIN 7
#define DIO98_WPORT PIOB

#define DIO99_PIN 10
#define DIO99_WPORT PIOC
#define DIO99_PIN 6
#define DIO99_WPORT PIOB

#define DIO100_PIN 11
#define DIO100_WPORT PIOC
#define DIO100_PIN 8
#define DIO100_WPORT PIOB

#define DIO101_PIN 5
#define DIO101_WPORT PIOB

#define DIO102_PIN 4
#define DIO102_WPORT PIOB

#define DIO103_PIN 3
#define DIO103_WPORT PIOB

#define DIO104_PIN 20
#define DIO104_WPORT PIOC

#define DIO105_PIN 22
#define DIO105_WPORT PIOB

#define DIO106_PIN 27
#define DIO106_WPORT PIOC

#define DIO107_PIN 10
#define DIO107_WPORT PIOB
#else
#define DIO92_PIN 5
#define DIO92_WPORT PIOA

#define DIO93_PIN 12
#define DIO93_WPORT PIOB

#define DIO94_PIN 22
#define DIO94_WPORT PIOB

#define DIO95_PIN 23
#define DIO95_WPORT PIOB

#define DIO96_PIN 24
#define DIO96_WPORT PIOB

#define DIO97_PIN 20
#define DIO97_WPORT PIOC

#define DIO98_PIN 27
#define DIO98_WPORT PIOC

#define DIO99_PIN 10
#define DIO99_WPORT PIOC

#define DIO100_PIN 11
#define DIO100_WPORT PIOC
#endif

#endif // _FASTIO_DUE_H
Loading

0 comments on commit 70be4d2

Please sign in to comment.