Skip to content

Commit

Permalink
add the bootloader revs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Jan 4, 2024
1 parent 35694a9 commit 7a82f63
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions bootloader/firmware/stm32G4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ foreach_revision(
macro(pipettes_single_bootloader_loop)

target_compile_definitions(${REVISION_TARGET} PUBLIC PIPETTE_TYPE_DEFINE=SINGLE_CHANNEL node_id_pipette_dynamic)

target_link_libraries(${REVISION_TARGET}
PUBLIC STM32G491RETx_bootloader
STM32G4xx_Drivers_Bootloader
Expand Down Expand Up @@ -132,26 +132,26 @@ set(_pipette_sources ${_g4_sources} ./pipette_handle_messages.c)
foreach_revision(
PROJECT_NAME bootloader-pipettes-single
CALL_FOREACH_REV pipettes_single_bootloader_loop
REVISIONS b1 c2 d1
SOURCES _pipette_sources _pipette_sources _pipette_sources
REVISIONS b1 c2 d1 e1
SOURCES _pipette_sources _pipette_sources _pipette_sources _pipette_sources
NO_CREATE_IMAGE_HEX
NO_CREATE_INSTALL_RULES
)

foreach_revision(
PROJECT_NAME bootloader-pipettes-multi
CALL_FOREACH_REV pipettes_multi_bootloader_loop
SOURCES _pipette_sources _pipette_sources _pipette_sources
REVISIONS b1 c2 d1
SOURCES _pipette_sources _pipette_sources _pipette_sources _pipette_sources
REVISIONS b1 c2 d1 e1
NO_CREATE_IMAGE_HEX
NO_CREATE_INSTALL_RULES
)

foreach_revision(
PROJECT_NAME bootloader-pipettes-96
CALL_FOREACH_REV pipettes_ninety_six_bootloader_loop
REVISIONS b1 c1 d2
SOURCES _pipette_sources _pipette_sources _pipette_sources
REVISIONS b1 c1 d2 e1
SOURCES _pipette_sources _pipette_sources _pipette_sources _pipette_sources
NO_CREATE_IMAGE_HEX
NO_CREATE_INSTALL_RULES
)
Expand Down
6 changes: 3 additions & 3 deletions pipettes/firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ set(pipette_srcs ${PIPETTE_FW_LINTABLE_SRCS}
foreach_revision(
PROJECT_NAME pipettes-single
REVISIONS b1 c2 d1 e1
SOURCES pipette_srcs pipette_srcs pipette_srcs
SOURCES pipette_srcs pipette_srcs pipette_srcs pipette_srcs
CALL_FOREACH_REV pipettes_single_loop
)

foreach_revision(
PROJECT_NAME pipettes-multi
REVISIONS b1 c2 d1 e1
CALL_FOREACH_REV pipettes_multi_loop
SOURCES pipette_srcs pipette_srcs pipette_srcs
SOURCES pipette_srcs pipette_srcs pipette_srcs pipette_srcs
)

foreach_revision(
PROJECT_NAME pipettes-96
REVISIONS b1 c1 d2 e1
CALL_FOREACH_REV pipettes_96_loop
SOURCES pipette_srcs pipette_srcs pipette_srcs
SOURCES pipette_srcs pipette_srcs pipette_srcs pipette_srcs
)

alias_for_revision(PROJECT_NAME pipettes-single REVISION b1 REVISION_ALIAS rev1)
Expand Down

0 comments on commit 7a82f63

Please sign in to comment.