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
`C:\Users\Cesar\AppData\Local\Programs\XOD IDE\resources\arduino-cli.exe
--config-file=C:\Users\Cesar\AppData\Local\Temp\arduino-clikizXY7\.cli-config.yml
core install MegaCore:avr` failed with code 4
Wow! I did not know such boards exist… To be honest, I did not know about ATmega128 at all.
The URL you’ve mentioned should be put in C:\Users\You\xod\__packages__\extra.txt. Have you done it?
I’m not sure about the current status of your issue. I see you found the board in the Upload Dialog list. But have you succeeded with the upload itself?
ATmega128 was the Wiring, predecessor of Arduino.
In reality I do not have the board, I have the chips alone and I wanted to use them.
I did not manage to download automatically, I had to create the folders manually and look for the link in the .json to download the latest version.
C:\Users\Cesar\AppData\Local\Programs\XOD IDE\resources\workspace_packages_ I could not C:\Users\Cesar\Documents_packages_\packages\MegaCore install here
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)”).
Click “Upload”
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)