Reorganize HAL (#14832)
This commit is contained in:
@ -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>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#ifdef __STM32F1__
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
#include "SPI.h"
|
||||
#include <SPI.h>
|
||||
|
||||
// ------------------------
|
||||
// Public functions
|
@ -31,7 +31,7 @@
|
||||
|
||||
#ifdef __STM32F1__
|
||||
|
||||
#include "SPI.h"
|
||||
#include <SPI.h>
|
||||
|
||||
#include <libmaple/timer.h>
|
||||
#include <libmaple/util.h>
|
||||
|
@ -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"
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY)
|
||||
|
||||
#include "HAL_sdio_STM32F1.h"
|
||||
#include "sdio.h"
|
||||
|
||||
SDIO_CardInfoTypeDef SdCard;
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include "HAL.h"
|
||||
|
||||
#include "HAL_timers_STM32F1.h"
|
||||
#include "timers.h"
|
||||
|
||||
// ------------------------
|
||||
// Local defines
|
@ -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)
|
Reference in New Issue
Block a user