Skip to content

Commit a0c9525

Browse files
committed
added the specific sequences and commands to add the sequences
1 parent de90125 commit a0c9525

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ clean: ## Remove all gitignored files
7474
GDS_COMMAND ?= $(UV_RUN) fprime-gds -n --dictionary $(ARTIFACT_DIR)/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json --communication-selection uart --uart-baud 115200 --output-unframed-data
7575
ARTIFACT_DIR ?= $(shell pwd)/build-artifacts
7676

77+
.PHONY: sequence
78+
sequence: fprime-venv ## Compile a sequence file (usage: make sequence SEQ=startup)
79+
@if [ -z "$(SEQ)" ]; then \
80+
echo "Error: SEQ variable not set. Usage: make sequence SEQ=startup"; \
81+
exit 1; \
82+
fi
83+
@echo "Compiling sequence: $(SEQ).seq"
84+
@$(UV_RUN) fprime-seqgen sequences/$(SEQ).seq -d $(ARTIFACT_DIR)/zephyr/fprime-zephyr-deployment
85+
7786
.PHONY: gds
7887
gds: ## Run FPrime GDS
7988
@echo "Running FPrime GDS..."

sequences/startup.bin

131 Bytes
Binary file not shown.

sequences/startup.seq

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
R00:00:00 ReferenceDeployment.startupManager.WAIT_FOR_QUIESCENCE
2+
R00:00:00 ReferenceDeployment.antennaDeployer.DEPLOY
3+
4+
; UPDATE ARM PARAMETERS
5+
R00:00:00 ReferenceDeployment.startupManager.ARMED_PRM_SET FALSE
6+
R00:00:00 ReferenceDeployment.startupManager.ARMED_PRM_SAVE
7+
8+
; TODO: ARM antenna deployment
9+
10+
R00:00:00 FileHandling.prmDb.PRM_SAVE_FILE
11+
12+
R00:00:00 ReferenceDeployment.lora.TRANSMIT ENABLED

0 commit comments

Comments
 (0)