Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions patterns/arm_cm_vtor.hexpat
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@

import std.io;
import std.mem;
import type.base;

#define VTOR 0x00000000
#define EXTERNAL_INTERRUPT_COUNT 64

using Address = u32;
using Address = type::Hex<u32>;

struct Exceptions {
Address reset [[name("Reset Handler")]];
Expand Down Expand Up @@ -57,4 +58,4 @@ fn main() {

if (default_handler_address != 0x00)
std::print("Default Handler implementation at 0x{:08X}", default_handler_address);
};
};