aboutsummaryrefslogtreecommitdiff
path: root/software/.ycm_extra_conf.py
blob: 42834fb82d723ebf7808e32102d72882c216b7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import os
import ycm_core

def FlagsForFile( filename, **kwargs ):
  return {
    'flags': [
      '-Wall',
      '-Wextra',
      '-Werror',
      '-Wno-long-long',
      '-Wno-variadic-macros',
      '-fexceptions',
      '-ferror-limit=10000',
      '-DNDEBUG',
      '-std=c99',
      '-x', 'c',
      '-D_GNU_SOURCE',
      '-D__AVR_ATtiny85__',
      '-D__AVR__',
      '-I.',
      '-I', '/usr/avr/include/'
    ],
    'do_cache': True,
  }

# vim:set et sw=2 ts=2 tw=120:
..