Comments (5)
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.
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.
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.
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.
@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)
- Circular dependencies when building NuttX as a library HOT 17
- PWM driver refactorization? HOT 7
- GitHub Status: Incident with Actions May 21, 2024 - 12:45 UTC
- riscv m-timer is schduled multiple times per interrupt. HOT 3
- Add EXT2/3/4 FS support to NuttX
- BMP280 first read BUG HOT 4
- Support for GCC14
- ESP32-WIFI packet clogging HOT 22
- Loopback Configuration Bug in mpfs_ethernet.c HOT 2
- I2C NAK issue : Tiva c 123gxl HOT 10
- how to port a custom board to nuttx? HOT 2
- cmake build failed HOT 1
- Targets which use openamp get build errors when configured without any optimization (-O0) HOT 2
- esp32s3 : float calc error or stack error HOT 6
- Help with file system issue diagnosis when swapping between littlefs and fatfs. HOT 5
- sched/pthread mutex proto is not setting SEM_TYPE_MUTEX HOT 2
- SDcardread issue Tiva123gxl HOT 15
- armv7-a elf file load / kernel build HOT 6
- openamp/cmake: conflicting types error HOT 1
- How to support I2C slave device mode? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuttx.