diff --git a/core/embed/trezorhal/stm32u5/xdisplay/st7785ma/display_driver.c b/core/embed/trezorhal/stm32u5/xdisplay/st7785ma/display_driver.c new file mode 100644 index 000000000..58d65e3f7 --- /dev/null +++ b/core/embed/trezorhal/stm32u5/xdisplay/st7785ma/display_driver.c @@ -0,0 +1,29 @@ + +#include +#include +#include + +#include "display.h" + +#ifdef KERNEL_MODE +void display_init(display_content_mode_t mode) {} + +void display_deinit(display_content_mode_t mode) {} + +void display_set_unpriv_access(bool unpriv) {} + +int display_set_backlight(int level) { return level; } + +int display_get_backlight(void) { return 0; } + +int display_set_orientation(int angle) { return angle; } +int display_get_orientation(void) { return 0; } +bool display_get_frame_buffer(display_fb_info_t *fb) { return true; } + +void display_refresh(void) {} +void display_fill(const gfx_bitblt_t *bb) {} +void display_copy_rgb565(const gfx_bitblt_t *bb) {} +void display_copy_mono4(const gfx_bitblt_t *bb) {} +void display_copy_mono1p(const gfx_bitblt_t *bb) {} + +#endif