Skip to content

FreRTOS: initialization, memory management issues missing #19

@DRNadler

Description

@DRNadler
  1. Except for very low-level stuff, most initialization should be done in primary task, and not before starting scheduler. Otherwise, initialization code will be difficult without some OS facilities already available (delay etc.), ISRs might get started before queues are available, etc.
  2. You're using malloc and friends wheteher you like it or not (typical newlib use with GCC arm toolchain for example). So you need to make sure you have properly implemented sbrk, etc. See newlib and FreeRTOS for details and FreeRTOS Helpers for code.

Let me know if I should create a pull request...
Thanks,
Best Regards, Dave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions