We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b3dcf commit b26dca4Copy full SHA for b26dca4
bootloaders/zero/board_definitions_arduino_mkrvidor4000.h
@@ -68,6 +68,8 @@
68
#define PMIC_PIN_SDA 11
69
#define PMIC_SERCOM SERCOM0
70
71
+#define HAS_EZ6301QI 1
72
+
73
#define ENABLE_JTAG_LOAD 1
74
#define TDI 12
75
#define TDO 15
bootloaders/zero/main.c
@@ -106,6 +106,16 @@ static void check_start_application(void)
106
return;
107
}
108
109
+#ifdef HAS_EZ6301QI
110
+ // wait a tiny bit for the EZ6301QI to settle,
111
+ // as it's connected to RESETN and might reset
112
+ // the chip when the cable is plugged in fresh
113
114
+ for (uint32_t i=0; i<2500; i++) /* 10ms */
115
+ /* force compiler to not optimize this... */
116
+ __asm__ __volatile__("");
117
+#endif
118
119
/* First tap */
120
BOOT_DOUBLE_TAP_DATA = DOUBLE_TAP_MAGIC;
121
0 commit comments