瀏覽代碼

Merge pull request #469 from FrankBoesing/patch-8

Add recommended 24MHz crystal setting
teensy4-core
Paul Stoffregen 4 年之前
父節點
當前提交
10adbfe322
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      teensy4/startup.c

+ 1
- 0
teensy4/startup.c 查看文件

@@ -52,6 +52,7 @@ void ResetHandler(void)
IOMUXC_GPR_GPR14 = 0x00AA0000;
__asm__ volatile("mov sp, %0" : : "r" ((uint32_t)&_estack) : );
#endif
PMU_MISC0_SET = 1<<3; //Use bandgap-based bias currents for best performance (Page 1175)
// pin 13 - if startup crashes, use this to turn on the LED early for troubleshooting
//IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_03 = 5;
//IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_03 = IOMUXC_PAD_DSE(7);

Loading…
取消
儲存