You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "JorgeGzm (via GitHub)" <gi...@apache.org> on 2024/03/28 02:24:13 UTC

[PR] stm32h7/linum-stm32h753bi: add support to leds [nuttx]

JorgeGzm opened a new pull request, #12014:
URL: https://github.com/apache/nuttx/pull/12014

   ## Summary
   Add support to leds
   
   ## Impact
   the user can blink the leds of expansion board
   
   ## Testing
   run the command bellow
   ```
    nsh> leds
       leds_main: Starting the led_daemon
       leds_main: led_daemon started
   
       led_daemon (pid# 3): Running
       led_daemon: Opening /dev/userleds
       led_daemon: Supported LEDs 0x07
       led_daemon: LED set 0x01
       nsh> led_daemon: LED set 0x02
       led_daemon: LED set 0x03
   ```


-- 
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-unsubscribe@nuttx.apache.org

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


Re: [PR] stm32h7/linum-stm32h753bi: add support to leds [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #12014:
URL: https://github.com/apache/nuttx/pull/12014#issuecomment-2031287113

   ```
   ====================================================================================
   Configuration/Tool: linum-stm32h753bi/leds,CONFIG_ARM_TOOLCHAIN_CLANG
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARM_TOOLCHAIN_CLANG
     Building NuttX...
   ld.lld: error: undefined symbol: board_userled_initialize
   >>> referenced by userled_lower.c:148 (/github/workspace/sources/nuttx/drivers/leds/userled_lower.c:148)
   >>>               userled_lower.o:(userled_lower_initialize) in archive /github/workspace/sources/nuttx/staging/libdrivers.a
   
   ld.lld: error: undefined symbol: board_userled
   >>> referenced by userled_lower.c:100 (/github/workspace/sources/nuttx/drivers/leds/userled_lower.c:100)
   >>>               userled_lower.o:(userled_setled) in archive /github/workspace/sources/nuttx/staging/libdrivers.a
   
   ld.lld: error: undefined symbol: board_userled_all
   >>> referenced by userled_lower.c:114 (/github/workspace/sources/nuttx/drivers/leds/userled_lower.c:114)
   >>>               userled_lower.o:(userled_setall) in archive /github/workspace/sources/nuttx/staging/libdrivers.a
   make[1]: *** [Makefile:197: nuttx] Error 1
   make: *** [tools/Unix.mk:546: nuttx] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 370: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
     Normalize linum-stm32h753bi/leds
   HEAD detached at pull/12009/merge
   Untracked files:
     (use "git add <file>..." to include in what will be committed)
   	boards/arm/stm32h7/linum-stm32h753bi/scripts/flash.ld.tmp
   ```


-- 
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-unsubscribe@nuttx.apache.org

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


Re: [PR] stm32h7/linum-stm32h753bi: add support to leds [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #12014:
URL: https://github.com/apache/nuttx/pull/12014


-- 
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-unsubscribe@nuttx.apache.org

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