diff --git a/.github/workflows/check_code_generation.yml b/.github/workflows/check_code_generation.yml index e730e3cb6..650dc1738 100644 --- a/.github/workflows/check_code_generation.yml +++ b/.github/workflows/check_code_generation.yml @@ -21,8 +21,8 @@ jobs: steps: - uses: actions/checkout@v4 - - name: run tlm-cmd-code-generator - working-directory: ./tlm-cmd-code-generator + - name: run code-generator + working-directory: ./code-generator run: | cp "./settings_${{ matrix.user }}.json" ./settings.json python GenerateC2ACode.py diff --git a/tlm-cmd-code-generator/.flake8 b/code-generator/.flake8 similarity index 100% rename from tlm-cmd-code-generator/.flake8 rename to code-generator/.flake8 diff --git a/tlm-cmd-code-generator/.gitignore b/code-generator/.gitignore similarity index 100% rename from tlm-cmd-code-generator/.gitignore rename to code-generator/.gitignore diff --git a/tlm-cmd-code-generator/GenerateC2ACode.py b/code-generator/GenerateC2ACode.py similarity index 100% rename from tlm-cmd-code-generator/GenerateC2ACode.py rename to code-generator/GenerateC2ACode.py diff --git a/tlm-cmd-code-generator/README.md b/code-generator/README.md similarity index 99% rename from tlm-cmd-code-generator/README.md rename to code-generator/README.md index 7c5bfea01..26610d521 100644 --- a/tlm-cmd-code-generator/README.md +++ b/code-generator/README.md @@ -1,4 +1,4 @@ -# c2a-tlm-cmd-code-generator +# c2a-code-generator [TlmCmd DB](https://github.com/ut-issl/tlm-cmd-db)からC2Aのコードを生成するためのスクリプト 以下が自動生成される. diff --git a/tlm-cmd-code-generator/my_mod/cmd_def.py b/code-generator/my_mod/cmd_def.py similarity index 100% rename from tlm-cmd-code-generator/my_mod/cmd_def.py rename to code-generator/my_mod/cmd_def.py diff --git a/tlm-cmd-code-generator/my_mod/load_db.py b/code-generator/my_mod/load_db.py similarity index 100% rename from tlm-cmd-code-generator/my_mod/load_db.py rename to code-generator/my_mod/load_db.py diff --git a/tlm-cmd-code-generator/my_mod/tlm_buffer.py b/code-generator/my_mod/tlm_buffer.py similarity index 100% rename from tlm-cmd-code-generator/my_mod/tlm_buffer.py rename to code-generator/my_mod/tlm_buffer.py diff --git a/tlm-cmd-code-generator/my_mod/tlm_def.py b/code-generator/my_mod/tlm_def.py similarity index 100% rename from tlm-cmd-code-generator/my_mod/tlm_def.py rename to code-generator/my_mod/tlm_def.py diff --git a/tlm-cmd-code-generator/pyproject.toml b/code-generator/pyproject.toml similarity index 100% rename from tlm-cmd-code-generator/pyproject.toml rename to code-generator/pyproject.toml diff --git a/tlm-cmd-code-generator/requirements.txt b/code-generator/requirements.txt similarity index 100% rename from tlm-cmd-code-generator/requirements.txt rename to code-generator/requirements.txt diff --git a/tlm-cmd-code-generator/settings_mobc.json b/code-generator/settings_mobc.json similarity index 100% rename from tlm-cmd-code-generator/settings_mobc.json rename to code-generator/settings_mobc.json diff --git a/tlm-cmd-code-generator/settings_subobc.json b/code-generator/settings_subobc.json similarity index 100% rename from tlm-cmd-code-generator/settings_subobc.json rename to code-generator/settings_subobc.json diff --git a/docs/component_driver/communication_with_components.md b/docs/component_driver/communication_with_components.md index d62c4bff5..5388ab405 100644 --- a/docs/component_driver/communication_with_components.md +++ b/docs/component_driver/communication_with_components.md @@ -95,7 +95,7 @@ https://github.com/arkedge/c2a-core/blob/45d78a05c339c285b5aa0c2fcbf57c1b105137e C2A 間通信によって,以下のような機能が提供される. - OBC 間の簡易な Driver 実装と自動コード生成 - - [c2a-tlm-cmd-code-generator](../../tlm-cmd-code-generator/) 参照. + - [c2a-code-generator](../../code-generator/) 参照. - [`examples/mobc/src/src_user/Drivers/Aocs`](/examples/mobc/src/src_user/Drivers/Aocs/) などの多くのコードが自動生成される. - OBC と地上局でネットワークを形成. - 地上局から MOBC をルーターとして, sub OBC へコマンド配送.