Re: [RFC] Mesh uses multi advertising instances.

2018-04-02 Thread Aditya Xavier
Hi Łukasz, Any pointers, as to what needs to be implemented from the blemesh_shell app ? Thanks, Aditya Xavier. > On 02-Apr-2018, at 11:34 PM, Łukasz Rymanowski > wrote: > > Second thought > > Aditya, > Since I did not test it a lot, would it be possible to

Re: os data.core memory section

2018-04-02 Thread markus
Hey Will, thanks for the background - much appreciated. I did indeed need the additional memory to store a time series generated at high frequencies, so offloading wasn't an option. I solved it by storing some of the time series in CCM memory, which is probably the better solution anyway. Given

Re: os data.core memory section

2018-04-02 Thread Fabio Utzig
On Mon, Apr 2, 2018, at 4:42 PM, markus wrote: > On Mon, 02 Apr 2018 14:16:54 -0300 > Fabio Utzig wrote: > > > Both > > > > hw/mcu/stm/stm32f7xx/stm32f767.ld > > hw/mcu/stm/stm32f4xx/stm32f407.ld > > > > already define the stack on CCM (called DTCM on the F7xx). Am I > >

Re: os data.core memory section

2018-04-02 Thread markus
On Mon, 02 Apr 2018 14:16:54 -0300 Fabio Utzig wrote: > Both > > hw/mcu/stm/stm32f7xx/stm32f767.ld > hw/mcu/stm/stm32f4xx/stm32f407.ld > > already define the stack on CCM (called DTCM on the F7xx). Am I > missing something here? It might be me who's missing something (most

Re: [RFC] Mesh uses multi advertising instances.

2018-04-02 Thread Łukasz Rymanowski
Hi Aditya. On Mon, Apr 2, 2018, 19:14 Aditya Xavier wrote: > Hi Łukasz, > > Is there anything special required to get this working along with BLE ? > For e.g. would the btshell app code for ADV_EXT work along with mesh with > the provided patches ? > In addition to

Re: os data.core memory section

2018-04-02 Thread will sanfilippo
Markus: I presume you are referring to these definitions: #define sec_data_core __attribute__((section(".data.core"))) #define sec_bss_core__attribute__((section(".bss.core"))) #define sec_bss_nz_core __attribute__((section(".bss.core.nz"))) As far as I know there is no real magic here

Re: os data.core memory section

2018-04-02 Thread Fabio Utzig
Both hw/mcu/stm/stm32f7xx/stm32f767.ld hw/mcu/stm/stm32f4xx/stm32f407.ld already define the stack on CCM (called DTCM on the F7xx). Am I missing something here? On Mon, Apr 2, 2018, at 2:15 PM, Christopher Collins wrote: > Hi Markus, > > On Sat, Mar 31, 2018 at 04:02:05PM -0700, markus wrote:

Re: [RFC] Mesh uses multi advertising instances.

2018-04-02 Thread Aditya Xavier
Hi Łukasz, Is there anything special required to get this working along with BLE ? For e.g. would the btshell app code for ADV_EXT work along with mesh with the provided patches ? Mesh and BLE seems to compile however, am currently unable to get Mesh working. Also, any reason why this was not

Re: os data.core memory section

2018-04-02 Thread Christopher Collins
Hi Markus, On Sat, Mar 31, 2018 at 04:02:05PM -0700, markus wrote: > I looked into moving the stack into the CCM memory of the stm32 > mcu's - and although almost every linker script defines ".data.core" > sections and there are some defines in bsp.h's for section > attributes they don't seem to

Re: [GitHub] sdalu opened a new issue #985: Building Lora with SPI > 0

2018-04-02 Thread will sanfilippo
I think this is just some legacy code. At least, I cannot see any restrictions in the code that would necessitate spi 0 being used. I do seem to recall there being a reason for this but as far as I can tell it is no longer needed. > On Apr 2, 2018, at 2:15 AM, GitBox wrote: >