Skip to content

Commit

Permalink
Merge pull request #162 from facchinm/firmwareupdater_rp2040
Browse files Browse the repository at this point in the history
Add support to RP2040 on FirmwareUpdater
  • Loading branch information
aentinger authored Mar 25, 2021
2 parents e8f0701 + 51b3649 commit 5d245e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Tools/FirmwareUpdater/ESP32BootROM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int ESP32BootROMClass::begin(unsigned long baudrate)
delay(10);
digitalWrite(_resetnPin, LOW);
delay(100);
#if defined(ARDUINO_SAMD_NANO_33_IOT)
#if defined(ARDUINO_SAMD_NANO_33_IOT) ||defined(ARDUINO_NANO_RP2040_CONNECT)
digitalWrite(_resetnPin, HIGH);
delay(100);
#endif
Expand All @@ -95,7 +95,7 @@ int ESP32BootROMClass::begin(unsigned long baudrate)
return 0;
}

#if defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(ARDUINO_AVR_UNO_WIFI_REV2)
#if defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_NANO_RP2040_CONNECT)
(void)baudrate;
#else
if (baudrate != 115200) {
Expand Down

0 comments on commit 5d245e3

Please sign in to comment.