mcuboot/samples/zephyr
David Brown a84b64761c samples: zephyr: Extract build artifacts from archive
Optionally extract build artifacts from an archive file instead of
building them.  This completes the separation between building the tests
and running them.  To use this, do something like:

    go run test-compile.go

Arrange to have the mcuboot dir and the test-images.zip on the test
target, and then run:

    go run run-tests.go -prebuilt test-images.zip

Signed-off-by: David Brown <david.brown@linaro.org>
2020-09-17 16:49:09 -06:00
..
bad-keys zephyr: Move testplan into sample Makefile 2017-09-14 16:10:50 -06:00
hello-world cmake: scripts: now using ZEPHYR_BASE as local variable 2020-06-15 15:27:48 +02:00
mcutests samples: zephyr: Separate build commands 2020-09-17 16:49:09 -06:00
.gitignore samples: zephyr: Add separate compilation 2020-09-17 16:49:09 -06:00
Makefile cmake: scripts: now using ZEPHYR_BASE as local variable 2020-06-15 15:27:48 +02:00
README.md Use Ninja instead of Makefiles for Zephyr 2019-07-29 11:29:21 -05:00
build-boot.sh zephyr: port build system to CMake 2017-11-20 18:10:29 -07:00
build-hello.sh zephyr: port build system to CMake 2017-11-20 18:10:29 -07:00
overlay-ecdsa-p256.conf samples/zephyr: Build ECDSA tests with ECDSA key 2019-01-22 16:08:46 -07:00
overlay-rsa.conf zephyr: migrate signature type to Kconfig 2018-04-25 18:44:03 -03:00
overlay-skip-primary-slot-validate.conf Replace flash partitioning terminology 2019-03-13 15:40:21 -06:00
overlay-upgrade-only.conf zephyr: migrate upgrade-only to Kconfig 2018-04-25 18:44:03 -03:00
run-tests.go samples: zephyr: Extract build artifacts from archive 2020-09-17 16:49:09 -06:00
run-tests.sh docs: samples: Update pyocd calls to unified tool subcommands 2019-02-19 14:09:36 -03:00
test-compile.go samples: zephyr: Add separate compilation 2020-09-17 16:49:09 -06:00

README.md

Zephyr sample application.

In order to successfully deploy an application using mcuboot, it is necessary to build at least one other binary: the application itself. It is beyond the scope of this documentation to describe what an application is able to do, however a working example is certainly useful.

Please see the comments in the Makefile in this directory for more details on how to build and test this application.

Note that this sample uses the "ninja" build tool, which can be installed on most systems using the system package manager, e.g., for a Debian-based distro:

$ sudo apt-get install ninja

or in Fedora:

$ sudo dnf install ninja