diff options
author | Max Christian Pohle | 2017-06-05 16:24:20 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-06-05 16:24:20 +0200 |
commit | acf1faceeeb6461bb3c8c8266507151193f649b1 (patch) | |
tree | 89623374c3ba4a9288d82f51505374ac4ad24d25 /software/.ycm_extra_conf.py | |
parent | 255dcc3f40ed28aeb3da883c34547ffa781dc749 (diff) | |
parent | e2b37ffacd2b3e76fd849fc046466568d5ac0779 (diff) | |
download | binwatch-mini-acf1faceeeb6461bb3c8c8266507151193f649b1.tar.bz2 binwatch-mini-acf1faceeeb6461bb3c8c8266507151193f649b1.zip |
Add 'software/' from commit 'e2b37ffacd2b3e76fd849fc046466568d5ac0779'
git-subtree-dir: software
git-subtree-mainline: 255dcc3f40ed28aeb3da883c34547ffa781dc749
git-subtree-split: e2b37ffacd2b3e76fd849fc046466568d5ac0779
Diffstat (limited to 'software/.ycm_extra_conf.py')
-rw-r--r-- | software/.ycm_extra_conf.py | 26 |
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 @@ | |||
1 | import os | ||
2 | import ycm_core | ||
3 | |||
4 | def 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: | ||