-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_machine.h
49 lines (41 loc) · 2.12 KB
/
my_machine.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
my_machine.h - configuration for Texas Instruments Tiva C (TM4C123GH6PM) ARM processor
Part of grblHAL
Copyright (c) 2020-2022 Terje Io
Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Grbl. If not, see <http://www.gnu.org/licenses/>.
*/
// NOTE: Only one board may be enabled!
#define BOARD_CNC_BOOSTERPACK
//#define BOARD_MY_MACHINE // Add my_machine_map.h before enabling this!
// Configuration
// Uncomment to enable.
//#define SAFETY_DOOR_ENABLE 1 // Enable safety door input.
//#define TRINAMIC_ENABLE 2130 // Trinamic TMC2130 stepper driver support. NOTE: work in progress.
//#define TRINAMIC_ENABLE 5160 // Trinamic TMC5160 stepper driver support. NOTE: work in progress.
//#define TRINAMIC_I2C 0 // Trinamic I2C - SPI bridge interface.
//#define PWM_RAMPED 1 // Ramped spindle PWM.
//#define PPI_ENABLE 1 // Laser PPI (Pulses Per Inch) option.
// Optional control signals:
// These will be assigned to aux input pins. Use the $pins command to check which pins are assigned.
// NOTE: If not enough pins are available assignment will silently fail.
//#define SAFETY_DOOR_ENABLE 1
//#define MOTOR_FAULT_ENABLE 1
//#define MOTOR_WARNING_ENABLE 1
//#define PROBE_DISCONNECT_ENABLE 1
//#define STOP_DISABLE_ENABLE 1
//#define BLOCK_DELETE_ENABLE 1
//#define SINGLE_BLOCK_ENABLE 1
//#define LIMITS_OVERRIDE_ENABLE 1
#ifdef BOARD_CNC_BOOSTERPACK
#define CNC_BOOSTERPACK_SHORTS 1 // Shorts added to BoosterPack for some signals (for faster and simpler driver)
#define CNC_BOOSTERPACK_A4998 1 // Using Polulu A4998 drivers - for suppying VDD via GPIO (PE5)
#endif