mcu_rom/stage1_app: Rename stm32g0_application
As part of folding up stage1 and application together give
'stm32g0_application' a more appropriate name.
BUG=b:187224894
TEST=`cargo build`.
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I2aaaa978a307e909a9b6c846d6fa400ee6d65c4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3184107
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Dan Callaghan <dcallagh@chromium.org>
Reviewed-by: David Lattimore <dml@chromium.org>
Reviewed-by: Dan Callaghan <dcallagh@chromium.org>
diff --git a/scripts/check-binary-sizes b/scripts/check-binary-sizes
index b550eaa..9ae5549 100755
--- a/scripts/check-binary-sizes
+++ b/scripts/check-binary-sizes
@@ -14,7 +14,7 @@
set -e
STAGE0="${PROJECT_ROOT}/mcu_rom/stage0/target/thumbv6m-none-eabi/release/stage0.bin"
STAGE1="${PROJECT_ROOT}/mcu_rom/stage1/target/thumbv6m-none-eabi/release/stage1.bin"
-APPLICATION="${PROJECT_ROOT}/mcu_rom/stm32g0_application/target/thumbv6m-none-eabi/release/stm32g0_application.bin"
+APPLICATION="${PROJECT_ROOT}/mcu_rom/stage1_app/target/thumbv6m-none-eabi/release/stage1_app.bin"
(
cd "${PROJECT_ROOT}/mcu_rom/stage0"
cargo "+${RUST_VERSION}" build --release
@@ -32,11 +32,11 @@
"${STAGE1}"
)
(
- cd "${PROJECT_ROOT}/mcu_rom/stm32g0_application"
+ cd "${PROJECT_ROOT}/mcu_rom/stage1_app"
cargo "+${RUST_VERSION}" build --release
arm-none-eabi-objcopy \
-O binary \
- target/thumbv6m-none-eabi/release/stm32g0_application \
+ target/thumbv6m-none-eabi/release/stage1_app \
"${APPLICATION}"
)
echo