Invalid line format, should be 'key=value'

A fresh install of V1.8.10 on a machine that has never seen the IDE before.

As I need to program 4313's and 85 devices, I copied the boards.txt content from a backup of another machine that successfully programmed these devices using something like v1.6.x on a machine that died.

My additions to the boards.txt file look like this... including the hashes...

##########

attiny85at1.name=ATtiny85 @ 1 MHz (internal oscillator; BOD disabled)

attiny85at1.upload.tool=arduino:arduinoisp

attiny85at1.upload.maximum_size=8192
attiny85at1.upload.maximum_data_size=512

Default clock (slowly rising power; long delay to clock; 8 MHz internal; divide clock by 8)

Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms; [CKSEL=0010 SUT=10]; default value

Divide clock by 8 internally; [CKDIV8=0]

Brown-out detection disabled; [BODLEVEL=111]

Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]

attiny85at1.bootloader.low_fuses=0x62
attiny85at1.bootloader.high_fuses=0xD7
attiny85at1.bootloader.extended_fuses=0xFF

attiny85at1.bootloader.path=empty
attiny85at1.bootloader.file=empty85at1.hex
attiny85at1.bootloader.tool=arduino:avrdude

attiny85at1.build.mcu=attiny85
attiny85at1.build.f_cpu=1000000L
attiny85at1.build.core=tiny

##########

The result is that I can see 4313's and 85 variants in my Boards selection tab of the IDE.
All ok for far.

When I load up a sketch that has worked before, and compile the code, I get an error message, thus...

loading hardware from C:\Program Files (x86)\Arduino\hardware: loading package arduino:
loading platform release:

Error reading file (C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt:0):
Invalid line format, should be 'key=value'

Error compiling for board ATtiny85 @ 8 MHz (internal oscillator; BOD disabled).


Which is bad news.

Even if I select a NEW sketch and compile a black sketch, i get the same error so it's NOT my code (It worked on my deceased machine using the same UNO as ISP and Shield hardware, so it MUST be something in the boards.txt file, which the error message tends to suggest. (DUH)

I simply do not know what to do with ...

Invalid line format, should be 'key=value'

The installed boards.txt file has no blank likes... is that relevant ?
The first line...

See: http://code.google.com/p/arduino/wiki/Platformsmenu.cpu=Processor

The link just returns an error

IF I delete my additions to boards.txt and compile something like the example blink, all is well so it is confirmed as the reason MUST be the additional text, so...

Where do I find the CORRECT additions to the boards.txt file to permit me to program 4313's and 85 devices please ?

Doing a google search is as helpful as examining the entrails of a dead goat.

The location of the boards.txt file (not that it matters else the IDE would ignore it, is,
C:\Program Files (x86)\Arduino\hardware\arduino\avr

Any sensible answers that do not suggest I "Google it" ?
I've had a 2 year break from arduino and just trying to get back into the game.

But Google would have gotten you to THIS PAGE

Which would have saved you a lot of time and effort to add the ATTINY's to the IDE.
It would also have told you that some things changed between 1.6.x onwards.

Bob.

Hi Bob.

I spent many hours googling for an answer and honestly didn't see the one you linked to for which I thank you. The data is certainly more helpful than anything I have seen today.
I was looking for an answer to the error and I suspect your search didn't include any of my search parameters as per my subject line.

I have downloaded the zip file and I am currently reading the extensive readme file in an attempt to locate were in the installed IDE path it needs to go, as well as the rather large number (it seems) of syntax changes that may make any Arduino for beginners books more like a debugging exercise than a learning aid, but we shall see.

Apologies for not being in the elite of arduino programmers who seem to have knowledge osmose through their chairs but I am primarily a PIC assembler programmer and 66 years old having programmed in assembler for 40 of them. (6502, 6809, and PIC's).

C, or the Arduino, is new to me so after I have exhausted myself trying to fathom stuff out for myself, I have to resort to a forum and the death of 1,000 cuts that can result.

Your answer is well received and I will post an update when (if) I can get this issue resolved on my system.

Many thanks for the speedy reply.

OK, got it installed.
Thanks again Bob.

I fell into one pratt trap in that I only "saw" the last of THREE separate files in the Manage Boards to download.
Having installed them all, (3), I am now fully Atmel'd up.

Now, all I get in the error

Arduino: 1.8.10 (Windows 7), Board: "ATtiny25/45/85, Enabled, CPU, ATtiny85, 8 MHz (internal), EEPROM retained, B.O.D. Disabled, Enabled"

Sketch uses 720 bytes (8%) of program storage space. Maximum is 8192 bytes.
Global variables use 9 bytes (1%) of dynamic memory, leaving 503 bytes for local variables. Maximum is 512 bytes.
An error occurred while uploading the sketch
avrdude: ser_open(): can't open device "\.\COM3": The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Exception in thread "Thread-61" java.lang.NullPointerException
at cc.arduino.contributions.libraries.LibrariesIndexer.lambda$rescanLibraries$2(LibrariesIndexer.java:165)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:167)
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:681)
at processing.app.Base.onBoardOrPortChange(Base.java:1333)
at processing.app.Editor$UploadHandler.run(Editor.java:2111)
at java.lang.Thread.run(Thread.java:748)

Now the IDE crashes at the end of a compilation.

At least I am closer than I was.

Upload error indicates that you're using an a programmer that uses a serial port but have not selected that port from tools->port (the selected port no is COM3, which is not currently present.)

The java error is unrelated - I think that's the routine that displays the "invalid library" if there are arduino libraries installed that it doesnt like

My search was "add 4313 to arduino ide"
No death by a thousand cuts but I would like you to READ THIS just for future reference then we dont get emojis half way through some important text. Oh and save you from some of the cuts too.

DrAzzy is our resident ATTINY person so you are in good hands.

Bob.