summaryrefslogtreecommitdiff
path: root/bsp/nxp/mcx/mcxc/frdm-mcxc162/applications/SConscript
blob: bff421e216407e0c843aabb83c37715446ea8257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from building import *

cwd = GetCurrentDir()
src = ['main.c']

if (GetDepend('BSP_USING_UART1') or GetDepend('BSP_USING_UART2') or
        GetDepend('BSP_USING_I2C0') or GetDepend('BSP_USING_SPI0') or
        GetDepend('BSP_USING_RTC') or GetDepend('BSP_USING_WDT') or
        GetDepend('BSP_USING_CLOCK_TIMER')):
    src += ['peripheral_test.c']

group = DefineGroup('Applications', src, depend=[''], CPPPATH=[cwd])

Return('group')