Reorganize HAL (#14832)

This commit is contained in:
Scott Lahteine
2019-09-02 19:49:58 -05:00
committed by GitHub
parent cdd5056aba
commit 75efa3cdac
142 changed files with 547 additions and 422 deletions

View File

@ -33,10 +33,10 @@
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio_STM32F1.h"
#include "watchdog_STM32F1.h"
#include "fastio.h"
#include "watchdog.h"
#include "HAL_timers_STM32F1.h"
#include "timers.h"
#include <stdint.h>
#include <util/atomic.h>

View File

@ -33,7 +33,7 @@
#ifdef __STM32F1__
#include "../../inc/MarlinConfig.h"
#include "SPI.h"
#include <SPI.h>
// ------------------------
// Public functions

View File

@ -31,7 +31,7 @@
#ifdef __STM32F1__
#include "SPI.h"
#include <SPI.h>
#include <libmaple/timer.h>
#include <libmaple/util.h>

View File

@ -29,8 +29,8 @@
uint8_t ServoCount = 0;
#include "HAL_Servo_STM32F1.h"
#include "HAL_timers_STM32F1.h"
#include "Servo.h"
#include "timers.h"
//#include "Servo.h"

View File

@ -29,7 +29,7 @@
#if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY)
#include "HAL_sdio_STM32F1.h"
#include "sdio.h"
SDIO_CardInfoTypeDef SdCard;

View File

@ -28,7 +28,7 @@
#include "HAL.h"
#include "HAL_timers_STM32F1.h"
#include "timers.h"
// ------------------------
// Local defines

View File

@ -31,7 +31,7 @@
#if ENABLED(USE_WATCHDOG)
#include <libmaple/iwdg.h>
#include "watchdog_STM32F1.h"
#include "watchdog.h"
void watchdog_reset() {
#if DISABLED(PINS_DEBUGGING) && PIN_EXISTS(LED)