bcostm
3e499e21e4
Add platform in RTOS tests + build_travis
2017-01-02 17:40:49 +01:00
Michel Jaouen
25c0d9034f
USBHOST STM : add more board
...
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen
83369045bd
update build_travis.py
2017-01-02 09:48:17 +01:00
Michel Jaouen
815194a98b
USBHOST : add mouse test
2017-01-02 09:48:17 +01:00
Michel Jaouen
72dae26774
USBHOST : test mass storage
2017-01-02 09:48:16 +01:00
Martin Kojtal
e7361ebc44
Merge pull request #3365 from OpenNuvoton/nuvoton_usb
...
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal
24cd5734dd
Merge pull request #3483 from theotherjimmy/make-linker-error
...
Improve error message when exporting for make without a linker script
2016-12-30 12:34:09 +01:00
Martin Kojtal
ae93db711c
Merge pull request #3476 from bridadan/remove_default_toolchain_paths
...
Removing default toolchain paths
2016-12-23 13:14:57 +00:00
Martin Kojtal
cb39663b2a
Merge pull request #3486 from theotherjimmy/clean-export-fix
...
Move clean functionality out of the export api
2016-12-23 13:09:06 +00:00
Martin Kojtal
9d1b94714d
Merge pull request #3439 from theotherjimmy/detect-targets-args
...
Remove unused arguments from detect targets
2016-12-21 15:07:11 +00:00
Martin Kojtal
08509e75df
Merge pull request #3339 from jamike/USBAudio_CB_RX_TX
...
USB audio callback rx and tx
2016-12-21 14:58:52 +00:00
Jimmy Brisson
18ad17666d
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-20 17:44:10 -06:00
Jimmy Brisson
63c650903c
Improve error message when exporting for make without a linker script
2016-12-20 14:11:58 -06:00
Brian Daniels
19d56fd40f
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-20 11:14:24 -06:00
Anna Bridge
1cc1891fac
Merge pull request #3450 from bridadan/fix_example_filtering
...
Correctly filtering examples in test script
2016-12-19 17:52:47 +00:00
Anna Bridge
9e03765d04
Merge pull request #3422 from szechyjs/disco_f303vc_can
...
Enable CAN on DISCO_F303VC
2016-12-19 17:37:48 +00:00
Michel Jaouen
71f570fbc7
USB_8 : audio loopback test at 16khz stereo 16bits
...
- Callback TX and RX interface is used.
2016-12-16 15:16:56 +01:00
Brian Daniels
134d7743c3
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-15 14:16:12 -06:00
Sam Grove
8966d1584b
Merge pull request #3415 from bridadan/fix_make_echo
...
[make exporters] Adding quotes to echo statements
2016-12-15 10:31:34 -06:00
Sam Grove
92f2c380c7
Merge pull request #3414 from bridadan/remove_unnecessary_includes_libs
...
Remove unnecessary absolute paths from IAR and ARM compilers
2016-12-15 10:30:59 -06:00
Sam Grove
6849fd9c06
Merge pull request #3413 from theotherjimmy/iar-def-typo
...
Deduplicate IAR exporter templates and enable a few more targets
2016-12-15 10:30:22 -06:00
Sam Grove
18f31b7c99
Merge pull request #3385 from theotherjimmy/remove-flags-args
...
Remove deprecated flags args
2016-12-15 10:25:38 -06:00
Sam Grove
38411e917f
Merge pull request #3366 from bcostm/dev_nucleo_f412zg
...
NUCLEO_F412ZG - Add new platform
2016-12-15 10:19:51 -06:00
Jimmy Brisson
23461ee399
Revise arguments to detect targets
2016-12-14 11:50:18 -06:00
Jimmy Brisson
e29135ed1c
Remove special case for RZ-A1H
2016-12-12 18:46:47 -06:00
Jimmy Brisson
80d47e21ff
Remove special case template for F746ZG
2016-12-12 18:20:03 -06:00
Jimmy Brisson
2481c468ce
Update IAR template and STM M7 part options
2016-12-12 15:00:05 -06:00
Jared Szechy
5fbfa53305
Add DISCO_F303VC to build_travis
2016-12-11 23:00:01 -05:00
Jared Szechy
f5f3dc8143
Enable CAN on DISCO_F303VC
2016-12-11 22:03:29 -05:00
Brian Daniels
3975ff332d
Adding quotes to echo statements
...
This fixes an issue when make is ran inside the Windows command prompt
2016-12-09 12:41:07 -06:00
Jimmy Brisson
d9c8d1cdb8
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-09 12:08:52 -06:00
Brian Daniels
105a9b3ea6
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-09 12:02:55 -06:00
Jimmy Brisson
c638d2cdcb
Fix typo in IAR definitions
2016-12-09 11:41:11 -06:00
Brian Daniels
8f649493a3
Removing extra paths for standard the library for the ARM compiler
2016-12-09 11:29:36 -06:00
Martin Kojtal
8f138fc27b
Merge pull request #3355 from sarahmarshy/iar-no-cmsis
...
IAR export will not fail in the absence of a CMSIS pack
2016-12-09 15:33:33 +01:00
Martin Kojtal
89b56d6b3d
Merge pull request #3347 from jamike/USB_4_GCC_IAR
...
USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed)
2016-12-09 15:33:05 +01:00
Martin Kojtal
9da9166691
Merge pull request #3331 from theotherjimmy/enable-exporters-examples
...
Enabled example export building for more examples
2016-12-09 15:31:25 +01:00
bcostm
73ff944ffd
Remove NUCLEO_F412ZG from example linking_list
2016-12-09 09:40:22 +01:00
ccli8
8c0948d605
[NUC472/M453] 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-09 13:46:38 +08:00
bcostm
f4fa08323b
Remove usb in build_travis.py for this target (not supported for now)
2016-12-08 16:26:00 +01:00
bcostm
6787c14d97
Add platform in other python and json files
2016-12-08 15:57:05 +01:00
Sarah Marsh
ab23c00b08
Catch specific exception for TargetNotSupported
2016-12-07 18:05:29 -06:00
Martin Kojtal
9a61ef0368
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-06 11:32:45 +00:00
Jimmy Brisson
569808578a
Enabled example exporting Filter ides by toolchains
2016-12-05 13:43:55 -06:00
Martin Kojtal
8fd363d19a
Merge pull request #3349 from sarahmarshy/patch-7
...
[Exporters] Fix generic ARM CPU target in uvision
2016-12-02 15:52:38 +01:00
Martin Kojtal
b08e1ec75e
Merge pull request #3330 from theotherjimmy/correct-project-profiles
...
Fix project profile parsing
2016-12-02 15:50:07 +01:00
Sarah Marsh
dc864132ab
IAR export will not fail in the absence of a CMSIS pack
2016-12-02 10:46:38 +08:00
sarahmarshy
abd948fa6d
[Exporters] 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-01 10:55:28 +08:00
Michel Jaouen
5ee69dbc2e
USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed)
2016-11-30 17:55:04 +01:00
Martin Kojtal
107d6bc358
Merge pull request #3306 from mazimkhan/uvisor-examples
...
Added examples uvisor-thread and uvisor-number-store
2016-11-29 18:24:11 +01:00
Martin Kojtal
257d6357ca
Merge pull request #3283 from bridadan/remove-curl-references
...
Removing remaining references to Curl from ARM pack manager
2016-11-29 18:15:57 +01:00
Martin Kojtal
b36025f988
Merge pull request #3274 from bridadan/fix-path-detection-test-building
...
Passing toolchain path info to subprocesses
2016-11-29 18:13:00 +01:00
Martin Kojtal
9da1ff5290
Merge pull request #3114 from sarahmarshy/uvision-filetype-fix
...
Fix issue with unrecognized uvision file types
2016-11-29 18:09:09 +01:00
Martin Kojtal
93c08f340a
Merge pull request #3062 from jamike/TARGET_STM_USBDEVICE_FS
...
TARGET_STM :USB device FS
2016-11-29 18:07:11 +01:00
Jimmy Brisson
5fac67bcde
Fix project profile parsing
...
thanks @sdive!
2016-11-28 14:53:26 -06:00
Mohammad Azim Khan
2ad2c309bc
Removing target EFM32GG_STK3700 from uvisor examples
2016-11-23 15:22:31 +00:00
Mohammad Azim Khan
0b0db77a6e
Removing target EFM32GG_STK3700 from uvisor examples
2016-11-23 14:00:03 +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
Michel Jaouen
a34e0937fb
build_travis.py : update for STM support
2016-11-22 10:52:15 +01:00
Jimmy Brisson
27f7aeef47
Add sys import to config
2016-11-21 11:26:21 -06:00
Mohammad Azim Khan
e8048baa40
Added examples uvisor-thread and uvisor-number-store
2016-11-21 17:12:52 +00: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
Sam Grove
116d8dffdd
[exporters] make sure to clean .build and BUILD when testing iar
2016-11-18 00:22:35 -06:00
Sam Grove
72cdf9d16f
[exporters] iar build artifacts in BUILD directory, not .build
2016-11-18 00:22:21 -06:00
Sam Grove
0d3e9f0968
[exporters] make sure to clean .build and BUILD
2016-11-18 00:21:55 -06:00
Brian Daniels
57e693de86
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-11-17 12:20:34 -08:00
Brian Daniels
d7fbe2c109
Removing remaining references to Curl from ARM pack manager
2016-11-17 11:58:39 -08:00
Sam Grove
9d8ec61df5
Merge pull request #3258 from sarahmarshy/build_test_err
...
Prevent process pool inside of process pool when building tests
2016-11-14 21:54:24 -06:00
Sam Grove
68badb2a69
Merge pull request #3257 from bridadan/baudrate_in_test_spec
...
Baudrate in test spec
2016-11-14 21:53:32 -06:00
Sam Grove
ef7c61820b
Merge pull request #3229 from theotherjimmy/allow-deps-to-fail
...
[Tools - Toolchains] Allow dependency parsing to fail, gracefully continuing
2016-11-14 21:44:09 -06:00
ARM
9f39132d3b
Prevent process pool inside of process pool when building tests
2016-11-10 14:41:19 -07:00
Brian Daniels
e3ff8da6f0
Test spec baud_rate now set based on mbed config
2016-11-10 15:21:18 -06:00
Brian Daniels
088566b33e
Correctly casting toolchain features to a set.
...
Before, the get_config function was checking the equality of a set and a
list. However the list's equality depends on order, so this change casts
it to set to prevent an infinite loop.
2016-11-10 15:20:30 -06:00
Anna Bridge
f6f872a858
Merge pull request #3159 from radhika-raghavendran/master
...
User trim values for NCS36510
2016-11-10 17:06:54 +00:00
Anna Bridge
e0c7d3b362
Merge pull request #3188 from theotherjimmy/fix-tests-export
...
[Exporters] Append targets to scan list for exporting tests
2016-11-10 17:06:22 +00:00
Anna Bridge
96b3590248
Merge pull request #3222 from theotherjimmy/make-print-executable
...
[Export - Make] Add message that informs the user which hex to flash
2016-11-10 17:01:20 +00:00
Jimmy Brisson
c3915215e4
Allow dependency parsing to fail, gracefully continuing
2016-11-10 10:04:36 -06:00
Sam Grove
e175f619b2
Merge pull request #3010 from nuket/fix-uvision-hpp
...
Add .hpp to list of Uvision Exporter extensions
2016-11-09 15:21:55 -06:00
Brian Daniels
119857ac77
Ignoring args parameter for functions that don't use them
2016-11-08 13:41:40 -06:00
Brian Daniels
f1bb3f5930
Fixing issue with target_cross_ide
2016-11-08 12:51:38 -06:00
Brian Daniels
2fe1373cf1
Fixing use of get_repo_list in update function
2016-11-08 12:38:22 -06:00
Brian Daniels
b739413526
Correcting example, toolchain, and ide filters
2016-11-08 12:37:14 -06:00
Radhika
63f5c9781d
Configuration of user trim moved to targets.json
2016-11-08 17:29:32 +05:30
Jimmy Brisson
def0a38c4b
Add message that informs the user which hex to flash
2016-11-07 15:54:44 -06:00
Sarah Marsh
4bfd73a661
[Exporter tests] update mbed-os in selected examples
2016-11-07 11:10:52 -06:00
Sarah Marsh
c231939a8d
[Exporter tests] conditional intersection for targets
2016-11-07 11:09:36 -06:00
Sarah Marsh
4e2d3c42dd
[Exporter tests] Implement filtering of targets and examples.
2016-11-07 11:09:36 -06:00
Brian Daniels
811e2b55e6
Adding MCU and example filter options to example test CLI
2016-11-07 11:04:18 -06:00
Sam Grove
79abaab02e
Merge pull request #3208 from bridadan/examples-clone-deploy
...
[example tests] Adding a clone and a deploy step to allow optimizations in CI.
2016-11-07 10:32:23 -06:00
Brian Daniels
b0d556b9c4
Adding a clone and a deploy step to allow optimizations in CI.
...
This adds an example clone and deploy step that allows you to modify
each top level repository before pulling in the rest of the example's
dependencies. This allows us to not pull in a copy of mbed-os for each
example in CI and instead symbolic link the already cloned copy, saving
valuable time and disk space
2016-11-04 17:35:36 -05:00
Sarah Marsh
76554fa8af
[Exporter tests] Capable of testing export only to IDEs that do not have build functions
2016-11-04 15:53:41 -05:00
Sam Grove
03b8ae1811
Merge pull request #3200 from bridadan/exporter_build_subprocess_change
...
Using Popen for uVision and unifying the structure of the build function
2016-11-04 14:45:54 -05:00
Sam Grove
13676f064b
Merge pull request #3189 from theotherjimmy/make-use-path
...
[Exporters - Make-based] Force make exporter to search PATH for compilers
2016-11-04 14:45:02 -05:00
Sam Grove
359413ef57
Merge pull request #3204 from sarahmarshy/patch-6
...
[Export build-test] Directory traversal error
2016-11-04 14:44:22 -05:00
Sam Grove
4a45761c08
Merge pull request #3195 from theotherjimmy/quote-shell-make
...
[Exporters - Make-based] Quote the shell call in mkdir and rmdir
2016-11-04 14:43:22 -05:00
sarahmarshy
804f27a8bd
[Export build-test] Directory traversal error
...
Change indentation level for directory traversal, so that we only move up at the end of exporting one project for all ide/target combinations.
2016-11-04 14:09:40 -05:00
Brian Daniels
9d91566927
Using Popen for uvision and unifying the structure of the build function
...
across exporters
2016-11-04 11:14:32 -05:00
Sarah Marsh
b1bdf71749
Fix issue with unrecognized uvision file types
2016-11-04 10:59:09 -05:00
Jimmy Brisson
688d55bd93
Quote make invocation too
2016-11-04 10:08:24 -05:00
Sam Grove
f044786f22
Merge pull request #3187 from theotherjimmy/fix-eclipse-export
...
[Export-Make] Use internal class variable for resolving templates in makefiles
2016-11-03 18:48:13 -05:00
Jimmy Brisson
83fbbe8964
Quote the shell call in mkdir and rmdir
...
Allows the use of bash in windows
2016-11-03 15:38:55 -05:00
Sarah Marsh
406ddf0674
Exporter documentation
2016-11-03 11:53:23 -05:00
Sam Grove
2502a795b9
Merge pull request #3172 from sarahmarshy/export-test-rev
...
[Exporters] New export-build tests
2016-11-03 02:20:55 -05:00
Sam Grove
7d31512751
Merge pull request #3171 from bridadan/fix_exporter_supported
...
[tools] Fixing project.py -S printing problem
2016-11-03 02:18:39 -05:00
Sam Grove
4e1aea4fc9
Merge pull request #2958 from bridadan/mbed-app-config-testing
...
Allowing mbed_app.json files to be discovered for tests.
2016-11-03 02:11:38 -05:00
Jimmy Brisson
79bccc14a2
Force make exporter to search PATH for compilers
2016-11-02 17:16:35 -05:00
Jimmy Brisson
a447807ed8
Append targets to scan list for exporting tests
2016-11-02 16:14:40 -05:00
Jimmy Brisson
c2470e9710
Use internal class variable for resolving templates in makefiles
...
This allows other exporters to inherit from make and change the name of
the exporter without breaking.
2016-11-02 15:42:30 -05:00
Sarah Marsh
9624ccf2d5
Add boolean 'export' to examples.json.
...
This will determine whether the example should be exported. Additionally,
relocated export logic to examples_lib.py.
2016-11-02 10:30:10 -05:00
Martin Kojtal
fe80efe1bb
Merge pull request #3072 from jeromecoutant/PR_I2C_TESTS
...
i2c_loop tests update for STM32
2016-11-02 13:01:29 +00:00
Sarah Marsh
cc154a48cd
[Exporters] Build method documentation. Removal of unused Exception classes.
2016-11-01 15:03:31 -05:00
Sarah Marsh
d8fc362c11
Make ArmPackManager cache a static variable (to avoid reading index.json for each target).
2016-11-01 15:03:31 -05:00
Sarah Marsh
b9bac0516b
[Exporter tests] changing variable names and respecting requirement kwargs
2016-11-01 15:03:31 -05:00
Sarah Marsh
986af0dd5e
New export-build tests.
...
Allows command line workflow of:
mbed import
mbed export
Also revises exporter supported target checks
2016-11-01 15:03:31 -05:00
Sam Grove
fa314e2589
Merge pull request #3048 from adbridge/master
...
Make update.py test compile examples prior to updating mbed-os version.
2016-11-01 14:14:23 -05:00
Sam Grove
6893535353
Merge pull request #3169 from bridadan/USB_Updates
...
[Update of #3014 ] Usb updates
2016-11-01 10:20:57 -05:00
Brian Daniels
5762f7c17e
Updating IAR definition for the NCS36510 for IAR EW v7.8
2016-10-31 18:28:34 -05:00
Brian Daniels
67c2ea771a
Fixing project.py -S printing problem
...
Printing too large of a string can fail in Windows, as detailed here:
https://bugs.python.org/issue11395 . This works around the problem by
adding a print_large_string function that breaks up the string into
smaller pieces before printing it.
2016-10-31 15:39:38 -05:00
Brian Daniels
edd6cac718
Adding Kinetis devices to mbed 2 tests and updating build_travis script
2016-10-31 12:42:15 -05:00
Mahadevan Mahesh
6750f488ed
Add K64F, K22F and KL43Z to travis build
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-28 12:12:35 -05:00
Anna Bridge
479e203dce
Switch off compilation of wifi example while awaiting a fix for
...
issue 3152 is submitted.
2016-10-28 16:10:41 +01:00
Anna Bridge
c60b19e27c
Remove superfluous debugging line.
2016-10-28 15:20:36 +01:00
Radhika
eaf7265aa6
User trim added.
...
Astyle and pylint run on code.
2016-10-28 15:02:52 +05:30
Martin Kojtal
51fc2ce4a5
Merge pull request #3139 from bulislaw/arduino_ff
...
Handle [NOT_SUPPORTED] exception in make.py
2016-10-28 10:15:19 +02:00
Martin Kojtal
bd4eca325b
Merge pull request #3024 from jeromecoutant/PR_analog_loop
...
analog_loop tests update for STM32
2016-10-27 11:02:10 +02:00
Bartek Szatkowski
aa3a127c76
Handle [NOT_SUPPORTED] exception in make.py
...
That let us to ignore build failures for examples on not supported
platforms.
2016-10-27 09:45:55 +01:00
Anna Bridge
a5d3d2056b
Update ble example meta data to fix unsupported compilation combinations.
...
Remove URI beacon example as this is no longer required.
Add specific set of supported targets.
2016-10-26 16:24:42 +01:00
Martin Kojtal
4198222c54
Merge pull request #3005 from c1728p9/build_profiles
...
New build profile and docs
2016-10-26 15:16:01 +02:00
Martin Kojtal
53cd23e285
Merge pull request #3097 from theotherjimmy/pack-manager-urllib2
...
Arm-Pack-Manager Remove pycurl dependency
2016-10-26 14:48:05 +02:00
Anna Bridge
045b7d412d
Minor review comments plus add new 'compile' option to examples json file.
...
Adding the new compile option allows the marking of a set of examples to
indicate whether they should be compiled or not. For the update process
examples that are not compiled will not be auto updated irrespective of
that setting.
Other changes to make return logic from some functions in update.py more
efficient and some typos in the lib file.
2016-10-25 12:37:29 +01:00
Martin Kojtal
a0ca7eba07
Merge pull request #3092 from bridadan/parallelize-iar-build-system
...
[tools + tests] Adding parallelized build option for iar and uvision exporters
2016-10-24 18:26:07 +02:00
Jimmy Brisson
800792a42e
Remove pycurl dependency
2016-10-20 16:24:47 -05:00
Brian Daniels
d192491191
Making IAR exporter build test parallelized
2016-10-20 16:11:03 -05:00
Jimmy Brisson
7b15984483
Update pack-derived files, and add safely test
2016-10-20 09:37:02 -05:00
Martin Kojtal
9fce16dddf
Merge pull request #3061 from theotherjimmy/makefile-lib-fix
...
Exporters: Use correct names for library files in makefile exporter
2016-10-20 11:02:24 +01:00
Sam Grove
ff2a7db3f2
Merge pull request #3067 from theotherjimmy/checkin-pack-index
...
Arm-Pack-Manager - Checkin pack index
2016-10-19 16:49:59 -05:00
Jimmy Brisson
1a4dabd65d
Account for different linker flags across the compilers
2016-10-19 14:21:11 -05:00
Jimmy Brisson
f812deed24
Remove dependency on XDG home spec
2016-10-19 12:07:37 -05:00
Jimmy Brisson
8f19672530
Add update command to project.py
2016-10-19 12:05:10 -05:00
Martin Kojtal
03fc9f4c92
Merge pull request #3070 from theotherjimmy/iar-debugging
...
Exporters - Update the IAR debug template to version 7.70.1
2016-10-19 13:21:28 +01:00
Martin Kojtal
1339f0dede
Merge pull request #3060 from theotherjimmy/sw4stm32-fix
...
[exporters] Fix traceback in SW4STM32 from incorrect use of core
2016-10-19 13:10:54 +01:00
Sam Grove
d6831b3386
Merge pull request #3063 from theotherjimmy/make-srec-print
...
[Exporters] Add quick print to the makefile when srec_cat is required
2016-10-19 05:51:04 -05:00
Sam Grove
9138f62742
Merge pull request #3052 from theotherjimmy/name-eclipse-exporters
...
Exporters - Name the eclipse exporters and remove relpath computations
2016-10-19 05:49:46 -05:00
Sam Grove
44eca95c3d
Merge pull request #3028 from maclobdell/ncs36510_exporter_definitions
...
add ncs36510 exporter support for IAR
2016-10-19 05:47:13 -05:00
Sam Grove
5bcebba71d
Merge pull request #3023 from jeromecoutant/PR_digital_loop_tests
...
digital_loop tests update for STM32
2016-10-19 05:46:22 -05:00
Sam Grove
435d5fb3bb
Merge pull request #2992 from jeromecoutant/PR_Init_Time_Issue
...
Increase serial init timeout value
2016-10-19 05:42:20 -05:00
Sam Grove
6bd44c59d3
Merge pull request #2990 from bridadan/parallel-test-build
...
[tools] Parallel building of tests
2016-10-19 05:41:24 -05:00
jeromecoutant
ae9041b12c
i2c_loop tests update for STM32
2016-10-19 11:15:38 +02:00
jeromecoutant
78b4f25b5c
analog_loop test - keep mcu list and update with STM32 boards
2016-10-19 09:54:23 +02:00
Jimmy Brisson
a9d63b2365
Update the IAR debug template"
2016-10-18 16:00:58 -05:00
Jimmy Brisson
167ed2bc12
check in a copy of the arm-pack-manager index and use it
2016-10-18 13:56:17 -05:00
Jimmy Brisson
18b34794be
Add quick print to the makefile when srec_cat is required
2016-10-18 10:58:51 -05:00
Jimmy Brisson
7a8917fcf8
Use correct names for library files
2016-10-18 10:30:46 -05:00
Jimmy Brisson
25ca0e3cfb
Fix traceback from incorrect use of core
2016-10-18 10:29:37 -05:00
Russ Butler
23af2421f3
Remove non-code profiles
...
Remove profiles which are not suitable for building stand alone. This
leaves just the 3 core profiles.
2016-10-18 09:23:10 -05:00
Russ Butler
0d51f18f02
New build profile and docs
...
Add a small build profile and general docs for build profiles.
2016-10-18 09:23:01 -05:00
Anna Bridge
36964561b9
Review: Update example_lib.py to use rmtree rather than rm system call.
...
Update examples.json to limit TLS examples to a couple of boards and only
GCC_ARM and ARM compilers.
2016-10-18 12:30:19 +01:00
Martin Kojtal
9976738882
Merge pull request #3047 from sarahmarshy/iar-defines
...
Remove k64f defines from IAR templates
2016-10-18 10:45:14 +01:00
Jimmy Brisson
c64446dc39
Remove unneeded relpath calculations
2016-10-17 14:51:28 -05:00
Jimmy Brisson
2912522930
Exporters - Name the eclipse exporters
2016-10-17 14:35:26 -05:00
Anna Bridge
bbfa954839
Make update.py test compile examples prior to updating mbed-os version.
...
Changes:
Refactor examples.py to add a new command line option to provide an update
tag.
Refactor examples.py to add new functionality to update the version of
mbed-os in the examples to a supplied tag.
Refactor examples.py to make cloning the example repos, updating their
mbed-os version and compiling, into library functions and move to a new
library module.
Refactor the format of the examples.json file to make it compatible with
both examples.py and update.py.
Refactor update.py so that examples are test compiled prior to updating.
Refactor update.py so that only examples tagged as auto-updatable and that
fully compile are automatically updated.
2016-10-17 16:56:28 +01:00
Sarah Marsh
e001dd1080
Removed k64f defines from templates
2016-10-17 10:52:58 -05:00
maclobdell
014df32625
add ncs36510 exporter support
2016-10-14 11:45:24 -05:00
Sam Grove
9f74038036
Merge pull request #2991 from c1728p9/fix_small_default_lib
...
Properly set flags for default_lib = small
2016-10-13 11:13:30 -05:00
Sam Grove
4be4113810
Merge pull request #2985 from sarahmarshy/nrf52-support
...
NRF52_DK support for IAR exporter
2016-10-13 11:12:43 -05:00
Max Vilimpoc
7faee9099e
Add .hpp to list of Uvision Exporter extensions
2016-10-13 13:12:18 +02:00
Russ Butler
9f6b346c88
Properly set flags for default_lib = small
...
Use newlib nano for targets which have the key "default_lib" set to
"small". Also support the legacy key of "default_build".
2016-10-12 20:36:09 -05:00
Sam Grove
1ba3499631
Merge pull request #3003 from c1728p9/fix_memory_map
...
Revert "Allow max-depth specification in memap"
2016-10-12 17:25:12 -05:00
Russ Butler
7a50832550
Revert "Allow max-depth specification in memap"
...
This reverts commit 8f9f4eefed
since
it broke memory map info for IAR, ARMCC and on windows, GCC_ARM.
2016-10-12 14:49:32 -05:00
jeromecoutant
dee753735d
analog_loop tests update for STM32
2016-10-12 10:38:03 +02:00
jeromecoutant
e0ddd59fdd
digital_loop tests update for STM32
2016-10-12 10:07:27 +02:00
Brian Daniels
39086722e8
Removing dependency on StringIO, only change return type of table export
2016-10-11 18:38:52 -05:00
Brian Daniels
0e4b841cb3
Removing need for memap to printed through toolchains
2016-10-11 18:24:01 -05:00
Brian Daniels
655c37715c
Handling output of parallelized test building.
...
This makes use of the reports generated by the building of tests to
prevent output from interleaving when the build is parallelized. This
required some changes to memap to return a generated string from
the 'generate_output' function. I also had an option to stop the prints
from memap to prevent text from interleaving
2016-10-11 15:34:20 -05:00
Brian Daniels
14aff069b1
Modifying behavior of 'silent' option in toolchains
...
The 'silent' option has always been present in the toolchains API, however
it did not actually stop anything from being printed. Instead, it just
changed what was added to the build log. This make the 'silent' stop all
prints, but ensures that the output for the toolchain is still preserved
and accessible via the 'get_output' function.
2016-10-11 14:31:06 -05:00
Bartek Szatkowski
3af2c5ae14
Accept profile name as well as file path for tools/make.py --profile
...
--profile can be used with just a profile name eg. default, debug as
long as <name>.json file is in default profile directory.
2016-10-11 13:33:37 -05:00
Brian Daniels
87103abd56
Making building and linking tests fully parallel.
...
This uses similar code that is used withing the toolchains to parallelize
the linking process of all the tests accross all the available CPUs. It
also respects the `-j` parameter if you wish to limit the number of cores
used.
2016-10-11 13:24:50 -05:00
Sarah Marsh
246335af92
NRF52_DK support for IAR exporter
2016-10-11 18:25:07 +01:00
Sam Grove
c0c2563580
Merge pull request #2964 from bulislaw/fix_csv_quoting
...
Fix file path quoting while constructing CSV file in memmap.py
2016-10-10 10:35:44 -05:00
jeromecoutant
62160b7685
Increase serial init timeout value
2016-10-10 15:37:54 +02:00
Sam Grove
eee4db1fe0
Merge pull request #2896 from geky/restructure-cmsis
...
restructure - Restructure cmsis directory
2016-10-07 11:13:09 -05:00
Bartek Szatkowski
a7d9dbec69
Fix file path quoting while constructing CSV file in memmap.py
...
Comma is a valid char in file paths for Posix systems.
2016-10-07 16:33:43 +01:00
Brian Daniels
f3d20141a3
Allowing mbed_app.json files to be discovered for tests.
...
Before, mbed_app.json files were explicitly ignored when building tests.
This was mostly because you could have multiple mbed_app.json files in the
tree (for instance, in test case folders) and the behavior would be
undefined. Now the tools explicitly ensure that there aren't multiple
mbed_app.json files in your source files. So auto discovery of
mbed_app.json for testing is being reintroduced.
2016-10-06 17:40:25 -05:00
Sam Grove
41323855ec
Merge pull request #2918 from theotherjimmy/memap-improvements
...
Allow max-depth specification in memap
2016-10-06 15:57:39 -05:00
Sam Grove
3a16ca9855
Merge pull request #2911 from theotherjimmy/docs-generation
...
[Tools] Add documentation generation script
2016-10-06 15:57:08 -05:00
Sam Grove
76fb1f8c3f
Merge pull request #2708 from sarahmarshy/uvision-and-iar
...
[Exporters] Refactor Uvision and IAR and initial support of CMSIS projects
2016-10-06 15:54:00 -05:00
Michel Jaouen
144e97bf63
[IAR build] fix debug build
...
with option --profile ./tools/profiles/debug.json
2016-10-06 16:16:14 +02:00
Jimmy Brisson
8f9f4eefed
Allow max-depth specification in memap
2016-10-05 12:36:30 -05:00
Christopher Haster
2a58befd15
restructure - Fixed missing include paths in mbed 2 project builds
2016-10-05 11:06:27 -05:00
Sarah Marsh
e8b34282cb
Minor formatting changes
2016-10-04 19:34:52 -05:00
Christopher Haster
2be7207388
restructure - Fixed missing symbols in generation of mbed 2 cmsis library
2016-10-04 17:51:44 -05:00
Christopher Haster
96b4ff3358
restructure - Updated mbed 2 build to respect the new cmsis directory
2016-10-04 17:51:44 -05:00
Sarah Marsh
51b13c3ca7
-Oh flag removed from IAR. Optimization set in GUI.
2016-10-04 15:07:41 -05:00
Jimmy Brisson
9261ed4161
Remove tag-adding code from script
2016-10-04 15:03:17 -05:00
Jimmy Brisson
2cea844199
Automatically Add group tags to documented code
2016-10-04 15:02:33 -05:00
Jimmy Brisson
e19d04ad31
Move docs_gen.py script to tools/misc
2016-10-04 14:41:18 -05:00
Jimmy Brisson
9dffa04894
Add inside namespaces
2016-10-04 14:41:18 -05:00
Jimmy Brisson
51fdce3eff
Switch how we do groups
2016-10-04 14:41:17 -05:00
Jimmy Brisson
2959acd94c
Automatically add groups from features
2016-10-04 14:41:17 -05:00
Jimmy Brisson
77c7524471
Add simple documentation generation
2016-10-04 14:41:17 -05:00
Sarah Marsh
fd86fef205
[uvision] Flash DLL string/debug
...
Versioning for arm-pack-manager
2016-10-04 14:26:45 -05:00
Sarah Marsh
2a907d296d
Fix Uvision CPU type error for DP and FPU targets.
2016-10-04 14:13:36 -05:00
Sarah Marsh
b861c36e41
Removed IAR export support for invalid IAR targets.
...
Fixed naming of one target selection.
2016-10-04 14:13:36 -05:00
Sarah Marsh
9bec4181d9
Uvision FPU setting added to template
2016-10-04 14:13:36 -05:00
Sarah Marsh
4bc70c0c5f
Remove static destruction flag
2016-10-04 14:13:36 -05:00
Sarah Marsh
fa148578d2
Uvision5 => Uvision or Uvision5
2016-10-04 14:13:36 -05:00
Sarah Marsh
ab050a2319
Cpu type set in uvision template
2016-10-04 14:13:36 -05:00
Sarah Marsh
b074ee14c2
IAR debugging and docstrings
2016-10-04 14:13:36 -05:00
Sarah Marsh
ce1939b74f
Remove : from vendor info in cmsis pdsc
2016-10-04 14:13:36 -05:00
Sarah Marsh
9a02bfb7a3
Additional device names. mbed_targets.md update
2016-10-04 14:13:36 -05:00
Sarah Marsh
8ca7ff2f5b
.lst file goes to hidden .build for uvision5
2016-10-04 14:13:36 -05:00
Sarah Marsh
09c5be5921
Buid logs print with no new lines
2016-10-04 14:13:36 -05:00
Sarah Marsh
fa13cd2d57
Iar nucleo template referenced correctly
2016-10-04 14:13:36 -05:00
Sarah Marsh
a9d1dd005f
Build tests clean and logging revision
2016-10-04 14:13:36 -05:00
Jimmy Brisson
072128b29c
Integrate arm_pack_manager with exporters
2016-10-04 14:13:36 -05:00
Sarah Marsh
bb185476e2
arm_pack_manager - Retrieve debug adapter. Strip URLS
2016-10-04 14:13:36 -05:00
Jimmy Brisson
b9cadfb8cd
arm_pack_manager - Remove extra print; make url joining work on windows
2016-10-04 14:13:36 -05:00
Jimmy Brisson
3847aaa545
arm_pack_manager - Add alias file
2016-10-04 14:13:36 -05:00
Sarah Marsh
a25d453dae
arm_pack_manager - Specific device info overrides family/subfamily info
2016-10-04 14:13:36 -05:00
Sarah Marsh
6a4b392de5
arm_pack_manager - Multi-level processor and compile elements search
2016-10-04 14:13:36 -05:00
Sarah Marsh
e1f1a5edc6
arm_pack_manager - Added caching target vendor and processor(clock, fpu, endinanness)
2016-10-04 14:13:36 -05:00
Jimmy Brisson
2240a3a019
arm_pack_manager - Try really hard to fill the processor dict
2016-10-04 14:13:36 -05:00
Jimmy Brisson
39c1703c75
arm_pack_manager - [API change] differentiate between pack and pdsc loading from cache
...
- pull_from_cache renamed to pdsc_from_cache
- pack_from_cache added
- index file member replaced with pdsc_file
- pack_file member added to cache
2016-10-04 14:13:36 -05:00
Jimmy Brisson
6b2595af61
arm_pack_manager - Add --and, --or, --intersection, and --union options
...
These change the behavior of the search terms.
2016-10-04 14:13:36 -05:00
Jimmy Brisson
b05964abbe
arm_pack_manager - Simplify find_device
2016-10-04 14:13:36 -05:00
Jimmy Brisson
b840a1b58f
arm_pack_manager - Update find parts for new flash alogrithm api
2016-10-04 14:13:36 -05:00
Jimmy Brisson
ece1de343b
arm_pack_manager - Update docstrings for extra flash algorithm info
2016-10-04 14:13:36 -05:00
Jimmy Brisson
15b7381edd
arm_pack_manager - Add more info to flash algorithm
2016-10-04 14:13:36 -05:00
Jimmy Brisson
9cf4f0d074
arm_pack_manager - Add Descritpion of subcommands
2016-10-04 14:13:36 -05:00
Jimmy Brisson
6c13576851
arm_pack_manager - Add Documentation
2016-10-04 14:13:36 -05:00
Jimmy Brisson
02995467a7
arm_pack_manager - Adds an dump parts command
2016-10-04 14:13:36 -05:00
Jimmy Brisson
cdc064913a
arm_pack_manager - Refactors cli out of __init__.py and adds it as a command
2016-10-04 14:13:36 -05:00
Jimmy Brisson
677b847e2b
arm_pack_manager - added a cache by part cammand
2016-10-04 14:13:36 -05:00
Jimmy Brisson
efffa2ad79
arm_pack_manager - searching is now indexed and much faster
2016-10-04 14:13:36 -05:00
Jimmy Brisson
d3017f4479
arm_pack_manager - commands added. uses fuzzy search to find things
2016-10-04 14:13:36 -05:00
Jimmy Brisson
687a9ba652
arm_pack_manager - refactored Cache into class and downloaded pack files
2016-10-04 14:13:36 -05:00
Jimmy Brisson
44980ab009
arm_pack_manager - caches packs now too.
2016-10-04 14:13:36 -05:00
Jimmy Brisson
0832770159
arm_pack_manager - now we have a cache
2016-10-04 14:13:36 -05:00
Jimmy Brisson
01ee8cbeaf
arm_pack_manager - ya gotta start somewhere
2016-10-04 14:13:36 -05:00
Sarah Marsh
45ad394ca6
New build tests.
...
*Changes*
- Parallel export
- mbed-os tests added
- specified release version (default to 5)
- default tests AND targets dependent on specified release version
2016-10-04 14:13:36 -05:00
Sarah Marsh
db696f8f4a
Remove progen and progen def dependencies.
2016-10-04 14:13:36 -05:00
Sarah Marsh
fdd7820832
IAR revision
2016-10-04 14:13:36 -05:00
Sarah Marsh
6fd1c77727
Refactor uvision. Add support for CMSIS project files
2016-10-04 14:13:36 -05:00