Skip to content

tests: build: led: tests/drivers/build_all/led: build failure for frdm_mcxc444 #97583

@hakehuang

Description

@hakehuang

Describe the bug

  • frdm_mcxc444
  • frdm_mcxc242/mcxc242

705a015 is the first bad commit
commit 705a015
Author: Felix Wang [email protected]
Date: Mon Sep 29 18:28:51 2025 +0800

drivers: pwm: Enable PWM capture feature for TPM

This implementation refers to the code from FTM,
which supports to capture pulse and period.

Signed-off-by: Felix Wang <[email protected]>

Regression

  • This is a regression.

Steps to reproduce

west build -b frdm_mcxc444 tests/drivers/build_all/led

Relevant log output

[106/171] Building C object zephyr/drivers/led/CMakeFiles/drivers__led.dir/ncp5623.c.obj[107/171] Building C object 
zephyr/drivers/led/CMakeFiles/drivers__led.dir/pca9533.c.obj[108/171] Building C object 

zephyr/drivers/led/CMakeFiles/drivers__led.dir/pca9633.c.obj[109/171] Building C object 

zephyr/drivers/led/CMakeFiles/drivers__led.dir/tlc59108.c.obj[110/171] Linking C static library 

zephyr/drivers/mfd/CMakeFiles/drivers__mfd.dir/mfd_npm13xx.c.obj[112/171] Building C object 
zephyr/drivers/mfd/CMakeFiles/drivers__mfd.dir/mfd_axp192.c.obj[113/171] Building C object zephyr/drivers/mfd/CMakeFiles/drivers__mfd.dir/mfd_axp2101.c.obj[114/171] Linking C static library 
zephyr/drivers/mfd/libdrivers__mfd.a[115/171] Building C object 
zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj[116/171] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nxp_port.c.obj[117/171] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a[118/171] Building C object zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_mcux_tpm.c.objFAILED: zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_mcux_tpm.c.obj yr_test_pipe/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/jenkins/agent/workspace/zephyr_test_pipe/zephyr/tests/drivers/build_all/led=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/jenkins/agent/workspace/zephyr_test_pipe/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/jenkins/agent/workspace/zephyr_test_pipe=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_mcux_tpm.c.obj -MF zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_mcux_tpm.c.obj.d -o zephyr/drivers/pwm/CMakeFiles/drivers__pwm.dir/pwm_mcux_tpm.c.obj -c /home/jenkins/agent/workspace/zephyr_test_pipe/zephyr/drivers/pwm/pwm_mcux_tpm.c/home/jenkins/agent/workspace/zephyr_test_pipe/zephyr/drivers/pwm/pwm_mcux_tpm.c:58:9: error:
 unknown type name 'tpm_dual_edge_capture_param_t' 58 | tpm_dual_edge_capture_param_t param; 
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ninja: build stopped: subcommand failed.

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

  • OS: ubuntu
  • toolchain: zephyr
  • version: 705a015

Additional Context

No response

Metadata

Metadata

Labels

RegressionSomething, which was working, does not anymorebugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions