SimAVR
AVR Simulator
ELF Support

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...
 

Detailed Description

An ELF file corresponds to the output of the AVR GCC linker.

Macro Definition Documentation

#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 Documentation

Function Documentation

void avr_load_firmware ( avr_t avr,
elf_firmware_t firmware 
)

Load the firmware to the AVR instance.

Here is the call graph for this function:

Here is the caller graph for this function:

int elf_read_firmware ( const char *  file,
elf_firmware_t firmware 
)

Read an ELF firmware.

Here is the call graph for this function:

Here is the caller graph for this function: