Skip to content

fix(coap): Support SPIRAM (IEC-577) - #796

Open
mrdeep1 wants to merge 1 commit into
espressif:masterfrom
mrdeep1:coap_mem
Open

fix(coap): Support SPIRAM (IEC-577)#796
mrdeep1 wants to merge 1 commit into
espressif:masterfrom
mrdeep1:coap_mem

Conversation

@mrdeep1

@mrdeep1 mrdeep1 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Component contains License
  • Component contains README.md
  • Component contains idf_component.yml file with url field defined
  • Component was added to upload job
  • Component was added to build job
  • Optional: Component contains unit tests
  • CI passing

Change description

Include SPIRAM support for memory allocations.

@github-actions github-actions Bot changed the title fix(coap): Support SPIRAM fix(coap): Support SPIRAM (IEC-577) Aug 7, 2026
Comment thread coap/port/coap_mem.c
void *ptr;

(void)type;
ptr = MEM_ALLOC_SPIRAM(size);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to expose only this part to platform? Otherwise platform must track any upstream updates to this entire layer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely sure what you mean here. Do you mean use (and define) COAP_MEM_ALLOC_SPIRAM() instead of MEM_ALLOC_SPIRAM() etc.?

Or (unlikely) do you mean this should be a part of the general release libcoap code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants