Description
Hi,
I'm trying to use a RAM disk to help with compiling, but it's giving error.
preferences.txt:
build.path=Q:\arduino_build
In the forum they said about a folder to cache, but I could not make it work,
preferences.txt:
build.cache=Q:\arduino_cache
Nor:
build.cache.path=Q:\arduino_cache
It looks like the user folder is still being used (C:\Users\user).
'Q:' is a 100MB RAM Disk (created by 'ROG RAMDisk 2.02.06').
Logs:
First time ok:
Linking everything together...
"I:\Arduino\1- IDE\arduino-1.8.9\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "Q:\arduino_build/barGraph.ino.elf" "Q:\arduino_build\sketch\barGraph.ino.cpp.o" "Q:\arduino_build/core\core.a" "-LQ:\arduino_build" -lm
"I:\Arduino\1- IDE\arduino-1.8.9\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "Q:\arduino_build/barGraph.ino.elf" "Q:\arduino_build/barGraph.ino.eep"
"I:\Arduino\1- IDE\arduino-1.8.9\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "Q:\arduino_build/barGraph.ino.elf" "Q:\arduino_build/barGraph.ino.hex"
"I:\Arduino\1- IDE\arduino-1.8.9\hardware\tools\avr/bin/avr-size" -A "Q:\arduino_build/barGraph.ino.elf"
Sketch uses 1086 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 29 bytes (1%) of dynamic memory, leaving 2019 bytes for local variables. Maximum is 2048 bytes.
Second time error:
Linking everything together...
Rel: can't make C:\Users\user\AppData\Local\Temp\arduino_cache_475012\core\core_arduino_avr_uno_c94a07b2fc865919ed83bfeed74500ec.a relative to Q:\arduino_build
Error compiling for board Arduino/Genuino Uno.
It seems to be related to this other issue (#8271), but apparently it's a different error: "Build folder in sketch folder fails on second verify", because the build folder is outside the sketch folder