ULP RTC Slow memory

baamiis
Posts: 1
Joined: Tue May 14, 2019 9:09 am

ULP RTC Slow memory

Postby baamiis » Tue May 14, 2019 9:26 am

Hi :)

In menuconfig you provide an option to configure the esp32 of how much memory the ULP code and data is to be allocated (Slow_RTC_MEM). The maximum allowed is 8K.

Now if you look in the linker file (esp-idf\components\esp32\ld\esp32.ld) line 73. you see the folowing:
len = 0x1000 - CONFIG_ULP_COPROC_RESERVE_MEM.


if we choose 8K of RTC_SLOW_MEM using the menuconfig the len will result in negative number.

Please confirm that instead of 0x1000 it should be 0x2000.

Regards

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

Re: ULP RTC Slow memory

Postby ESP_igrr » Tue May 14, 2019 11:52 am

Code: Select all

range 32 8192 if ULP_COPROC_ENABLED
This is a bug in Kconfig, thanks. The range should be 16 ... 4096.

axellin
Posts: 197
Joined: Mon Sep 17, 2018 9:09 am

Re: ULP RTC Slow memory

Postby axellin » Sun Feb 27, 2022 12:02 pm

ESP_igrr wrote:
Tue May 14, 2019 11:52 am

Code: Select all

range 32 8192 if ULP_COPROC_ENABLED
This is a bug in Kconfig, thanks. The range should be 16 ... 4096.
The range is different from what you said:
v4.3: https://github.com/espressif/esp-idf/bl ... onfig#L426
v4.4: https://github.com/espressif/esp-idf/bl ... onfig#L517

ESP_Mahavir
Posts: 188
Joined: Wed Jan 24, 2018 6:51 am

Re: ULP RTC Slow memory

Postby ESP_Mahavir » Mon Feb 28, 2022 7:21 am

The range is different from what you said: v4.3
Please check discussion and fix linked in https://github.com/espressif/esp-idf/issues/7073

Who is online

Users browsing this forum: Majestic-12 [Bot] and 82 guests