Skip to content

Commit

Permalink
Fix clean build due to change in libopencm3
Browse files Browse the repository at this point in the history
Commit 48d6693 pulled in an updated libopencm3
for undocumented reasons. In principle this is a good
idea as it fixes a nasty stack initialization bug fixed by
@uhi22 as discussed in
uhi22/ccs32clara#17.
Unfortunately the fix breaks the libopencm3 build for
all platforms except STM32F1.

The fix is to limit the build of libopencm3 to just the
STM32F1 platform in the same way as the CCS32clara
firmware.

Tests:
 - Carry out a full clean build locally
 - Check GitHub CI build after push before raising a PR
  • Loading branch information
davefiddes committed Nov 4, 2024
1 parent 94e4317 commit da4c3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ ifneq ($(shell test -s libopencm3/lib/libopencm3_stm32f1.a && echo -n yes),yes)
@printf " GIT SUBMODULE\n"
$(Q)git submodule update --init
@printf " MAKE libopencm3\n"
$(Q)${MAKE} -C libopencm3
$(Q)${MAKE} -C libopencm3 TARGETS=stm32/f1
endif

Test:
Expand Down

0 comments on commit da4c3ed

Please sign in to comment.