Arduino Upload- no such file or directory

My config file won’t load up in Arduino for some reason. I copied and pasted it to the config file like you did and clicked on uploads and the error is saying “no such file or directory”. Can you help me?

Please read the rules.
Screenshots are not allowed on this forum if cut-and-paste will work.
I will help you edit your post.

Sorry my bad, I went ahead and deleted the screenshot.

Ok, so cut-n-paste the full error message into the forum.
If the “copy error message” shows up, use it, otherwise select it all and hit ctrl-c to copy. Then start a post and type three backticks, press enter and paste the error text. Then finish with three more backticks on their own line.

1 Like
Arduino: 1.8.19 (Windows 10), Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"

ProffieOS:44:24: fatal error: config/korbanth_starkiller_curr.h: No such file or directory

   44 |    #define CONFIG_FILE "config/korbanth_starkiller_curr.h"

      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

config/korbanth_starkiller_curr.h: No such file or directory



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

So does that file exist?
Are you sure it’s not called korbanth_starkiller_curr.h.h?
Windows will usually hide the file extension, which can be confusing.
Compare with other files in that directory, as they are all .h files.

Hmm, well I renamed the file to make sure that I am using the correct config. Do I need to change the name in the config, i may have skipped a step?

I copy and paste the name thats on my SD card and transfered the same config in the ProffieOS folder under Config.

Oh and there’s only 1 file thats in the Config folder tahts not an H File.

No, but did you name it correctly? Do you see a .h at the end? Does the other files in that directory have a .h at the end?

oh none of them have (.h) at the end

except for my H file

Thanks it fixed the file error, but now i got a compiling error.

Arduino: 1.8.19 (Windows 10), Board: "Proffieboard V2, Serial + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"

In file included from C:\Users\shawn\Downloads\Lightsaber\ProffieOS\ProffieOS.ino:567:

C:\Users\shawn\Downloads\Lightsaber\ProffieOS\config\korbanth_starkiller_curr.h:19:10: fatal error: ../props/saber_korbanth_buttons.h: No such file or directory

   19 | #include "../props/saber_korbanth_buttons.h"

      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Error compiling for board Proffieboard V2.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

That’s the same error?

No the original one is a (no such file) error because i had (.h) in the name of my config like you noted. This is a new error saying (Error compiling for board Proffieboard V2.)

Not sure if its the same error? I’m new this sorry, haha

You’re right.
Your config file tries to include a prop file that doesn’t exist.

1 Like

So what do i need to fix this?

I see that file in my SD that Korbanth formated for me. and I added it in the config folder. Do I need to add to props or something?

HAHA yes, that worked i got it to compile.

Thanks for the help!!! @profezzorn

The WEB USB app is not working though. It says “No Webusb interface found”.

Did you select an option that includes webusb in Arduino → tools → usb type when you programmed the board?

God damn it I forgot to switch it. Haha thanks again!!! So happy it works!!!