ch552: Add SPDX tags

- Add SPDX tags to source files.
- Make REUSE compliant.
- Add reuse.toml configuration.
This commit is contained in:
Michael Cardell Widerkrantz 2025-04-04 11:27:04 +02:00
parent d43585ee1a
commit 7eca72c2c3
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
24 changed files with 232 additions and 21 deletions

View file

@ -1,4 +1,7 @@
#!/usr/bin/env python3
# SPDX-FileCopyrightText: 2021 Mullvad VPN AB <mullvad.se>
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
# SPDX-License-Identifier: GPL-2.0-only
def descriptor_to_string(descriptor):
""" Convert a bytes object containing a USB string descriptor into a python string"""