[riot-notifications] [RIOT-OS/RIOT] makefiles: documentation and usage for hexfile binfile (#11845)

Gaëtan Harter notifications at github.com
Mon Jul 15 19:52:21 CEST 2019


### Contribution description

Now that `HEXFILE` is not overwritten to a `.bin` anymore and `BINFILE` always a binary file, the documentation can be clarified.

### Testing procedure

Review the new documentation in `makefiles/vars.inc.mk`.

The value of `HEXFILE` is not overwritten anymore (to BINFILE in particular)

```
git grep 'HEXFILE \?:\?=' '**' ':!boards/common/msba2/tools/flashutil.sh'
# empty
```

The value can be seen in the `info-build` output.

```
make -C examples/hello-world/ info-build | grep FILE:  | head -n 4
ELFFILE: /home/harter/work/git/RIOT/examples/hello-world/bin/native/hello-world.elf
HEXFILE: /home/harter/work/git/RIOT/examples/hello-world/bin/native/hello-world.hex
BINFILE: /home/harter/work/git/RIOT/examples/hello-world/bin/native/hello-world.bin
FLASHFILE: /home/harter/work/git/RIOT/examples/hello-world/bin/native/hello-world.elf
```

### Issues/PRs references

Part of https://github.com/RIOT-OS/RIOT/pull/8838

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11845

-- Commit Summary --

  * makefiles/vars.inc.mk: update documentation for HEXFILE
  * makefiles: documentation for BINFILE

-- File Changes --

    M makefiles/info.inc.mk (1)
    M makefiles/vars.inc.mk (5)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11845.patch
https://github.com/RIOT-OS/RIOT/pull/11845.diff

-- 
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/11845
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190715/da338a05/attachment.html>


More information about the notifications mailing list