refactor(firmware): remove the retired simulation workflow

Remove the retired simulator workspace member, dependencies, workflow
and documentation. Keep the shared flight and hardware crates.

Validation: retirement prefix host check, command-dispatch tests and
book build.
This commit is contained in:
Onur Özkan committed 2026-11-07 18:12:11 +03:00
1 parent 53e57c5d73
commit 3226ef97fe
40 files changed
+22 -4176

No files matched your search

+4 -9
View File
@@ -6,12 +6,11 @@ override MAKEFLAGS += --no-print-directory
override FIRMWARE_DIR := firmware
override DOCS_DIR := docs
override SITL_DIR := firmware/tools/sitl
override CONFIGURATOR_DIR := firmware/tools/configurator
override BOARD_DIRS := $(patsubst %/,%,$(wildcard firmware/boards/*/))
override COMPONENT_TARGETS := $(FIRMWARE_DIR) $(DOCS_DIR) firmware/boards $(BOARD_DIRS) \
$(SITL_DIR) $(CONFIGURATOR_DIR)
$(CONFIGURATOR_DIR)
override PRIMARY_GOAL := $(firstword $(MAKECMDGOALS))
override ROUTED_GOAL := $(filter $(PRIMARY_GOAL),$(COMPONENT_TARGETS))
@@ -57,7 +56,7 @@ help: ## Show the command interface (the default)
' nix-shell Enter the Nix development shell' \
' build Build all firmware and documentation' \
' fmt Check Rust, shell, Python, Nix, and TOML formatting' \
' test Run Rust, script, and SITL tests' \
' test Run Rust and script tests' \
' pre-commit Run fmt, firmware clippy/test/docs, and mdBook checks' \
' check Run pre-commit plus whitespace checks' \
' clean Remove generated build artifacts' \
@@ -74,8 +73,6 @@ help: ## Show the command interface (the default)
' docs -- <mdbook args...> Pass explicit arguments to mdbook' \
' firmware/tools/configurator -- <args...>' \
' Pass args to kaptan-configurator' \
' firmware/tools/sitl -- <args...>' \
' Pass args to kaptan-sim' \
'' 'Examples' \
' make firmware -- test --workspace --locked --offline' \
' make firmware clippy' \
@@ -83,8 +80,7 @@ help: ## Show the command interface (the default)
' make firmware/boards/kakute-f7-mini-v3' \
' make firmware/boards/kakute-f7-mini-v3 flash' \
' make docs -- build' \
' make firmware/tools/configurator' \
' make firmware/tools/sitl -- move 5 3 1 --wait'
' make firmware/tools/configurator'
nix-shell: ## Enter the reproducible Nix development shell
nix develop
@@ -96,14 +92,13 @@ build: ## Build all firmware boards and documentation
fmt:
+@$(MAKE) -C $(FIRMWARE_DIR) fmt
shfmt -d $$(rg --files -g '*.sh')
ruff format --check firmware/tools/sitl/kaptan-sim $$(rg --files -g '*.py')
ruff format --check $$(rg --files -g '*.py')
nixfmt --check $$(rg --files -g '*.nix')
taplo format --check $$(rg --files -g '*.toml')
test:
python3 -m unittest scripts/test-make-argv.py
+@$(MAKE) -C $(FIRMWARE_DIR) test
+@$(MAKE) -C $(SITL_DIR) _check
pre-commit: fmt test
+@$(MAKE) -C $(FIRMWARE_DIR) clippy