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

stm32h7/linum-stm32h753bi: add support to leds #12014

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

JorgeGzm
Copy link
Contributor

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

Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
@acassis acassis merged commit 62e1af4 into apache:master Apr 1, 2024
17 of 26 checks passed
@xiaoxiang781216
Copy link
Contributor

xiaoxiang781216 commented Apr 2, 2024

this patch generate the following ci error, @JorgeGzm could you provide a patch to fix it as soon as possible:

====================================================================================
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

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

Successfully merging this pull request may close these issues.

3 participants