Skip to content

Commit

Permalink
UltiMachine Archim 1 support (#12404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allted authored and thinkyhead committed Nov 14, 2018
1 parent 664e207 commit 052d102
Show file tree
Hide file tree
Showing 9 changed files with 4,226 additions and 71 deletions.
8 changes: 7 additions & 1 deletion Marlin/Makefile
Expand Up @@ -404,8 +404,14 @@ else ifeq ($(HARDWARE_MOTHERBOARD),88)
HARDWARE_VARIANT ?= Teensy
MCU ?= at90usb1286

# UltiMachine Archim1 (with DRV8825 drivers)
else ifeq ($(HARDWARE_MOTHERBOARD),1591)
HARDWARE_VARIANT ?= archim
MCPU = cortex-m3
F_CPU = 84000000L
IS_MCU = 0
# UltiMachine Archim2 (with TMC2130 drivers)
else ifeq ($(HARDWARE_MOTHERBOARD),1590)
else ifeq ($(HARDWARE_MOTHERBOARD),1592)
HARDWARE_VARIANT ?= archim
MCPU = cortex-m3
F_CPU = 84000000L
Expand Down
7 changes: 6 additions & 1 deletion Marlin/src/HAL/HAL_DUE/usb/conf_usb.h
Expand Up @@ -49,6 +49,7 @@

#undef UNUSED /* To avoid a macro clash as macros.h already defines it */
#include "../../../core/macros.h" /* For ENABLED()/DISABLED() */
#include "../../../core/boards.h" /* For MB() */
#include "../../../../Configuration.h" /* For CUSTOM_MACHINE_NAME definition - We just need the name, no C++ allowed! */
#include "compiler.h"

Expand Down Expand Up @@ -88,7 +89,11 @@
//#define USB_DEVICE_LOW_SPEED

//! To define a Full speed device
//#define USB_DEVICE_FULL_SPEED
//#define USB_DEVICE_FULL_SPEED

#if MB(ARCHIM1)
#define USB_DEVICE_FULL_SPEED
#endif

//! To authorize the High speed
#ifndef USB_DEVICE_FULL_SPEED
Expand Down
2,019 changes: 2,019 additions & 0 deletions Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h

Large diffs are not rendered by default.

0 comments on commit 052d102

Please sign in to comment.