#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "srec.h"
Go to the source code of this file.
Defines | |
#define | IMAGE_START 0x8000 |
#define | IMAGE_MAXLEN 0x4000 |
Functions | |
int | srec_load (char *name, unsigned char *image, int maxlen, unsigned short *start) |
char * | basename (char *path) |
char * | build_image_name (char *dst, char *src) |
int | main (int argc, char **argv) |
the user main() |
|
|
|
|
|
Definition at line 138 of file mkimg.c. Referenced by build_image_name(), and main(). |
|
Definition at line 144 of file mkimg.c. References basename(). Referenced by main(). |
|
the user main()
Definition at line 162 of file mkimg.c. References basename(), build_image_name(), exit(), IMAGE_MAXLEN, and srec_load(). |
|
Definition at line 49 of file mkimg.c. References srec_t::addr, srec_t::count, srec_t::data, exit(), IMAGE_MAXLEN, IMAGE_START, memcpy(), memset(), srec_decode(), srec_strerror(), and srec_t::type. Referenced by main(). |