@@ -58,7 +58,7 @@ int main(const int argc, const char **argv) {
5858
5959 /* ignoring checks for this example * /
6060 vmcu_model_t * m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
61- vmcu_report_t * report = vmcu_analyze_ihex ("file.hex", m328p);
61+ vmcu_report_t * report = vmcu_analyze_file ("file.hex", m328p);
6262
6363 for(uint32_t i = 0; i < report->cfg->used; i++) {
6464
@@ -127,7 +127,7 @@ int main(const int argc, const char **argv) {
127127
128128 /* ignoring checks for this example * /
129129 vmcu_model_t * m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
130- vmcu_report_t * report = vmcu_analyze_ihex ("file.hex ", m328p);
130+ vmcu_report_t * report = vmcu_analyze_file ("file.srec ", m328p);
131131
132132 for(uint32_t i = 0; i < report->progsize; i++) {
133133
@@ -161,7 +161,7 @@ int main(const int argc, const char **argv) {
161161
162162 /* ignoring checks for this example */
163163 vmcu_model_t *m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
164- vmcu_report_t *report = vmcu_analyze_ihex ("file.hex", m328p);
164+ vmcu_report_t *report = vmcu_analyze_file ("file.hex", m328p);
165165
166166 for(uint32_t i = 0; i < report->progsize; i++) {
167167
@@ -195,7 +195,7 @@ int main(const int argc, const char **argv) {
195195
196196 /* ignoring checks for this example */
197197 vmcu_model_t *m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
198- vmcu_report_t *report = vmcu_analyze_ihex ("file.hex", m328p);
198+ vmcu_report_t *report = vmcu_analyze_file ("file.hex", m328p);
199199
200200 for(uint32_t i = 0; i < report->n_vector; i++) {
201201
@@ -237,7 +237,7 @@ int main(const int argc, const char **argv) {
237237
238238 /* ignoring checks for this example * /
239239 vmcu_model_t * m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
240- vmcu_report_t * report = vmcu_analyze_ihex ("file.hex", m328p);
240+ vmcu_report_t * report = vmcu_analyze_file ("file.hex", m328p);
241241
242242 for(uint32_t i = 0; i < report->n_label; i++) {
243243
@@ -287,7 +287,7 @@ int main(const int argc, const char **argv) {
287287
288288 /* ignoring checks for this example */
289289 vmcu_model_t *m328p = vmcu_model_ctor(VMCU_DEVICE_M328P);
290- vmcu_report_t *report = vmcu_analyze_ihex ("file.hex", m328p);
290+ vmcu_report_t *report = vmcu_analyze_file ("file.hex", m328p);
291291
292292 for(uint32_t i = 0; i < report->n_sfr; i++) {
293293
@@ -510,7 +510,7 @@ take a look at engine/*/arch/
510510
511511- [ ] format reader
512512 - [x] intel hex
513- - [ ] motorola hex
513+ - [x ] motorola hex
514514 - [ ] bin
515515 - [ ] elf
516516
0 commit comments