Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile ESP32 passthrough utility with TinyUSB #2582

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2018 Arduino SA
// SPDX-FileCopyrightText: 2018 Arduino SA
//
// SPDX-License-Identifier: LGPL-2.1-or-later
/*
Expand All @@ -23,6 +23,10 @@
*/

#include <Adafruit_NeoPixel.h>
// For Adafruit core, Arduino USB impl on SAMD sometimes does not work properly.
// Choose the TinyUSB implementation instead.
// Must compile with Tools->USB Stack->TinyUSB
#include "Adafruit_TinyUSB.h"

unsigned long baud = 115200;

Expand Down Expand Up @@ -100,7 +104,7 @@ void setup() {
pinMode(SPIWIFI_SS, OUTPUT);
pinMode(ESP32_GPIO0, OUTPUT);
pinMode(ESP32_RESETN, OUTPUT);

// manually put the ESP32 in upload mode
digitalWrite(ESP32_GPIO0, LOW);

Expand Down