Coder Social home page Coder Social logo

Comments (5)

xiaoxiang781216 avatar xiaoxiang781216 commented on July 25, 2024

I use the config "CONFIG_EXAMPLES_LVGLDEMO=y, CONFIG_LCD_SSD1289=y and CONFIG_VIDEO_FB=y" in "stm32f4discovery:usbnsh", and can be compiled. But when I run the lvgldemo application in nsh, I get the error "ERROR: Failed to open /dev/fb0: 2". I don't know what went wrong. How can i solve this problem?

2 means that lvgldemo can't find /dev/fb0:
#define ENOENT 2
Please make sure you can see fb0 by:
ls /dev/
Otherwise, you have to fix fb0 issue before trying the lvgl demo.

from nuttx.

hanwenlei avatar hanwenlei commented on July 25, 2024

When I do "ls /dev/", there really isn't "/dev/fb0". But in "boards\arm\stm32\stm32f4discovery\src\stm32_bringup.c", it calls "fb_register" function. I don't know why the fb driver is not registered.

from nuttx.

xiaoxiang781216 avatar xiaoxiang781216 commented on July 25, 2024

When I do "ls /dev/", there really isn't "/dev/fb0". But in "boards\arm\stm32\stm32f4discovery\src\stm32_bringup.c", it calls "fb_register" function. I don't know why the fb driver is not registered.

You need add some log to debug, other people is hard to help here without the same enviornment.

from nuttx.

patacongo avatar patacongo commented on July 25, 2024

This appears to be a user who needs help, not really an issue. The more appropriate place to get help is in the [email protected] mail list. What do we need to do to close this?

from nuttx.

xiaoxiang781216 avatar xiaoxiang781216 commented on July 25, 2024

@hanwenlei I will close this issue. As @patacongo suggestion, you can post the new question to dev list, so more people can give you help.

from nuttx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.