Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase background stack size to fix overflow #4563

Merged
merged 3 commits into from Jun 19, 2017

Commits on Jun 14, 2017

  1. Increase background stack size to fix overflow

    Bump the background stack size to 512 bytes to fix stack overflows on
    the NRF52 and so it is the same size as it was before the switch to
    RTX5.
    c1728p9 committed Jun 14, 2017
    Copy the full SHA
    fc18250 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. RTOS: Allow per target definition of OS_IDLE_THREAD_STACK_SIZE.

    The stack required for the idle thread is highly dependent on the
    target because it will call the sleep function which is target
    specific.
    
    While 256 bytes of stack is enough for most targets, others like the
    NRF52840 might require more.
    
    With this change, target maintainers can specify the idle thread stack
    size in their mbed_rtx.h file.
    pan- committed Jun 16, 2017
    Copy the full SHA
    fd7eff2 View commit details
    Browse the repository at this point in the history
  2. NRF52840: Adjust idle thread stack size.

    A stack size of 256 bytes is not enough on the NRF52840, this patch
    changes it to a size of 512 bytes.
    pan- committed Jun 16, 2017
    Copy the full SHA
    970ee38 View commit details
    Browse the repository at this point in the history