mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
13e852c58c
FLASHFILE is now a generated file when doing `make all`. This prepares also for when flashers will use `FLASHFILE` as a file to be flashed. It currently still needs the hack below for openocd and edbg. This also fixes the issue when building 'riotboot' in docker that was being built with the host toolchain. |
||
---|---|---|
.. | ||
tests | ||
main.c | ||
Makefile | ||
README.md |
RIOT bootloader test
This is a basic example how to use RIOT bootloader in your embedded application.
This test should foremost give you an overview how to use riotboot:
-
make all
build the test using the target riotboot, which generates a binary file of the application with a header on top of it, used by the bootloader to recognise a bootable image. -
make riotboot/flash
creates the binary files and flashes both riotboot and the RIOT image with headers included. This should boot as a normal application.
In this test two modules riotboot_hdr
and riotboot_slot
are used to showcase
the access to riotboot shared functions.
make test
can be executed to run the automatic Python test that checks basic functionalities of riotboot