Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 NVS OverflowError #14488

Open
2 tasks done
kdschlosser opened this issue May 15, 2024 · 0 comments
Open
2 tasks done

ESP32 NVS OverflowError #14488

kdschlosser opened this issue May 15, 2024 · 0 comments
Labels

Comments

@kdschlosser
Copy link

Checks

  • I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.

  • I've searched for existing issues matching this bug, and didn't find any.

Port, board and/or hardware

ESP32

MicroPython version

1.22.2

Reproduction

import esp32


config = esp32.NVS('test')
config.set_i32('testkey', -2147483648)
config.commit()

Expected behaviour

for the value to get set properly. The minimum allowed value for a 32 bit integer is -2147483648 and I should be able to set that value without an issue.

Observed behaviour

OverflowError: overflow converting long int to machine word

Additional Information

No, I've provided everything above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant