Skip to content

Commit

Permalink
esp32/boards/GENERIC_C3: Merge with GENERIC_C3_USB.
Browse files Browse the repository at this point in the history
As the IDF no longer supports earlier revisions of the C3 by default, we
now just explicitly support rev 3+ and enable USB (which wasn't supported
in earlier revisions).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
  • Loading branch information
jimmo committed Aug 15, 2023
1 parent 2fbf42d commit 4815af7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 35 deletions.
7 changes: 7 additions & 0 deletions ports/esp32/boards/GENERIC_C3/board.md
@@ -0,0 +1,7 @@
The following files are firmware images that should work on most
ESP32-C3-based boards with 4MiB of flash, including WROOM and MINI modules,
that use the revision 3 silicon (or newer).

USB serial/JTAG support is enabled on pin 18 and 19. Note that this
is not a full USB stack, the C3 just provides a CDC/ACM class serial
and JTAG interface.
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_C3/mpconfigboard.cmake
Expand Up @@ -3,4 +3,5 @@ set(IDF_TARGET esp32c3)
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.ble
boards/GENERIC_C3/sdkconfig.c3usb
)
20 changes: 0 additions & 20 deletions ports/esp32/boards/GENERIC_C3_USB/board.json

This file was deleted.

7 changes: 0 additions & 7 deletions ports/esp32/boards/GENERIC_C3_USB/mpconfigboard.cmake

This file was deleted.

8 changes: 0 additions & 8 deletions ports/esp32/boards/GENERIC_C3_USB/mpconfigboard.h

This file was deleted.

0 comments on commit 4815af7

Please sign in to comment.