synth/arm/main.cc

14 lines
160 B
C++
Raw Normal View History

2022-05-08 06:00:22 +00:00
#include <cstdint>
struct Gpio {
volatile uint32_t data;
};
#define gpio0 ((Gpio*) 0x40000000)
int main() {
gpio0->data = 42;
while (true) {}
}