-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[esp32] Update MICROLITE_C3 board configuration
Also update ci for building esp32 MICROLITE using the new build scripts.
- Loading branch information
Michael O'Cleirigh
committed
Sep 13, 2023
1 parent
f57bad1
commit c6c0889
Showing
19 changed files
with
171 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
set (IDF_TARGET esp32c3) | ||
set(IDF_TARGET esp32c3) | ||
|
||
set(SDKCONFIG_DEFAULTS | ||
${MICROPY_PORT_DIR}/boards/sdkconfig.base | ||
${MICROPY_PORT_DIR}/boards/sdkconfig.ble | ||
${MICROPY_BOARD_DIR}/sdkconfig.partition | ||
|
||
boards/sdkconfig.base | ||
boards/sdkconfig.ble | ||
boards/ESP32_GENERIC_C3/sdkconfig.c3usb | ||
../../../../boards/esp32/MICROLITE_C3/sdkconfig.partition | ||
) | ||
|
||
message (STATUS "mpconfigboard.cmake: PROJECT_DIR=${PROJECT_DIR}") | ||
|
||
set(USER_C_MODULES | ||
${PROJECT_DIR}/micropython-modules/micropython.cmake | ||
${CMAKE_CURRENT_LIST_DIR}/../../../micropython-modules/micropython.cmake | ||
) | ||
|
||
if(NOT MICROPY_FROZEN_MANIFEST) | ||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py) | ||
endif() | ||
list(APPEND EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_LIST_DIR}/../../../dependencies/tflite-micro-esp-examples/components/esp-tflite-micro) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
// This configuration is for a generic ESP32C3 board with 4MiB (or more) of flash. | ||
|
||
#define MICROPY_HW_BOARD_NAME "ESP32C3 module (microlite)" | ||
#define MICROPY_HW_MCU_NAME "ESP32C3" | ||
#define MICROPY_HW_BOARD_NAME "Microlite ESP32C3 module" | ||
#define MICROPY_HW_MCU_NAME "Microlite ESP32C3" | ||
|
||
#define MICROPY_HW_ENABLE_SDCARD (0) | ||
#define MICROPY_PY_MACHINE_DAC (0) | ||
// TODO: early esp-idf's didn't support i2s. check if this still applies | ||
#define MICROPY_PY_MACHINE_I2S (0) | ||
|
||
// Enable UART REPL for modules that have an external USB-UART and don't use native USB. | ||
#define MICROPY_HW_ENABLE_UART_REPL (1) |
Oops, something went wrong.