Add MAX32xxx counter RTC driver #155666
Annotations
1 error, 1 warning, and 4 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- DEVS_FOR_DT_COMPAT(nordic_nrf_rtc)
+ DEVS_FOR_DT_COMPAT(nordic_nrf_rtc)
#endif
#ifdef CONFIG_COUNTER_TIMER_MAX32
#define ADI_MAX32_COUNTER_DEV(idx) \
DEVICE_DT_GET(DT_INST(idx, adi_max32_counter)),
#define DT_DRV_COMPAT adi_max32_counter
- DT_INST_FOREACH_STATUS_OKAY(ADI_MAX32_COUNTER_DEV)
+ DT_INST_FOREACH_STATUS_OKAY(ADI_MAX32_COUNTER_DEV)
File:tests/drivers/counter/counter_basic_api/src/test_counter.c
Line:43
You may want to run clang-format on this change:
- DT_INST_FOREACH_STATUS_OKAY(STM32_COUNTER_DEV)
+ DT_INST_FOREACH_STATUS_OKAY(STM32_COUNTER_DEV)
#undef DT_DRV_COMPAT
#undef STM32_COUNTER_DEV
#endif
#ifdef CONFIG_COUNTER_NATIVE_POSIX
- DEVICE_DT_GET(DT_NODELABEL(counter0)),
+ DEVICE_DT_GET(DT_NODELABEL(counter0)),
File:tests/drivers/counter/counter_basic_api/src/test_counter.c
Line:56
You may want to run clang-format on this change:
- DEVS_FOR_DT_COMPAT(arm_cmsdk_timer)
- DEVS_FOR_DT_COMPAT(arm_cmsdk_dtimer)
- DEVS_FOR_DT_COMPAT(microchip_xec_timer)
- DEVS_FOR_DT_COMPAT(nxp_imx_epit)
- DEVS_FOR_DT_COMPAT(nxp_imx_gpt)
+ DEVS_FOR_DT_COMPAT(arm_cmsdk_timer) DEVS_FOR_DT_COMPAT(arm_cmsdk_dtimer) DEVS_FOR_DT_COMPAT(
+ microchip_xec_timer) DEVS_FOR_DT_COMPAT(nxp_imx_epit) DEVS_FOR_DT_COMPAT(nxp_imx_gpt)
#ifdef CONFIG_COUNTER_MCUX_TPM
- DEVS_FOR_DT_COMPAT(nxp_tpm_timer)
-#endif
- DEVS_FOR_DT_COMPAT(renesas_smartbond_timer)
+ DEVS_FOR_DT_COMPAT(nxp_tpm_timer)
+#endif
+ DEVS_FOR_DT_COMPAT(renesas_smartbond_timer)
#ifdef CONFIG_COUNTER_MCUX_CTIMER
- DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
+ DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
#endif
#ifdef CONFIG_COUNTER_MCUX_RTC
- DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
+ DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_QTMR
- DEVS_FOR_DT_COMPAT(nxp_imx_tmr)
+ DEVS_FOR_DT_COMPAT(nxp_imx_tmr)
#endif
#ifdef CONFIG_COUNTER_NXP_MRT
- DEVS_FOR_DT_COMPAT(nxp_mrt_channel)
+ DEVS_FOR_DT_COMPAT(nxp_mrt_channel)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_1HZ
- DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
+ DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_HIGHRES
- DEVS_FOR_DT_COMPAT(nxp_lpc_rtc_highres)
+ DEVS_FOR_DT_COMPAT(
+ nxp_lpc_rtc_highres)
#endif
#ifdef CONFIG_COUNTER_GECKO_RTCC
- DEVS_FOR_DT_COMPAT(silabs_gecko_rtcc)
+ DEVS_FOR_DT_COMPAT(
+ silabs_gecko_rtcc)
#endif
#ifdef CONFIG_COUNTER_RTC_STM32
- DEVS_FOR_DT_COMPAT(st_stm32_rtc)
+ DEVS_FOR_DT_COMPAT(
+ st_stm32_rtc)
#endif
#ifdef CONFIG_COUNTER_GECKO_STIMER
- DEVS_FOR_DT_COMPAT(silabs_gecko_stimer)
+ DEVS_FOR_DT_COMPAT(
+ silabs_gecko_stimer)
#endif
#ifdef CONFIG_COUNTER_NXP_PIT
- DEVS_FOR_DT_COMPAT(nxp_pit_channel)
+ DEVS_FOR_DT_COMPAT(
+ nxp_pit_channel)
#endif
#ifdef CONFIG_COUNTER_XLNX_AXI_TIMER
- DEVS_FOR_DT_COMPAT(xlnx_xps_timer_1_00_a)
+ DEVS_FOR_DT_COMPAT(
+ xlnx_xps_timer_1_00_a)
#endif
#ifdef CONFIG_COUNTER_TMR_ESP32
- DEVS_FOR_DT_COMPAT(espressif_esp32_timer)
+ DEVS_FOR_DT_COMPAT(
+ espressif_esp32_timer)
#endif
#ifdef CONFIG_COUNTER_TMR_RTC_ESP32
- DEVS_FOR_DT_COMPAT(espressif_esp32_rtc_timer)
+ DEVS_FOR_DT_COMPAT(
+ espressif_esp32_rtc_timer)
#endif
#ifdef CONFIG_COUNTER_NXP_S32_SYS_TIMER
- DEVS_FOR_DT_COMPAT(nxp_s32_sys_timer)
+ DEVS_FOR_DT_COMPAT(
+ nxp_s32_sys_timer)
#endif
#ifdef CONFIG_COUNTER_TIMER_GD32
- DEVS_FOR_DT_COMPAT(gd_gd32_timer)
+ DEVS_FOR_DT_COMPAT(
+ gd_gd32_timer)
#endif
#ifdef CONFIG_COUNTER_TIMER_RPI_PICO
- DEVS_FOR_DT_COMPAT(raspberrypi_pico_timer)
+ DEVS_FOR_DT_COMPAT(
+ raspberrypi_pico_timer)
#endif
#ifdef CONFIG_COUNTER_RTC_MAX32
- DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter)
+ DEVS_FOR_DT_COMPAT(
+ adi_max32_rt
|
Run Compliance Tests:
tests/drivers/counter/counter_basic_api/src/test_counter.c#L43
tests/drivers/counter/counter_basic_api/src/test_counter.c:43
- DEVS_FOR_DT_COMPAT(nordic_nrf_rtc)
+ DEVS_FOR_DT_COMPAT(nordic_nrf_rtc)
#endif
#ifdef CONFIG_COUNTER_TIMER_MAX32
#define ADI_MAX32_COUNTER_DEV(idx) \
DEVICE_DT_GET(DT_INST(idx, adi_max32_counter)),
#define DT_DRV_COMPAT adi_max32_counter
- DT_INST_FOREACH_STATUS_OKAY(ADI_MAX32_COUNTER_DEV)
+ DT_INST_FOREACH_STATUS_OKAY(ADI_MAX32_COUNTER_DEV)
|
Run Compliance Tests:
tests/drivers/counter/counter_basic_api/src/test_counter.c#L56
tests/drivers/counter/counter_basic_api/src/test_counter.c:56
- DT_INST_FOREACH_STATUS_OKAY(STM32_COUNTER_DEV)
+ DT_INST_FOREACH_STATUS_OKAY(STM32_COUNTER_DEV)
#undef DT_DRV_COMPAT
#undef STM32_COUNTER_DEV
#endif
#ifdef CONFIG_COUNTER_NATIVE_POSIX
- DEVICE_DT_GET(DT_NODELABEL(counter0)),
+ DEVICE_DT_GET(DT_NODELABEL(counter0)),
|
Run Compliance Tests:
tests/drivers/counter/counter_basic_api/src/test_counter.c#L128
tests/drivers/counter/counter_basic_api/src/test_counter.c:128
- DEVS_FOR_DT_COMPAT(arm_cmsdk_timer)
- DEVS_FOR_DT_COMPAT(arm_cmsdk_dtimer)
- DEVS_FOR_DT_COMPAT(microchip_xec_timer)
- DEVS_FOR_DT_COMPAT(nxp_imx_epit)
- DEVS_FOR_DT_COMPAT(nxp_imx_gpt)
+ DEVS_FOR_DT_COMPAT(arm_cmsdk_timer) DEVS_FOR_DT_COMPAT(arm_cmsdk_dtimer) DEVS_FOR_DT_COMPAT(
+ microchip_xec_timer) DEVS_FOR_DT_COMPAT(nxp_imx_epit) DEVS_FOR_DT_COMPAT(nxp_imx_gpt)
#ifdef CONFIG_COUNTER_MCUX_TPM
- DEVS_FOR_DT_COMPAT(nxp_tpm_timer)
-#endif
- DEVS_FOR_DT_COMPAT(renesas_smartbond_timer)
+ DEVS_FOR_DT_COMPAT(nxp_tpm_timer)
+#endif
+ DEVS_FOR_DT_COMPAT(renesas_smartbond_timer)
#ifdef CONFIG_COUNTER_MCUX_CTIMER
- DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
+ DEVS_FOR_DT_COMPAT(nxp_lpc_ctimer)
#endif
#ifdef CONFIG_COUNTER_MCUX_RTC
- DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
+ DEVS_FOR_DT_COMPAT(nxp_kinetis_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_QTMR
- DEVS_FOR_DT_COMPAT(nxp_imx_tmr)
+ DEVS_FOR_DT_COMPAT(nxp_imx_tmr)
#endif
#ifdef CONFIG_COUNTER_NXP_MRT
- DEVS_FOR_DT_COMPAT(nxp_mrt_channel)
+ DEVS_FOR_DT_COMPAT(nxp_mrt_channel)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_1HZ
- DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
+ DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPC_RTC_HIGHRES
- DEVS_FOR_DT_COMPAT(nxp_lpc_rtc_highres)
+ DEVS_FOR_DT_COMPAT(
+ nxp_lpc_rtc_highres)
#endif
#ifdef CONFIG_COUNTER_GECKO_RTCC
- DEVS_FOR_DT_COMPAT(silabs_gecko_rtcc)
+ DEVS_FOR_DT_COMPAT(
+ silabs_gecko_rtcc)
#endif
#ifdef CONFIG_COUNTER_RTC_STM32
- DEVS_FOR_DT_COMPAT(st_stm32_rtc)
+ DEVS_FOR_DT_COMPAT(
+ st_stm32_rtc)
#endif
#ifdef CONFIG_COUNTER_GECKO_STIMER
- DEVS_FOR_DT_COMPAT(silabs_gecko_stimer)
+ DEVS_FOR_DT_COMPAT(
+ silabs_gecko_stimer)
#endif
#ifdef CONFIG_COUNTER_NXP_PIT
- DEVS_FOR_DT_COMPAT(nxp_pit_channel)
+ DEVS_FOR_DT_COMPAT(
+ nxp_pit_channel)
#endif
#ifdef CONFIG_COUNTER_XLNX_AXI_TIMER
- DEVS_FOR_DT_COMPAT(xlnx_xps_timer_1_00_a)
+ DEVS_FOR_DT_COMPAT(
+ xlnx_xps_timer_1_00_a)
#endif
#ifdef CONFIG_COUNTER_TMR_ESP32
- DEVS_FOR_DT_COMPAT(espressif_esp32_timer)
+ DEVS_FOR_DT_COMPAT(
+ espressif_esp32_timer)
#endif
#ifdef CONFIG_COUNTER_TMR_RTC_ESP32
- DEVS_FOR_DT_COMPAT(espressif_esp32_rtc_timer)
+ DEVS_FOR_DT_COMPAT(
+ espressif_esp32_rtc_timer)
#endif
#ifdef CONFIG_COUNTER_NXP_S32_SYS_TIMER
- DEVS_FOR_DT_COMPAT(nxp_s32_sys_timer)
+ DEVS_FOR_DT_COMPAT(
+ nxp_s32_sys_timer)
#endif
#ifdef CONFIG_COUNTER_TIMER_GD32
- DEVS_FOR_DT_COMPAT(gd_gd32_timer)
+ DEVS_FOR_DT_COMPAT(
+ gd_gd32_timer)
#endif
#ifdef CONFIG_COUNTER_TIMER_RPI_PICO
- DEVS_FOR_DT_COMPAT(raspberrypi_pico_timer)
+ DEVS_FOR_DT_COMPAT(
+ raspberrypi_pico_timer)
#endif
#ifdef CONFIG_COUNTER_RTC_MAX32
- DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter)
+ DEVS_FOR_DT_COMPAT(
+ adi_max32_rtc_counter)
#endif
#ifdef CONFIG_COUNTER_AMBIQ
- DEVS_FOR_DT_COMPAT(ambiq_counter)
+ DEVS_FOR_DT_COMPAT(
+ ambiq_counter)
#endif
#ifdef CONFIG_COUNTER_MCUX_LPTMR
- DEVS_FOR_DT_COMPAT(nxp_lptmr)
+ DEVS_FOR_DT_COMPAT(
+ nxp_lptmr)
|
Run Compliance Tests:
tests/drivers/counter/counter_basic_api/src/test_counter.c#L143
tests/drivers/counter/counter_basic_api/src/test_counter.c:143
- DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
+ DEVS_FOR_DT_COMPAT(nxp_lpc_rtc)
#endif
#ifdef CONFIG_COUNTER_RTC_STM32
- DEVS_FOR_DT_COMPAT(st_stm32_rtc)
+ DEVS_FOR_DT_COMPAT(st_stm32_rtc)
#endif
#ifdef CONFIG_COUNTER_RTC_MAX32
- DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter)
+ DEVS_FOR_DT_COMPAT(adi_max32_rtc_counter)
|
Loading