C++ refactoring, plus low-power support, plus software-based SPI CS

I'm backlogged.
This commit is contained in:
2019-04-13 15:08:02 -07:00
parent d5bfecedb2
commit 6747d6c831
54 changed files with 13193 additions and 7264 deletions

View File

@@ -1,3 +1,17 @@
set $PWR = (PWR_TypeDef *)(0x40000000 + 0x00007000U)
tar rem :4242
file watch.elf
load watch.elf
set $PERIPH_BASE = (uint32_t)0x40000000U
set $APBPERIPH_BASE = $PERIPH_BASE
set $AHBPERIPH_BASE = ($PERIPH_BASE + 0x00020000U)
set $IOPPERIPH_BASE = ($PERIPH_BASE + 0x10000000U)
set $RCC = (RCC_TypeDef *)(0x40000000 + 0x00020000U + 0x1000U)
set $RTC = (RTC_TypeDef *)(0x40000000 + 0x00002800U)
set $PWR = (PWR_TypeDef *)(0x40000000 + 0x00007000U)
set $EXTI = (EXTI_TypeDef *) ($APBPERIPH_BASE + 0x00010400U)
set history filename .gdb_history
set history save on
set history size 1024