You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/04/28 00:55:32 UTC

[GitHub] [mynewt-newt] ccollins476ad opened a new pull request #396: `--imgfile` and `--elffile` options

ccollins476ad opened a new pull request #396:
URL: https://github.com/apache/mynewt-newt/pull/396


   This PR adds two command line options:
   
   ---
   
   #### newt load: --imgfile
   
   This option allows the user to specify the .img file to load onto the device.  If the option is unspecified, newt loads the image file from the target's bin directory as before.
   
   ---
   
   #### newt debug: --elffile
   
   This option allows the user to specify the .elf file to load into gdb.  If the option is unspecified, newt uses the .elf file from the target's bin directory as before.
   
   ---
   
   These changes are limited in a few ways:
   1. `--imgfile` is not compatible with split images.  Newt will abort the load operation in this case.
   2. Neither of these options were added to the `run` command.  The point of `run` is to build, load, and debug the image just built, so these options didn't seem very useful here.  Also, the implementation would have been a bit convoluted since the user would have to specify neither or both or these options for them to make sense.


----------------------------------------------------------------
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:
users@infra.apache.org