$ ./svdconv --generate header --fields enum /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
Exception or Segmentation fault occurred!
11 : segment violation
CMSIS SVD Check / Converter 3.3.47+p98-g07416995 (Sep 30 2024 14:55:46)
Copyright (C) 2010-2024 ARM Ltd and ARM Germany GmbH. All rights reserved.
Arguments: ./svdconv --generate header --fields enum /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
*** INFO M317: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 19)
Register <description> not set.
*** INFO M332: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 9)
Peripheral 'PeripheralA' has only one Register.
*** INFO M317: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 9)
Peripheral <description> not set.
*** INFO M332: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 25)
Peripheral 'PeripheralB' has only one Register.
*** INFO M317: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 25)
Peripheral <description> not set.
*** WARNING M223: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd (Line 2)
Input File Name 'value_inheritance' does not match the tag <name> in the <device> section: 'test'
*** INFO M356: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
No Interrupt definitions found.
*** WARNING M209: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
CPU section not set. This is required for CMSIS Headerfile generation and debug support.
*** WARNING M209: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
CPU section not set. This is required for CMSIS Headerfile generation and debug support.
*** CRITICAL ERROR M104: /mnt/data/Temp/ARMify/svd-test-files/value_inheritance.svd
Exception or Segmentation fault occurred!
11 : segment violation
Expected behavior
The value of disableCondition should be inherited.
Environment (please complete the following information):
Describe the bug The inheritance (
deriveFrom
) of elementdisableCondition
leads to a segment violation.To Reproduce To reproduce, run the following svd with svdconv:
Results in:
Expected behavior The value of
disableCondition
should be inherited.Environment (please complete the following information):
Additional context Workaround: Specify same
disableCondition
in derived peripheral.E.g.: