CompileFlags:
  Compiler: D:/Software/arm-none-eabi-gcc/bin/arm-none-eabi-gcc.exe
  Add:
    - --target=arm-none-eabi
    - -mcpu=cortex-m4
    - -mthumb
    - -isystemD:/Software/arm-none-eabi-gcc/arm-none-eabi/include
    - -isystemD:/Software/arm-none-eabi-gcc/lib/gcc/arm-none-eabi/15.3.1/include
    - -I../inc
    - -I../user
    - -DSTM32F40X
    - -DUSE_STDPERIPH_DRIVER
    - -DxVECT_TAB_SRAM
    - -DUSE_USB_OTG_FS
---
If:
  PathMatch: .*\.h
CompileFlags:
  Add:
    - -xc-header
    - -include
    - stdint.h
