-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
When trying to build your own reference config, the device fails to boot. There are multiple issues, one that I believe I fixed and another that I don't understand.
The first issue I mentioned already in #27 and I think I fixed it in #26. Once this issue is addressed, the config builds but when uploaded to an M5Stack Core S3, it does not work. Connecting to the USB JTAG shows no logs:
$ esphome logs touch-and-sound.yaml
INFO ESPHome 2025.6.3
INFO Reading configuration touch-and-sound.yaml...
INFO Updating https://github.com/terpasaurus-midwest/M5CoreS3-Esphome@fix-microphone
WARNING GPIO35 is used by the PSRAM interface on ESP32-S3R8 / ESP32-S3R8V and should be avoided on these models
Found multiple options for logging, please choose one:
[1] /dev/ttyACM0 (USB JTAG/serial debug unit)
[2] Over The Air (m5cores3-with-touch-and-sound.local)
(number): 1
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
ERROR Serial port closed!
If I cut down the YAML to this basic configuration, it results in the same issue:
esphome:
name: m5cores3-with-touch-and-sound
friendly_name: M5CoreS3 With Touch And Sound
libraries:
- m5stack/M5Unified
platformio_options:
board_build.f_cpu: 240000000L
esp32:
board: esp32-s3-devkitc-1
flash_size: 16MB
framework:
type: arduino
psram:
mode: octal
speed: 80MHz
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret m5_cores3_api_key
ota:
- platform: esphome
password: !secret m5_cores3_ota_key
captive_portal:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "m5-cores3-${device_mac}"
password: !secret fallback_hotspot_key
external_components:
- source:
type: git
url: https://github.com/m5stack/M5CoreS3-Esphome
refresh: 0s
globals:
- id: speaker_volume
type: int
restore_value: no
initial_value: "5"
binary_sensor:However, if I remove this line:
psram:
mode: octal
speed: 80MHzThe configuration finally works and I get logs from the device once again. What is the issue?
Can anyone provide a working ESPHome YAML configuration showing the display and audio working?
TriibuNupsik
Metadata
Metadata
Assignees
Labels
No labels