You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
530 B
20 lines
530 B
#pragma once
|
|
#define TMC_MOTOR_SPI hspi1
|
|
#define TMC_DIAG1 PB0
|
|
#define TMC_DIAG0 PB1
|
|
|
|
// MOTOR0
|
|
#define MOTOR0_CSN PA4
|
|
#define MOTOR0_ENN PE3
|
|
#define MOTOR0_SPI_MODE_SELECT PinNull
|
|
#define MOTOR0_REFL PD13
|
|
#define MOTOR0_REFR PD14
|
|
|
|
// MOTOR1
|
|
#define MOTOR1_CSN PA8
|
|
#define MOTOR1_ENN PE6
|
|
#define MOTOR1_SPI_MODE_SELECT PinNull
|
|
#define MOTOR1_REFL PD11
|
|
#define MOTOR1_REFR PD12
|
|
|
|
#define MOTOR_CFG_FLASH_MARK "MOTOR_CFG_FLASH_MARK"
|