mcuboot/scripts
Ross Burton a6df132b68 imgtool: prefer cbor2 over cbor
The cbor module is unmaintained, with the last release in 2016[1]. The
cbor2 module however is under active development and was last released
just last month[2].

As the APIs are identical, we can import cbor2 and if that fails fall
back to cbor.

[1] https://pypi.org/project/cbor/#history
[2] https://pypi.org/project/cbor2/#history

Closes #1189

Signed-off-by: Ross Burton <ross.burton@arm.com>
Change-Id: Iaf2d0df625a200a5cebf72dec4a89877a26194ea
2021-11-03 14:19:31 +01:00
..
imgtool imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00
assemble.py zephyr: update devicetree py package lib files include path in assembly 2021-07-26 10:19:14 +02:00
flash.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
gdb-boot.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
imgtool.nix imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00
imgtool.py scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
jgdb.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
jl.sh scripts: Add SPDX headers 2021-01-28 09:36:55 +01:00
mcubin.bt sim: Add debugging ptable to image dumps 2019-08-15 14:23:37 -05:00
requirements.txt imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00
setup.py imgtool: prefer cbor2 over cbor 2021-11-03 14:19:31 +01:00