Skip to content

Add no_std support w/ alloc & embedded-io #834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

i404788
Copy link

@i404788 i404788 commented Apr 6, 2025

This is a pull-request for those interested not necessarily for upstreaming (see #794 (comment)).

It uses a custom esp-idf-part which is no_std but alloc (https://github.com/i404788/esp-idf-part).

Main changes:

  • Move command outside of connection
  • Add embedded-io with adapters to keep existing functionality intact
  • Replace HashMaps with BTreeMaps (adds Ord)
  • Make all dependencies also available without std

Importantly it's not 'no-alloc` because that is very hard to maintain with the std counterpart.

@i404788 i404788 marked this pull request as draft April 6, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant