-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Commits on Oct 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7fa890a - Browse repository at this point
Copy the full SHA 7fa890aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7371b2 - Browse repository at this point
Copy the full SHA b7371b2View commit details -
firmware: added a stub call for
std::terminate()
because we're writ……ing embedded code, I swear.
Configuration menu - View commit details
-
Copy full SHA for ccfe483 - Browse repository at this point
Copy the full SHA ccfe483View commit details -
firmware: Added rough implementations of memcpy/memset/memcmp because…
… 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
Configuration menu - View commit details
-
Copy full SHA for 3737fb6 - Browse repository at this point
Copy the full SHA 3737fb6View commit details -
firmware: Added the linker file as a dependency so we will trigger a …
…re-link if it changes
Configuration menu - View commit details
-
Copy full SHA for 46e8d1d - Browse repository at this point
Copy the full SHA 46e8d1dView commit details -
firmware: Added the
-fno-exceptions
and-fno-rtti
to the common a……rgs to the linker also gets them
Configuration menu - View commit details
-
Copy full SHA for b7ecbb7 - Browse repository at this point
Copy the full SHA b7ecbb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9d10b8 - Browse repository at this point
Copy the full SHA c9d10b8View commit details -
firmware: ensured the peripherals file can be included into many tran…
…slation units, seizing the means of production
Configuration menu - View commit details
-
Copy full SHA for 08e5800 - Browse repository at this point
Copy the full SHA 08e5800View commit details -
firmware: normalizing nomenclature around pin functionality. And adde…
…d pin needed pin initialization to `setup_io`
Configuration menu - View commit details
-
Copy full SHA for c4a5ae7 - Browse repository at this point
Copy the full SHA c4a5ae7View commit details -
firmware: added support for
sync_busy
on the SERCOMctrlb
registe……rs, and disambiguated the names
Configuration menu - View commit details
-
Copy full SHA for 636e26f - Browse repository at this point
Copy the full SHA 636e26fView commit details -
firmware: pulled out the
setup_sercom
from main and stuffed everyth……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
Configuration menu - View commit details
-
Copy full SHA for 6c2fa1d - Browse repository at this point
Copy the full SHA 6c2fa1dView commit details
Commits on Oct 19, 2024
-
firmware: implemented 32-bit atomic add and cmpxchng
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.
Configuration menu - View commit details
-
Copy full SHA for c80e95c - Browse repository at this point
Copy the full SHA c80e95cView commit details -
firmware: Added some timing facilities to ensure we can actually wait…
… for things for a set amount of time
Configuration menu - View commit details
-
Copy full SHA for c0205b5 - Browse repository at this point
Copy the full SHA c0205b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a47a788 - Browse repository at this point
Copy the full SHA a47a788View commit details -
Configuration menu - View commit details
-
Copy full SHA for d03a721 - Browse repository at this point
Copy the full SHA d03a721View commit details -
firmware: added
read_le
andread_be
to construct a std::uint32_t ……from a span of bytes
Configuration menu - View commit details
-
Copy full SHA for 1afb328 - Browse repository at this point
Copy the full SHA 1afb328View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d3718 - Browse repository at this point
Copy the full SHA b2d3718View commit details -
Configuration menu - View commit details
-
Copy full SHA for 187b5ad - Browse repository at this point
Copy the full SHA 187b5adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2540d0f - Browse repository at this point
Copy the full SHA 2540d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e791943 - Browse repository at this point
Copy the full SHA e791943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c44244 - Browse repository at this point
Copy the full SHA 9c44244View commit details -
firmware: spi: added the
std::
prefix to theflash_cmd_t
enum as ……should have been done
Configuration menu - View commit details
-
Copy full SHA for 08ad95a - Browse repository at this point
Copy the full SHA 08ad95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b1ab2a - Browse repository at this point
Copy the full SHA 5b1ab2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f95370 - Browse repository at this point
Copy the full SHA 7f95370View commit details -
firmware: spi: changed the flash ID name from
id
toflash_id
to m……ove it in line with the other naming conventions
Configuration menu - View commit details
-
Copy full SHA for 2f405a2 - Browse repository at this point
Copy the full SHA 2f405a2View commit details -
firmware: startup: fixed the NVIC table, we were missing two reserved…
… entries causing the SysTick handler to be in the wrong spot, i'm surprised anything worked
Configuration menu - View commit details
-
Copy full SHA for 88194b3 - Browse repository at this point
Copy the full SHA 88194b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0542c3 - Browse repository at this point
Copy the full SHA c0542c3View commit details -
firmware: spi: added a toggle of the
~PROGRAM
pin to force the FPGA…… to be in config mode (with the appropriate delay)
Configuration menu - View commit details
-
Copy full SHA for c5b1ee3 - Browse repository at this point
Copy the full SHA c5b1ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0eed63 - Browse repository at this point
Copy the full SHA a0eed63View commit details
Commits on Oct 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for de29500 - Browse repository at this point
Copy the full SHA de29500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d31aed - Browse repository at this point
Copy the full SHA 8d31aedView commit details -
firmware: memory: told GCC that yes, we are, in fact, using these fun…
…ctions, thanks for asking
Configuration menu - View commit details
-
Copy full SHA for d41f44b - Browse repository at this point
Copy the full SHA d41f44bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0af9971 - Browse repository at this point
Copy the full SHA 0af9971View commit details -
Configuration menu - View commit details
-
Copy full SHA for b16c6cd - Browse repository at this point
Copy the full SHA b16c6cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 297e85a - Browse repository at this point
Copy the full SHA 297e85aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0014d4f - Browse repository at this point
Copy the full SHA 0014d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a6f32a - Browse repository at this point
Copy the full SHA 7a6f32aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1f0c0e - Browse repository at this point
Copy the full SHA b1f0c0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f3d838 - Browse repository at this point
Copy the full SHA 2f3d838View commit details -
firmware: added the ability to load a bitstream from a given slot in …
…FLASH into the FPGA
Configuration menu - View commit details
-
Copy full SHA for 8467289 - Browse repository at this point
Copy the full SHA 8467289View commit details -
firmware: startup: Fixed the disaster that calling
std::terminate()
…… would have caused due to calling a naked function
Configuration menu - View commit details
-
Copy full SHA for b21fab6 - Browse repository at this point
Copy the full SHA b21fab6View commit details
Commits on Oct 21, 2024
-
firmware: startup: Added precautions to the
std::terminate
handler ……to set the LEDs to a known state
Configuration menu - View commit details
-
Copy full SHA for 8bf1831 - Browse repository at this point
Copy the full SHA 8bf1831View commit details -
firmware: spi: removed the LED toggles in the failure cases for the f…
…lash and FPGA id failure, relying on just the new fault system
Configuration menu - View commit details
-
Copy full SHA for d44e024 - Browse repository at this point
Copy the full SHA d44e024View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d4022 - Browse repository at this point
Copy the full SHA d1d4022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 894f633 - Browse repository at this point
Copy the full SHA 894f633View commit details -
firmware: main: set the priority of the SysTick interrupt to keep run…
…ning despite other interrupts to ensure when we hit the fault handler we can still blink out an error code
Configuration menu - View commit details
-
Copy full SHA for eecb00a - Browse repository at this point
Copy the full SHA eecb00aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16cc288 - Browse repository at this point
Copy the full SHA 16cc288View commit details -
firmware: spi: replaced
read_jedec_id
withread_flash_id
as we do……n't do a full JEDEC compliant ID read, only enough for our onboard flash
Configuration menu - View commit details
-
Copy full SHA for 769b895 - Browse repository at this point
Copy the full SHA 769b895View commit details -
firmware: flash: Added a diagram for the flash layout and removed som…
…e extra whitespace
Configuration menu - View commit details
-
Copy full SHA for 2d3e48b - Browse repository at this point
Copy the full SHA 2d3e48bView commit details
Commits on Oct 23, 2024
-
firmware: spi: Added PSRAM ID check support and the machinery to talk…
… to the PSRAM from the firmware end
Configuration menu - View commit details
-
Copy full SHA for 18af241 - Browse repository at this point
Copy the full SHA 18af241View commit details -
firmware: Added rough POR detection due to a hardware issue(?) means …
…we brown-out rather than lose all power causing the peripherals to stay configured causing a lockup state on power on from reset
Configuration menu - View commit details
-
Copy full SHA for 9db3146 - Browse repository at this point
Copy the full SHA 9db3146View commit details
Commits on Oct 25, 2024
-
firmware: stubbed out the flash flags, no real names yet but they're …
…at least there now
Configuration menu - View commit details
-
Copy full SHA for df95b11 - Browse repository at this point
Copy the full SHA df95b11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 345edf5 - Browse repository at this point
Copy the full SHA 345edf5View commit details -
firmware: peripherals: Added
was_brownout()
to PM peripheral to det……ermine if we're restarting due to a brownout or not
Configuration menu - View commit details
-
Copy full SHA for f3f74ca - Browse repository at this point
Copy the full SHA f3f74caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b232aa8 - Browse repository at this point
Copy the full SHA b232aa8View commit details -
firmware: main: Set up brownout detection and we are only now resetti…
…ng the core if we browned out
Configuration menu - View commit details
-
Copy full SHA for 3e9992b - Browse repository at this point
Copy the full SHA 3e9992bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e240995 - Browse repository at this point
Copy the full SHA e240995View commit details -
Configuration menu - View commit details
-
Copy full SHA for 083581c - Browse repository at this point
Copy the full SHA 083581cView commit details -
firmware: spi: changed the
read_psram
andwrite_psram
to return a……n advanced address after read for later use
Configuration menu - View commit details
-
Copy full SHA for d76e970 - Browse repository at this point
Copy the full SHA d76e970View commit details -
firmware: spi: Added
fpga_segmented_xfer
to allow for fragmented bi……tstream loading from PSRAM to FPGA
Configuration menu - View commit details
-
Copy full SHA for 4d77a14 - Browse repository at this point
Copy the full SHA 4d77a14View commit details -
firmware: spi: Added
load_bitstream_psram
to load the FPGA bitstrea……m out of the PSRAM
Configuration menu - View commit details
-
Copy full SHA for d5a4c2f - Browse repository at this point
Copy the full SHA d5a4c2fView commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e6c3a2 - Browse repository at this point
Copy the full SHA 1e6c3a2View commit details