Files
timely-reference/.gdbinit
Max Regan d5bfecedb2 Use the builtin RTC and display it
Its roughly %15 fast, and initializes to zero, but the display
currently shows HH:MM:SS AM/PM.
2019-03-11 22:56:08 -07:00

4 lines
169 B
Plaintext

set $PWR = (PWR_TypeDef *)(0x40000000 + 0x00007000U)
set $RCC = (RCC_TypeDef *)(0x40000000 + 0x00020000U + 0x1000U)
set $RTC = (RTC_TypeDef *)(0x40000000 + 0x00002800U)