Adjust HAL platform defines, comments

This commit is contained in:
Scott Lahteine
2020-10-02 17:05:45 -05:00
parent d83baf8925
commit 4e8eea8e78
45 changed files with 108 additions and 80 deletions

View File

@ -20,9 +20,8 @@
*
*/
/**
* Description: HAL for Teensy32 (MK20DX256)
* HAL for Teensy 3.2 (MK20DX256)
*/
#ifdef __MK20DX256__

View File

@ -22,7 +22,7 @@
#pragma once
/**
* Description: HAL for Teensy 3.5 and Teensy 3.6
* HAL for Teensy 3.2 (MK20DX256)
*/
#define CPU_32_BIT
@ -44,8 +44,9 @@
//#undef MOTHERBOARD
//#define MOTHERBOARD BOARD_TEENSY31_32
#ifdef __MK20DX256__
#define IS_32BIT_TEENSY 1
#define IS_32BIT_TEENSY 1
#define IS_TEENSY_31_32 1
#ifndef IS_TEENSY31
#define IS_TEENSY32 1
#endif

View File

@ -51,5 +51,4 @@ void libServo::move(const int value) {
}
#endif // HAS_SERVOS
#endif // __MK20DX256__

View File

@ -23,8 +23,7 @@
#if USE_WIRED_EEPROM
/**
* PersistentStore for Arduino-style EEPROM interface
* with implementations supplied by the framework.
* HAL PersistentStore for Teensy 3.2 (MK20DX256)
*/
#include "../shared/eeprom_api.h"

View File

@ -21,7 +21,7 @@
*/
/**
* Teensy3.2 __MK20DX256__
* HAL Timers for Teensy 3.2 (MK20DX256)
*/
#ifdef __MK20DX256__

View File

@ -22,8 +22,7 @@
#pragma once
/**
* Description: HAL for
* Teensy3.2 (__MK20DX256__)
* HAL Timers for Teensy 3.2 (MK20DX256)
*/
#include <stdint.h>