|
3 | 3 |
|
4 | 4 | # You can set a directory with a lot of libraries to be search recursively here |
5 | 5 | ArduinoLibDir = [ |
6 | | - "/Applications/Arduino.app/Contents/Resources/Java/libraries" |
7 | | - ,"/Applications/Arduino.app/Contents/Java/libraries" |
8 | | - ,"/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries" |
| 6 | + # "/Applications/Arduino.app/Contents/Java/libraries" |
| 7 | + "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries" |
9 | 8 | ] |
10 | 9 |
|
11 | 10 | # This is the list of all directories to search for header files |
|
18 | 17 | ,'-Werror' |
19 | 18 |
|
20 | 19 | ,'-Wno-attributes' |
21 | | - ,'-std=c++11' |
| 20 | + ,'-std=c++17' |
22 | 21 | ,'-x' |
23 | 22 | ,'c++' |
24 | 23 |
|
25 | | - # Avr-libc flags for 1.8.0 and 1.8.1 installed with homebrew |
26 | | - # You can deleted the one you don't need |
27 | | - ,'-isystem/usr/local/Cellar/avr-libc/1.8.0/avr/include' |
28 | | - ,'-isystem/usr/local/Cellar/avr-libc/1.8.1/avr/include' |
| 24 | + # Avr-libc flags installed with homebrew |
| 25 | + ,"-isystem/usr/local/Cellar/avr-gcc/7.2.0/avr/include" |
29 | 26 |
|
30 | | - # Arduino libs flags when downloaded from the arduino website |
31 | | - # IDE 1.0.6 |
32 | | - ,'-I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino' |
33 | | - ,'-I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/mega' |
34 | 27 | # IDE 1.6.3 |
35 | 28 | ,'-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino' |
36 | 29 | ,'-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega' |
37 | 30 |
|
38 | | - # Arduino libs flags when installed with brew cask or if the path is not the regular one |
39 | | - # Beware, the version number can change |
40 | | - # ,'-I/opt/homebrew-cask/Caskroom/arduino/1.0.6/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino' |
41 | | - # ,'-I/opt/homebrew-cask/Caskroom/arduino/1.0.6/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/mega' |
42 | | - |
43 | | - # You can add custom libraries here, but note that the script will automatically scan the 'lib' directory. |
44 | | - ,'-I./lib/MyFirstLib' |
45 | | - |
46 | | - # Customize microcontroler and Arduino version |
| 31 | + # Customize microcontroler and Arduino version |
47 | 32 | ,'-mmcu=atmega2560' |
48 | 33 | ,'-DF_CPU=16000000L' |
49 | | - ,'-DARDUINO=163' |
| 34 | + ,'-DARDUINO=183' |
50 | 35 | ,'-D__AVR__' |
51 | 36 | ,'-D__AVR_ATmega2560__' |
52 | 37 |
|
|
0 commit comments