Commit Graph

753 Commits (96e1d5bd7339acc9624f7fdb5edbf637affdc9a3)

Author SHA1 Message Date
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
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 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
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