-
Couldn't load subscription status.
- Fork 8.1k
Open
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXP
Description
Describe the bug
- frdm_imx91/mimx9131
1f2ec45 is the first bad commit
commit 1f2ec45
Author: Felix Wang fei.wang_3@nxp.com
Date: Tue Sep 23 16:09:20 2025 +0800
drivers: Counter: TPM improvement 1.Include barrier.h to fix barrier_dsync_fence_full() not found issue 2.Support multiple channels for alarm function Signed-off-by: Felix Wang <fei.wang_3@nxp.com> drivers/counter/counter_mcux_tpm.c | 68 ++++++++++++++++++++++++--------------
1 file changed, 43 insertions(+), 25 deletions(-)
Regression
- This is a regression.
Steps to reproduce
west build -b frdm_imx91/mimx9131 tests/drivers/counter `` ### Relevant log output ```shell [82/169] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_rules.c.obj[83/169] Building C object zephyr/subsys/testsuite/ztest/CMakeFiles/subsys__testsuite__ztest.dir/src/ztest_defaults.c.obj [84/169] Linking C static library zephyr/subsys/testsuite/ztest/libsubsys__testsuite__ztest.a [85/169] Building C object zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/intc_gicv3.c.obj[86/169] Linking C static library zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a [87/169] Building C object zephyr/drivers/cache/CMakeFiles/drivers__cache.dir/cache_handlers.c.obj [88/169] Linking C static library zephyr/drivers/cache/libdrivers__cache.a [89/169] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_mcux_ccm_rev2.c.obj[90/169] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a [91/169] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj [92/169] Linking C static library zephyr/drivers/console/libdrivers__console.a [93/169] Building C object zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_mcux_tpm.c.objFAILED: zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_mcux_tpm.c.obj -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/bitbucket_build_platform/zephyr/tests/drivers/counter/counter_basic_api=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/jenkins/agent/workspace/bitbucket_build_platform=WEST_TOPDIR -ffunction-sections -fdata-sections -mno-outline-atomics -moverride=tune=no_ldp_stp_qregs -specs=picolibc.specs -Wno-misleading-indentation -std=c99 -MD -MT zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_mcux_tpm.c.obj -MF zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_mcux_tpm.c.obj.d -o zephyr/drivers/counter/CMakeFiles/drivers__counter.dir/counter_mcux_tpm.c.obj -c /home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/drivers/counter/counter_mcux_tpm.c/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/drivers/counter/counter_mcux_tpm.c:44:47: error: 'TPM_CONTROLS_COUNT' undeclared here (not in a function); did you mean 'TPM_CNT_COUNT'? 44 | struct mcux_tpm_channel_data channels[TPM_CONTROLS_COUNT]; | ^~~~~~~~~~~~~~~~~~ | TPM_CNT_COUNTninja: build stopped: subcommand failed. Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
- os: ubuntu
- toolchain: zephyr
- version: v4.2.0-7253-g8ea7b114a6ec
Additional Context
No response
Metadata
Metadata
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXP