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

Implement basic rand() #6998

Merged
merged 3 commits into from
May 21, 2021
Merged

Implement basic rand() #6998

merged 3 commits into from
May 21, 2021

Commits on May 20, 2021

  1. Implement basic rand()

    Disabled shadowing of the FreeRTOS config by the DMM header.
    Implemented a basic PRNG for ctor startup.
    
    The global initialization of the global message counter struct in
    `src/transport/MessageCounter.h` results in a call to the C standard library
    function `rand()` from a C++ ctor. This results in a call to pvPortMalloc,
    causing a hard fault with the current buffer implementation.
    srickardti committed May 20, 2021
    Configuration menu
    Copy the full SHA
    a8007d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8939768 View commit details
    Browse the repository at this point in the history
  3. Update src/platform/cc13x2_26x2/Random.c

    Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
    woody-apple and bzbarsky-apple authored May 20, 2021
    Configuration menu
    Copy the full SHA
    05a2a09 View commit details
    Browse the repository at this point in the history