Everything a fresh install. Downloaded Marlin just now after deleting all others. Still the same error. Also got it when changing nothing. Same error but at megaatmega2560. Really getting annoying. Fresh Git and LLVM also. Any help would be appreciated. Almost ready to try Klipper or any other firmware.
> Executing task: C:\Users\sthga\.platformio\penv\Scripts\platformio.exe run <
Processing LPC1768 (platform: [
github.com]; board: nxp_lpc1768; framework: arduino)
--------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [
docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.80201.190214 (8.2.1), framework-arduino-lpc176x 0.2.2
Converting Marlin.ino
LDF: Library Dependency Finder -> [
bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4.1
|-- 0.6.1
|-- 1.3.0
|--
Building in release mode
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/LPC1768/firmware.bin) manually to the appropriate disk
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\DebugMonitor.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\HAL.cpp: Permission denied
compilation terminated.
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\MarlinSerial.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\fast_pwm.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\HAL_SPI.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\MarlinSerial.cpp: Permission denied
compilation terminated.
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\fast_pwm.cpp: Permission denied
compilation terminated.
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\main.cpp: Permission denied
Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\MarlinSerial.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\fast_pwm.cpp.o] Error 1
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o] Error 1
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\persistent_store_flash.cpp: Permission denied
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o] Error 1
cc1plus.exe: fatal error: Marlin\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp: Permission denied
compilation terminated.
*** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o] Error 1
============================================ [FAILED] Took 6.76 seconds ============================================
Environment Status Duration
---------------------------- -------- ------------
megaatmega2560 IGNORED
megaatmega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 FAILED 00:00:06.755
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_bigtree IGNORED
STM32F103RC_bigtree_USB IGNORED
STM32F103RC_bigtree_512K IGNORED
STM32F103RC_bigtree_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_bigtree IGNORED
STM32F103RE_bigtree_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_longer IGNORED
mks_robin IGNORED
mks_robin_lite IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
include_tree IGNORED
====================================== 1 failed, 0 succeeded in 00:00:06.755 ======================================
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.