[riot-notifications] [RIOT-OS/RIOT] riotboot/Makefile.include: increase RIOTBOOT_HRD_LEN for ARMv7*-M (#11641)

Francisco notifications at github.com
Tue Jun 18 15:22:46 CEST 2019


@cladmi I split the commit into two: one adding the cortex-m configuration and another adapting the comment on the generic `sys/riotboo/Makefile.include`.

I get the following outputs for different cpu's:

```
FEATURES_REQUIRED+=riotboot BOARD=pba-d-01-kw2x make --no-print-directory -C tests/xtimer_usleep/ info-debug-variable-RIOTBOOT_HDR_LEN
0x200
```

```
FEATURES_REQUIRED+=riotboot BOARD=cc2650stk make --no-print-directory -C tests/xtimer_usleep/ info-debug-variable-RIOTBOOT_HDR_LEN
0x400
```

```
FEATURES_REQUIRED+=riotboot BOARD=arduino-uno make --no-print-directory -C tests/xtimer_usleep/ info-debug-variable-RIOTBOOT_HDR_LEN
/bin/sh: 1: arithmetic expression: expecting primary: " + "
/bin/sh: 1: arithmetic expression: expecting primary: " + "
/bin/sh: 1: arithmetic expression: expecting primary: " + "
/bin/sh: 1: arithmetic expression: expecting primary: " + "
0x100

```

Which matches the expected behavior. What do you think?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11641#issuecomment-503132943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190618/3d55ee1e/attachment.html>


More information about the notifications mailing list