common:
    macros:
        - DAPLINK_IF
        - DAPLINK_BUILD_KEY=0x9B939E8F  # DAPLINK_BUILD_KEY_IF
    includes:
        - source/daplink
        - source/daplink/interface
        - source/cmsis-core
        - source/hic_hal
    sources:
        daplink_if:
            - source/daplink
            - source/daplink/interface

tool_specific:
    uvision:
        linker_file:
            - source/daplink/daplink.sct
        misc:
            ld_flags:
                - --predefine="-DDAPLINK_IF"
    make_armcc:
        linker_file:
            - source/daplink/daplink.sct
        misc:
            ld_flags:
                - --predefine="-DDAPLINK_IF"
