ccollins476ad opened a new pull request #351: mfg: Copy user-specified files to raw output directory URL: https://github.com/apache/mynewt-newt/pull/351 In a `mfg.yml` file, a "raw" section can specify a list of files in under `extra_files`. At mfg-build time, the listed files get copied into the raw's binary directory. This might be useful if some external system requires additional information to interpret the raw sections in an mfgimage. For example: ``` mfg.raw: name: '../../bin/myraw.bin' offset: 0 area: FLASH_AREA_BOOTLOADER extra_files: - '../../bin/readme.txt' - '../../bin/manifest.json' ``` All paths are relative to the mfg package. ``` $ newt mfg create mymfg 1.2.3 [...] Generated the following files: /home/me/mynewt/bin/mfgs/mymfg/manifest.json /home/me/mynewt/bin/mfgs/mymfg/mfgimg.bin /home/me/mynewt/bin/mfgs/mymfg/mfgimg.hex /home/me/mynewt/bin/mfgs/mymfg/raws/0/manifest.json /home/me/mynewt/bin/mfgs/mymfg/raws/0/myraw.bin /home/me/mynewt/bin/mfgs/mymfg/raws/0/readme.txt /home/me/mynewt/bin/mfgs/mymfg/targets/0/elf.elf /home/me/mynewt/bin/mfgs/mymfg/targets/0/image.hex /home/me/mynewt/bin/mfgs/mymfg/targets/0/image.img /home/me/mynewt/bin/mfgs/mymfg/targets/0/manifest.json ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
