Compile only selected PIO environment (#11519)

This commit is contained in:
Dave Johnson
2018-08-14 01:28:52 -07:00
committed by Scott Lahteine
parent 5be2559eda
commit c64199941e
58 changed files with 248 additions and 84 deletions

View File

@@ -344,7 +344,7 @@ void MarlinSettings::postprocess() {
}
#if ENABLED(EEPROM_SETTINGS)
#include "../HAL/persistent_store_api.h"
#include "../HAL/shared/persistent_store_api.h"
#define DUMMY_PID_VALUE 3000.0f
#define EEPROM_START() int eeprom_index = EEPROM_OFFSET; persistentStore.access_start()

View File

@@ -24,8 +24,9 @@
#define CONFIGURATION_STORE_H
#include "../inc/MarlinConfig.h"
#if ENABLED(EEPROM_SETTINGS)
#include "../HAL/persistent_store_api.h"
#include "../HAL/shared/persistent_store_api.h"
#endif
#define ADD_PORT_ARG ENABLED(EEPROM_CHITCHAT) && NUM_SERIAL > 1

View File

@@ -31,7 +31,7 @@ Stopwatch print_job_timer; // Global Print Job Timer instance
#include "printcounter.h"
#include "../Marlin.h"
#include "../HAL/persistent_store_api.h"
#include "../HAL/shared/persistent_store_api.h"
PrintCounter print_job_timer; // Global Print Job Timer instance

View File

@@ -27,7 +27,7 @@
#ifndef _SERVO_H_
#define _SERVO_H_
#include "../HAL/servo.h"
#include "../HAL/shared/servo.h"
extern HAL_SERVO_LIB servo[NUM_SERVOS];
extern void servo_init();

View File

@@ -93,7 +93,7 @@
#include "../gcode/queue.h"
#include "../sd/cardreader.h"
#include "../Marlin.h"
#include "../HAL/Delay.h"
#include "../HAL/shared/Delay.h"
#if MB(ALLIGATOR)
#include "../feature/dac/dac_dac084s085.h"

View File

@@ -31,7 +31,7 @@
#include "../lcd/ultralcd.h"
#include "planner.h"
#include "../core/language.h"
#include "../HAL/Delay.h"
#include "../HAL/shared/Delay.h"
#if ENABLED(HEATER_0_USES_MAX6675)
#include "../libs/private_spi.h"