simbit18 commented on PR #17046:
URL: https://github.com/apache/nuttx/pull/17046#issuecomment-3312785339
====================================================================================
Configuration/Tool: pimoroni-tiny2040/gpio,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2025-09-19 14:34:38
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
Building NuttX...
src/rp2040_common_bringup.c: In function 'rp2040_common_bringup':
Error: src/rp2040_common_bringup.c:652:9: error: implicit declaration of
function 'rp2040_dev_gpio_init' [-Werror=implicit-function-declaration]
652 | ret = rp2040_dev_gpio_init();
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [/github/workspace/sources/nuttx/boards/Board.mk:83:
rp2040_common_bringup.o] Error 1
make[1]: Target 'libboard.a' not remade because of errors.
make: *** [tools/LibTargets.mk:89: arch/arm/src/board/libboard.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385:
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or
directory
[1/1] Normalize pimoroni-tiny2040/gpio
====================================================================================
This error with Make is probably related to this removal.
#include “rp2040_pico.h” ->
boards/arm/rp2040/common/src/rp2040_common_bringup.c
If #include “rp2040_pico.h” is not removed, Cmake + Ninja cannot find it and
generates an error.
On Monday, I will try to find a solution that works for both.
Of course, all suggestions are welcome! :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]