How to set ATTiny10 PB3 pin to be D3 rather than reset?

By default, pin 6 is reset but it can be changed to be GPIO named PB03 and likely D3 in Arduino. I realize once that pin is changed, ATTiny10 can't be reprogrammed without high voltage programming but I intended to use it in a project for controlling a few LED and it'd be soldered on PCB with no plan to change the function so there's no reason to keep reset pin anymore.

Am using this: https://make.kosakalab.com/make/electronic-work/arduino_tpi_en/ for programming ATTiny10 (with older Arduino IDE, 1.8.10 and newer does not work for some reason)

I did not see any explanation on how to disable reset and change the pin to be D3 in Arduino. I need 4 digital output pins and ATTiny10 is more than enough. The next small chip would be QFN-20 for ATTingy45 or 85 at 4mmx4mm while ATTiny10 is 3mmx1.3mm (unless I went with UDFN-8 which is about 2mmx2mm)


attiny10-a.png

attiny10-a.png

Set RSTDISB in the configuration section (ie "fuses.")
After this is set, you'll need high-voltage TPI to re-program the chip, which I don't see mentioned in the tutorial you're using.