Page 1 of 1

How can I get rid of the SparkFun logo on boot?

Posted: Tue Oct 21, 2014 7:26 am
by Rob Farrell
I realize this is in the boot loader. I'm having trouble finding the source for the microview boot loader. Can someone point me to it?

Re: How can I get rid of the SparkFun logo on boot?

Posted: Tue Oct 21, 2014 12:27 pm
by TS-Liz
Hello,

The Microview bootloader is the Optiboot bootloader, the same as the Arduino Uno. There are instructions for uploading a bootloader to the MicroView here https://learn.sparkfun.com/tutorials/in ... -microview

Re: How can I get rid of the SparkFun logo on boot?

Posted: Wed Oct 22, 2014 6:20 am
by scotta
The logo isn't in the boot loader. It's in the MicoView library.

In file MicroView.cpp find the following line near the beginning (line 60 or close to it):
Code: Select all
static uint8_t screenmemory [] = {
Change it to:
Code: Select all
static uint8_t screenmemory [LCDWIDTH * LCDPAGES];
Then delete all the following lines containing the initialisation data, up to and including (line 114 or close to it):
Code: Select all
};
Note that if you're not concerned about saving about 390 bytes of program space, just doing a uView.clear(PAGE) immediately after uView.begin() will clear the screen buffer and prevent the logo from being displayed.

Re: How can I get rid of the SparkFun logo on boot?

Posted: Wed Oct 22, 2014 7:28 am
by Rob Farrell
Awesome! Great suggestions and details!
Thanks!