Is there a page with some info on how to do this?
Can I add multiple files?
Is there a page with some info on how to do this?
Can I add multiple files?
If you're adding them through board manager, just put the board manager URL or URLs into the list in preferences (you don't actually go to the URL, you give the URL to the Arduino IDE).
If installing a core that does not support board manager (note that the folder structure is slightly different), they go in your hardware folder.
Here are examples - obviously, it's for my core, but the same thing applies generally.
Or did you mean "implementing a new core, as in writing your own variant.cpp and whatever else is needed"?
I'm reading the Ops inquiry as adding a command to this list:
Or to change the microcode in the processor to add a new op code...
KeithRB:
Or to change the microcode in the processor to add a new op code...
OMG ... say it isn't so!
KeithRB:
Or to change the microcode in the processor to add a new op code...
I am pretty sure AVRs don't use microcode. Their instructions are likely fixed in hardware.
smeezekitty:
I am pretty sure AVRs don't use microcode. Their instructions are likely fixed in hardware.
Pssssst... we know that
No, I just meant adding a core to the IDE, so I can use an ATTiny 45. Looks like Drazzy's answer is the one to look at..
I have the core here, but board manager doesn't see it.
Ideas?
C:\Users\db\Documents\Arduino\hardware\ATTinyCore-master\avr
C:\Users\db\Documents\Arduino\hardware\ATTinyCore-master\avrdude_conf.txt
C:\Users\db\Documents\Arduino\hardware\ATTinyCore-master\Installation.md
C:\Users\db\Documents\Arduino\hardware\ATTinyCore-master\Internals.md
C:\Users\db\Documents\Arduino\hardware\ATTinyCore-master\README.md
It might help if you actually read the instructions. From https://github.com/SpenceKonde/ATTinyCore/blob/master/Installation.md:
Board Manager Installation
This core can be installed using the board manager. The board manager URL is:
http://drazzy.com/package_drazzy.com_index.json
- File -> Preferences, enter the above URL in "Additional Board Manager URLs"
- Tools -> Boards -> Board Manager... *If using 1.6.6, close board manager and re-open it (see below)
- Select ATtinyCore (Universal) and click "Install".
Due to a bug in 1.6.6 of the Arduino IDE, new board manager entries are not visible the first time Board Manager is opened after adding a new board manager URL.
I'm not sure how much more clear it can get than that.
I did read it. I did what the manual instructions told me to do.
Manual Installation
Option 1: Download the .zip, extract, and place in the hardware folder inside arduino in your documents folder. (if there is no (documents)/arduino/hardware, create it)
Not working.
I have actual program in Program Files, and see there's a hardware folder there too..
C:\Program Files\Arduino\hardware
Should these go there instead of what the directions say?
What do you mean by "Not working"? If you mean that it's not recognized by Boards Manager then that's expected because Boards Manager only works with the Boards Manager instructions. If you mean the ATTinyCore boards aren't showing up in your Tools > Board menu after doing that there's a couple things that could be the problem:
db2db:
I have actual program in Program Files, and see there's a hardware folder there too..C:\Program Files\Arduino\hardware
Should these go there instead of what the directions say?
You could put it there but it's not a good idea because then you will have to reinstall every time you upgrade your Arduino IDE to a new version. This will also mean you can't use the same installation of ATTinyCore with multiple IDE versions.
Ok, looks like one of these will work.
In the end, is there a directory where these files go if I use the boards manager with http://drazzy.com/package_drazzy.com_index.json
I'm curious where the files end up locally.
I see this C:\Users\db\AppData\Local\Arduino15\package_drazzy.com_index.json
That seems nothing like the 'manual installation' location.
db2db:
I see this C:\Users\db\AppData\Local\Arduino15\package_drazzy.com_index.json
That's where the JSON file is stored but the actual core files are at C:\Users\db\AppData\Local\Arduino15\packages\ATTinyCore
You're right, boards manager installed cores are put in a completely different location than manually installed cores.
Thanks very much. These are working, so I won't worry to much about the odd directory locations.
On one of my computers, I still get an error message when I load the boards manager:
"package_index.json file signature verification failed"
Any hints?
package_index.json is for the official Arduino boards. That file should be redownloaded every time you load Boards Manager so I don't understand why you'd get that error. You can try closing the IDE, move C:\Users\db\AppData\Local\Arduino15\package_index.json and C:\Users\db\AppData\Local\Arduino15\package_index.json.sig somewhere else as a backup and then restart the IDE, which should force the a fresh download of the file. If the IDE can't access the internet then it won't be able to download those files but if you've already successfully used the ATTinyCore Boards Manager URL then that doesn't appear to be the case.
Interesting.
I deleted the temp files in there, and now it works. Thanks for the help.