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

TTGO T8 V1.7 ESP32 board lacks PSRAM management #9762

Open
robertoseno opened this issue Oct 27, 2024 · 2 comments
Open

TTGO T8 V1.7 ESP32 board lacks PSRAM management #9762

robertoseno opened this issue Oct 27, 2024 · 2 comments
Milestone

Comments

@robertoseno
Copy link

Circuitpython releases 9.1.4 and 9.2.0 manage apparently correctly the 4MB Flash but both lack PSRAM management.
You can find in circuitpython-main/ports/espressif/boards/ttgo_t8_v1_7/mpconfigboard.mk that there is no PSRAM declaration:

CIRCUITPY_CREATOR_ID = 0x000C303A
CIRCUITPY_CREATION_ID = 0x00320005

IDF_TARGET = esp32

CIRCUITPY_ESP_FLASH_MODE = qio
CIRCUITPY_ESP_FLASH_FREQ = 80m
CIRCUITPY_ESP_FLASH_SIZE = 4MB

CIRCUITPY_ESPCAMERA = 0

Looking at Adafruit FeatherS2 for example you can see:
USB_VID = 0x239A
USB_PID = 0x80EC
USB_PRODUCT = "Adafruit Feather ESP32S2"
USB_MANUFACTURER = "Adafruit"

IDF_TARGET = esp32s2

CIRCUITPY_ESP_FLASH_MODE = qio
CIRCUITPY_ESP_FLASH_FREQ = 80m
CIRCUITPY_ESP_FLASH_SIZE = 4MB

CIRCUITPY_ESP_PSRAM_SIZE = 2MB
CIRCUITPY_ESP_PSRAM_MODE = qio
CIRCUITPY_ESP_PSRAM_FREQ = 80m

Please can you add PSRAM management for TTGO T8 V1.7 ESP32 board too?
Thanks

Roberto

@dhalbert dhalbert transferred this issue from adafruit/circuitpython-org Oct 27, 2024
@dhalbert dhalbert added this to the 9.x.x milestone Oct 27, 2024
@dhalbert
Copy link
Collaborator

Do you feel like you could submit a PR? Most of us don't have this board available to test.

@aguaviva
Copy link

aguaviva commented Nov 11, 2024

I added support for this board, but I am not sure how to add support for that. Any idea?
Edit 1: On another note, are you sure you mentioned the right file? It actually looks like this: https://github.com/adafruit/circuitpython/blob/main/ports/espressif/boards/ttgo_t8_v1_7/mpconfigboard.mk

CIRCUITPY_CREATOR_ID =  0x000C303A
CIRCUITPY_CREATION_ID = 0x00320005

IDF_TARGET = esp32

CIRCUITPY_ESP_FLASH_MODE = qio
CIRCUITPY_ESP_FLASH_FREQ = 80m
CIRCUITPY_ESP_FLASH_SIZE = 4MB

CIRCUITPY_ESPCAMERA = 0

Edit 2: It looks like the config you posted is meant to be the fixed mk file? Anyway it has some references to Adafruit Feather ESP32S2, if you could fix that and add send a PR (As I originally did :P) it would help a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants