Merge pull request #2900 from theacodes/fix-2766

Note that nvm.ByteArray is available at microcontroller.nvm
This commit is contained in:
Scott Shawcroft 2020-05-15 17:01:17 -07:00 committed by GitHub
commit 1af5f6dc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,11 @@
//| """Non-volatile memory
//|
//| 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[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_nvm) },