forked from neroroxxx/BMC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boards.local.txt
35 lines (30 loc) · 2.32 KB
/
boards.local.txt
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
27
28
29
30
31
32
33
34
35
# BMC Config File Mod
# thanks to manicksan for pointing out the boards.local.txt method
# https://forum.pjrc.com/threads/64509-Adding-an-optional-global-config-h-file-per-sketch
# copy this file and paste in the same location as the boards.txt file.
# To locate boards.txt
# On mac, open your Applications folder, right click on Arduino or Teensyduino (which ever you are using)
# then select "Show Package Contents" and navigate to "Contents/Java/hardware/teensy/avr/"
# On Windows: go to "Program Files (x86)/Arduino/hardware/teensy/avr/"
# After doing this you can restart Teensyduino and you will then see the "Require BMC Config" option under tools
# ----- BMC Config File -----
menu.bmcsketchconfig=Require BMC Config
teensyMM.menu.bmcsketchconfig.no=No
teensyMM.menu.bmcsketchconfig.yes=Yes
teensyMM.menu.bmcsketchconfig.yes.build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -include "{build.source.path}/config.h"
teensy41.menu.bmcsketchconfig.no=No
teensy41.menu.bmcsketchconfig.yes=Yes
teensy41.menu.bmcsketchconfig.yes.build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -include "{build.source.path}/config.h"
teensy40.menu.bmcsketchconfig.no=No
teensy40.menu.bmcsketchconfig.yes=Yes
teensy40.menu.bmcsketchconfig.yes.build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -include "{build.source.path}/config.h"
teensy36.menu.bmcsketchconfig.no=No
teensy36.menu.bmcsketchconfig.yes=Yes
teensy36.menu.bmcsketchconfig.yes.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -include "{build.source.path}/config.h"
teensy35.menu.bmcsketchconfig.no=No
teensy35.menu.bmcsketchconfig.yes=Yes
teensy35.menu.bmcsketchconfig.yes.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -include "{build.source.path}/config.h"
teensy31.menu.bmcsketchconfig.no=No
teensy31.menu.bmcsketchconfig.yes=Yes
teensy31.menu.bmcsketchconfig.yes.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -include "{build.source.path}/config.h"
# ----- BMC Config File -----