HAL compatible pinsDebug & misc
Re-ARM has been tested. AVR has not been tested. 1) moved all cpu specific items to files in the low level HAL directory for that CPU (pinDebug_Re-ARM.h & pinsDebug_AVR_8_bit.h 2) added pinsDebug.h to the top level directory 3) modified HAL_pinsDebug.h to select the correct support file for the selected CPU 4) Patched sanitycheck to stop throwing false errors. A long term solution will be done 5) misc changes & bug fixes arduino.cpp - included macros.h to fix a missing definition pinmap_re-arm.h - removed a duplicated line. pinmapping.h - changed from "ENABLED" to "defined" to fix a compile error ====================================================================== split SanityCheck up, improve pinsDebug system ====================================================================== switch to latest pins_RAMPS_RE_ARM.h
This commit is contained in:
committed by
Scott Lahteine
parent
32e759c928
commit
84a11cfedc
@ -22,16 +22,18 @@
|
||||
|
||||
#ifndef HAL_PINSDEBUG_H
|
||||
|
||||
#ifdef ARDUINO_ARCH_AVR
|
||||
#include "HAL_AVR/HAL_pinsDebug_AVR.h"
|
||||
#elif defined(ARDUINO_ARCH_SAM)
|
||||
#include "HAL_DUE/HAL_pinsDebug_Due.h"
|
||||
#elif IS_32BIT_TEENSY
|
||||
#include "HAL_TEENSY35_36/HAL_pinsDebug_Teensy.h"
|
||||
#elif defined(TARGET_LPC1768)
|
||||
#include "HAL_LPC1768/HAL_pinsDebug.h"
|
||||
#else
|
||||
#error Unsupported Platform!
|
||||
#endif
|
||||
#if defined(PINS_DEBUGGING)
|
||||
#ifdef ARDUINO_ARCH_AVR
|
||||
#include "HAL_AVR/pinsDebug_AVR_8_bit.h"
|
||||
#elif defined(ARDUINO_ARCH_SAM)
|
||||
#include "HAL_DUE/HAL_pinsDebug_Due.h"
|
||||
#elif IS_32BIT_TEENSY
|
||||
#include "HAL_TEENSY35_36/HAL_pinsDebug_Teensy.h"
|
||||
#elif defined(TARGET_LPC1768)
|
||||
#include "HAL_LPC1768/pinsDebug_Re_ARM.h"
|
||||
#else
|
||||
#error Unsupported Platform!
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user