Skip to content
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

Add support for 16-bit and 8-bit architectures #64

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

iFreilicht
Copy link
Contributor

For example, the ATmega328P I'm using right now has an 8-bit architecture. It seems this change is all that's needed to make postcard work on that MC, but I'll add a comment once I actually tried it out.

@netlify
Copy link

netlify bot commented Jun 24, 2022

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit c4b82bf
🔍 Latest deploy log https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/62b5e1891bb2870009f7e5c5

@iFreilicht
Copy link
Contributor Author

Alright, I tested it now, it works perfectly on the ATmega328P, both serialization and deserialization. I have no reason to believe it won't work for 16-bit either :)

@jamesmunns
Copy link
Owner

Awesome,thank you!

As a note, although the atmegas are 8-bit CPUs, they have 16-bit pointers (and 16-bit usizes). I'm almost certain Rust wouldn't work with 8-bit pointers, but hey, I'll keep it just in case :)

@jamesmunns jamesmunns merged commit 003f3f0 into jamesmunns:main Sep 30, 2022
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.

2 participants