Replies: 1 comment 6 replies
-
settings.c and settings.h are created using a tool in ESP32-RevK from settings.def. The Makefile should do that. signing keys you need to create as per instructions in ESP IDF, or turn off code signing. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first of all, I'm trying to flash the BIN on DIY Fakin board and Esp32 S3 Mini dev board with no luck, both are constantly rebooting. on the recommendation of RevK I tried to compile it by myself. I'm using ESP-IDF v5.1.2 but still getting errors. I'm not very familiar with esp idf. Is there anyone who can help me. Here are the errors and solutions I have
Error 1 : Cannot find source file settings.c
idf.py build
-- Configuring done
CMake Error at C:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/component.cmake:479 (add_library):
Cannot find source file:
C:/Users/Francois/Documents/Faikin/ESP32/settings.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
C:/Espressif/frameworks/…..
Solve: I rename C:\Users\Francois\Documents\Faikin\ESP32\settings.def by settings.c
Error 2: _signing_key
idf.py build
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Francois/Documents/Faikin/ESP32/build
[4/1087] cmd.exe /C "cd /D C:\Users\Francois\Documents\Faikin\ESP32\build && C:\Espressif\tools\cmake\3.24.0\b...sif/tools/cmake/3.24.0/bin/cmake.exe -P C:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/scripts/fail.cmake"FAILED: CMakeFiles/gen_secure_boot_signing_key C:/Users/Francois/Documents/Faikin/ESP32/build/CMakeFiles/gen_secure_boot_signing_keycmd.ex…
Solve: idf.py menuconfig
Menu, security feature, and remove require signed app image
Error 3 : ../settings.h: No such file or directory
idf.py build
In file included from C:/Users/Francois/Documents/Faikin/ESP32/components/ESP32-RevK/jo.c:4:
C:/Users/Francois/Documents/Faikin/ESP32/components/ESP32-RevK/include/revk.h:43:10: fatal error: ../../settings.h: No such file or directory
43 | #include "../../settings.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
Solve no idea
Beta Was this translation helpful? Give feedback.
All reactions