Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-sdk-tools by
Diff: export/uvision4.py
- Revision:
- 20:835f6355470d
- Parent:
- 13:ab47a20b66f0
- Child:
- 23:fbae331171fa
--- a/export/uvision4.py Fri Jul 15 13:11:30 2016 +0100
+++ b/export/uvision4.py Fri Jul 15 15:28:09 2016 +0100
@@ -19,7 +19,6 @@
from tools.export.exporters import Exporter
from tools.targets import TARGET_MAP, TARGET_NAMES
-from tools.settings import ARM_INC
# If you wish to add a new target, add it to project_generator_definitions, and then
# define progen_target name in the target class (`` self.progen_target = 'my_target_name' ``)
@@ -76,8 +75,6 @@
project_data['tool_specific']['uvision']['misc']['c_flags'] = list(set(self.progen_flags['common_flags'] + self.progen_flags['c_flags'] + self.progen_flags['cxx_flags']))
# not compatible with c99 flag set in the template
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--c99")
- # ARM_INC is by default as system inclusion, not required for exported project
- project_data['tool_specific']['uvision']['misc']['c_flags'].remove("-I \""+ARM_INC+"\"")
# cpp is not required as it's implicit for cpp files
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--cpp")
# we want no-vla for only cxx, but it's also applied for C in IDE, thus we remove it
