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

Merge supervisor firmware tree into mainline #42

Merged
merged 62 commits into from
Oct 29, 2024
Merged

Conversation

lethalbit
Copy link
Collaborator

No description provided.

… they're needed by other things and can't always be inlined.

Also had to tell GCC to *not* replace the implementation of these functions with calls to them, because we are, in fact, the implementation of said calls, thanks GCC
…slation units,

 seizing the means of production
…d pin needed pin initialization to `setup_io`
…ing into an SPI specific implementation.

Also, set up the framework for reading and writing from the on-board configuration flash, along with validating the link by checking the ID
This is due to the fact that the ARM Cortex-M0+ does not have any atomic instructions,
and we're not able to link against any stdlibs, ***AND*** libatomic isn't even included
with the compiler for this platform anyway.
…ove it in line with the other naming conventions
… entries causing the SysTick handler to be in the wrong spot, i'm surprised anything worked
… to be in config mode (with the appropriate delay)
… would have caused due to calling a naked function
…lash and FPGA id failure, relying on just the new fault system
…ning despite other interrupts to ensure when we hit the fault handler we can still blink out an error code
…n't do a full JEDEC compliant ID read, only enough for our onboard flash
…we brown-out rather than lose all power causing the peripherals to stay configured causing a lockup state on power on from reset
…ermine if we're restarting due to a brownout or not
…n advanced address after read for later use
@lethalbit lethalbit merged commit 1e6c3a2 into main Oct 29, 2024
1 of 6 checks passed
@lethalbit lethalbit deleted the aki/supervisor-firmware branch October 29, 2024 03:01
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