Arduino-EEPROMEx icon indicating copy to clipboard operation
Arduino-EEPROMEx copied to clipboard

problem with ATtiny3217

Open avandalen opened this issue 4 years ago • 0 comments

Beste Thijse, I have troubles using the ATtiny3217 https://github.com/SpenceKonde/megaTinyCore

The error is: 'NVM_STATUS' was not declared in this scope

Note that the standard Arduino library EEPROM.h still works fine on the ATtiny3217, see this sketch:

#include <EEPROM.h>  
void setup() 
{ Serial.begin(9600);
  while(!Serial);
  float f = 123.456f;  
  int eeAddress = 0;   
  EEPROM.put(eeAddress, f);
  EEPROM.get(eeAddress, f);
  Serial.println(f, 3);   
}
void loop() 
{
}

So, I think it is not a big compatiblity issue.

I have looked for a solution, but I don’t have enough knowledge of the Arduino platform. Maybe you can talk to Spence Konde what to do.

avandalen avatar Mar 21 '20 12:03 avandalen