Skip to content

[BUG] Build fails for board nucleo-stm32l432kc:nsh out of the box #20359

Description

@ventZl

Description / Steps to reproduce the issue

Using following script on empty build directory and git reporting that nuttx repository is in clean state:

if [ ! -e nxvenv ]; then
    python -m venv nxvenv
fi
. nxvenv/bin/activate
if [ -e nxvenv/bin/menuconfig ]; then
    pip install kconfiglib
fi

cmake -B build -DBOARD_CONFIG=nucleo-l432kc:nsh -GNinja nuttx
cmake --build build

The build will fail with multiple errors like:

nuttx/apps/testing/ostest/wdog.c:59:3: error: unknown type name 'sclock_t'; did you mean 'clock_t'?

This does not happen if other boards from stm32l4 family are selected (at least some which I tried).

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Arch Linux

NuttX Version

both 13.0.1 and current master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Board support]

Host information

[ventyl@rezen nuttx]$ cmake --build build -t host_info
ninja: error: unknown target 'host_info'

Verification

  • I have verified before submitting the report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: Board supportBoard support issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions