Support using more than one memory region

Open
#83 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
embedded-iot

Research direction

Start by tracing how Heap is initialized and how the allocator currently receives a single memory region, then compare that with the ESP32 linker regions dram_seg and dram2_seg used through esp-hal. Done means one Heap can use both regions, or more regions if supported, without requiring users to configure multiple heaps.

Written by the indexing model from the issue text.

Description

help wanted

The ESP32 (using esp-hal) has two memory regions that are usable, in the linker scripts as dram_seg and dram2_seg. Currently, this dram2_seg is unusable unless a user is to setup multiple heaps which is annoying to use. Can support be added to allow one Heap to both (or even more) regions of memory?

Dominant language
Rust
Stars
242
Forks
56
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-osdev/linked-list-allocator

All issues in rust-osdev/linked-list-allocator

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.