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

@ -21,7 +21,7 @@
#ifdef TARGET_LPC1768
#include "../../inc/MarlinConfig.h"
#include "../Delay.h"
#include "../shared/Delay.h"
HalSerial usb_serial;

View File

@ -60,8 +60,8 @@ extern "C" volatile uint32_t _millis;
#include <Arduino.h>
#include <pinmapping.h>
#include "../math_32bit.h"
#include "../HAL_SPI.h"
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio.h"
#include "watchdog.h"
#include "serial.h"

View File

@ -26,7 +26,7 @@
#include <lpc17xx_pinsel.h>
#include "../../inc/MarlinConfig.h"
#include "../Delay.h"
#include "../shared/Delay.h"
// Interrupts
void cli(void) { __disable_irq(); } // Disable

View File

@ -22,7 +22,7 @@
#pragma once
#include "../../HAL_SPI.h"
#include "../../shared/HAL_SPI.h"
#include <stdint.h>

View File

@ -37,7 +37,7 @@
//
//#include <WInterrupts.h>
#include "../../../inc/MarlinConfig.h"
#include "../../Delay.h"
#include "../../shared/Delay.h"
#include <stdint.h>
#include <stdarg.h>
#include <Arduino.h>

View File

@ -19,6 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "../persistent_store_api.h"
#include "../shared/persistent_store_api.h"
//#define FLASH_EEPROM

View File

@ -61,7 +61,7 @@
//#include <inttypes.h>
#include <U8glib.h>
#include "../Delay.h"
#include "../shared/Delay.h"
#define SPI_FULL_SPEED 0
#define SPI_HALF_SPEED 1

View File

@ -61,7 +61,7 @@
#include <U8glib.h>
#include "SoftwareSPI.h"
#include "../Delay.h"
#include "../shared/Delay.h"
#define SPI_SPEED 3 // About 1 MHz