Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ESP32 : fails to build the mcuboot, zephyr v3.1.0 rc2, sdk 0.14.2 #46037

Closed
sam131208 opened this issue May 26, 2022 · 1 comment
Closed

ESP32 : fails to build the mcuboot, zephyr v3.1.0 rc2, sdk 0.14.2 #46037

sam131208 opened this issue May 26, 2022 · 1 comment
Assignees
Labels
area: MCUBoot bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32

Comments

@sam131208
Copy link

Describe the bug
Fails to build the mcuboot with sdk0.14.2.

Logs and console output
B250M-D3H:~/zephyrproject/bootloader/mcuboot/boot/espressif$ cmake -DCMAKE_TOOLCHAIN_FILE=tools/toolchain-esp32.cmake -DMCUBOOT_TARGET=esp32 -DMCUBOOT_FLASH_PORT=/dev/ttyUSB0 -B build -GNinja
CMake Error at /usr/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake:130 (message):
Could not find toolchain file: tools/toolchain-esp32.cmake
Call Stack (most recent call first):
CMakeLists.txt:11 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Environment (please complete the following information):

  • OS: Ubuntu
  • Toolchain: Zephyr SDK 0.14.2
  • Zephyr Version 3.1 rc2
@sam131208 sam131208 added the bug The issue is a bug, or the PR is fixing a bug label May 26, 2022
@stephanosio stephanosio added the platform: ESP32 Espressif ESP32 label May 26, 2022
@sylvioalves
Copy link
Collaborator

@sam131208 It is necessary to follow all the steps to allow mcuboot building:
https://github.com/mcu-tools/mcuboot/blob/main/docs/readme-espressif.md#installing-requirements-and-dependencies

Would you retry?

Thanks.

@zephyrproject-rtos zephyrproject-rtos locked and limited conversation to collaborators May 26, 2022
@carlescufi carlescufi converted this issue into discussion #46055 May 26, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area: MCUBoot bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32
Projects
None yet
Development

No branches or pull requests

3 participants