add pulse encoder porting to imxrt1052 (#4372)

This commit is contained in:
LeeChunHei
2022-01-24 14:22:48 +08:00
committed by GitHub
parent 0f6e2bbf27
commit cd72ef6ecb
3 changed files with 170 additions and 0 deletions
+3
View File
@@ -63,6 +63,9 @@ if GetDepend('BSP_USING_USB_DEVICE'):
src += Glob('usb/phy/*.c')
CPPDEFINES += ['ENDIANNESS']
if GetDepend('BSP_USING_PULSE_ENCODER'):
src += ['drv_pulse_encoder.c']
path = [cwd,cwd + '/config']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)