![]() |
Prusa Slicer 2.6.0
|
#include "ac_cfg.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <ctype.h>#include <unistd.h>#include "avrdude.h"#include "libavrdude.h"#include "butterfly.h"
Include dependency graph for butterfly.c:Go to the source code of this file.
Classes | |
| struct | pdata |
Macros | |
| #define | PDATA(pgm) ((struct pdata *)(pgm->cookie)) |
| #define | IS_BUTTERFLY_MK 0x0001 |
Variables | |
| const char | butterfly_desc [] = "Atmel Butterfly evaluation board; Atmel AppNotes AVR109, AVR911" |
| const char | butterfly_mk_desc [] = "Mikrokopter.de Butterfly" |
| #define IS_BUTTERFLY_MK 0x0001 |
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), programmer_t::fd, filedescriptor::ifd, pgm, and serial_close.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References butterfly_leave_prog_mode(), and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
References programmer_t::fd, pgm, and serial_drain.
Referenced by butterfly_initialize(), and butterfly_open().
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), and pgm.
Referenced by butterfly_initialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
References avrdude_message(), butterfly_drain(), butterfly_enter_prog_mode(), butterfly_recv(), butterfly_send(), butterfly_vfy_cmd_sent(), programmer_t::flag, IS_BUTTERFLY_MK, MSG_INFO, PDATA, pgm, progname, usleep(), and verbose.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:| void butterfly_initpgm | ( | PROGRAMMER * | pgm | ) |
References butterfly_chip_erase(), butterfly_close(), butterfly_disable(), butterfly_display(), butterfly_enable(), butterfly_err_led(), butterfly_initialize(), butterfly_open(), butterfly_page_erase(), butterfly_paged_load(), butterfly_paged_write(), butterfly_pgm_led(), butterfly_powerdown(), butterfly_powerup(), butterfly_program_enable(), butterfly_rdy_led(), butterfly_read_byte(), butterfly_read_sig_bytes(), butterfly_setup(), butterfly_teardown(), butterfly_vfy_led(), butterfly_write_byte(), programmer_t::chip_erase, programmer_t::close, programmer_t::disable, programmer_t::display, programmer_t::enable, programmer_t::err_led, programmer_t::flag, programmer_t::initialize, programmer_t::open, programmer_t::page_erase, programmer_t::paged_load, programmer_t::paged_write, pgm, programmer_t::pgm_led, programmer_t::powerdown, programmer_t::powerup, programmer_t::program_enable, programmer_t::rdy_led, programmer_t::read_byte, programmer_t::read_sig_bytes, programmer_t::setup, programmer_t::teardown, programmer_t::type, programmer_t::vfy_led, and programmer_t::write_byte.
Referenced by butterfly_mk_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), and pgm.
Referenced by butterfly_disable().
Here is the call graph for this function:
Here is the caller graph for this function:| void butterfly_mk_initpgm | ( | PROGRAMMER * | pgm | ) |
References butterfly_initpgm(), programmer_t::flag, IS_BUTTERFLY_MK, pgm, and programmer_t::type.
Here is the call graph for this function:
|
static |
References pinfo::baud, programmer_t::baudrate, butterfly_drain(), programmer_t::fd, pgm, programmer_t::port, and serial_open.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References avrdude_message(), avrmem::desc, MSG_INFO, and progname.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References AVR_OP_LOAD_EXT_ADDR, avrmem::buf, butterfly_recv(), butterfly_send(), butterfly_set_addr(), butterfly_set_extaddr(), cmd, avrmem::desc, avrmem::op, PDATA, and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References AVR_OP_LOAD_EXT_ADDR, avrmem::buf, butterfly_send(), butterfly_set_addr(), butterfly_set_extaddr(), butterfly_vfy_cmd_sent(), cmd, avrmem::desc, free(), malloc(), avrmem::op, PDATA, pgm, and usleep().
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
References butterfly_read_byte_eeprom(), butterfly_read_byte_flash(), butterfly_recv(), butterfly_send(), cmd, avrmem::desc, and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References butterfly_recv(), butterfly_send(), butterfly_set_addr(), and pgm.
Referenced by butterfly_read_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References AVR_OP_LOAD_EXT_ADDR, butterfly_recv(), butterfly_send(), butterfly_set_addr(), butterfly_set_extaddr(), avrmem::op, and pgm.
Referenced by butterfly_read_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References avrdude_message(), avrmem::buf, butterfly_recv(), butterfly_send(), MSG_INFO, pgm, progname, and avrmem::size.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References avrdude_message(), programmer_t::fd, MSG_INFO, pgm, progname, and serial_recv.
Referenced by butterfly_initialize(), butterfly_paged_load(), butterfly_read_byte(), butterfly_read_byte_eeprom(), butterfly_read_byte_flash(), butterfly_read_sig_bytes(), and butterfly_vfy_cmd_sent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References programmer_t::fd, pgm, and serial_send.
Referenced by butterfly_chip_erase(), butterfly_close(), butterfly_enter_prog_mode(), butterfly_initialize(), butterfly_leave_prog_mode(), butterfly_paged_load(), butterfly_paged_write(), butterfly_read_byte(), butterfly_read_byte_eeprom(), butterfly_read_byte_flash(), butterfly_read_sig_bytes(), butterfly_set_addr(), butterfly_set_extaddr(), and butterfly_write_byte().
Here is the caller graph for this function:
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), cmd, and pgm.
Referenced by butterfly_paged_load(), butterfly_paged_write(), butterfly_read_byte_eeprom(), butterfly_read_byte_flash(), and butterfly_write_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References butterfly_send(), butterfly_vfy_cmd_sent(), cmd, and pgm.
Referenced by butterfly_paged_load(), butterfly_paged_write(), butterfly_read_byte_flash(), and butterfly_write_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References avrdude_oom(), programmer_t::cookie, malloc(), and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References programmer_t::cookie, free(), and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References avrdude_message(), butterfly_recv(), MSG_INFO, pgm, and progname.
Referenced by butterfly_chip_erase(), butterfly_close(), butterfly_enter_prog_mode(), butterfly_initialize(), butterfly_leave_prog_mode(), butterfly_paged_write(), butterfly_set_addr(), butterfly_set_extaddr(), and butterfly_write_byte().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by butterfly_initpgm().
Here is the caller graph for this function:
|
static |
References AVR_OP_LOAD_EXT_ADDR, butterfly_send(), butterfly_set_addr(), butterfly_set_extaddr(), butterfly_vfy_cmd_sent(), cmd, avrmem::desc, avrmem::op, and pgm.
Referenced by butterfly_initpgm().
Here is the call graph for this function:
Here is the caller graph for this function:| const char butterfly_desc[] = "Atmel Butterfly evaluation board; Atmel AppNotes AVR109, AVR911" |
| const char butterfly_mk_desc[] = "Mikrokopter.de Butterfly" |