udpate gui apps, uart and gpu can work together

This commit is contained in:
Yu Chen 2023-01-07 23:36:05 +08:00
parent a67f3f0d2f
commit b40120f8ff
3 changed files with 128 additions and 13 deletions

View file

@ -1,13 +1,12 @@
#![no_std]
#![no_main]
use user_lib::{framebuffer, framebuffer_flush};
#[macro_use]
extern crate user_lib;
extern crate alloc;
use user_lib::{framebuffer, framebuffer_flush};
use embedded_graphics::pixelcolor::Rgb888;
use embedded_graphics::prelude::{Drawable, Point, RgbColor, Size};
use embedded_graphics::primitives::Primitive;