roskuttan commented on code in PR #16212: URL: https://github.com/apache/nuttx/pull/16212#discussion_r2044214312
########## boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt: ########## @@ -0,0 +1,49 @@ +# ############################################################################## +# boards/arm/rp2040/raspberrypi-pico/src/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. +# +# ############################################################################## + +set(SRCS rp2040_boardinitialize.c rp2040_bringup.c rp2040_gpio.c) + Review Comment: ``` roskuttan@SILENT-KILLERED:~/nuttx_pr/nuttx$ cmake --build build -t clean -j12 && cmake --build build -j12 [0/1] Re-running CMake... CMake Warning at CMakeLists.txt:176 (message): apps/nuttx-apps directory is not found, use dummy directory instead -- Configuring done (0.2s) -- Generating done (0.1s) -- Build files have been written to: /home/roskuttan/nuttx_pr/nuttx/build [1/1] Cleaning all built files... Cleaning... 1034 files. [1030/1039] Building C object boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj FAILED: boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj /usr/bin/arm-none-eabi-gcc -D__KERNEL__ -D__NuttX__ -I/home/roskuttan/nuttx_pr/nuttx/arch/arm/src/rp2040 -I/home/roskuttan/nuttx_pr/nuttx/arch/arm/src/common -I/home/roskuttan/nuttx_pr/nuttx/arch/arm/src/armv6-m -I/home/roskuttan/nuttx_pr/nuttx/sched -I/home/roskuttan/nuttx_pr/nuttx/boards/arm/rp2040/common/include -isystem /home/roskuttan/nuttx_pr/nuttx/include -isystem /home/roskuttan/nuttx_pr/nuttx/build/include -mcpu=cortex-m0 -mthumb -mfloat-abi=soft --param=min-pagesize=0 -fno-common -Wall -Wshadow -Wundef -nostdlib -Os -fno-strict-aliasing -fomit-frame-pointer -Wa,-mthumb -Wa,-mimplicit-it=always -ffunction-sections -fdata-sections -g -Wno-attributes -Wno-unknown-pragmas -Wstrict-prototypes -Wno-psabi -fdiagnostics-color=always -DNDEBUG -fmacro-prefix-map=/home/roskuttan/nuttx_pr/nuttx= -fmacro-prefix-map=/home/roskuttan/nuttx_pr/nuttx/dummy= -fmacro-prefix-map=/home/roskuttan/nuttx_pr/nuttx/boards/arm/rp2040/raspberrypi-pico= -fmacro-prefix-map=/home/roskuttan/nuttx_pr/nut tx/arch/arm/src/rp2040= @boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj.rsp -MD -MT boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj -MF boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj.d -o boards/CMakeFiles/board.dir/arm/rp2040/common/src/rp2040_common_bringup.c.obj -c /home/roskuttan/nuttx_pr/nuttx/boards/arm/rp2040/common/src/rp2040_common_bringup.c /home/roskuttan/nuttx_pr/nuttx/boards/arm/rp2040/common/src/rp2040_common_bringup.c:39:10: fatal error: rp2040_pico.h: No such file or directory 39 | #include "rp2040_pico.h" | ^~~~~~~~~~~~~~~ compilation terminated. [1035/1039] Building C object sched/CMakeFiles/sched.dir/wdog/wd_start.c.obj ninja: build stopped: subcommand failed. ``` -- 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