stm32_bringup.c: In function 'stm32_bringup':
stm32_bringup.c:251:9: warning: implicit declaration of function
'userled_lower_initialize' [-Wimplicit-function-declaration]
ret = userled_lower_initialize("/dev/userleds");
1.5.187.2 CONFIG_USERLED_LOWER: Generic Lower Half LED Driver
以下のメニューでGeneric Lower Half LED Driveを有効にします。
makeすると以下のエラーとなります。
ake[2]: ディレクトリ '/home/nop/NuttX/nuttx/configs/stm32f4discovery/src'
から 出ます
LD: nuttx
/home/nop/NuttX/nuttx/staging/libdrivers.a(userled_lower.o): In
function `userled_lower_initialize':
userled_lower.c:(.text+0x16): undefined reference to
`board_userled_initialize'
/home/nop/NuttX/nuttx/staging/libdrivers.a(userled_lower.o): In
function `userled_ledset':
userled_lower.c:(.text+0x6): undefined reference to
`board_userled_all'
/home/nop/NuttX/nuttx/staging/libdrivers.a(userled_lower.o): In
function `userled_led':
userled_lower.c:(.text+0xe): undefined reference to `board_userled'
Makefile:202: recipe for target 'nuttx' failed