mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 06:53: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
@@ -11,6 +11,8 @@ import (
|
||||
|
||||
// Peripheral abstraction layer for the MIMXRT1062
|
||||
|
||||
const deviceName = nxp.Device
|
||||
|
||||
func CPUFrequency() uint32 {
|
||||
return 600000000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user