Skip to content

SVDRegisterCluster instance has no attribute 'parent' #34

@mczerski

Description

@mczerski

container = cluster.parent.name + ' > ' + cluster.name

In the above line there is an error causing gdb to print this error:

Python Exception <type 'exceptions.AttributeError'> SVDRegisterCluster instance has no attribute 'parent': 
Error occurred in Python: SVDRegisterCluster instance has no attribute 'parent'

when accessing register cluster.

Tested on nrf52840 chip + black magic probe. With command:

svd POWER RAM[0]

changing line 273 to:

container = peripheral.name + ' > ' + cluster.name

solves the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions