Merge pull request #3474 from leptun/MK3_xflash_upload_screen
XFlash upload message
This commit is contained in:
commit
453e2f102a
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
#include "stk500.h"
|
#include "stk500.h"
|
||||||
#include "bootapp.h"
|
#include "bootapp.h"
|
||||||
#include <avr/wdt.h>
|
#include <avr/wdt.h>
|
||||||
|
#include "lcd.h"
|
||||||
|
|
||||||
#define OPTIBOOT_MAJVER 6
|
#define OPTIBOOT_MAJVER 6
|
||||||
#define OPTIBOOT_CUSTOMVER 0
|
#define OPTIBOOT_CUSTOMVER 0
|
||||||
|
@ -159,6 +160,9 @@ uint8_t optiboot_xflash_enter()
|
||||||
xflash_init();
|
xflash_init();
|
||||||
wdt_disable();
|
wdt_disable();
|
||||||
|
|
||||||
|
lcd_clear();
|
||||||
|
lcd_puts_at_P(0, 1, PSTR(" Upgrading xflash\n Do not disconnect!"));
|
||||||
|
|
||||||
/* Forever loop: exits by causing WDT reset */
|
/* Forever loop: exits by causing WDT reset */
|
||||||
for (;;) {
|
for (;;) {
|
||||||
/* get character from UART */
|
/* get character from UART */
|
||||||
|
|
Loading…
Reference in a new issue