Skip to content

Commit

Permalink
Fix MKR Vidor 4000 Serial.dts
Browse files Browse the repository at this point in the history
This value is incorrect and prevents GPIO0 from being pulled at the right time, so esptool could not detect the board at all.
Now, it works perfectly with the added --no-stub parameter.
See this forum post for further discussion: https://forum.arduino.cc/index.php?topic=596970.0
  • Loading branch information
sameer authored Mar 19, 2020
1 parent 56c4cb9 commit 10758a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void loop() {

if (dtr != Serial.dtr()) {
#ifdef ARDUINO_SAMD_MKRVIDOR4000
FPGA.digitalWrite(FPGA_NINA_GPIO0, (Serial.dtr() == 1) ? HIGH : LOW);
FPGA.digitalWrite(FPGA_NINA_GPIO0, (Serial.dtr() == 0) ? HIGH : LOW);
#else
digitalWrite(NINA_GPIO0, (Serial.dtr() == 0) ? HIGH : LOW);
#endif
Expand Down

0 comments on commit 10758a6

Please sign in to comment.