Create a board.txt with url and add package, but then after requesting installation the following message appears
Installing Arduino dependencies... Error: package MegaCore not found
Could not determine platform dependencies
core install MegaCore:avr` failed with code 4
Sorry for the late reply and thanks for the details. Something is messed up
I cannot understanand the following statement:
Would you elaborate? What you did installed by hand and what’s was done automatically?
You should not touch C:\Users\Cesar\AppData\Local\Programs\XOD IDE\... since 0.25.0 because all packages now go directly to the current workspace which is usually C:\Users\Cesar\xod (but for some reason you have it pointing to C:\Users\Cesar\Documents).
Could you describe a full step-by-step instruction how to reproduce the bug you get caught?
Also, please try to install this package “automatically” with XOD IDE.
To avoid problems with broken workspace, try this on a new workspace or rename the __packages__ folder in your current workspace (or just delete it, but then you’ll have to reinstall packages).
Here are steps how to install additional packages within XOD IDE:
Open YOUR_WORKSPACE/__packages__/extra.txt file and put the link to the package_*_index.json file on the new line (one URL per line)
Open XOD IDE
Open Deploy dialog (Deploy -> Upload to Arduino…)
Click “Update” button, next to the board select
Then you’ll see new boards in the board list with a comment “(Not installed)”.
Choose one that you are interested in (“ATmega 128 (Not installed)”).
You’ll see a snack bar message that package is missing with “Download & Install” button.
Click the “Download & Install” button and wait. You can watch the process in the “Deployment” pane in “Installer” tab.
After you see a message that package installed successfully, try to upload it as usual.
If something went wrong, please copy-paste errors that you get.
Check out for errors here:
Snack bar error message
Errors in Deployment pane on “Compiler” or “Uploader” tabs
Unhandled errors in the developers Inspector, “Console” tab (press “Ctrl+Shift+I” on Windows or “Cmd+Option+I” on MacOS)