Skip to content

Commit df97079

Browse files
Add ledger.app_flags section extraction from app.elf
1 parent 7bfe431 commit df97079

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.14.0] - 2025-12-03
9+
10+
### Added
11+
12+
- Add `ledger.app_flags` section extraction from app.elf
13+
14+
815
## [0.13.0] - 2025-11-24
916

1017
### Fixed

src/ledgered/binary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class Sections(Jsonable):
2626
target_id: Optional[str] = None
2727
target_name: Optional[str] = None
2828
target_version: Optional[str] = None
29+
app_flags: Optional[str] = None
2930

3031
def __str__(self) -> str:
3132
return "\n".join(f"{key} {value}" for key, value in sorted(asdict(self).items()))

tests/unit/test_binary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def setUp(self):
2323
"target_id": "target_id",
2424
"target_name": "target_name",
2525
"target_version": "target_version",
26+
"app_flags": "app_flags",
2627
}
2728

2829
def test___init__empty(self):
@@ -40,6 +41,7 @@ def test___init__empty(self):
4041
self.assertIsNone(sections.target_id)
4142
self.assertIsNone(sections.target_name)
4243
self.assertIsNone(sections.target_version)
44+
self.assertIsNone(sections.app_flags)
4345

4446
def test___str__(self):
4547
sections = B.Sections(**self.inputs)

0 commit comments

Comments
 (0)