aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2014-08-26 21:18:59 +1000
committerDean Camera <dean@fourwalledcubicle.com>2014-08-26 21:18:59 +1000
commitd0a147f5bbcd59a9f01b7bedcf7c4be92f059b35 (patch)
treed2194a0fcbf8f40dfa280c94b2cc79c90b5b65c6 /LUFA/StudioIntegration
parent0fd7b2cf09c9088646080a911f0840348e566577 (diff)
downloadlufa-d0a147f5bbcd59a9f01b7bedcf7c4be92f059b35.tar.gz
lufa-d0a147f5bbcd59a9f01b7bedcf7c4be92f059b35.tar.bz2
lufa-d0a147f5bbcd59a9f01b7bedcf7c4be92f059b35.zip
Patched the LUFA build system to work around a GCC code generation bug in newer toolchains when building for larger FLASH memory devices (thanks to demultiplexer)
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/lufa_toolchain.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/StudioIntegration/lufa_toolchain.xml b/LUFA/StudioIntegration/lufa_toolchain.xml
index 04863cf83..031c8a2be 100644
--- a/LUFA/StudioIntegration/lufa_toolchain.xml
+++ b/LUFA/StudioIntegration/lufa_toolchain.xml
@@ -20,7 +20,7 @@
<toolchain-config name="avrgcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.warnings.AllWarnings" value="True" toolchain="avrgcc"/>
- <toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing" toolchain="avrgcc"/>
+ <toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/>
</module>