Hi @ullisees. I'm going to ask you to post some additional information that might help us to identify the problem.
NOTE: These instructions will not solve the problem. They are only intended to possibly gather some more information about the problem, which might provide a clue that leads to a solution.
Please do this:
Select File > Preferences from the Arduino IDE menus.
Check the box next to "Show verbose output during: β compilation".
Click the OK button.
Select Sketch > Verify/Compile from the Arduino IDE menus.
Wait for the compilation to fail.
You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the compilation output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
Open a forum reply here by clicking the Reply button.
Click the "Upload" icon () on the post composer toolbar:
Select the .txt file you saved.
Click the Open button.
Click the Reply button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
If looking for it with your file browser or command line, note that the C:\Users\Bowling tough\AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "β Hidden items".
I apologize for the confusion. I wrote the instructions based on the contents of the files on my computer, but I see now I have a newer version (1.5.2) of ATTinyCore installed than you have (1.3.1).
I'll provide the instructions over again, except this time written for ATTinyCore version 1.3.1:
If looking for it with your file browser or command line, note that the C:\Users\Bowling tough\AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "β Hidden items".
You can use the Arduino IDE Boards Manager to update ATTinyCore. I'll provide instructions:
Select File > Preferences from the Arduino IDE menus.
If it is not already there, enter the following URL into the "Additional Boards Manager URLs" field:
http://drazzy.com/package_drazzy.com_index.json
If there are already Boards Manager URLs in the field, separate them with commas.
Click the OK button.
You will now see a "Downloading index: package_drazzy.com_index.json" notification at the bottom right corner of the IDE window. Wait for that notification to close.
Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
Scroll down through the list of boards platforms until you see the "ATTinyCore by Spence Konde" entry. Hover the mouse pointer over that entry.
You will now see an "INSTALL" button appear at the bottom of the entry. Click the button.
This will start an update to the latest version of ATTinyCore. The progress of the update will be shown in a notification at the bottom right corner of the Arduino IDE window. Wait for the installation to finish.
The update will remove the bug fix you applied to the platform.txt file. So you will need to repeat that fix. This time around, the first set of instructions I provided will actually be appropriate:
Hello, I have a similar problem, but using version 2.0.0 of ATTinyCore with version 2.0.1 of Arduino IDE. I selected the board "ATtiny85 w/Micronucleus (Digispark)" because I'm using a board compatible with this version.
The final message that appears is:
Failed uploading: cannot execute upload tool: exec: "{runtime.tools.micronucleus.path}/micronucleus": file does not exist
I can imagine the reason for the problem (it's not finding the "Micronucleus.exe" file), but I don't know how I can configure the "Plataform.txt" file to work correctly.
I installed ATTinyCore and Micronucleus by synchronizing the GitHub pages in the "hardware" folder under the Arduino folder and ATTinyCore is recognized normally.
You are correct. The problem is this tool is not part of the ATTinyCore repository. It is an external toolchain dependency. Those are automagically installed when you install the ATTinyCore boards platform via the Arduino Boards Manager, but I see you did a manual installation of the platform, which means the tool was not installed.
Do you have a specific reason for installing ATTinyCore this way? I ask because the recommended installation technique for normal usage of ATTinyCore is Boards Manager. The manual installation you did is intended only for those who are doing development work on the ATTinyCore codebase or providing beta testing.
So the easiest solution would be to remove the manual installation and reinstall the platform using Boards Manager.
But if you do want to continue to use the development version of ATTinyCore, I can definitely provide you with the instructions to get Micronucleus installed. In order for me to do that, I will need some additional information from you: What is the exact folder name under the hardware folder where you have installed ATTinyCore?
Thanks a lot for the help. I went back to version 1.5.2 and, although I'm still struggling with some things, I've made some progress.
Despite having more than 35 years of experience in IT (analysis and programming) this is the first time I venture to program processors directly, not only ATtiny85 but also 328p, ESP32, etc. and I'm finding it fascinating.
If I find more problems that I can't solve, I'll bother you again.
Thank you one more time.