Post merge fix
Add macros.h to allow Enabled macro, also need to reference include files directly
This commit is contained in:
parent
d2fb3215da
commit
b55295ad33
4 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
|
#include "../../../macros.h"
|
||||||
#include "../HAL.h"
|
#include "../HAL.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
#include <lpc17xx_pinsel.h>
|
#include <lpc17xx_pinsel.h>
|
||||||
|
#include "../../../macros.h"
|
||||||
#include "HAL.h"
|
#include "HAL.h"
|
||||||
|
|
||||||
// Interrupts
|
// Interrupts
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#ifndef __HAL_PINMAPPING_H__
|
#ifndef __HAL_PINMAPPING_H__
|
||||||
#define __HAL_PINMAPPING_H__
|
#define __HAL_PINMAPPING_H__
|
||||||
|
#include "../../../macros.h"
|
||||||
|
|
||||||
struct pin_data { uint8_t port, pin; };
|
struct pin_data { uint8_t port, pin; };
|
||||||
struct adc_pin_data { uint8_t port, pin, adc; };
|
struct adc_pin_data { uint8_t port, pin, adc; };
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef HAL_SPI_PINS_H_
|
#ifndef HAL_SPI_PINS_H_
|
||||||
#define HAL_SPI_PINS_H_
|
#define HAL_SPI_PINS_H_
|
||||||
|
|
||||||
#include "MarlinConfig.h"
|
#include "../../MarlinConfig.h"
|
||||||
|
|
||||||
#ifdef ARDUINO_ARCH_SAM
|
#ifdef ARDUINO_ARCH_SAM
|
||||||
#include "HAL_DUE/spi_pins.h"
|
#include "HAL_DUE/spi_pins.h"
|
||||||
|
|
Reference in a new issue