-
Notifications
You must be signed in to change notification settings - Fork 575
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
os/: st7701 LCD driver with MIPI #6148
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7505655
os/:amebasmart and rtl8730e code changes
namanjain7 2fd0807
os/:add mipi driver support
namanjain7 c094417
os/:add support for st7701 lcd driver
namanjain7 28a6f4f
apps/examples/lcd_test/: add color change test of st7701 lcd in test app
namanjain7 386a8dd
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 aad06af
os/: Remove return, fix function names and remove detach call
namanjain7 912e97f
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 2a99b0e
os/: add hv lcdc isr, add amebasmart prefix to functions in amebasmar…
namanjain7 6270675
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 4da26fd
os/: Remove code repetition, mipi_dsi_device.c driver register
namanjain7 f5ff4bc
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 8d3693d
os/:Change typo and add polling
namanjain7 047645f
os/arch/arm/src/amebasmart/: remove is_transfer_completed function
namanjain7 468851d
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 371cdef
os/: Add check for transfer failure and name change for config and re…
namanjain7 0d2d823
os/drivers/lcd/: Add CONFIG_LCD_ST7701 flag in make.defs
namanjain7 ee61dda
Merge branch 'master' of github.com:namanjain7/TizenRT into MIPI_st77…
namanjain7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ static void test_put_area(void) | |
fd = open(port, O_RDWR | O_SYNC, 0666); | ||
if (fd < 0) { | ||
printf("ERROR: Failed to open lcd port : %s error:%d\n", port, fd); | ||
return -1; | ||
return; | ||
} | ||
struct fb_videoinfo_s vinfo; | ||
ioctl(fd, LCDDEVIO_GETVIDEOINFO, (unsigned long)(uintptr_t)&vinfo); | ||
|
@@ -140,7 +140,7 @@ static void test_put_run(void) | |
fd = open(port, O_RDWR | O_SYNC, 0666); | ||
if (fd < 0) { | ||
printf("ERROR: Failed to open lcd port : %s error:%d\n", port, fd); | ||
return -1; | ||
return; | ||
} | ||
struct lcddev_run_s run; | ||
run.planeno = 0; | ||
|
@@ -149,8 +149,8 @@ static void test_put_run(void) | |
run.npixels = NOPIXELS; | ||
|
||
uint8_t spi_data[2 * NOPIXELS + 1]; | ||
run.data = &spi_data; | ||
for (i = 0; i <= (NOPIXELS * 2); i += 2) { | ||
run.data = spi_data; | ||
for (i = 0; i < (NOPIXELS * 2); i += 2) { | ||
spi_data[i + 1] = WHITE & 0X00FF; | ||
spi_data[i] = (WHITE & 0xFF00) >> 8; | ||
} | ||
|
@@ -167,7 +167,7 @@ static void test_clear(void) | |
fd = open(port, O_RDWR | O_SYNC, 0666); | ||
if (fd < 0) { | ||
printf("ERROR: Failed to open lcd port : %s error:%d\n", port, fd); | ||
return -1; | ||
return; | ||
} | ||
struct fb_videoinfo_s vinfo; | ||
ioctl(fd, LCDDEVIO_GETVIDEOINFO, (unsigned long)(uintptr_t)&vinfo); | ||
|
@@ -187,7 +187,7 @@ static void test_init(void) | |
fd = open(port, O_RDWR | O_SYNC, 0666); | ||
if (fd < 0) { | ||
printf("ERROR: Failed to open lcd port : %s error:%d\n", port, fd); | ||
return -1; | ||
return; | ||
} | ||
ioctl(fd, LCDDEVIO_INIT, &ret); | ||
close(fd); | ||
|
@@ -202,7 +202,7 @@ static void test_orientation(void) | |
fd = open(port, O_RDWR | O_SYNC, 0666); | ||
if (fd < 0) { | ||
printf("ERROR: Failed to open lcd port : %s error:%d\n", port, fd); | ||
return -1; | ||
return; | ||
} | ||
ioctl(fd, LCDDEVIO_SETORIENTATION, LCD_RLANDSCAPE); | ||
|
||
|
@@ -257,4 +257,5 @@ int lcd_test_main(int argc, char *argv[]) | |
sleep(1); | ||
count++; | ||
} | ||
return 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added this due to warning message during build. |
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the logical error. It will go out of bound of array.