eden-desta opened a new issue #4188:
URL: https://github.com/apache/incubator-nuttx/issues/4188


   Hello!
   
   I am just starting out with NuttX and I am extremely stuck on trying to 
figure out how to access specific peripherals using my nucel h743zi board. 
   
   For the purpose of background information I am able to get the simple 
`Hello` application to run using the nsh configuration. 
   Now I am trying to run an example that uses any peripherals. The simplest 
one was the `leds` example that is provided in the `apps` folder. I used the 
`menuconfig` in order to add the application, and also added the LED drivers 
via `Device Drivers -> LED Support -> LED Driver -> Generic Lower Half LED 
Driver`.
   
   I build via `make` and flash the code using `openocd` the `nsh` terminal 
shows up. And i run `leds` it returns an error
   ```
   leds_main: Starting the led_daemon
   leds_main: led_daemon started
   
   led_daemon (pid# 6): Running
   led_daemon: Opening /dev/userleds
   led_daemon: ERROR: Failed to open /dev/userleds: 2
   led_daemon: Terminating
   ```
   
   I guess in short I am looking to understand how to configure peripherals for 
the board of my choice in order to be able to do anything that I want in 
particular. 
   
   Apologies, there might just be something fundamental I missed while trying 
to get familiar with NuttX. Thank you in advance! Looking forward to hearing 
back from you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to