mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 02:55:49 +00:00
Shorten bootscreen
This commit is contained in:
parent
9ddd099604
commit
316545256a
1 changed files with 15 additions and 8 deletions
|
@ -1,16 +1,23 @@
|
|||
#include <stm32f37x_conf.h>
|
||||
|
||||
#include "midi2cv/drivers/eco_display.h"
|
||||
#include "stmlib/system/bootloader_utils.h"
|
||||
#include "stmlib/system/system_clock.h"
|
||||
#include "midi2cv/drivers/eco_display.h"
|
||||
#include <U8x8lib.h>
|
||||
|
||||
using namespace stmlib;
|
||||
|
||||
extern "C" void __cxa_pure_virtual()
|
||||
{
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
void SysTick_Handler() {
|
||||
system_clock.Tick();
|
||||
}
|
||||
void SysTick_Handler()
|
||||
{
|
||||
system_clock.Tick();
|
||||
}
|
||||
}
|
||||
|
||||
const uint32_t kStartAddress = 0x08008000;
|
||||
|
@ -29,13 +36,13 @@ int main(void)
|
|||
|
||||
display.u8x8()->setFont(u8x8_font_5x7_f);
|
||||
display.u8x8()->drawString(0, 0, "RolfOS 1.0");
|
||||
system_clock.Delay(200);
|
||||
system_clock.Delay(20);
|
||||
display.u8x8()->drawString(0, 2, "Display ready");
|
||||
system_clock.Delay(500);
|
||||
system_clock.Delay(50);
|
||||
display.u8x8()->drawString(0, 3, "Ehre ready");
|
||||
system_clock.Delay(500);
|
||||
system_clock.Delay(50);
|
||||
display.u8x8()->drawString(0, 5, "let's fetz");
|
||||
system_clock.Delay(1000);
|
||||
system_clock.Delay(100);
|
||||
|
||||
Uninitialize();
|
||||
JumpTo(kStartAddress);
|
||||
|
|
Loading…
Reference in a new issue