Skip to content

Commit 5191d21

Browse files
committed
jade: clean all jade build artifacts when building jade simulator
1 parent 857e935 commit 5191d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/setup_environment.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ if [[ -n ${build_jade} ]]; then
392392
# always seem to pick up the locally installed python virtualenv, and instead uses
393393
# the system python/no-virtualenv which fails ...)
394394
# Only install the tools we need (ie. esp32)
395+
rm -fr "${IDF_TOOLS_PATH}"
395396
cd esp-idf
396-
rm -fr ${IDF_TOOLS_PATH}
397397
./install.sh esp32
398398
cd ..
399399

@@ -404,7 +404,7 @@ if [[ -n ${build_jade} ]]; then
404404
cd jade
405405
rm -fr sdkconfig
406406
cp configs/sdkconfig_qemu.defaults sdkconfig.defaults
407-
idf.py all
407+
idf.py fullclean all
408408

409409
# Make the qemu flash image
410410
esptool.py --chip esp32 merge_bin --fill-flash-size 4MB -o main/qemu/flash_image.bin \

0 commit comments

Comments
 (0)