diff options
| author | Keith Packard <keithp@keithp.com> | 2013-03-24 15:33:31 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-07 20:16:52 -0700 |
| commit | c9ba2d17b979410acfa41f9954674757f7f321fc (patch) | |
| tree | 26f1aa51c08354b056d81f0235a02db92ae834f4 /ao-tools/ao-stmload/ao-elf.h | |
| parent | 1f30b1f14dbab6e6ea94177e459c80732e31e433 (diff) | |
ao-tools/ao-stmload: Fix ELF, add IHX, add self-flashing
This splits loading into ELF and IHX paths, and splits flashing into
stlink and self-flashing paths.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-stmload/ao-elf.h')
| -rw-r--r-- | ao-tools/ao-stmload/ao-elf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ao-tools/ao-stmload/ao-elf.h b/ao-tools/ao-stmload/ao-elf.h new file mode 100644 index 00000000..4303d5ca --- /dev/null +++ b/ao-tools/ao-stmload/ao-elf.h @@ -0,0 +1,24 @@ +/* + * Copyright © 2013 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +#ifndef _AO_ELF_H_ +#define _AO_ELF_H_ + +struct hex_image * +ao_load_elf(char *name); + +#endif |
