Brian Daniels
e6d0d9dc37
Remove default -m and -i options for project.py
...
Also moves the check for -m and -i before any file system actions are
taken (error faster)
2017-01-13 14:35:14 +00:00
Franz Schnyder
16eaec27be
Fix review requests
...
- Shorten variable name
- Use comprehension to format include paths
2017-01-13 14:35:13 +00:00
Franz Schnyder
429e22757b
Correctly format include paths for eclipse export
...
Eclipse CDT expects the include paths to include the project name like '/<project>/<include-path>' for workspace include directories.
See issue #3529 .
2017-01-13 14:35:11 +00:00
Brian Daniels
cbed2604e6
Preventing app_config from clobbering CLI macros
2017-01-13 14:35:07 +00:00
bcostm
be29d6012a
Remove USB in build_travis test (USB is not supported right now on this platform)
2017-01-13 14:35:04 +00:00
bcostm
318aa4d1f8
Add platform in RTOS tests + build_travis
2017-01-13 14:35:02 +00:00
ccli8
702cf49648
Integrate with Travis CI
...
1. Add targets into build_travis.py and tests.py.
2. Add target SPI pins into SPI SD test samples.
3. Rename target TOOLCHAIN_GCC_ARM/retarget.c to avoid name collision of compiled retarget.o with platform/retargets.cpp.
2016-12-30 12:42:49 +00:00
Jimmy Brisson
f4dd4028e8
Improve error message when exporting for make without a linker script
2016-12-30 12:42:34 +00:00
Brian Daniels
455448dcc6
Removing default toolchain paths
...
This change was spurred by a confusing error. I attempted to compile for
the RZ_A1H (a Cortex-A device), and I had the standalone ARM compiler in
my system path, which supports Cortex-A. However, the default path for
the ARM compiler in settings.py uses a Keil installation, which only
supports Cortex-M. It found my Keil installation and used that instead.
This change proposes to remove this default behavior and instead
requires the user to explicitly set the intended compiler, either by a
settings file, mbed CLI, environment variables, or by placing the
compiler in your PATH.
2016-12-30 12:42:21 +00:00
Jimmy Brisson
00e028ca74
Move clean functionality out of the export api
...
It was possible to remove an entire project if clean was specified on
the command line. That's a Bad Thing(tm).
2016-12-30 12:42:15 +00:00
Jimmy Brisson
06d2cfd9b5
Revise arguments to detect targets
2016-12-30 12:41:51 +00:00
Michel Jaouen
f81c13d67d
USB_8 : audio loopback test at 16khz stereo 16bits - Callback TX and RX interface is used.
2016-12-30 12:41:47 +00:00
Brian Daniels
de0b95657d
Correctly filtering examples in test script.
...
If an example's GitHub repository contains multiple child examples, the
script was incorrectly filtering out all the child examples when
compiling and exporting. This patch now handles this case correctly.
2016-12-30 12:41:29 +00:00
Jared Szechy
dd43be868c
Add DISCO_F303VC to build_travis
2016-12-30 12:41:16 +00:00
Jared Szechy
613d552a21
Enable CAN on DISCO_F303VC
2016-12-30 12:41:14 +00:00
Brian Daniels
996bf982ce
Adding quotes to echo statements
...
This fixes an issue when make is ran inside the Windows command prompt
2016-12-19 14:39:41 +00:00
Brian Daniels
df089b5fb8
Removing aboslute path to Dlib config for IAR compiler
...
This fixes an issue where the absolute path causes a file error if the
compiler paths are configured incorrectly. It uses a relative path
instead now (the files appears to be in the default search path).
2016-12-19 14:39:40 +00:00
Brian Daniels
d4a3ba8d5a
Removing extra paths for standard the library for the ARM compiler
2016-12-19 14:39:38 +00:00
Jimmy Brisson
77dccea512
Remove special case for RZ-A1H
2016-12-19 14:39:37 +00:00
Jimmy Brisson
1d19f37d25
Remove special case template for F746ZG
2016-12-19 14:39:34 +00:00
Jimmy Brisson
409be21997
Update IAR template and STM M7 part options
2016-12-19 14:39:31 +00:00
Jimmy Brisson
4476d03f96
Fix typo in IAR definitions
2016-12-19 14:39:29 +00:00
Jimmy Brisson
333aad6191
Remove deprecated flags args
...
The tools will no longer accept `--cflags`, `--cppflags`, or
`--ldflags`. Instead, the ability to modify these flags is
provided by the `--profile` argument. Documentation for the
`--profile` argument may be found in
docs/Toolchain_Profiles.md
2016-12-19 14:39:19 +00:00
bcostm
144f9b3f4d
Remove NUCLEO_F412ZG from example linking_list
2016-12-19 14:39:14 +00:00
bcostm
5820dba45c
Remove usb in build_travis.py for this target (not supported for now)
2016-12-19 14:39:13 +00:00
bcostm
d2bbadfec8
Add platform in other python and json files
2016-12-19 14:39:10 +00:00
Sarah Marsh
c5c1879ddb
Catch specific exception for TargetNotSupported
2016-12-19 14:38:36 +00:00
Sarah Marsh
1c6d6059a8
IAR export will not fail in the absence of a CMSIS pack
2016-12-19 14:38:35 +00:00
Michel Jaouen
d6cbf84623
USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed)
2016-12-19 14:38:33 +00:00
Jimmy Brisson
da3ac529d5
Enabled example exporting Filter ides by toolchains
2016-12-19 14:38:31 +00:00
sarahmarshy
52adfe986e
Fix generic ARM CPU target in uvision
...
Generic CPU target not found correctly, because it was not accessing the Cache's index.
@theotherjimmy
2016-12-19 14:38:11 +00:00
Jimmy Brisson
7715606c02
Fix project profile parsing
...
thanks @sdive!
2016-12-19 14:38:08 +00:00
Brian Daniels
75e289c40f
Removing remaining references to Curl from ARM pack manager
2016-12-19 14:32:39 +00:00
Brian Daniels
4b4f5b1a9a
Passing toolchain path info to subprocesses.
...
Since the toolchain path info lives as a global variable, its not
propigating to the subprocesses that are created to compile the tests in
parallel. This change manually passes these global variables and then
reassigns them.
2016-12-19 14:32:37 +00:00
Sarah Marsh
d60a8f56a5
Fix issue with unrecognized uvision file types
2016-12-19 14:32:00 +00:00
Michel Jaouen
3bb437debc
build_travis.py : update for STM support
2016-12-19 14:31:57 +00:00
Martin Kojtal
a359a56655
Fix DEBUG target keyword for GCC_ARM
...
Fixes mbed-cli#402 bug. -g flag was changed to g3, thus this caused
a regression in producing TARGET_DEBUG for GCC_ARM.
2016-12-08 10:48:53 +00:00
Mohammad Azim Khan
9d8155641e
Removing target EFM32GG_STK3700 from uvisor examples
2016-12-02 16:09:32 +00:00
Mohammad Azim Khan
994f628a4d
Removing target EFM32GG_STK3700 from uvisor examples
2016-12-02 16:09:30 +00:00
Mohammad Azim Khan
0972811f76
Added examples uvisor-thread and uvisor-number-store
2016-12-02 16:09:28 +00:00
Martin Kojtal
9fdf7f775f
Merge pull request #3295 from geky/gcc-g3
...
Add '-g3' flag to gcc debug flags
2016-11-22 22:14:20 +00:00
Martin Kojtal
d215e4fa63
Merge pull request #3307 from theotherjimmy/import-sys-in-config
...
Add sys import to config
2016-11-22 22:13:43 +00:00
Jimmy Brisson
27f7aeef47
Add sys import to config
2016-11-21 11:26:21 -06:00
Christopher Haster
83e5f272f6
Added '-g3' flag to gcc debug flags
...
Includes extra information, such as all the macro definitions present
in the program
2016-11-18 14:45:59 -06:00
Sam Grove
f0e3ff4909
[exporters] update makefile build output directory to match mbed-cli and use the special reserved folder BUILD
2016-11-18 00:25:01 -06:00
Sam Grove
91361ec39a
[tools] update default build directory from .build to BUILD
2016-11-18 00:23:25 -06:00
Sam Grove
a6f5233f45
[exporters] update uvision teamplates so build artifacts end up in BUILD directory, not .build
2016-11-18 00:23:18 -06:00
Sam Grove
7297fdf3f6
[exporters] update iar teamplates so build artifacts end up in BUILD directory, not .build
2016-11-18 00:23:09 -06:00
Sam Grove
2fe28f0da1
[tools] update comments in memmap about build folder name
2016-11-18 00:22:58 -06:00
Sam Grove
6bee31eaad
[exporters] make sure to clean .build and BUILD when testing uvision
2016-11-18 00:22:43 -06:00