Commit Graph

7 Commits

Author SHA1 Message Date
Matthew Kennedy c0e4cc8932 Properly chain fault handlers when we hit bkpt instruction 2025-02-17 01:21:15 -08:00
Matthew Kennedy 553e42f1e5 Disable the MPU during the memmanage fault handler 2025-02-17 00:52:11 -08:00
Matthew Kennedy 8f83c77874
this is c, there is no nullptr 2025-02-10 14:37:58 -08:00
Matthew Kennedy 2d30ccb60d
safer read of the fault address 2025-02-10 14:34:58 -08:00
Matthew Kennedy 357b2ae844
break at the beginning of the memmanage fault handler so we don't double fault 2025-02-10 13:58:28 -08:00
Matthew Kennedy e859f65ef8 cherry pick hardfault volatile 2023-08-27 16:35:09 -07:00
Matthew Kennedy 5813c20a32
OpenBLT-based USB serial bootloader (#228)
* flash layout

* bootloader builds

* output name

* hard fp

* strip out dfu

* bootloader gets hardfault

* loader gets USB but not MSD

* kinda usb?

* USB enumerates!

* cleanup

* shared params

* nonfunctional openblt

* stub flash

* flash.h

* openblt responds over USB!

* implement flash driver

* blt conf, linker

* boards no longer need specific openblt files

* no ccache

* common_make.sh

* cleanup

* delete bootloader crust

* simplifying linker logic

* script tweaks

* flash layout is handled entirely by FOME flash driver

* simplify memcpy

* format

* comment

* dead

* makefiles cleanup

* cleanup

* h7 linker script for bootloader

* h7 bootloader build

* build script
2023-08-27 10:30:02 -07:00