Skip to content

Commit 649220c

Browse files
committed
fix(esp-idf): source files other than main.c are not picked up
we need to force rerunning CMake in order to update the list of sources to compile.
1 parent 1ed3bd8 commit 649220c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp-idf/compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ fi
5555
idf.py build 1>&2
5656

5757
rm -f main/src/*
58+
touch main/CMakeLists.txt # Force rescanning of sources under main/src
5859

5960
cp ./build/wokwi-project.bin ${HOME}/build-out/project.bin
6061
cp ./build/wokwi-project.elf ${HOME}/build-out/project.elf

0 commit comments

Comments
 (0)