Skip to content

Question on MBED_BOOT_STACK_SIZE #10319

@jeromecoutant

Description

@jeromecoutant

Description

Question started with #10313 (comment)

Seen in https://os.mbed.com/docs/mbed-os/latest/porting/porting-bootstrap.html

#if !defined(MBED_BOOT_STACK_SIZE)
/* This value is normally defined by the tools to 0x1000 for bare metal and 0x400 for RTOS */
  #define MBED_BOOT_STACK_SIZE  0x400
#endif

Even if RTOS is enabled, MBED_BOOT_STACK_SIZE will not be updated.
MBED_CONF_TARGET_BOOT_STACK_SIZE is created

See in mbed_config.h:
#define MBED_CONF_TARGET_BOOT_STACK_SIZE 0x400 // set by library:rtos[*]

@0xc0170
@SenRamakri

Issue request type

[x] Question
[ ] Enhancement
[ ] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions