mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
machine/samd51: implement Flash interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -187,6 +187,9 @@ func initClocks() {
|
||||
// it's 32bit cycle counter for timing.
|
||||
//CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk;
|
||||
//DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk;
|
||||
|
||||
// Disable automatic NVM write operations
|
||||
sam.NVMCTRL.SetCTRLA_WMODE(sam.NVMCTRL_CTRLA_WMODE_MAN)
|
||||
}
|
||||
|
||||
func initRTC() {
|
||||
|
||||
Reference in New Issue
Block a user