As the title says... Chat on...

User avatar
By jonwise
#39571 I am trying to use rtcmem.read32() on an esp-01 but get a Nil error which I guess means rtcmem is not available. Does this require a special version of the firmware or am I missing some initialisation?
Last edited by jonwise on Sun Jan 24, 2016 12:25 pm, edited 1 time in total.
User avatar
By jonwise
#39587 How can I find which modules are included in the build? I did a custom build including rtcmem but still get 'nil' as the value of rtcmem. Perhaps rtcmem has prerequisites? On which build has anyone successfully run rtcmem? Correction - the custom build does include rtcmem - there was a confusion because the custom build did not upload correctly with the version of esptool.py I was using.
Last edited by jonwise on Mon Feb 01, 2016 5:23 am, edited 1 time in total.
User avatar
By devsaurus
#39606
jonwise wrote:How can I find which modules are included in the build?

When compiled with the cloud build service, the included modules are listed after booting.

jonwise wrote:I did a custom build including rtcmem but still get 'nil' as the value of rtcmem. Perhaps rtcmem has prerequisites?

Not as far as I know. But it will return nil if the index is out of range.