Shorter paths to HAL, ExtUI (#17156)

This commit is contained in:
Scott Lahteine
2020-03-13 16:29:29 -05:00
committed by GitHub
parent ad980a72f7
commit 6bead0c1b0
600 changed files with 228 additions and 227 deletions

View File

@@ -22,7 +22,7 @@
#pragma once
/**
* HAL/HAL_ST7920.h
* HAL/ST7920.h
* For the HALs that provide direct access to the ST7920 display
* (bypassing U8G), it will allow the LIGHTWEIGHT_UI to operate.
*/

View File

@@ -68,19 +68,19 @@
*/
#if IS_TEENSY32
#include "../HAL_TEENSY31_32/Servo.h"
#include "../TEENSY31_32/Servo.h"
#elif IS_TEENSY35 || IS_TEENSY36
#include "../HAL_TEENSY35_36/Servo.h"
#include "../TEENSY35_36/Servo.h"
#elif defined(TARGET_LPC1768)
#include "../HAL_LPC1768/Servo.h"
#include "../LPC1768/Servo.h"
#elif defined(__STM32F1__) || defined(TARGET_STM32F1)
#include "../HAL_STM32F1/Servo.h"
#include "../STM32F1/Servo.h"
#elif defined(STM32GENERIC) && defined(STM32F4)
#include "../HAL_STM32_F4_F7/Servo.h"
#include "../STM32_F4_F7/Servo.h"
#elif defined(ARDUINO_ARCH_STM32)
#include "../HAL_STM32/Servo.h"
#include "../STM32/Servo.h"
#elif defined(ARDUINO_ARCH_ESP32)
#include "../HAL_ESP32/Servo.h"
#include "../ESP32/Servo.h"
#else
#include <stdint.h>

View File

@@ -44,11 +44,11 @@
// Architecture specific include
#ifdef __AVR__
#include "../HAL_AVR/ServoTimers.h"
#include "../AVR/ServoTimers.h"
#elif defined(ARDUINO_ARCH_SAM)
#include "../HAL_DUE/ServoTimers.h"
#include "../DUE/ServoTimers.h"
#elif defined(__SAMD51__)
#include "../HAL_SAMD51/ServoTimers.h"
#include "../SAMD51/ServoTimers.h"
#else
#error "This library only supports boards with an AVR, SAM3X or SAMD51 processor."
#endif