acassis commented on PR #16161:
URL: https://github.com/apache/nuttx/pull/16161#issuecomment-2790011674

   @rcsim please verify these errors:
   
   misc/assert.c: In function 'reset_board':
   Error: misc/assert.c:807:24: error: 'LED_PANIC' undeclared (first use in 
this function)
     807 |       board_autoled_on(LED_PANIC);
         |                        ^~~~~~~~~
   misc/assert.c:807:24: note: each undeclared identifier is reported only once 
for each function it appears in
   misc/assert.c: In function '_assert':
   Error: misc/assert.c:888:20: error: 'LED_ASSERTION' undeclared (first use in 
this function)
     888 |   board_autoled_on(LED_ASSERTION);
         |                    ^~~~~~~~~~~~~
   make[1]: *** [Makefile:64: assert.o] Error 1
   chip/esp32s3_allocateheap.c: In function 'up_allocate_heap':
   Error: chip/esp32s3_allocateheap.c:128:20: error: 'LED_HEAPALLOCATE' 
undeclared (first use in this function)
     128 |   board_autoled_on(LED_HEAPALLOCATE);
         |                    ^~~~~~~~~~~~~~~~
   chip/esp32s3_allocateheap.c:128:20: note: each undeclared identifier is 
reported only once for each function it appears in
   make[1]: *** [Makefile:146: esp32s3_allocateheap.o] Error 1
   make[1]: Target 'libsched.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:71: sched/libsched.a] Error 2
   board/esp32s3_autoleds.c: In function 'board_autoled_initialize':
   Error: board/esp32s3_autoleds.c:82:22: error: 'GPIO_LED' undeclared (first 
use in this function); did you mean 'GPIO_LED1'?
      82 |   esp32s3_configgpio(GPIO_LED);
         |                      ^~~~~~~~
         |                      GPIO_LED1
   board/esp32s3_autoleds.c:82:22: note: each undeclared identifier is reported 
only once for each function it appears in
   Error: board/esp32s3_autoleds.c:82:3: error: too few arguments to function 
'esp32s3_configgpio'
      82 |   esp32s3_configgpio(GPIO_LED);
         |   ^~~~~~~~~~~~~~~~~~
   In file included from board/esp32s3_autoleds.c:36:
   /github/workspace/sources/nuttx/arch/xtensa/src/chip/esp32s3_gpio.h:194:5: 
note: declared here
     194 | int esp32s3_configgpio(uint32_t pin, gpio_pinattr_t attr);
         |     ^~~~~~~~~~~~~~~~~~
   board/esp32s3_autoleds.c: In function 'board_autoled_on':
   Error: board/esp32s3_autoleds.c:109:21: error: 'GPIO_LED' undeclared (first 
use in this function); did you mean 'GPIO_LED1'?
     109 |   esp32s3_gpiowrite(GPIO_LED, ledon);
         |                     ^~~~~~~~
         |                     GPIO_LED1
   board/esp32s3_autoleds.c: In function 'board_autoled_off':
   Error: board/esp32s3_autoleds.c:131:21: error: 'GPIO_LED' undeclared (first 
use in this function); did you mean 'GPIO_LED1'?
     131 |   esp32s3_gpiowrite(GPIO_LED, false);
         |                     ^~~~~~~~
         |                     GPIO_LED1
   make[1]: *** [/github/workspace/sources/nuttx/boards/Board.mk:83: 
esp32s3_autoleds.o] Error 1
   make[1]: Target 'libboard.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:89: arch/xtensa/src/board/libboard.a] Error 2
   common/xtensa_assert.c: In function 'xtensa_panic':
   Error: common/xtensa_assert.c:78:20: error: 'LED_ASSERTION' undeclared 
(first use in this function)
      78 |   board_autoled_on(LED_ASSERTION);
         |                    ^~~~~~~~~~~~~
   common/xtensa_assert.c:78:20: note: each undeclared identifier is reported 
only once for each function it appears in
   common/xtensa_assert.c: In function 'xtensa_user_panic':
   Error: common/xtensa_assert.c:181:20: error: 'LED_ASSERTION' undeclared 
(first use in this function)
     181 |   board_autoled_on(LED_ASSERTION);
         |                    ^~~~~~~~~~~~~
   make[1]: *** [Makefile:146: xtensa_assert.o] Error 1
   common/xtensa_createstack.c: In function 'up_create_stack':
   Error: common/xtensa_createstack.c:206:24: error: 'LED_STACKCREATED' 
undeclared (first use in this function)
     206 |       board_autoled_on(LED_STACKCREATED);
         |                        ^~~~~~~~~~~~~~~~
   common/xtensa_createstack.c:206:24: note: each undeclared identifier is 
reported only once for each function it appears in
   make[1]: *** [Makefile:146: xtensa_createstack.o] Error 1
   common/xtensa_initialize.c: In function 'up_initialize':
   Error: common/xtensa_initialize.c:138:20: error: 'LED_IRQSENABLED' 
undeclared (first use in this function)
     138 |   board_autoled_on(LED_IRQSENABLED);
         |                    ^~~~~~~~~~~~~~~
   common/xtensa_initialize.c:138:20: note: each undeclared identifier is 
reported only once for each function it appears in
   make[1]: *** [Makefile:146: xtensa_initialize.o] Error 1
   common/xtensa_irqdispatch.c: In function 'xtensa_irq_dispatch':
   Error: common/xtensa_irqdispatch.c:58:20: error: 'LED_INIRQ' undeclared 
(first use in this function)
      58 |   board_autoled_on(LED_INIRQ);
         |                    ^~~~~~~~~
   common/xtensa_irqdispatch.c:58:20: note: each undeclared identifier is 
reported only once for each function it appears in
   make[1]: *** [Makefile:146: xtensa_irqdispatch.o] Error 1
   common/xtensa_sigdeliver.c: In function 'xtensa_sig_deliver':
   Error: common/xtensa_sigdeliver.c:71:20: error: 'LED_SIGNAL' undeclared 
(first use in this function); did you mean 'SIGEV_SIGNAL'?
      71 |   board_autoled_on(LED_SIGNAL);
         |                    ^~~~~~~~~~
         |                    SIGEV_SIGNAL
   common/xtensa_sigdeliver.c:71:20: note: each undeclared identifier is 
reported only once for each function it appears in
   make[1]: *** [Makefile:146: xtensa_sigdeliver.o] Error 1


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