Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

regz: failed to load {register,cluster} processing ATSAML22J18A.svd

Đang mở
#1,056 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
zig
Lĩnh vực
embedded-iot

Hướng nghiên cứu

Start in tools/regz and run the provided zig build run command against ATSAML22J18A.svd to reproduce the warnings. The issue identifies unimplemented derived-register and alternate-cluster handling, but does not specify the desired behavior or whether the generated output is safe to use; clarify that before proposing a change. Done means the SVD loads as intended and output correctness is established.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

git clone --revision=0.17.9 --depth=1 https://github.com/ZigEmbeddedGroup/microzig.git
cd microzig/tools/regz
wget https://raw.githubusercontent.com/cmsis-svd/cmsis-svd-data/c65f8551e57c770344d229dcaa0bf838fa29aff4/data/Atmel/ATSAML22J18A.svd
# anyzig 0.17.0-dev.1936+5a625d5f3
zig build run -- ./ATSAML22J18A.svd --format svd --output_path ./saml22

Output:

warning(svd): failed to load register: PORT.PMUX1_%s: error.TODO_DerivedRegister
warning(svd): failed to load register: PORT.PINCFG1_%s: error.TODO_DerivedRegister
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster
warning(svd): failed to load cluster: error.TodoAlternateCluster

I see both warnings are because of "TODO"s, so I assume this is has not been implemented yet but is intended at some point.

Can I use the output in the meantime? (It's just a warning, not an error, so I'm guessing yes?)

Ngôn ngữ chính
Zig
Star
2.3k
Fork
198
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
37

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ZigEmbeddedGroup/microzig

Tất cả issue của ZigEmbeddedGroup/microzig

Issue tương tự

Thêm issue về Embedded & IoT

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.