strange issue need help

i try this code for Attachinterrupt from Arduino website with ATTiny2313. I connect physical pin 6 (Intterupt Pin 0, Arduino pin 4) to switch. But the interrupt not working. But when I change the code to interruptPin = 5, the attachinterrupt working. But this pin 5 (physical pin 7) not connect to anything, it was internally pull up to 5V. But the changes of state is on Pin 4 switch. Why is this happen ?

Is there some error in the pin map of DrAzzy for ATTiny2313 ?

const byte ledPin = 0;
const byte interruptPin = 5;//Try with Pin 4, LED keep on ON 
volatile byte state = LOW;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(interruptPin, INPUT);
  attachInterrupt(digitalPinToInterrupt(interruptPin), blink, CHANGE);
}

void loop() {
  digitalWrite(ledPin, state);
}

void blink() {
  state = !state;
}

Yes, it is fixed in the github version. Fix will be in 1.1.5, which should be released fairly soon, or you can use the github version.

I download the 1.15 version from github, then unzip into my folder as attached.

How to I activate the 1.15 version ?
Do I need to uninstalled the 1.14 version ?

How do I know which version is working 1.14 or 1.15 now ?

newpackages.jpg

Uninstall all other versions, then follow I instructions here

Thank you. I follow exactly the manual installation for 1.15, it work now with Pin 4.

Actually the working ATTinycore-master work in this document folder or in the Arduino15 folder ?