mbv: now with functioning timer interrupts!

And a few other nice things.
The bootloader now has an embedded wozmon!
If you know its offset, you can jump to it from the app.
This commit is contained in:
2025-06-10 23:46:43 -07:00
parent fa6ae7b667
commit 3db383d461
17 changed files with 485 additions and 93 deletions

View File

@@ -1,10 +1,12 @@
#include <cstdint>
#include "pol0.h"
struct Gpio {
volatile uint32_t data;
};
#define gpio0 ((Gpio*)0x40000000)
#define gpio0 ((Gpio*)GPIO0_BASE)
void sleep(int ms) {
for (int m = 0; m < ms; m++) {