Linker rtc_slow_seg(RW)

rianovich
Posts: 1
Joined: Sat Oct 14, 2017 9:43 am

Linker rtc_slow_seg(RW)

Postby rianovich » Sat Oct 14, 2017 9:47 am

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 :)

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Linker rtc_slow_seg(RW)

Postby ESP_igrr » Sat Oct 14, 2017 2:13 pm

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.

Who is online

Users browsing this forum: VSparxx and 107 guests