aboutsummaryrefslogtreecommitdiff
path: root/software/.ycm_extra_conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'software/.ycm_extra_conf.py')
-rw-r--r--software/.ycm_extra_conf.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/software/.ycm_extra_conf.py b/software/.ycm_extra_conf.py
new file mode 100644
index 0000000..42834fb
--- /dev/null
+++ b/software/.ycm_extra_conf.py
@@ -0,0 +1,26 @@
1import os
2import ycm_core
3
4def FlagsForFile( filename, **kwargs ):
5 return {
6 'flags': [
7 '-Wall',
8 '-Wextra',
9 '-Werror',
10 '-Wno-long-long',
11 '-Wno-variadic-macros',
12 '-fexceptions',
13 '-ferror-limit=10000',
14 '-DNDEBUG',
15 '-std=c99',
16 '-x', 'c',
17 '-D_GNU_SOURCE',
18 '-D__AVR_ATtiny85__',
19 '-D__AVR__',
20 '-I.',
21 '-I', '/usr/avr/include/'
22 ],
23 'do_cache': True,
24 }
25
26# vim:set et sw=2 ts=2 tw=120:
..