From 883cee96f5af29a56b353408a67e1af3d10b60f8 Mon Sep 17 00:00:00 2001
From: Luca Conterio <luca.conterio@skywarder.eu>
Date: Sun, 29 Aug 2021 15:57:17 +0200
Subject: [PATCH] [scripts] added scripts to flash entrypoints

- flight entrypoint
- calibration entry
- ramtest entry
---
 scripts/flash-calibration-entry.sh | 3 +++
 scripts/flash-entry.sh             | 3 +++
 scripts/flash-ramtest.sh           | 3 +++
 3 files changed, 9 insertions(+)
 create mode 100755 scripts/flash-calibration-entry.sh
 create mode 100755 scripts/flash-entry.sh
 create mode 100755 scripts/flash-ramtest.sh

diff --git a/scripts/flash-calibration-entry.sh b/scripts/flash-calibration-entry.sh
new file mode 100755
index 000000000..fab345c68
--- /dev/null
+++ b/scripts/flash-calibration-entry.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+st-flash write bin_delivery/final/calibration-entry/calibration-entry.bin 0x8000000
diff --git a/scripts/flash-entry.sh b/scripts/flash-entry.sh
new file mode 100755
index 000000000..0c4e66ac0
--- /dev/null
+++ b/scripts/flash-entry.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+st-flash write bin_delivery/final/death-stack-x-entry/death-stack-x-entry.bin 0x8000000
diff --git a/scripts/flash-ramtest.sh b/scripts/flash-ramtest.sh
new file mode 100755
index 000000000..8c1e4e111
--- /dev/null
+++ b/scripts/flash-ramtest.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+st-flash write bin_delivery/final/ramtest/ramtest.bin 0x8000000
-- 
GitLab