#3480 closed defect (fixed)
CONFIGURE_MINIMUM_TASK_STACK_SIZE may affect CONFIGURE_INTERRUPT_STACK_SIZE
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | config | Version: | 5 |
Severity: | normal | Keywords: | qualification |
Cc: | Blocked By: | ||
Blocking: |
Description
In case an application defines CONFIGURE_MINIMUM_TASK_STACK_SIZE, then this may change the CONFIGURE_INTERRUPT_STACK_SIZE as well:
#ifndef CONFIGURE_INTERRUPT_STACK_SIZE #ifdef BSP_INTERRUPT_STACK_SIZE #define CONFIGURE_INTERRUPT_STACK_SIZE BSP_INTERRUPT_STACK_SIZE #else #define CONFIGURE_INTERRUPT_STACK_SIZE CONFIGURE_MINIMUM_TASK_STACK_SIZE #endif #endif
I think this is not what a user expects.
Change History (5)
comment:1 Changed on 07/30/18 at 05:57:30 by Sebastian Huber
comment:2 Changed on 07/30/18 at 05:58:03 by Sebastian Huber
Owner: | set to Sebastian Huber |
---|---|
Status: | new → assigned |
comment:3 Changed on 10/24/18 at 05:03:10 by Sebastian Huber <sebastian.huber@…>
comment:4 Changed on 10/25/18 at 04:43:01 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 24b5807/rtems:
comment:5 Changed on 06/23/21 at 07:16:03 by Sebastian Huber
Keywords: | qualification added |
---|
Note: See
TracTickets for help on using
tickets.
This behaviour is more or less documented:
https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#configure-interrupt-stack-size
The documentation doesn't mention that BSP_INTERRUPT_STACK_SIZE is involved too.