Skip to content

SVDConv Warning M227 #2569

Description

@Sefzik

Describe the bug
I noticed an incorrect WARNING message when using SVDConv.
MYFIELD1 has only 128 elements.
MYFIELD2 has exactly 256 elements.

CMSIS-SVD SVD Consistency Checker / Header File Generator V3.3.39
Copyright (C) 2010 - 2020 ARM Ltd and ARM Germany GmbH. All rights reserved.
Arguments: "mysvdfile.svd" -o "SVD" --generate=sfr -b "SVD.log" –strict

*** WARNING M227: mysvdfile.svd (Line 1003)
SFD Code generation warning: Enumerated values list for field 'MYFIELD1' exeeds maximum of 256 elements. List will not be generated.

*** WARNING M227: mysvdfile.svd (Line 1749)
SFD Code generation warning: Enumerated values list for field 'MYFIELD2' exeeds maximum of 256 elements. List will not be generated.

To Reproduce
SVDConv.exe mysvdfile.svd -o SVD --generate=sfr -b SVD.log

Expected behavior
No warning, since my both of my bitfields are less than 256 elements in size.

Environment (please complete the following information):

  • CMSIS-SVD SVD Consistency Checker
  • Version V3.3.39
  • OS: windows

Additional context

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions