Page 1 of 1

ESP-S3-BOX-3B build error

Posted: Sun Nov 17, 2024 7:45 pm
by iancoullie
Good Morning All
I recently purchased a ESP32-s3-box-3b
i have flashed the latest firmware
i am able to download apps from launchpad
i have completed the installation of esp-idf in vscode
i followed the instructions in Development Guide.md at https://github.com/espressif/esp-box/bl ... t_guide.md

this is the log output in the ESP-IDF Terminal when run in the project folder
idf.py -p /dev/ttyUSB1 flash monitor

-- Found Git: /usr/bin/git (found version "2.43.0")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/ian/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/ian/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/ian/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
.HINT: Component "espressif/esp-box" has suitable versions for other targets: "esp32s3". Is your current target "esp32" set correctly?
HINT: Component "espressif/esp-box-3" has suitable versions for other targets: "esp32s3". Is your current target "esp32" set correctly?
HINT: Component "espressif/esp-box-lite" has suitable versions for other targets: "esp32s3". Is your current target "esp32" set correctly?
..HINT: Please check manifest file of the following component(s): bsp
-- Configuring incomplete, errors occurred!

I am new to ESP32-s3-box-3b development and wondered if anyone can point me in the right direction to solve this error

Re: ESP-S3-BOX-3B build error

Posted: Mon Nov 18, 2024 2:55 am
by ESP_Xuxin
You need to set the compilation target

Code: Select all

idf.py set-target esp32s3

Re: ESP-S3-BOX-3B build error

Posted: Mon Nov 18, 2024 5:13 pm
by iancoullie
Thanks for that i see my sdkconfig.defaults now says CONFIG_IDF_TARGET="esp32s3"
CONFIG_IDF_TARGET_ESP32S3=y i usually look at my linux environment variables with "printenv". I did that inside the ESP-IDF terminal and saw IDF_TARGET=esp32. I will edit that manually to esp32s3 and see what happens. :P

Re: ESP-S3-BOX-3B build error

Posted: Mon Nov 18, 2024 6:14 pm
by iancoullie
Thanks
export IDF_TARGET=esp32s3
source ~/.bashrc

did the trick :P