Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ElfFileSimple Class Reference
Inherits elftools::elf::elffile::ELFFile.
Public Member Functions | |
def | __init__ |
def | read |
Detailed Description
Wrapper for elf object which allows easy access to symbols and rom
Definition at line 312 of file flash_algo/__init__.py.
Constructor & Destructor Documentation
def __init__ | ( | self, | |
data | |||
) |
Construct a ElfFileSimple from bytes or a bytearray
Definition at line 315 of file flash_algo/__init__.py.
Member Function Documentation
def read | ( | self, | |
addr, | |||
size | |||
) |
Read program data from the elf file :param addr: physical address (load address) to read from :param size: number of bytes to read :return: Requested data or None if address is unmapped
Definition at line 338 of file flash_algo/__init__.py.
Generated on Tue Jul 12 2022 12:22:57 by
