File tree Expand file tree Collapse file tree 20 files changed +2339
-12
lines changed
N32WB452_Firmware_Library Expand file tree Collapse file tree 20 files changed +2339
-12
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ if GetDepend(['RT_USING_ADC']):
3333if GetDepend (['RT_USING_DAC' ]):
3434 src += ['n32g43x_std_periph_driver/src/n32g43x_dac.c' ]
3535
36- if GetDepend (['RT_USING_CLOCK_TIME' ]):
36+ if GetDepend (['RT_USING_CLOCK_TIME' ])or GetDepend ([ 'RT_USING_PWM' ]) :
3737 src += ['n32g43x_std_periph_driver/src/n32g43x_tim.c' ]
38-
38+
3939if GetDepend (['RT_USING_RTC' ]):
4040 src += ['n32g43x_std_periph_driver/src/n32g43x_rtc.c' ]
4141 src += ['n32g43x_std_periph_driver/src/n32g43x_pwr.c' ]
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ if GetDepend(['RT_USING_ADC']):
3838if GetDepend (['RT_USING_DAC' ]):
3939 src += ['n32g45x_std_periph_driver/src/n32g45x_dac.c' ]
4040
41- if GetDepend (['RT_USING_CLOCK_TIME' ]):
41+ if GetDepend (['RT_USING_CLOCK_TIME' ]) or GetDepend ([ 'RT_USING_PWM' ]) :
4242 src += ['n32g45x_std_periph_driver/src/n32g45x_tim.c' ]
4343
4444if GetDepend (['RT_USING_RTC' ]):
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ if GetDepend(['RT_USING_ADC']):
3232if GetDepend (['RT_USING_DAC' ]):
3333 src += ['n32g4fr_std_periph_driver/src/n32g4fr_dac.c' ]
3434
35- if GetDepend (['RT_USING_CLOCK_TIME' ]):
35+ if GetDepend (['RT_USING_CLOCK_TIME' ]) or GetDepend ([ 'RT_USING_PWM' ]) :
3636 src += ['n32g4fr_std_periph_driver/src/n32g4fr_tim.c' ]
37-
37+
3838if GetDepend (['RT_USING_RTC' ]):
3939 src += ['n32g4fr_std_periph_driver/src/n32g4fr_rtc.c' ]
4040
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if GetDepend(['RT_USING_ADC']):
3333if GetDepend (['RT_USING_DAC' ]):
3434 src += ['n32l40x_std_periph_driver/src/n32l40x_dac.c' ]
3535
36- if GetDepend (['RT_USING_CLOCK_TIME' ]):
36+ if GetDepend (['RT_USING_CLOCK_TIME' ]) or GetDepend ([ 'RT_USING_PWM' ]) :
3737 src += ['n32l40x_std_periph_driver/src/n32l40x_tim.c' ]
3838
3939if GetDepend (['RT_USING_RTC' ]):
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ if GetDepend(['RT_USING_ADC']):
3333if GetDepend (['RT_USING_DAC' ]):
3434 src += ['n32l43x_std_periph_driver/src/n32l43x_dac.c' ]
3535
36- if GetDepend (['RT_USING_CLOCK_TIME' ]):
36+ if GetDepend (['RT_USING_CLOCK_TIME' ]) or GetDepend ([ 'RT_USING_PWM' ]) :
3737 src += ['n32l43x_std_periph_driver/src/n32l43x_tim.c' ]
38-
38+
3939if GetDepend (['RT_USING_RTC' ]):
4040 src += ['n32l43x_std_periph_driver/src/n32l43x_rtc.c' ]
4141 src += ['n32l43x_std_periph_driver/src/n32l43x_pwr.c' ]
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if GetDepend(['RT_USING_ADC']):
3333if GetDepend (['RT_USING_DAC' ]):
3434 src += ['n32wb452_std_periph_driver/src/n32wb452_dac.c' ]
3535
36- if GetDepend (['RT_USING_CLOCK_TIME' ]):
36+ if GetDepend (['RT_USING_CLOCK_TIME' ]) or GetDepend ([ 'RT_USING_PWM' ]) :
3737 src += ['n32wb452_std_periph_driver/src/n32wb452_tim.c' ]
3838
3939if GetDepend (['RT_USING_RTC' ]):
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ if GetDepend(['RT_USING_RTC']):
4545if GetDepend (['RT_USING_WDT' ]):
4646 src += ['drv_wdt.c' ]
4747
48+ if GetDepend (['BSP_USING_PWM' ]):
49+ src += ['drv_pwm.c' ]
4850path = [cwd ]
4951path += [cwd + '/config' ]
5052
You can’t perform that action at this time.
0 commit comments