SimAVR
AVR Simulator
|
An ELF file corresponds to the output of the AVR GCC linker. More...
Data Structures | |
struct | elf_firmware_t |
Macros | |
#define | ELF_SYMBOLS 1 |
#define | AVR_SEGMENT_OFFSET_FLASH 0 |
These are the addresses the gnu linker uses to "fake" a non-Harvard addressing space for the AVR. More... | |
#define | AVR_SEGMENT_OFFSET_EEPROM 0x00810000 |
Typedefs | |
typedef struct elf_firmware_t | elf_firmware_t |
Functions | |
int | elf_read_firmware (const char *file, elf_firmware_t *firmware) |
Read an ELF firmware. More... | |
void | avr_load_firmware (avr_t *avr, elf_firmware_t *firmware) |
Load the firmware to the AVR instance. More... | |
An ELF file corresponds to the output of the AVR GCC linker.
#define AVR_SEGMENT_OFFSET_EEPROM 0x00810000 |
#define AVR_SEGMENT_OFFSET_FLASH 0 |
These are the addresses the gnu linker uses to "fake" a non-Harvard addressing space for the AVR.
#define ELF_SYMBOLS 1 |
typedef struct elf_firmware_t elf_firmware_t |
void avr_load_firmware | ( | avr_t * | avr, |
elf_firmware_t * | firmware | ||
) |
Load the firmware to the AVR instance.
int elf_read_firmware | ( | const char * | file, |
elf_firmware_t * | firmware | ||
) |
Read an ELF firmware.