Page 1 of 1

Linker rtc_slow_seg(RW)

Posted: Sat Oct 14, 2017 9:47 am
by rianovich
Hello

In esp32_out.ld we have:

Code: Select all

  /* RTC slow memory (data accessible). Persists over deep sleep.

     Start of RTC slow memory is reserved for ULP co-processor code + data, if enabled.
  */
  rtc_slow_seg(RW) : org = 0x50000000 + 512,
                                     len = 0x1000 - 512
The 512 comes from desired reserve amount.
Now why total len is

Code: Select all

len = 0x1000 - 512
and not ?

Code: Select all

len = 0x2000 - 512
If I understand right, the RTC_SLOW_SEG is 8K not 4K.
Am I missing something?

Thanks :)

Re: Linker rtc_slow_seg(RW)

Posted: Sat Oct 14, 2017 2:13 pm
by ESP_igrr
I think the higher 4k are reserved for future use by the WiFi driver. In the current versions (latest git), you can modify the size to 8k if you need.