[riot-commits] [RIOT-OS/RIOT] bb71e9: riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN

Francisco noreply at github.com
Mon Jul 8 18:03:23 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: bb71e979f3a425f18b36334d794d47634ddd9f9a
      https://github.com/RIOT-OS/RIOT/commit/bb71e979f3a425f18b36334d794d47634ddd9f9a
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M makefiles/boot/riotboot.mk
    M tests/riotboot/Makefile

  Log Message:
  -----------
  riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN

... if the riotboot feature is used.

Previously, even an application that had "FEATURES_REQUIRED += riotboot"
set would still flash the non-riotboot binary on "make flash".
This is usualy not what the user wants.

This commit set's the FLASHFILE variable to the combined "riotboot
bootloader + slot0 + empty slot1" binary. This has the effect that make
all, flash and flash-only will compile and/or flash a working riotboot
setup.

tests/riotboot and tests/riotboot_flashwrite now default to flashing the
riotboot-extended binary. tests/riotboot was previously configured to
use the riotboot-combined binary. This has been changed in order to not
behave differently than how usual riotboot applications do.


  Commit: 8624d3dac4908427c2186c157c11df760b3a9469
      https://github.com/RIOT-OS/RIOT/commit/8624d3dac4908427c2186c157c11df760b3a9469
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M bootloaders/riotboot/README.md

  Log Message:
  -----------
  riotboot: update documentation to match automatic use

FLASHFILE is now set to RIOTBOOT_EXTENDED_BIN, changing the meaning of
make all`, `flash`, `flash-only`.
This commits updates the documentation accordingly.


  Commit: b3cc3ab2eaefb17ed9f50bc142fc397566547b3d
      https://github.com/RIOT-OS/RIOT/commit/b3cc3ab2eaefb17ed9f50bc142fc397566547b3d
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M bootloaders/riotboot/README.md

  Log Message:
  -----------
  riotboot: fix APP_VER default documentation


  Commit: 8370acb2ffe736c18f64c37ec2f27f01857b3d8c
      https://github.com/RIOT-OS/RIOT/commit/8370acb2ffe736c18f64c37ec2f27f01857b3d8c
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M tests/riotboot_flashwrite/Makefile

  Log Message:
  -----------
  tests/riotboot_flashwrite: blacklist some boards

Adding saml1[01]-xpro, nucleo-f302r8|f334r8 to
BOARDS_INSUFFICIENT_MEMORY.

The riotboot build fails because it only offers half the flash size (per
slot), compared to before where the default build would not use riotboot
at all, thus have double the flash (but being useless).


  Commit: ecdccdd4787fd43b445cfdb31d1eff36dbff96f8
      https://github.com/RIOT-OS/RIOT/commit/ecdccdd4787fd43b445cfdb31d1eff36dbff96f8
  Author: Francisco <femolina at uc.cl>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M bootloaders/riotboot/README.md
    M makefiles/boot/riotboot.mk
    M tests/riotboot/Makefile
    M tests/riotboot_flashwrite/Makefile

  Log Message:
  -----------
  Merge pull request #11690 from kaspar030/pr/always_flash_riotboot_if_required

riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN if riotboot feature is used


Compare: https://github.com/RIOT-OS/RIOT/compare/9aa1d76beed6...ecdccdd4787f


More information about the commits mailing list