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

Help to integrate these examples on NuttX RTOS #28

Open
acassis opened this issue May 21, 2023 · 3 comments
Open

Help to integrate these examples on NuttX RTOS #28

acassis opened this issue May 21, 2023 · 3 comments

Comments

@acassis
Copy link

acassis commented May 21, 2023

I'm building DirectFB2 on NuttX and thanks to @caramelli help I got it compiling correctly as I documented in this post:
https://acassis.wordpress.com/2023/05/13/how-to-compile-directfb2-on-nuttx/

Now I want to implement some real driver support to get these directfb2 examples working on NuttX simulator and on some real board.

Maybe before getting these examples ported I can create just a basic hellodfb to show "Hello World" in graphic mode.

Please guide me in the right direction to get it working.

@caramelli
Copy link
Contributor

caramelli commented May 21, 2023

Almost all DirectFB examples work perfectly in the NuttX simulator. But this requires having the NuttXFB system module (which is based on the NuttX Framebuffer interface): I plan to push it to the DirectFB2 repository soon (maybe tomorrow).

@caramelli
Copy link
Contributor

In addition to the flux package (required to build DirectFB2), another prerequisite tool named directfb-csource is required to build DirectFB-examples for NuttX: https://github.com/directfb2/directfb-csource

A defconfig file for the NuttX simulator is available in the DirectFB2 repository: https://github.com/directfb2/DirectFB2/blob/master/defconfig

nuttx-directfb

The df_andi example is built by default but it is possible to select another example to run through make menuconfig

@acassis
Copy link
Author

acassis commented May 23, 2023

Perfect! Thank you @caramelli I'll test it! My idea is to create a Makefile like that from LVGL on NuttX to download and compile it automatically. This way will be easier to people test!

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

No branches or pull requests

2 participants