Lines Matching +full:app +full:- +full:path
3 # SPDX-License-Identifier: Apache-2.0
7 from pathlib import Path
18 def create_signed_image(build_dir: Path, app_build_dir: Path, version: str) -> Path: argument
19 image_to_test = Path(build_dir) / 'test_{}.signed.bin'.format(
22 Path(build_dir) / 'mcuboot' / 'zephyr' / '.config',
26 build_dir=Path(app_build_dir),
28 key_file=Path(origin_key_file),
35 def clear_buffer(dut: DeviceAdapter) -> None:
66 logger.info('Test uploaded APP image')
78 logger.info('Verify new APP is booted')
92 logger.info('Verify new APP is still booted')
109 Path(dut.device_config.app_build_dir) / 'zephyr' / '.config',
121 logger.info('Test uploaded APP image')
133 logger.info('Verify new APP is booted')
152 'key_file', [None, 'root-ec-p256.pem'],
159 Verify that the application is not updated when app is not signed or signed with invalid key
171 Path(dut.device_config.build_dir) / 'mcuboot' / 'zephyr' / '.config',
174 key_file = Path(origin_key_file).parent / key_file
177 image_to_test = Path(dut.device_config.build_dir) / 'test_invalid_key.bin'
180 image_to_test = Path(dut.device_config.build_dir) / 'test_no_key.bin'
184 build_dir=Path(dut.device_config.app_build_dir),
195 logger.info('Test uploaded APP image')