json field embedding
This commit is contained in:
parent
f049499637
commit
ba454ac99b
2 changed files with 19 additions and 4 deletions
|
@ -45,7 +45,7 @@ class RangeItemType(StructType):
|
|||
|
||||
|
||||
@dataclass
|
||||
class FirmwareAppDescription(StructType, no_c_type=True):
|
||||
class FirmwareAppDescription(StructType, existing_c_struct="esp_app_desc_t"):
|
||||
magic_word: int = field(metadata={"format": SimpleFormat('I')}, repr=False)
|
||||
secure_version: int = field(metadata={"format": SimpleFormat('I')})
|
||||
reserv1: list[int] = field(metadata={"format": SimpleFormat('2I')}, repr=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue