Go Down

Topic: Arduino Tiny (Read 64 times) previous topic - next topic

leo72


My attitude is, when it shows up here... http://arduino.cc/en/Main/Software ...it's official.  ;)

Yeah, but having both the UNO and the DUE, I needed to use the 1.5. When the 1.5.1 has been released, I read that it merged both branches, so I tried to program my Tinys with it.

Quote

That's not good.  I'll try to spend some time on it this weekend.  Thanks for the heads-up.

Thanks  ;)


I got it working fine with 1.5.1. I will post where I put everything this evening.

Uhm.. good news for me.  :D

pabloxid


I have not really dug into it since its late, but what advantages are you seeing over the normal software serial library (I use soft serial on the 85 quite a bit)


Advantages are:

- light weight
- less CPU usage
- you can use at *any* baudrate (i.e. 3600, 5115, etc.). Particularly suitable for low baudrates, since it not implement delay tables.
- better start and stop bit detections (i think... standard software serial library tends to hang for a long time when it loses sync and data arrives continuously).
- receive only (this may not be an advantage).

Tom Carpenter

Put the tiny folder in the usual place (under the hardware folder). Then move the contents of the tiny folder into a subfolder named 'avr'. So for example my tiny files are located at:

...\arduino-1.5\hardware\tiny\avr

Then, copy the "platform.txt" file from:
...\arduino-1.5\hardware\arduino\avr\platform.txt
To:
...\arduino-1.5\hardware\tiny\avr\platform.txt

And voila, that should be all it takes. Restart the IDE and away you go.

The good news is that my fix for tiny85's and tiny84's to prevent errors when the compiled size is greater than 4kB still works in Arduino 1.5.1:
https://github.com/TCWORLD/ATTinyCore/tree/master/PCREL%20Patch%20for%20GCC
~Tom~

leo72


Put the tiny folder in the usual place (under the hardware folder). Then move the contents of the tiny folder into a subfolder named 'avr'. So for example my tiny files are located at:

...\arduino-1.5\hardware\tiny\avr

Then, copy the "platform.txt" file from:
...\arduino-1.5\hardware\arduino\avr\platform.txt
To:
...\arduino-1.5\hardware\tiny\avr\platform.txt

And voila, that should be all it takes. Restart the IDE and away you go.

I's thinking that the /avr folder should have some role in this, you confirm that I've seen right.  ;)
This evening I'll try your suggestions  ;)

Quote

The good news is that my fix for tiny85's and tiny84's to prevent errors when the compiled size is greater than 4kB still works in Arduino 1.5.1:
https://github.com/TCWORLD/ATTinyCore/tree/master/PCREL%20Patch%20for%20GCC

I don't have this issue because I use Linux with the last 3.4.1 toolchain from Atmel.

leo72

@Tom Carpenter:
your solution worked fine for me, too. Thnak you  ;)

@Coding Badly:
if Tom has found the right place where to put the folders, is there any other issue between the actual version of the Tiny core (0100-0015) and the Arduino IDE 1.5.1?

Go Up