Re: Can Mynewt OS and BLE stack be run without the most highest priority interrupt?

2016-11-07 Thread WangJiacheng
Hi, Will, Thanks for your help, The reason of nRF require high priority interrupts is that, from the point of view of phone side, the nRF is a proxy of SIM card, it should be always ready to receive phone command (UICC-terminal interface command). The arriving time of this phone command can

Re: Can Mynewt OS and BLE stack be run without the most highest priority interrupt?

2016-11-07 Thread will sanfilippo
Hello: Yes, you can adjust interrupt priorities. With the develop branch of mynewt you can adjust the priority for any interrupt. By default, the radio uses the highest priority interrupt (0) for both the nrf51 and nrf52. If you need the two highest priority interrupts you can do that; you

Can Mynewt OS and BLE stack be run without the most highest priority interrupt?

2016-11-07 Thread WangJiacheng
Hi, I’m working on a personal project and need some help from the community, since I just start to know Mynewt recently and not familiar with it. The project is about wireless SIM interface, this is a quite new concept, let’s give more words here. Each mobile phone has an IC card called SIM

Re: How to link the thirdparty library such as .a file into myproject?

2016-11-07 Thread ??????
I have to add this line to my pkg.xml: pkg.lflags: /workspace/hw/mcu/synochip/as568/src/as568_romfunc.a /workspace/hw/mcu/synochip/as568/src/as568_crypto.a Seems that works for me, but i'm not sure is that really OK? xiangstu...@qq.com

Re: os_events manamgnent

2016-11-07 Thread aditi hilbert
+1 > I'm now not suggesting change what's in the core, instead, perhaps make > available a simple struct wrapper and support functions/macros as > 'codified' best practice of this pattern. > I can take a look at creating a PR once I've seen the latest Event API and > am closer to the v1.0

Re: How to link the thirdparty library such as .a file into myproject?

2016-11-07 Thread marko kiiskila
> On Nov 7, 2016, at 8:42 AM, Kevin Townsend wrote: > > >> Hi, >> >> I don’t think that is possible at the moment. That needs to be added, >> as the unfortunate reality is that too often we end up getting binary >> drops of libraries :( > A big +1 for this ... sadly, most

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread Christopher Collins
On Mon, Nov 07, 2016 at 09:45:48AM -0800, marko kiiskila wrote: > > On Nov 7, 2016, at 8:43 AM, Christopher Collins wrote: > > Is there a particular reason that you would prefer this? By my reading > > of the standard, using angled-brackets for this purpose contradicts > >

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread marko kiiskila
> On Nov 7, 2016, at 8:43 AM, Christopher Collins wrote: > > On Mon, Nov 07, 2016 at 08:08:14AM -0800, marko kiiskila wrote: >> Good idea to write this down. >> >> I’d also like to include header files from other packages to be in the >> group included with angle brackets.

Re: [PATCH] mcu/nordic/nrf52xxx: Fix for nrf52dk startup crash

2016-11-07 Thread will sanfilippo
Yes Lukasz, I know it does not appear when you build only when you try to run it. We will merge the pull request and all should be good. Will > On Nov 7, 2016, at 7:43 AM, Łukasz Rymanowski > wrote: > > Hi Will, > > The issue is not visible during build time

Re: How to link the thirdparty library such as .a file into myproject?

2016-11-07 Thread Kevin Townsend
Hi, I don’t think that is possible at the moment. That needs to be added, as the unfortunate reality is that too often we end up getting binary drops of libraries :( A big +1 for this ... sadly, most graphics libraries, complex protocol stacks and a lot of security code is delivered in binary

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread Christopher Collins
On Mon, Nov 07, 2016 at 08:08:14AM -0800, marko kiiskila wrote: > Good idea to write this down. > > I’d also like to include header files from other packages to be in the > group included with angle brackets. > Then “header.h” means local and is for non-local. Is there a particular reason that

Re: How to link the thirdparty library such as .a file into myproject?

2016-11-07 Thread marko kiiskila
Hi, I don’t think that is possible at the moment. That needs to be added, as the unfortunate reality is that too often we end up getting binary drops of libraries :( > On Nov 7, 2016, at 2:02 AM, xiangstu...@qq.com wrote: > > Hello, everyone, my question as the subject describe, can anyone help

Re: Angled-brackets vs. quotes in #include directives

2016-11-07 Thread marko kiiskila
Good idea to write this down. I’d also like to include header files from other packages to be in the group included with angle brackets. Then “header.h” means local and is for non-local. > On Nov 4, 2016, at 6:01 PM, Sterling Hughes wrote: > > > > On 4 Nov 2016, at

Re: Connect timeout not always accurate

2016-11-07 Thread Christopher Collins
Hello all, Will found a bug in the host, which is probably (hopefully!) the only bug here. I plan on testing and committing a fix for this bug later today. In the meantime, here is the bug: /* (ble_hs_heartbeat_sched(), ble_hs.c) */ /* Reset heartbeat timer if it is not currently

Re: [PATCH] mcu/nordic/nrf52xxx: Fix for nrf52dk startup crash

2016-11-07 Thread Łukasz Rymanowski
Hi Will, The issue is not visible during build time but on a platform startup. I believe that Michal's patch solves this issue so let's apply this patch using git am or accept pull request he has prepared. Best regards, Lukasz On Nov 7, 2016 4:12 PM, "will sanfilippo" wrote:

Re: newt and newtmgr versions

2016-11-07 Thread Kevin Townsend
Hi Sterling, I'm just migrating over to develop for mynewt-core and the newt tools repos, and noticed the following after updating the command line tools from develop: - 'newt version' -> returns 0.9.0 in develop, this should probably be 0.10.0 to verify that you are using something

Re: [PATCH] mcu/nordic/nrf52xxx: Fix for nrf52dk startup crash

2016-11-07 Thread will sanfilippo
Hey all: Sorry about this. I think my build found the startup file somewhere but what is in develop doesnt. We will address this today. Thanks, and sorry. Will > On Nov 7, 2016, at 6:13 AM, Michał Narajowski > wrote: > > Also sent a pull request. > >

Re: [PATCH] mcu/nordic/nrf52xxx: Fix for nrf52dk startup crash

2016-11-07 Thread Michał Narajowski
Also sent a pull request. 2016-11-07 14:15 GMT+01:00 Michał Narajowski : > With this patch it is possible to start nrf52dk board. > Regression observed after patch: > 290c683 MYNEWT-475: BSP Cleanup > --- > .../src/arch/cortex_m4/gcc_startup_nrf52.s | 289

Re: newt and newtmgr versions

2016-11-07 Thread David G. Simmons
> On Nov 7, 2016, at 6:15 AM, Sterling Hughes wrote: > > Hi Kevin, > > On 7 Nov 2016, at 9:02, Kevin Townsend wrote: > >> I'm just migrating over to develop for mynewt-core and the newt tools repos, >> and noticed the following after updating the command line tools from

[PATCH] mcu/nordic/nrf52xxx: Fix for nrf52dk startup crash

2016-11-07 Thread Michał Narajowski
With this patch it is possible to start nrf52dk board. Regression observed after patch: 290c683 MYNEWT-475: BSP Cleanup --- .../src/arch/cortex_m4/gcc_startup_nrf52.s | 289 + .../src/arch/cortex_m4/gcc_startup_nrf52_split.s | 150 +++

Re: newt and newtmgr versions

2016-11-07 Thread Sterling Hughes
Hi Kevin, On 7 Nov 2016, at 9:02, Kevin Townsend wrote: I'm just migrating over to develop for mynewt-core and the newt tools repos, and noticed the following after updating the command line tools from develop: - 'newt version' -> returns 0.9.0 in develop, this should probably be 0.10.0 to

Re: os_events manamgnent

2016-11-07 Thread Wayne Keenan
Thanks Chris, On 4 November 2016 at 18:11, Christopher Collins wrote: > Hi Wayne, > > Good question. I'll address the specifics below, but I should mention > that OS event handling has undergone some fairly major changes in recent > days. Later today, I will send a follow

How to link the thirdparty library such as .a file into myproject?

2016-11-07 Thread xiangstu...@qq.com
Hello, everyone, my question as the subject describe, can anyone help me, thanks! xiangstu...@qq.com