Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions riscv-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- Fix undefined behavior in heap initialization example documentation
- Fix stack allocation algorithm for multi-core targets without M extension

## [v0.16.0] - 2025-09-08
Expand Down
2 changes: 1 addition & 1 deletion riscv-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
//! fn main() {
//! unsafe {
//! let heap_bottom = riscv_rt::heap_start() as usize;
//! let heap_size = &_heap_size as *const u8 as usize;
//! let heap_size = core::ptr::addr_of!(_heap_size) as usize;
//! some_allocator::initialize(heap_bottom, heap_size);
//! }
//! }
Expand Down