You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to reduce IRAM usage. if someone give me any advice, I would apperciated it .
When I type idf.py size, The outpus is below.
Total sizes:
Used static DRAM: 53516 bytes ( 71064 remain, 43.0% used)
.data size: 21172 bytes
.bss size: 32344 bytes
Used static IRAM: 127514 bytes ( 3558 remain, 97.3% used)
.text size: 126487 bytes
.vectors size: 1027 bytes
Used Flash size : 1715677 bytes
.text : 1218087 bytes
.rodata : 497334 bytes
Total image size: 1864363 bytes (.bin may be padded larger)
So I think, I need to change my memory partition between DRAM and IRAM. How can I do that? Would it work for me or Do I need another solution?
In ESP32-IDF, by allocating SRAM1 to IRAM using CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM, IRAM size can be increased. How can I do it in micropython? optimize-iram-usage
Or are there any other methods to reduce IRAM usage?
I am using ESP32-WROOM32E module.
I made my custom micropython firmware. I am using BLE, I2C, ADC, DAC, GPIO pins as Input and output, PWM, UART in my project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to reduce IRAM usage. if someone give me any advice, I would apperciated it .
When I type
idf.py size
, The outpus is below.So I think, I need to change my memory partition between DRAM and IRAM. How can I do that? Would it work for me or Do I need another solution?
In ESP32-IDF, by allocating SRAM1 to IRAM using CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM, IRAM size can be increased. How can I do it in micropython? optimize-iram-usage
Or are there any other methods to reduce IRAM usage?
I am using ESP32-WROOM32E module.
I made my custom micropython firmware. I am using BLE, I2C, ADC, DAC, GPIO pins as Input and output, PWM, UART in my project.
Beta Was this translation helpful? Give feedback.
All reactions