From ab5fd6433e20cc9fb5f65df852abed093e2667ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Tue, 9 Aug 2022 00:23:23 +0200 Subject: [PATCH] Rename python file to snake case --- stm-firmware/CMakeLists.txt | 2 +- stm-firmware/crc-patcher/{crc-patch-elf.py => crc_patch_elf.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename stm-firmware/crc-patcher/{crc-patch-elf.py => crc_patch_elf.py} (100%) diff --git a/stm-firmware/CMakeLists.txt b/stm-firmware/CMakeLists.txt index 6325d1d..04f5a23 100644 --- a/stm-firmware/CMakeLists.txt +++ b/stm-firmware/CMakeLists.txt @@ -131,7 +131,7 @@ target_include_directories(${ELFFILE} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/updat add_custom_command( TARGET ${ELFFILE} POST_BUILD - COMMAND ./python "${CMAKE_CURRENT_SOURCE_DIR}/crc-patcher/crc-patch-elf.py" "${CMAKE_CURRENT_BINARY_DIR}/${ELFFILE}" + COMMAND ./python "${CMAKE_CURRENT_SOURCE_DIR}/crc-patcher/crc_patch_elf.py" "${CMAKE_CURRENT_BINARY_DIR}/${ELFFILE}" WORKING_DIRECTORY ${VENV_BIN} COMMENT "Running Flash CRC Patcher" ) diff --git a/stm-firmware/crc-patcher/crc-patch-elf.py b/stm-firmware/crc-patcher/crc_patch_elf.py similarity index 100% rename from stm-firmware/crc-patcher/crc-patch-elf.py rename to stm-firmware/crc-patcher/crc_patch_elf.py