Skip to content

Global EEPROM instance always returns 0 #6067

Closed
@LexNastin

Description

@LexNastin

Board

ESP32 Dev Module

Device Description

N/A

Hardware Configuration

N/A

Version

v2.0.1

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

N/A

PSRAM enabled

no

Upload speed

115200

Description

Expected Behaviour

After running EEPROM.begin(2048) on the global EEPROM instance, EEPROM.length() should return 2048

Current Behaviour

After running EEPROM.begin(2048) on the global EEPROM instance, EEPROM.length() returns 0

Sketch

N/A

Debug Message

N/A

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions