Skip to content

INTERNAL_EEPROM_PORT undefined. #1

@heidnerd

Description

@heidnerd

The PCF8563_RTC will not compile in the arduino IDE,

Around line 270 in the pcf8563.cpp the following code exists.

void PCF8563Class::initialize (void)
{
	INTERNAL_EEPROM_PORT.begin();
	initialized = true;
}

The result when a compile is attempted is:

ibraries\PCF8563_RTC\src\PCF8563.cpp:371:3: error: 'INTERNAL_EEPROM_PORT' was not declared in this scope
INTERNAL_EEPROM_PORT.begin();

The MCU is a SAMD processor on an Adafruit QT board.

I can't find a declaration for the "INTERNAL_EEPROM_PORT" in the PCF8563.h file either.

Is there a typo? Or missing include. The error occurs on all of the examples included with the library. (SetEpoch for example).

Arduino IDE is 1.8.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions