Will my Sketch fit into an ATtiny85?

I`m hoping to port my sketch to an ATTiny85, so far its size is 7,120 bytes, memory on an ATtiny is 8k, so it should fit, am I correct?

Thanks.

With the Tiny core the ATtiny85 has a maximum sketch size of 8192 so your 7120 byte sketch should fit.

Thanks for the info.

I`m hoping to port my sketch to an ATTiny85, so far its size is 7,120 bytes

Are you using any features that the ATTiny85 doesn't support? A look at your code would be useful.

johnwasser:
With the Tiny core the ATtiny85 has a maximum sketch size of 8192.

Are you sure? That would make the core 0 bytes...

It uses software serial, input is 1200 baud, output at the moment 57600, but could be the same speed as input.

So, the only problem I foresee is if the ATtiny85 will support having two software serial ports for the different baud rates.

Its not a deal breaker, as I will just use one serial port for input and output at 1200 baud.

fungus:

johnwasser:
With the Tiny core the ATtiny85 has a maximum sketch size of 8192.

Are you sure? That would make the core 0 bytes...

The core is part of your sketch size. You're thinking of the bootloader which is 0 bytes on the ATtiny because it doesn't have a bootloader (you need an ISP).

You do have to "Burn bootloader" to set the fuses but, since you already need an ISP for the uploading, that step is trivial.