Skip to content
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

File Not found when I try to patch platformio #74

Open
Bighoneypot opened this issue Feb 27, 2024 · 3 comments
Open

File Not found when I try to patch platformio #74

Bighoneypot opened this issue Feb 27, 2024 · 3 comments

Comments

@Bighoneypot
Copy link

C:\Users\gabri.platformio\RAK_PATCH>python ./rak_patch.py
Patching RAK4631
Patched RAK4631
Patching RAK11200
Patched RAK11200
Patching RAK11310
File not found.
Traceback (most recent call last):
File "C:\Users\gabri.platformio\RAK_PATCH\rak_patch.py", line 66, in
copy_files_ext(src_dir1, src_dir2, src_dir3, dest_dir1, dest_dir2, dest_dir3, "RAK11310")
File "C:\Users\gabri.platformio\RAK_PATCH\rak_patch.py", line 27, in copy_files_ext
shutil.copyfile(src_3+"/Print.h", dest_3+"/Print.h")
File "C:\Users\gabri\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '../packages/framework-arduino-mbed/cores/arduino/api/Print.h'

@beegee-tokyo
Copy link
Collaborator

For which platform do you want to patch?
Do you have Arduino-MBed BSP installed?

The patch tries to add required files for all Wisblock Core modules, if you need only RAK4631 or RAK11200 you can ignore the message.

@baira1044
Copy link

i am trying to flash a new bootloader and wipe the old from an outdated unit i just bought. having the same issue with file not found. im stuck and i am NOT a coder but im not an idiot i just need some help tryin to set up this developer wisblock kit i bbought that has two boards to make two messaging units

@beegee-tokyo
Copy link
Collaborator

What exactly is your output?
Did you install all three BSP's?
If only one is missing, the error will show, but the patch works for the ones that are installed.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants