0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-07-27 20:22:06 +00:00

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:
Bob-the-Kuhn 2017-07-31 01:31:14 -05:00 committed by Scott Lahteine
parent 32e759c928
commit 84a11cfedc
17 changed files with 1157 additions and 440 deletions
Marlin/src/HAL/HAL_LPC1768

View file

@ -22,8 +22,8 @@
#ifdef TARGET_LPC1768
#include <lpc17xx_pinsel.h>
#include "../../../macros.h"
#include "HAL.h"
#include "../../macros.h"
// Interrupts
void cli(void) { __disable_irq(); } // Disable