WisBlock icon indicating copy to clipboard operation
WisBlock copied to clipboard

File Not found when I try to patch platformio

Open Bighoneypot opened this issue 1 year ago • 3 comments

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'

Bighoneypot avatar Feb 27 '24 17:02 Bighoneypot

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.

beegee-tokyo avatar Feb 28 '24 00:02 beegee-tokyo

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

baira1044 avatar Mar 12 '24 00:03 baira1044

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

beegee-tokyo avatar Mar 12 '24 01:03 beegee-tokyo