You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuse does detect neither the copyright (Copyright (c) 2010 - 2024, Nordic Semiconductor ASA All rights reserved.) nor the license (SPDX-License-Identifier: BSD-3-Clause) in nrf52840.svd.
It seems like the "\n" at the end of each line causes the problem. For files without those line endings, e.g. nrf5340_network.svd, the detection oft the license and copyright works.
Hints
According to the example given by ARM, the inventor of CMSIS-SVD, seems to be the (a) proper way to encode line breaks. For this reason, I think REUSE should support it.
Workarounds
Manually removing the "\n"
The text was updated successfully, but these errors were encountered:
rettichschnidi
changed the title
Failing to extract license and copyright information from (certain) SVD files
Failing to extract license and copyright information from SVD files
Mar 20, 2024
Problem
Reuse does detect neither the copyright (
Copyright (c) 2010 - 2024, Nordic Semiconductor ASA All rights reserved.
) nor the license (SPDX-License-Identifier: BSD-3-Clause
) in nrf52840.svd.It seems like the "\n" at the end of each line causes the problem. For files without those line endings, e.g. nrf5340_network.svd, the detection oft the license and copyright works.
Hints
According to the example given by ARM, the inventor of CMSIS-SVD, seems to be the (a) proper way to encode line breaks. For this reason, I think REUSE should support it.
Workarounds
The text was updated successfully, but these errors were encountered: