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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.14.0] - 2025-12-03

### Added

- Add `ledger.app_flags` section extraction from app.elf


## [0.13.0] - 2025-11-24

### Fixed
Expand Down
1 change: 1 addition & 0 deletions src/ledgered/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Sections(Jsonable):
target_id: Optional[str] = None
target_name: Optional[str] = None
target_version: Optional[str] = None
app_flags: Optional[str] = None

def __str__(self) -> str:
return "\n".join(f"{key} {value}" for key, value in sorted(asdict(self).items()))
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/test_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def setUp(self):
"target_id": "target_id",
"target_name": "target_name",
"target_version": "target_version",
"app_flags": "app_flags",
}

def test___init__empty(self):
Expand All @@ -40,6 +41,7 @@ def test___init__empty(self):
self.assertIsNone(sections.target_id)
self.assertIsNone(sections.target_name)
self.assertIsNone(sections.target_version)
self.assertIsNone(sections.app_flags)

def test___str__(self):
sections = B.Sections(**self.inputs)
Expand Down
Loading