Bring STM32F4/F7 together

This commit is contained in:
Scott Lahteine
2019-07-09 23:54:34 -05:00
parent cf9ac4c847
commit ad1c061e7b
49 changed files with 197 additions and 1905 deletions

View File

@@ -45,8 +45,8 @@
#if HAS_DRIVER(TMC26X)
#include <SPI.h>
#ifdef STM32F7
#include "../HAL/HAL_STM32F7/TMC2660.h"
#if defined(STM32GENERIC) && defined(STM32F7)
#include "../HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.h"
#else
#include <TMC26XStepper.h>
#endif

View File

@@ -35,8 +35,8 @@
// TMC26X drivers have STEP/DIR on normal pins, but ENABLE via SPI
#if HAS_DRIVER(TMC26X)
#include <SPI.h>
#ifdef STM32F7
#include "../HAL/HAL_STM32F7/TMC2660.h"
#if defined(STM32GENERIC) && defined(STM32F7)
#include "../HAL/HAL_STM32_F4_F7/STM32F7/TMC2660.h"
#else
#include <TMC26XStepper.h>
#endif