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/05/06 20:59:27 UTC

[GitHub] [mynewt-newt] ccollins476ad commented on issue #399: Question on how to follow mynewt development process the right way.

ccollins476ad commented on issue #399:
URL: https://github.com/apache/mynewt-newt/issues/399#issuecomment-624887989


   > What is the correct way to create a bsp for my own board? I think I should copy an example bsp and change the values to fit my board (add pwm, set io's ...), correct?
   
   You might find this helpful: http://mynewt.apache.org/latest/os/core_os/porting/port_bsp.html.  Copying an existing BSP is also a reasonable way to go about doing this.
   
   > How to maintain my project? newt downloads the a specific version to my repo, should I apply changes to this repo? I normally fork projects form Github, crate my own branch and apply changes to it in order to update to latest master when required. But I do not really understand how to correctly develop code for newt/nimble.
   
   Creating a fork+branch is a good way to do it.  Then modify your project.yml file so that it specifies your fork+branch.  For example:
   
   ```
   repository.apache-mynewt-nimble:
       type: git
       vers: '<branch-name>-commit'
       url: "git@github.com:NilsMinor/mynewt-nimble.git"
   ```
   
   When you run `newt upgrade`, newt will checkout the specified branch from your nimble fork.


----------------------------------------------------------------
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