![]() |
Prusa Slicer 2.6.0
|
#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <time.h>#include "avrdude.h"#include "libavrdude.h"
Include dependency graph for update.c:Go to the source code of this file.
Functions | |
| UPDATE * | parse_op (char *s) |
| UPDATE * | dup_update (UPDATE *upd) |
| UPDATE * | new_update (int op, char *memtype, int filefmt, char *filename, unsigned section) |
| void | free_update (UPDATE *u) |
| int | do_op (PROGRAMMER *pgm, struct avrpart *p, UPDATE *upd, enum updateflags flags) |
| int do_op | ( | PROGRAMMER * | pgm, |
| struct avrpart * | p, | ||
| UPDATE * | upd, | ||
| enum updateflags | flags | ||
| ) |
References avr_dup_part(), avr_locate_mem(), avr_read(), avr_verify(), avr_write(), avrdude_message(), avrpart::desc, DEVICE_READ, DEVICE_VERIFY, DEVICE_WRITE, programmer_t::err_led, fileio(), update_t::filename, FIO_READ, FIO_WRITE, avrpart::flags, update_t::format, avrpart::mem, update_t::memtype, MSG_INFO, OFF, ON, update_t::op, pgm, progname, quell_progress, report_progress(), update_t::section, programmer_t::set_upload_size, programmer_t::type, UF_AUTO_ERASE, UF_NOWRITE, and programmer_t::vfy_led.
Referenced by avrdude_main().
Here is the call graph for this function:
Here is the caller graph for this function:References avrdude_oom(), update_t::filename, malloc(), and update_t::memtype.
Referenced by avrdude_main().
Here is the call graph for this function:
Here is the caller graph for this function:References update_t::filename, free(), and update_t::memtype.
Referenced by cleanup_main().
Here is the call graph for this function:
Here is the caller graph for this function:| UPDATE * new_update | ( | int | op, |
| char * | memtype, | ||
| int | filefmt, | ||
| char * | filename, | ||
| unsigned | section | ||
| ) |
References avrdude_oom(), update_t::filename, update_t::format, malloc(), update_t::memtype, update_t::op, and update_t::section.
Referenced by Slic3r::PresetUpdater::priv::get_config_updates().
Here is the call graph for this function:
Here is the caller graph for this function:| UPDATE * parse_op | ( | char * | s | ) |
References avrdude_message(), avrdude_oom(), DEVICE_READ, DEVICE_VERIFY, DEVICE_WRITE, update_t::filename, FMT_AUTO, FMT_BIN, FMT_DEC, FMT_ELF, FMT_HEX, FMT_IHEX, FMT_IMM, FMT_OCT, FMT_RBIN, FMT_SREC, update_t::format, free(), malloc(), update_t::memtype, MSG_INFO, update_t::op, progname, and update_t::section.
Referenced by avrdude_main().
Here is the call graph for this function:
Here is the caller graph for this function: