From 91684a11c8a15b62a773a1ace40791fcf80fdad2 Mon Sep 17 00:00:00 2001 From: i509VCB Date: Wed, 19 Mar 2025 13:28:03 -0500 Subject: [PATCH] build c1104 seperately for defmt buffer size --- ci.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index 84312127f..5b63c507b 100755 --- a/ci.sh +++ b/ci.sh @@ -244,7 +244,6 @@ cargo batch \ --- build --release --manifest-path examples/stm32wba/Cargo.toml --target thumbv8m.main-none-eabihf --artifact-dir out/examples/stm32wba \ --- build --release --manifest-path examples/stm32wl/Cargo.toml --target thumbv7em-none-eabi --artifact-dir out/examples/stm32wl \ --- build --release --manifest-path examples/lpc55s69/Cargo.toml --target thumbv8m.main-none-eabihf --artifact-dir out/examples/lpc55s69 \ - --- build --release --manifest-path examples/mspm0c1104/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/examples/mspm0c1104 \ --- build --release --manifest-path examples/mspm0g3507/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/examples/mspm0g3507 \ --- build --release --manifest-path examples/mspm0g3519/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/examples/mspm0g3519 \ --- build --release --manifest-path examples/mspm0l1306/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/examples/mspm0l1306 \ @@ -313,6 +312,11 @@ cargo batch \ $BUILD_EXTRA +# MSPM0C1104 must be built seperately since cargo batch does not consider env vars set in `.cargo/config.toml`. +# Since the target has 1KB of ram, we need to limit defmt's buffer size. +DEFMT_RTT_BUFFER_SIZE="72" cargo batch \ + --- build --release --manifest-path examples/mspm0c1104/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/examples/mspm0c1104 \ + # temporarily disabled, these boards are dead. rm -rf out/tests/stm32f103c8 rm -rf out/tests/nrf52840-dk