Files
esp-idf/components/esp_ringbuf/linker.lf
Sudeep Mohanty fe2ee39a99 feat(esp_ringbuf): Place Ring buffer in flash by default
The following updates have been made in this commit:
- The commit places ring buffer code in flash memory by default.
- CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH has been removed.
- CONFIG_RINGBUF_IN_IRAM is added and can be used to restore the
  previous memory placement.
2025-08-07 19:56:30 +08:00

29 lines
1.4 KiB
Plaintext

[mapping:esp_ringbuf]
archive: libesp_ringbuf.a
entries:
if RINGBUF_IN_IRAM = y:
* (noflash_text) # All functions in IRAM
else:
* (default) # All functions in Flash
# Always keep ISR functions in IRAM unless explicitly placed in Flash
if RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH = n:
ringbuf: prvReturnItemByteBuf (noflash_text)
ringbuf: prvReturnItemDefault (noflash_text)
ringbuf: prvGetItemByteBuf (noflash_text)
ringbuf: prvGetItemDefault (noflash_text)
ringbuf: prvCopyItemAllowSplit (noflash_text)
ringbuf: prvCopyItemByteBuf (noflash_text)
ringbuf: prvCopyItemNoSplit (noflash_text)
ringbuf: prvAcquireItemNoSplit (noflash_text)
ringbuf: prvCheckItemFitsByteBuffer (noflash_text)
ringbuf: prvCheckItemFitsDefault (noflash_text)
ringbuf: prvCheckItemAvail (noflash_text)
ringbuf: prvSendItemDoneNoSplit (noflash_text)
ringbuf: prvReceiveGenericFromISR (noflash_text)
ringbuf: xRingbufferSendFromISR (noflash_text)
ringbuf: xRingbufferReceiveFromISR (noflash_text)
ringbuf: xRingbufferReceiveSplitFromISR (noflash_text)
ringbuf: xRingbufferReceiveUpToFromISR (noflash_text)
ringbuf: vRingbufferReturnItemFromISR (noflash_text)