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 2021/10/05 13:30:12 UTC

[GitHub] [mynewt-nimble] gavin-yy opened a new issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

gavin-yy opened a new issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046


   hello,
       Can i build mynewt-nimble for linux platform by newt commands ? When i am trying to create a target (for blehr), If i set the target.bsp field as 'bsp/native' in the target.yml, it requires a ble driver ?
       The demo on linux can only be built by makefile under apache-mynewt-nimble/porting/examples/linux currently. 
   


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] gavin-yy commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
gavin-yy commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-938275054


   the page you posted didn't answer this question. 
   No instruction was found to build image running on linux platform, since the target of the nimble-core didn't contain linux target yet.


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] gavin-yy commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
gavin-yy commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-938454052


   Thanks, i see.
   so we should build linux port just by makefile, as suggested by README.md .
   


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] sjanc commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-938456141


   Yes, although you may tune configuration by editing include/syscfg/syscfg.h


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] gavin-yy commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
gavin-yy commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-938338377


   tried method1: 
   ```shell
   newt build -l DEBUG  @apache-mynewt-nimble/porting/targets/linux
   repos/apache-mynewt-core/kernel/os/include/os/os_time.h:65:10: fatal error: os/os_arch.h: No such file or directory
   ~~ missing many files after fix some marco defines.
   ```
   method2:
   ```
   change apache-mynewt-nimble/porting/targets/linux/target.yml to:
   target.app: "porting/targets/dummy_app"
   target.bsp: "@apache-mynewt-core/hw/bsp/native"
   target.build_profile: "debug"
   
   newt build -l DEBUG  @apache-mynewt-nimble/porting/targets/linux
   dummy app didn't building porting/npl/linux files, the ble feature is not really available.
   ```
   so i think the linux porting missed mewt package defines. It should be added.  and a runable demo should be created base on porting/example/linux if we want to build it by newt commands (currently it can be built by makefile and works fine).
   


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] sjanc commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-938440630


   newt is tool for building Mynewt RTOS and thus it is not used for building NimBLE linux port.
   
   Note that NimBLE linux port is host only ie. there is no controller and no radio driver being built.


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] sjanc commented on issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046#issuecomment-936061731


   Hello,
   
   This was answered on ML, wasn't it?
   
   https://lists.apache.org/thread.html/ra5c42ee587f89c936775c58c0bfc4f94900820a33664dd93058a9d87%40%3Cdev.mynewt.apache.org%3E


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] sjanc closed issue #1046: How to build mynewt-nimble for linux platform by newt commands ?

Posted by GitBox <gi...@apache.org>.
sjanc closed issue #1046:
URL: https://github.com/apache/mynewt-nimble/issues/1046


   


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

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org