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

@ -25,9 +25,9 @@
#include "../shared/Marduino.h"
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio_SAMD51.h"
#include "watchdog_SAMD51.h"
#include "HAL_timers_SAMD51.h"
#include "fastio.h"
#include "watchdog.h"
#include "timers.h"
#ifdef ADAFRUIT_GRAND_CENTRAL_M4
#include "MarlinSerial_AGCM4.h"

View File

@ -33,7 +33,7 @@
#include "../shared/servo.h"
#include "../shared/servo_private.h"
#include "SAMD51.h"
#include "HAL_timers_SAMD51.h"
#include "timers.h"
#define __TC_GCLK_ID(t) TC##t##_GCLK_ID
#define _TC_GCLK_ID(t) __TC_GCLK_ID(t)

View File

@ -25,7 +25,7 @@
// Includes
// --------------------------------------------------------------------------
#include "../../inc/MarlinConfig.h"
#include "HAL_timers_SAMD51.h"
#include "timers.h"
// --------------------------------------------------------------------------
// Local defines

View File

@ -25,7 +25,7 @@
#if ENABLED(USE_WATCHDOG)
#include "watchdog_SAMD51.h"
#include "watchdog.h"
void watchdog_init(void) {
// The low-power oscillator used by the WDT runs at 32,768 Hz with