Skip to content

Commit

Permalink
no one uses .dfu and .hex from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Jan 31, 2024
1 parent db61700 commit c4ca4c0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions misc/jenkins/build_working_folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,12 @@ RUSEFI_CONSOLE_SETTINGS=""
cp -r misc/install/STM32_Programmer_CLI $CONSOLE_FOLDER

cp firmware/deliver/fome.bin $FOLDER
# probably not needed cp firmware/build/rusefi.elf $FOLDER
cp firmware/deliver/fome.dfu $FOLDER
# just for now - DFU work in progress
cp firmware/deliver/fome.hex $FOLDER

# bootloader
[ -e firmware/deliver/fome_bl.bin ] && { cp firmware/deliver/fome_bl.bin $FOLDER ; }
[ -e firmware/deliver/fome_bl.dfu ] && { cp firmware/deliver/fome_bl.dfu $FOLDER ; }
# update srec
[ -e firmware/deliver/fome_update.srec ] && { cp firmware/deliver/fome_update.srec $FOLDER ; }

if [ -n "$BUNDLE_NAME" ]; then
mv $FOLDER/fome.dfu $FOLDER/fome_$BUNDLE_NAME.dfu
fi


[ -e firmware/deliver/fome.bin ] || { echo "$SCRIPT_NAME: fome.bin not found"; exit 1; }

cd temp
Expand Down Expand Up @@ -120,11 +110,6 @@ cd ..
mkdir -p artifacts
mv temp/$FULL_BUNDLE_FILE artifacts

echo "Removing static content from ${CONSOLE_FOLDER} and $DRIVERS_FOLDER"
rm -rf $CONSOLE_FOLDER/fome_console.exe
rm -rf $CONSOLE_FOLDER/DfuSe
rm -rf $DRIVERS_FOLDER

echo "$SCRIPT_NAME: We are back in root directory"

pwd
Expand Down

0 comments on commit c4ca4c0

Please sign in to comment.