Skip to content

Commit

Permalink
add git commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-M9CCUTI\ian committed Aug 12, 2024
1 parent 4586863 commit 8b2e29b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,16 @@ if(${PICO_PLATFORM} MATCHES "rp2350")
)
target_compile_definitions(bus_pirate5_xl PUBLIC BP_VER=XL5)
target_compile_definitions(bus_pirate5_xl PUBLIC BP_REV=10)
target_compile_definitions(bus_pirate5_xl PUBLIC BP_FIRMWARE_HASH="${BP_FIRMWARE_HASH}")

add_executable(bus_pirate6
${bp5_common}
${bp5_nandflash}
platform/bpi6-rev1.h platform/bpi6-rev1.c
)
target_compile_definitions(bus_pirate6 PUBLIC BP_VER=6)
target_compile_definitions(bus_pirate6 PUBLIC BP_REV=10)
target_compile_definitions(bus_pirate6 PUBLIC BP_REV=10)
target_compile_definitions(bus_pirate6 PUBLIC BP_FIRMWARE_HASH="${BP_FIRMWARE_HASH}")

set(revisions
bus_pirate5_xl
Expand All @@ -261,6 +263,7 @@ else()
)
target_compile_definitions(bus_pirate5_rev8 PUBLIC BP_VER=5)
target_compile_definitions(bus_pirate5_rev8 PUBLIC BP_REV=8)
target_compile_definitions(bus_pirate5_rev8 PUBLIC BP_FIRMWARE_HASH="${BP_FIRMWARE_HASH}")

add_executable(bus_pirate5_rev10
${bp5_common}
Expand All @@ -270,6 +273,7 @@ else()
)
target_compile_definitions(bus_pirate5_rev10 PUBLIC BP_VER=5)
target_compile_definitions(bus_pirate5_rev10 PUBLIC BP_REV=10)
target_compile_definitions(bus_pirate5_rev10 PUBLIC BP_FIRMWARE_HASH="${BP_FIRMWARE_HASH}")

set(revisions
bus_pirate5_rev8
Expand Down

0 comments on commit 8b2e29b

Please sign in to comment.