From 6fdaeb8f991e6fb1ec8d2c3909f25886bd6262bc Mon Sep 17 00:00:00 2001 From: Denis Pynkin Date: Sun, 26 Dec 2021 21:11:18 +0100 Subject: [PATCH] nordic-hid: add device test Added the test for nRF52840-DK board with MCUBoot variant. Images based on MCUBoot may be used for test automation since this bootloader type does not have version dependencies. To prepare the board for testing it should be flashed with MCUBoot image variant with `nrfjprog` initially. --- data/device-tests/meson.build | 1 + .../nordic-hid-nrf52840-mcuboot.json | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 data/device-tests/nordic-hid-nrf52840-mcuboot.json diff --git a/data/device-tests/meson.build b/data/device-tests/meson.build index bd0e0d587..54b82e152 100644 --- a/data/device-tests/meson.build +++ b/data/device-tests/meson.build @@ -34,6 +34,7 @@ install_data([ 'logitech-rqr12-signed.json', 'logitech-rqr24.json', 'logitech-rqr24-signed.json', + 'nordic-hid-nrf52840-mcuboot.json', 'realtek-rts5423.json', 'realtek-rts5855.json', 'starlabs-phison-ata.json', diff --git a/data/device-tests/nordic-hid-nrf52840-mcuboot.json b/data/device-tests/nordic-hid-nrf52840-mcuboot.json new file mode 100644 index 000000000..19179692f --- /dev/null +++ b/data/device-tests/nordic-hid-nrf52840-mcuboot.json @@ -0,0 +1,28 @@ +{ + "name": "nRF52840 DK (nRF52 Desktop) MCUBoot variant", + "interactive": false, + "steps": [ + { + "url": "https://fwupd.org/downloads/839c1a8177b19ef3db5e67f31be92c35a25ae5c7bf431740e6568d5b005313b7-nordic-nrf52840dk-mcuboot-0.0.0_0.cab", + "components": [ + { + "version": "0.0.0.0", + "guids": [ + "43b38427-fdf5-5400-a23c-f3eb7ea00e7c" + ] + } + ] + }, + { + "url": "https://fwupd.org/downloads/6fb9dcfc1e26a5b0367d0a8a484f93ba156f846c1fb49013f3a934adc964788c-nordic-nrf52840dk-mcuboot-0.0.0_1.cab", + "components": [ + { + "version": "0.0.0.1", + "guids": [ + "43b38427-fdf5-5400-a23c-f3eb7ea00e7c" + ] + } + ] + } + ] +}