EFR32MG24 support#35
Draft
puddly wants to merge 21 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ports Ziggurat to the EFR32MG24. Silicon Labs doesn't really support Rust in any way so this requires a bit of trickery: we pull in the Simplicity SDK (automatically via
build.rs) and compile a tiny shim library in order to use RAIL, the hardware accelerated AES APIs, and access the C/C++ configuration#defines. Otherwise, we'd need to rewrite a sizeable portion of the SDK.This build targets the ZBT-2 as a development platform for its exposed debugging headers but can easily be retargeted to run on the cheap SILabs MG24 dev kit as well, just make sure to overwrite the
config/files with project output from Simplicity Studio or https://github.com/NabuCasa/silabs-firmware-builder.The earlier ESP32 port took care of all of the resource management issues so this is essentially just hooking up a UART, radio RX/TX, and hardware accelerated AES.
A few TODOs: