Prusa3d Marlin fork
Typedefs | Functions | Variables
optiboot_xflash.cpp File Reference

Typedefs

typedef uint16_t pagelen_t
 

Functions

static unsigned const int __attribute__ ((section(".version"))) optiboot_version
 
static uint8_t getch (void)
 
static void putch (char ch)
 
static void verifySpace ()
 
static void getNch (uint8_t count)
 
uint8_t optiboot_xflash_enter ()
 Enter an STK500 compatible Optiboot boot loader waiting for flashing the languages to an external flash memory. More...
 

Variables

static const char entry_magic_send[] PROGMEM = "start\n"
 
struct block_tblock_buffer
 

Function Documentation

◆ optiboot_xflash_enter()

uint8_t optiboot_xflash_enter ( )
Returns
1 if "start\n" was not sent. Optiboot was skipped
0 if "start\n" was sent. Optiboot ran normally. No need to send "start\n" in setup()