Open Omirax opened 3 months ago
R2 boards are qspi, not ospi.
Relevant section of platformio.ini-like file for a similar (NOT identical) board, but using the same basic SPI configuration:
[dev_esp32-s3-n16r2]
extends = dev_esp32-s3
build_flags = -DUSE_PSRAM=1
-DBOARD_HAS_PSRAM=1
${dev_esp32-s3.build_flags}
board_build.arduino.memory_type = qio_qspi
board_build.partitions = default_16MB.csv
board_upload.flash_size = 16MB
[dev_yulc]
extends = dev_esp32-s3-n16r2
build_unflags = -DARDUINO_USB_MODE=1
build_flags = -DARDUINO_USB_CDC_ON_BOOT=1 ; Counterintuitively, CDC = 1 lets USB Serial mode work.
-DARDUINO_USB_MODE=0 ; “Hardware CDC and JTAG” instead of "TinyUSB"
-DLED_PIN0=1 # These pins are defined by the hardware
-DLED_PIN1=2 # GPIO 2
${dev_esp32-s3-n16r2.build_flags}
Adjust that build file to taste. The YULC section is just an example; the meat is in the first hunk.
Your logs show that you're building for R8 (OSPI) but your description says you're running R2 (QSPI). That's why it bootloops.
Hello!
I have 2x N8R2. After flash YD-ESP32-S3-N8R2-MPY-V1.1.bin
After flash YD-ESP32-S3-N8R8-MPY-V1.1.bin I have
And I'm not sure if spram was initialized or not. What am I doing wrong?