summaryrefslogtreecommitdiff
path: root/bsp/Infineon/libraries/HAL_Drivers/drv_pwm.c
AgeCommit message (Collapse)Author
2026-09-21[bsp/Infineon] Fix PWM macro mismatches left by the CHx_PORTy rename (#11802)萌新源
* [bsp/Infineon] Fix PWM macro mismatches left by the CHx_PORTy rename Commit e5382cb733 renamed the PWM table guards in drv_pwm.c to the CHx_PORTy convention but only adapted the psoc6-evk Kconfig, leaving several mismatches behind: - The psoc6-evaluationkit-062S2 slider sample still tested the old flat name BSP_USING_PWM0_PORT0 while the board Kconfig defines BSP_USING_PWM0_CH0_PORT0, so the PWM init was compiled out. - The PORT13 entry was renamed to BSP_USING_PWM0_CH7_PORT13, a macro that no Kconfig defines, and the channel is wrong anyway: PWM0_CH3_PORT13_CONFIG carries .channel = 3, PORT13 sits under the PWM0 CH3 menu, and the slider demo selects CH3 + PORT13. - The PSOC62 template and five psoc6 boards (cy8ckit-062-BLE, cy8ckit-062-WIFI-BT, cy8ckit-062S2-43012, cy8ckit-062s4, cy8cproto-062S3-4343W) still define the old flat names. Fix all of them by migrating the evaluationkit sample to BSP_USING_PWM0_CH0_PORT0 and renaming the PORT13 group to BSP_USING_PWM0_CH3_PORT13 across drv_pwm.c, the PSOC62 template and the five boards' Kconfigs/slider samples, so Kconfig, driver table and samples match again. Note: the sibling guards BSP_USING_PWM0_CH7_PORT2/5/7/9/10/12 are still not generated by these boards' Kconfigs; left untouched for a separate discussion. * style: format code with clang-format [skip ci]
2024-10-14[bsp][Infineon]add drv_eth (#9527)LZerro
[bsp][Infineon]add xmc7200 eth driver #9527 --------- Co-authored-by: LZerro <[email protected]>
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-08-22[bsp][Infineon][psoc6-evk-062s2]Adapt to RTduinoLZerro
2023-03-30[Infineon]Add slider driver demoRbb666
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-16[errno code][-RT_EINVAL] fix that use RT_EINVAL without -Meco Man
2023-01-19[IFX]Add psoc6-rtt-062S2 BSP (#6866)Rbb666
* [IFX]Add psoc6-rtt-062S2 BSP * [IFX]Update BSP name * [IFX]Add libcy_capsense.a
2022-12-07Add Infineon BSP production documentRbb666