simbit18 commented on PR #17011:
URL: https://github.com/apache/nuttx/pull/17011#issuecomment-3883556885
Hi @linguini1 How are you building NuttX (Make or Cmake)?
I ran a compilation test (CMake and Make) on GitHub with the sim:mount
configuration.
CMake shows a warning/error because it does not like BOARD_LOOPSPERMSEC (of
type int) being empty.
This is a correct check by kconfiglib.
log sim:mount
```
Job2: LinuxCMake
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found
components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
warning: the value '' is invalid for BOARD_LOOPSPERMSEC (defined at
arch/Kconfig:1366), which has type int -- assignment ignored
Loaded configuration
'/github/workspace/sources/nuttx/build/.config.compressed'
Minimal configuration saved to
'/github/workspace/sources/nuttx/build/defconfig.tmp'
Select HOST_LINUX=y
Select HOST_X86_64=y
CMake Warning at cmake/nuttx_kconfig.cmake:245 (message):
Kconfig Configuration Error: warning: the value '' is invalid for
BOARD_LOOPSPERMSEC (defined at arch/Kconfig:1366), which has type int --
assignment ignored
Call Stack (most recent call first):
cmake/nuttx_sethost.cmake:107 (nuttx_setconfig)
CMakeLists.txt:357 (nuttx_sethost)
-- CMake: 3.26.0
-- Ninja: 1.10.1
-- Board: sim
-- Config: mount
-- Appdir: /github/workspace/sources/apps
-- The C compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
```
We need to find a better solution.
--
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]