forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Enable USB on ESP32-P4 #9841
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< 8000 /a> to your account
Merged
Merged
Enable USB on ESP32-P4 #9841
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
82d0004
Enable USB on ESP32-P4
tannewt 91ecb6c
Fix many builds
tannewt 0485390
Update TinyUSB
tannewt 46df242
Add new psram settings files
tannewt b202ddd
shrink stm32f411ve_discovery
tannewt 946198e
Fix P4 UF2 ID and memory layout
tannewt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
14 changes: 7 additions & 7 deletions
14
ports/espressif/boards/espressif_esp32p4_function_ev/mpconfigboard.mk
This file contains hidden or 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,14 +1,14 @@ | ||
# USB_VID = 0x303A | ||
# USB_PID = 0x7003 | ||
# USB_PRODUCT = "ESP32-P4-Function-EV" | ||
# USB_MANUFACTURER = "Espressif" | ||
USB_VID = 0x303A | ||
USB_PID = 0x7013 | ||
USB_PRODUCT = "ESP32-P4-Function-EV" | ||
USB_MANUFACTURER = "Espressif" | ||
|
||
IDF_TARGET = esp32p4 | ||
|
||
CIRCUITPY_ESP_FLASH_SIZE = 16MB | ||
CIRCUITPY_ESP_FLASH_MODE = opi | ||
CIRCUITPY_ESP_FLASH_MODE = qio | ||
CIRCUITPY_ESP_FLASH_FREQ = 80m | ||
|
||
CIRCUITPY_ESP_PSRAM_SIZE = 32MB | ||
CIRCUITPY_ESP_PSRAM_MODE = opi | ||
CIRCUITPY_ESP_PSRAM_FREQ = 80m | ||
CIRCUITPY_ESP_PSRAM_MODE = hpi | ||
CIRCUITPY_ESP_PSRAM_FREQ = 200m |
14 changes: 7 additions & 7 deletions
14
ports/espressif/boards/solderparty_esp32p4_stamp_xl/mpconfigboard.mk
This file contains hidden or 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,14 +1,14 @@ | ||
# USB_VID = 0x303A | ||
# USB_PID = 0x7003 | ||
# USB_PRODUCT = "ESP32-P4 Stamp XL" | ||
# USB_MANUFACTURER = "Solder Party" | ||
USB_VID = 0x1209 | ||
USB_PID = 0x0001 | ||
USB_PRODUCT = "ESP32-P4 Stamp XL" | ||
USB_MANUFACTURER = "Solder Party" | ||
|
||
IDF_TARGET = esp32p4 | ||
|
||
CIRCUITPY_ESP_FLASH_SIZE = 16MB | ||
CIRCUITPY_ESP_FLASH_MODE = opi | ||
CIRCUITPY_ESP_FLASH_MODE = qio | ||
CIRCUITPY_ESP_FLASH_FREQ = 80m | ||
|
||
CIRCUITPY_ESP_PSRAM_SIZE = 32MB | ||
CIRCUITPY_ESP_PSRAM_MODE = opi | ||
CIRCUITPY_ESP_PSRAM_FREQ = 80m | ||
CIRCUITPY_ESP_PSRAM_MODE = hpi | ||
CIRCUITPY_ESP_PSRAM_FREQ = 200m |
This file contains hidden or 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,21 @@ | ||
# | ||
# Espressif IoT Development Framework Configuration | ||
# | ||
# | ||
# Component config | ||
# | ||
# | ||
# Bluetooth | ||
# | ||
# CONFIG_BT_ENABLED is not set | ||
# end of Bluetooth | ||
|
||
# | ||
# mbedTLS | ||
# | ||
# CONFIG_MBEDTLS_CMAC_C is not set | ||
# end of mbedTLS | ||
|
||
# end of Component config | ||
|
||
# end of Espressif IoT Development Framework Configuration |
This file contains hidden or 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,4 @@ | ||
# For ESP32-P4 | ||
CONFIG_SPIRAM_SPEED_200M=y | ||
# CONFIG_SPIRAM_SPEED_20M is not set | ||
CONFIG_SPIRAM_SPEED=200 |
This file contains hidden or 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,3 @@ | ||
# CONFIG_SPIRAM_MODE_QUAD is not set | ||
# CONFIG_SPIRAM_MODE_OCT is not set | ||
CONFIG_SPIRAM_MODE_HEX=y |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.