Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F4 lcd #336

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

F4 lcd #336

wants to merge 4 commits into from

Conversation

luka177
Copy link
Contributor

@luka177 luka177 commented Jul 22, 2022

Some notes:
This commit implements driver for ILI9341 found on stm32f429-DISCO1.
It is based on stm32 original driver and f7 eval driver from lk, both are mentioned in source file.
It is tested and seems to init display as excepted.
It is not fully working, as sdram is not yet up with lk on this board so i cant test layers and framebuffer.
Somr functionality of original st driver was removed, such as: second layer, drawing simple shapes, drawing bitmaps as ibelive those must be implemented on lk side, right?

@luka177
Copy link
Contributor Author

luka177 commented Jul 22, 2022

Tested with #338 for now didn't bring up gfx stuff just run memtest and got changing colors on screen.

@@ -0,0 +1,78 @@
#pragma once
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a short license header here?

/**
* @brief LCD Control pin
*/
#define LCD_NCS_PIN GPIO_Pin_2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be some #includes up at the top of this file to make sure these are already defined?

@@ -0,0 +1,682 @@
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As before, can you double check that the line endings are unix and the +x bit is not set?

@travisg
Copy link
Member

travisg commented Aug 15, 2022

Okay I merged and pushed the library this is built on. Can you rebase and do a pass over the comments above?

@luka177
Copy link
Contributor Author

luka177 commented Aug 25, 2022

Sure, will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants