Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ pip install .

以上三种方式只选其一,不要混用。系统中有多份安装时,命令行实际调用的版本可能与预期不同,而不同版本
生成的代码并不一致。当前使用的版本可通过 `libxr --version` 查看。BSP 所用的版本由
`User/libxr_config.yaml` 顶层的 `generator: 6.0.0` 固定:生成器新建这个文件时写入当前的版本,重新
生成时保留这个键;安装的版本应与之一致,例如 `pipx install libxr==6.0.0`。
`User/libxr_config.yaml` 顶层的 `generator: 6.0.1` 固定:生成器新建这个文件时写入当前的版本,重新
生成时保留这个键;安装的版本应与之一致,例如 `pipx install libxr==6.0.1`。

Use only one of these methods. With several installations present, the command line may run a
different version than expected, and different versions generate different code.
`libxr --version` shows the version in use. The version a BSP uses is pinned by
`generator: 6.0.0` at the top level of `User/libxr_config.yaml`: the generator writes the
`generator: 6.0.1` at the top level of `User/libxr_config.yaml`: the generator writes the
current version when it creates this file, and regeneration keeps the key; install the same
version, e.g. `pipx install libxr==6.0.0`.
version, e.g. `pipx install libxr==6.0.1`.

---

Expand Down Expand Up @@ -337,7 +337,7 @@ with the new value; the changes and comments in the file are kept on regeneratio

```yaml
# User/libxr_config.yaml(节选 / excerpt)
generator: 6.0.0
generator: 6.0.1
terminal_source: usart1
software_timer:
priority: 2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "libxr"
version = "6.0.0"
version = "6.0.1"
description = "C++ code generator for LibXR-based embedded systems, supporting STM32 and modular robotics applications."
requires-python = ">=3.10"
authors = [
Expand Down
Loading