Skip to content

Commit

Permalink
Update firmware updaters for Nano33IoT
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Jun 18, 2019
1 parent cc0563e commit 7d1f27c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/Tools/FirmwareUpdater/ESP32BootROM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ int ESP32BootROMClass::begin(unsigned long baudrate)
delay(10);
digitalWrite(_resetnPin, LOW);
delay(100);
#if defined(ARDUINO_SAMD_NANO_33_IOT)
digitalWrite(_resetnPin, HIGH);
delay(100);
#endif
#endif

int synced = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ void loop() {
if (rts != Serial.rts()) {
#ifdef ARDUINO_SAMD_MKRVIDOR4000
FPGA.digitalWrite(FPGA_SPIWIFI_RESET, (Serial.rts() == 1) ? LOW : HIGH);
#elif defined(ARDUINO_SAMD_NANO_33_IOT)
digitalWrite(NINA_RESETN, Serial.rts() ? LOW : HIGH);
#else
digitalWrite(NINA_RESETN, Serial.rts());
#endif
Expand Down

0 comments on commit 7d1f27c

Please sign in to comment.