projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Update micropeak quick start guide to note new boost detect
[fw/altos]
/
ao-tools
/
lib
/
ccdbg-rom.c
diff --git
a/ao-tools/lib/ccdbg-rom.c
b/ao-tools/lib/ccdbg-rom.c
index 71bed2200478b2f9b56a199f2a8e7a8ee87d523f..6e8e7378ef1a38f3c899e346b7fe851cb6b1e2be 100644
(file)
--- a/
ao-tools/lib/ccdbg-rom.c
+++ b/
ao-tools/lib/ccdbg-rom.c
@@
-19,10
+19,10
@@
#include "ccdbg.h"
uint8_t
#include "ccdbg.h"
uint8_t
-ccdbg_set_rom(struct ccdbg *dbg, struct hex_image *rom)
+ccdbg_set_rom(struct ccdbg *dbg, struct
ao_
hex_image *rom)
{
if (dbg->rom)
{
if (dbg->rom)
-
ccdbg
_hex_image_free(dbg->rom);
+
ao
_hex_image_free(dbg->rom);
dbg->rom = rom;
return 0;
}
dbg->rom = rom;
return 0;
}
@@
-30,7
+30,7
@@
ccdbg_set_rom(struct ccdbg *dbg, struct hex_image *rom)
uint8_t
ccdbg_rom_contains(struct ccdbg *dbg, uint16_t addr, int nbytes)
{
uint8_t
ccdbg_rom_contains(struct ccdbg *dbg, uint16_t addr, int nbytes)
{
- struct hex_image *rom = dbg->rom;
+ struct
ao_
hex_image *rom = dbg->rom;
if (!rom)
return 0;
if (addr < rom->address || rom->address + rom->length < addr + nbytes)
if (!rom)
return 0;
if (addr < rom->address || rom->address + rom->length < addr + nbytes)
@@
-42,7
+42,7
@@
uint8_t
ccdbg_rom_replace_xmem(struct ccdbg *dbg,
uint16_t addr, uint8_t *bytes, int nbytes)
{
ccdbg_rom_replace_xmem(struct ccdbg *dbg,
uint16_t addr, uint8_t *bytes, int nbytes)
{
- struct hex_image *rom = dbg->rom;
+ struct
ao_
hex_image *rom = dbg->rom;
if (!rom)
return 0;
if (!rom)
return 0;