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/03/02 11:04:30 UTC

[GitHub] [mynewt-core] brianwyld commented on issue #2138: Add possibility to configure idle task stack size in syscfg.yml

brianwyld commented on issue #2138: Add possibility to configure idle task stack size in syscfg.yml
URL: https://github.com/apache/mynewt-core/pull/2138#issuecomment-593347993
 
 
   > @brianwyld that's why I suggested it should be configured by either MCU or BSP. OS code can e.g. include some file from BSP where proper definitions can be expected. I did not look through the code to see what is the best way to do this now, perhaps we need to add something.
   
   So, I'm trying to find a place to set OS_IDLE_STACK_SIZE linked to the case where we want to ask the BSP to take actions pre/post entry to os_tick_idle() [to power off external peripherals for example]
   But this needs to be including a file from BSP as only the BSP knows what code its going to have to call (and hence what impact on the stack will be). 
   Is it legitimate to include <bsp_defs.h> from the BPSs in os.c after assert.h (so it can set OS_IDLE_STACK_SIZE to override the value in arch/common.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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services