-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[RAM Disk] build.path preference to another partition, but gives error #8812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @rtek1000 , The cache folder path cannot be overridden right now via preferences, we should change this line to allow this. |
Hi, ok, thank you for the attention! |
This should have been fixed some time ago by arduino/arduino-cli#479, but I forget to close. @rtek1000 please test and comment here if the issue is not solved for you. |
Hi, congratulations, it looks like there has been a huge improvement in performance. When compiling a program without RAMdisk the time spent was approximately 18s and with RAMdisk it went down to about 14 seconds. (Arduino UNO, Sketch uses 22898 bytes (70%)) I noticed that some files stored on the HDD are still being lit during compilation. Would it be possible to copy these files to RAMdisk and redirect the IDE to no longer use the HDD? Warning: When trying to compile for STM32, an Access Denied error occurred on a RAMdisk folder. I am updating board support now, if the error persists I will inform you again. Thank you. |
[RAMdisk]: Error compiling for board Generic STM32F4 series
|
When compiling without RAMdisk there are no errors, the compilation log is attached: |
@cmaglie , it looks like something still hasn't worked. Thank you. |
I tried to compile for ESP32, ESP8266 and another core for STM32, there were no errors. It seems that there is some incompatibility with the STM32 (Official) core and the use of RAMdisk. |
@rtek1000 did you manage to compile for Arduino core STM32 on RAMDISK? |
Hi,
I'm trying to use a RAM disk to help with compiling, but it's giving error.
preferences.txt:
In the forum they said about a folder to cache, but I could not make it work,
preferences.txt:
Nor:
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:
Second time error:
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
The text was updated successfully, but these errors were encountered: