DJScopeSOFM / Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler

Two Tree Marlin Bugfix build that can be compiled for multiple types of Two Trees printers by just editing a single setup file.
GNU General Public License v3.0
15 stars 6 forks source link

Compilling error #8

Open AndWarj opened 3 years ago

AndWarj commented 3 years ago

I have a issue with Compiling this Firmware for a org. Sapphire Plus. Only i have change is the Board, to a MKS robin nano V1.X and Bltouch is pluged on Zmin_pin.

This is the Error for Compiling:

Terminal will be reused by tasks, press any key to close it.

Executing task in folder Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler-main: C:\Users\Andy.platformio\penv\Scripts\pio.exe run <

Processing LPC1769 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip; board: nxp_lpc1769; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1769 HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink) PACKAGES:

Unable to find destination disk (Autodetect Error) Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk

Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\DebugMonitor.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\HAL.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\HAL_SPI.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\MarlinSerial.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_flash.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_sdcard.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_wired.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\fast_pwm.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\include\digipot_mcp4451_I2C_routines.c.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\include\i2c_util.c.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\main.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\tft\tft_spi.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\tft\xpt2046.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\timers.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\LCD_I2C_routines.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\LCD_pin_routines.c.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_ssd_hw_i2c.cpp.o In file included from Marlin\src\HAL\LPC1768../../core/../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768../../core/serial.h:24, from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25: Marlin\src\HAL\LPC1768../../core/../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\HAL.cpp:24: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_st7920_hw_spi.cpp.o In file included from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768../../core/serial.h:24, from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25: Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_st7920_sw_spi.cpp.o 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_sw_spi.cpp.o ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\HAL.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\usb_serial.cpp.o In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\watchdog.cpp.o from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:25: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" Compiling .pio\build\LPC1769\src\src\HAL\shared\HAL_spi_L6470.cpp.o ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\shared\backtrace\backtrace.cpp.o Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." Compiling .pio\build\LPC1769\src\src\HAL\shared\backtrace\unwarm.cpp.o 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:25: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\main.cpp:34: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\shared\backtrace\unwarm_arm.cpp.o Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\timers.cpp:31: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:34, Compiling .pio\build\LPC1769\src\src\HAL\shared\backtrace\unwarm_thumb.cpp.o from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\main.cpp:34: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\timers.cpp:31: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
36
#error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
36
#error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ [.pio\build\LPC1769\src\src\HAL\LPC1768\DebugMonitor.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL.cpp.o] Error 1 Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:527, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\watchdog.cpp:24: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\watchdog.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ In file included from Marlin\src\HAL\shared\backtrace../../../core/../inc/../pins/pins.h:527, from Marlin\src\HAL\shared\backtrace../../../core/../inc/MarlinConfig.h:34, from Marlin\src\HAL\shared\backtrace../../../core/serial.h:24, from Marlin\src\HAL\shared\backtrace\backtrace.cpp:28: Marlin\src\HAL\shared\backtrace../../../core/../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL_SPI.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../pins/pins.h:527, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:34, from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28: Marlin\src\HAL\shared../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_wired.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_sdcard.cpp.o] Error 1 In file included from Marlin\src\HAL\shared\backtrace../../../core/../inc/MarlinConfig.h:50, from Marlin\src\HAL\shared\backtrace../../../core/serial.h:24, from Marlin\src\HAL\shared\backtrace\backtrace.cpp:28: Marlin\src\HAL\shared\backtrace../../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_flash.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/MarlinConfig.h:50, from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28: Marlin\src\HAL\shared../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\shared\backtrace../../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\shared../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\shared../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\shared\backtrace../../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\shared../../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." 219 #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ Marlin\src\HAL\shared\backtrace../../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:219:8: error: #error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals."
219
#error "One or more i2c (1) pins overlaps with X endstop pins! Disable i2c peripherals." ^~~~~ compilation terminated due to -fmax-errors=5. compilation terminated due to -fmax-errors=5. [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\tft_spi.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\main.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\timers.cpp.o] Error 1 compilation terminated due to -fmax-errors=5. [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\xpt2046.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\watchdog.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\shared\backtrace\backtrace.cpp.o] Error 1 *** [.pio\build\LPC1769\src\src\HAL\shared\HAL_spi_L6470.cpp.o] Error 1 ================================================================================== [FAILED] Took 3.42 seconds ================================================================================== Environment Status Duration

LPC1769 FAILED 00:00:03.419 ============================================================================ 1 failed, 0 succeeded in 00:00:03.419 ============================================================================ The terminal process "C:\Users\Andy.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Executing task in folder Two-Trees-Multi-Printer-Marlin-Bugfix-Compiler-main: C:\Users\Andy.platformio\penv\Scripts\pio.exe run <

Processing LPC1769 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip; board: nxp_lpc1769; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1769 HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink) PACKAGES:

Unable to find destination disk (Autodetect Error) Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk

Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\DebugMonitor.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\HAL.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\HAL_SPI.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\MarlinSerial.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_flash.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_sdcard.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_wired.cpp.o In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\fast_pwm.cpp.o from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\include\digipot_mcp4451_I2C_routines.c.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\include\i2c_util.c.o from Marlin\src\HAL\LPC1768\HAL.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768../../core/serial.h:24, from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25: Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\main.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\tft\tft_spi.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\tft\xpt2046.cpp.o Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\timers.cpp.o In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\MarlinSerial.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\LCD_I2C_routines.cpp.o In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp.o from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:25: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\fast_pwm.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\include../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\include\digipot_mcp4451_I2C_routines.c:30: Marlin\src\HAL\LPC1768\include../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\include../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\include\i2c_util.h:28, from Marlin\src\HAL\LPC1768\include\i2c_util.c:29: Marlin\src\HAL\LPC1768\include../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\u8g../include/../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\u8g../include/i2c_util.h:28, from Marlin\src\HAL\LPC1768\u8g\LCD_I2C_routines.cpp:28: Marlin\src\HAL\LPC1768\u8g../include/../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768\u8g../../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp:58: Marlin\src\HAL\LPC1768\u8g../../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\timers.cpp:31: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\include\digipot_mcp4451_I2C_routines.c.o] Error 1 In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfigPre.h:52, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:28, from Marlin\src\HAL\LPC1768\main.cpp:34: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/Conditionals_LCD.h:25:4: error: #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." 25 #error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../core/../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768../../core/serial.h:24, from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25: Marlin\src\HAL\LPC1768../../core/../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\fast_pwm.cpp.o] Error 1 In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\HAL.cpp:24: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp.o] Error 1 In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\HAL.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../core/../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768../../core/serial.h:24, from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25: Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../core/../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\include\i2c_util.c.o] Error 1 In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:25: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\u8g\LCD_I2C_routines.cpp.o] Error 1 In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:25: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\main.cpp:34: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/../pins/pins.h:525, from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:34, from Marlin\src\HAL\LPC1768\timers.cpp:31: Marlin\src\HAL\LPC1768../../inc/../pins/stm32f1/pins_MKS_ROBIN_NANO.h:29:4: error: #error "Oops! Select an STM32F1 board in 'Tools > Board.'" 29 #error "Oops! Select an STM32F1 board in 'Tools > Board.'" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)."
36
#error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\timers.cpp:31: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23: Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:50, from Marlin\src\HAL\LPC1768\main.cpp:34: Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:36:4: error: #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." 36 #error "TEMP_BED_PIN must be defined using the Pn_nn or Pn_nn_An format. (See the included pins files)." ^~~~~ *** [.pio\build\LPC1769\src\src\HAL\LPC1768\MarlinSerial.cpp.o] Error 1 Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:121:8: error: #error "Serial port pins (1) conflict with LCD pins!" 121 #error "Serial port pins (1) conflict with LCD pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ Marlin\src\HAL\LPC1768\tft../../../inc/../HAL/LPC1768/inc/SanityCheck.h:168:6: error: #error "Serial port pins (3) conflict with X endstop pins!" 168 #error "Serial port pins (3) conflict with X endstop pins!" ^~~~~ compilation terminated due to -fmax-errors=5. [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_flash.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\DebugMonitor.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_sdcard.cpp.o] Error 1 compilation terminated due to -fmax-errors=5. compilation terminated due to -fmax-errors=5. [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\xpt2046.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL_SPI.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\main.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_wired.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\tft_spi.cpp.o] Error 1 [.pio\build\LPC1769\src\src\HAL\LPC1768\timers.cpp.o] Error 1 ================================================================================== [FAILED] Took 2.77 seconds ================================================================================== Environment Status Duration

LPC1769 FAILED 00:00:02.773

Tessanger commented 3 years ago

Hi, The Firmware is OK, for build you have to use the Marlin build addon in Platformio see these instructions form marlin look at the auto-build section