mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
machine: add Device constant
This field contains the microcontroller name that we're compiling for, or "generic" if we're not running on a microcontroller.
This commit is contained in:
committed by
Ron Evans
parent
6b0f2cd697
commit
3d73ee77d3
@@ -9,6 +9,10 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// Not sure what name to pick here. Not using ARM7TDMI because that's the CPU
|
||||
// name, not the device name.
|
||||
const deviceName = "GBA"
|
||||
|
||||
// Interrupt numbers as used on the GameBoy Advance. Register them with
|
||||
// runtime/interrupt.New.
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user