projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Add TeleMini eeprom file to Makefile.am
[fw/altos]
/
ao-tools
/
lib
/
ccdbg.h
diff --git
a/ao-tools/lib/ccdbg.h
b/ao-tools/lib/ccdbg.h
index 4a2e3b9f00c9222118f93386024a206d06ab5ffd..a27ff5d1c9c664368b3f12a0cf3128389339ca4e 100644
(file)
--- a/
ao-tools/lib/ccdbg.h
+++ b/
ao-tools/lib/ccdbg.h
@@
-122,8
+122,8
@@
struct hex_file {
};
struct hex_image {
};
struct hex_image {
- uint
16
_t address;
- uint
16
_t length;
+ uint
32
_t address;
+ uint
32
_t length;
uint8_t data[0];
};
uint8_t data[0];
};
@@
-253,12
+253,15
@@
ccdbg_hex_image_create(struct hex_file *hex);
void
ccdbg_hex_image_free(struct hex_image *image);
void
ccdbg_hex_image_free(struct hex_image *image);
+struct hex_image *
+ccdbg_hex_load(char *filename);
+
int
ccdbg_hex_image_equal(struct hex_image *a, struct hex_image *b);
/* ccdbg-io.c */
struct ccdbg *
int
ccdbg_hex_image_equal(struct hex_image *a, struct hex_image *b);
/* ccdbg-io.c */
struct ccdbg *
-ccdbg_open(
void
);
+ccdbg_open(
char *tty
);
void
ccdbg_close(struct ccdbg *dbg);
void
ccdbg_close(struct ccdbg *dbg);