Note that nvm.ByteArray is available at microcontroller.nvm

Fixes #2766
This commit is contained in:
Thea Flowers 2020-05-15 14:53:14 -07:00
parent 0d8bca92e2
commit 7d167560af

View File

@ -34,7 +34,11 @@
//| """Non-volatile memory //| """Non-volatile memory
//| //|
//| The `nvm` module allows you to store whatever raw bytes you wish in a //| The `nvm` module allows you to store whatever raw bytes you wish in a
//| reserved section non-volatile memory.""" //| reserved section non-volatile memory.
//|
//| Note that this module can't be imported and used directly. The sole
//| instance of :class:`ByteArray` is available at
//| :attr:`microcontroller.nvm`."""
//| //|
STATIC const mp_rom_map_elem_t nvm_module_globals_table[] = { STATIC const mp_rom_map_elem_t nvm_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_nvm) }, { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_nvm) },