Closed cvjensen closed 1 year ago
Your board config does not fit to your board HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
Which flash and PSRAM type does the board have? QIO / OPI? Which combination?
Start with a simple Platformio Example sketch NOT EspHome!!
Your board config does not fit to your board
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
Which flash and PSRAM type does the board have? QIO / OPI? Which combination?
Where can I see that? All I know is that it is the ESP32-S3 N16R8 from this link
Start with a simple Platformio Example sketch NOT EspHome!!
Where do I get started ?
If the wroom module is mounted you have marked it is: 8 MB Octal PSRAM, 16 MB Quad SPI Flash. You have to specify this settings in your env Use this example https://github.com/platformio/platform-espressif32/tree/develop/examples/arduino-blink
Probably this will work
[env:esp32-s3-devkitc-1]
platform = espressif32
framework = arduino
board = esp32-s3-devkitc-1
monitor_speed = 115200
board_build.partitions = default_16MB.csv
board_build.f_cpu = 240000000L
board_build.arduino.memory_type = qio_opi
board_build.flash_freq = 80m
board_upload.flash_size = 16MB
board_build.flash_mode = dio
board_build.boot = qio
board_build.flash_type = qio
board_build.psram_type = opi
board_build.memory_type = qio_opi
board_build.boot_freq = 80m
Afaik it is not easy (impossible?) in Home Assistant to use a other platform version as the supported one. So thats why i wrote use a plain simple Platformio example. If the example works you have to ask for help in the HA community.
Probably this will work
[env:esp32-s3-devkitc-1] platform = espressif32 framework = arduino board = esp32-s3-devkitc-1 monitor_speed = 115200 board_build.partitions = default_16MB.csv board_build.f_cpu = 240000000L board_build.arduino.memory_type = qio_opi board_build.flash_freq = 80m board_upload.flash_size = 16MB board_build.flash_mode = dio board_build.boot = qio board_build.flash_type = qio board_build.psram_type = opi board_build.memory_type = qio_opi board_build.boot_freq = 80m
Where should I specify this?
Can I test this using my ESPHome docker container? It has the platformio installed.
I'm just wondering why is fails to build the firmware , I'm not trying to upload it directly to the device in ESPHome
Your board config does not fit to your board
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
Which flash and PSRAM type does the board have? QIO / OPI? Which combination?
I've just tried to build it and download it. So it shouldn't know whether or not its the right board I've specified?
I do not use or know Home Assistant. So i cant answer your questions. Anyways this is the wrong place to ask and it is NOT a issue with Platformio. The board config will work when your board has the specs. Try it with the Platformio example i have linked.
Alright @Jason2866 , thanks for the help so far. I will give it a shot with the config you sent and then try to ask the esphome guys.
I've just bought a ESP32S3 board. It's the red one here:
But whenever I try to build the firmware in ESPHome I receive the following error:
sh: 1: xtensa-esp32s3-elf-g++: not found
The full log is here:
And my ESPHome config here:
I have tried with alot of different framework settings but no luck at all.
I'm sorry if this is not the right place to ask/create an issue - If I google the error I only get very very few results, so I'm a little lost. Bare with me I'm still new to all this ESP stuff If any information is missing/needed, just ask.