adbridge
b28d0811df
Fix up subprocess calls
...
subprocess.call() does not by default return a status value.
Update the commands to add shell=True which forces a return value.
Also convert the commands to a single string rather than a list as
this plays more nicely with both linux and windows.
Also fix a spurious :
2018-11-01 13:07:16 +00:00
adbridge
a7c777d5c1
Make examples commands return a failure
...
Currently the following commands in examples.py,
do_import()
do_deploy()
do_versionning()
do_clone()
all return a success status (ie 0) irrespective of any errors
originating from their sub-functions.
This PR fixes this. Now these commands will return one of:
0 - success
1 - general failure
x - failure returned by a subprocess.call function
2018-10-31 17:40:15 +00:00
Cruz Monrreal
085b5a6ca9
Merge pull request #8363 from adbridge/master
...
Remove mbed-os-example-client
2018-10-11 10:13:23 -05:00
Cruz Monrreal
161ca2b0ee
Merge pull request #8261 from cmonr/dont-fail-on-trailing-slash
...
Enabled the removal of a trailing slash
2018-10-10 14:22:27 -05:00
adbridge
322473099d
Remove mbed-os-example-client
...
This example is now deprecated and as such needs to be removed from
ci test compilation.
2018-10-10 14:38:00 +01:00
Yossi Levy
4bb8ebf41f
Adding back blockdevice example after removing it for PR #7774 . Target should be K64F
2018-10-04 13:02:18 +03:00
Cruz Monrreal
786f10be68
Removed mbed-os-example-nfc-EEPROM from examples.json
...
Last thing blocking 5.10.1 release. Example will need to be fixed before it can be brought in.
2018-09-28 11:02:40 -05:00
Cruz Monrreal
e3343a6df1
Remove block device example in the short term
2018-09-27 23:38:47 -05:00
Cruz Monrreal
cbb4f852e1
Replace storage example targets from K64F to K82F
...
Suggested here: https://github.com/ARMmbed/mbed-os/pull/8246#issuecomment-425199620
2018-09-27 18:07:22 -05:00
Cruz Monrreal II
f5e6f16307
Enabled the removal of a trailing slash when sourcing examples from examples.json
2018-09-26 14:21:10 -05:00
Cruz Monrreal
d522880581
Removed trailing slashes in NFC examples URL
...
This apparently breaks the examples.py script.
2018-09-26 14:07:43 -05:00
Cruz Monrreal
2c870e737a
Restricted nfc example to two targets
2018-09-26 10:19:11 -05:00
adbridge
8ce2e5ac1d
Add back examples updated for mbed-os-5.10
...
While feature changes were being added to mbed-os a number of
examples were removed from this list due to incompatibility issues.
This PR adds those examples back in:
Filesystem,
Blockdevice,
Mesh-minimal,
Bootloader.
This PR also adds in the new NFC example.
2018-09-25 15:24:30 +01:00
Seppo Takalo
56dda01368
TEMPORARY Skip building of examples that rely on drivers.
2018-09-01 12:37:31 -05:00
Yossi Levy
ff82bb8a0b
Remove of mbed-os-example-mesh-minimal and mbed-os-example-bootloader from the compilation list. Those should be fixed and then set back in the example list
2018-08-29 15:09:36 +03:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Jimmy Brisson
a9abcf1b15
Add aliases to example exporter options
2018-07-09 09:49:55 -05:00
Cruz Monrreal II
27d0255cb3
Sets module no longer needed to use set()
2018-06-04 09:21:43 -05:00
Cruz Monrreal
d597a8b3f3
Updated blockdevice example to target only K64F
2018-05-25 15:23:26 -05:00
adbridge
d5941e022c
Add 2 more examples and remove deprecated one.
...
Removed:
mbed-os-example-fat-filesystem
Added:
mbed-os-example-error-handling
mbed-os-example-blockdevice
2018-05-25 18:35:31 +01:00
adbridge
aa7f0692bd
Add new examples to example list for CI.
...
The following examples have been added:
https://github.com/ARMmbed/mbed-os-example-thread-statistics
https://github.com/ARMmbed/mbed-os-example-sys-info
https://github.com/ARMmbed/mbed-os-example-cpu-usage
https://github.com/ARMmbed/mbed-os-example-cpu-stats
2018-05-25 17:34:02 +01:00
Martin Kojtal
54ac90fb5a
Merge pull request #7003 from adbridge/master
...
Add devicekey example to examples list
2018-05-25 14:01:26 +02:00
Cruz Monrreal
322c95c3a7
Limit devicekey example to only K64F
...
Lines up devicekey example with nvstore example
2018-05-24 17:38:02 -05:00
adbridge
5c3539c8ca
Add devicekey example to examples list
2018-05-24 11:13:45 +01:00
Kevin Bracey
ff32b28d1e
Refill example lists - all current Ethernet boards
...
Remove check for LWIP - check target flagging for EMAC drivers.
Should still be DEVICE_EMAC, but tooling doesn't support that.
2018-05-23 18:40:12 +03:00
Mika Leppänen
ef68eb8b4d
Enabled greentea and mbed-os-example-tls/client/sockets test for STM
2018-05-23 12:24:02 +03:00
Kevin Bracey
1683ff18ba
Disable Nanostack border router test
...
Pending Nanostack EMAC work, disable the border router.
2018-05-23 12:23:59 +03:00
Kevin Bracey
2548f1894d
Restrict client and socket example tests to K64F+K66F
...
I would like to restrict these to devices with "device_has": "EMAC", but
the framework doesn't currently permit that. Revisit as more drivers
are EMAC-enabled or if the framework changes.
2018-05-23 12:23:59 +03:00
Cruz Monrreal II
4ea96d982d
Added explicit target for NVStore, per example readme
2018-05-15 12:48:48 -05:00
Kimmo Vaisanen
b61912cbbe
Build mbed-os-example-lora only for lora targets
...
mbed-os-example-lora should be only compiled for targets which support lora.
2018-05-11 14:45:21 +03:00
adbridge
cfe2676b30
Remove example update scripting from tools
...
The examples updating functionality has now been moved to the
mbed-release script and thus can be removed from here.
2018-05-04 13:57:18 +01:00
Cruz Monrreal
cb99c280a6
Actually disabled exporters for lorawan example
2018-03-13 12:15:35 -05:00
Cruz Monrreal
1dfe716b56
Disabled exporters for lorawan example
2018-03-13 12:13:55 -05:00
Cruz Monrreal II
0ab2216803
Add lorawan and nvstore examples for testing.
2018-03-12 18:45:16 -05:00
Jimmy Brisson
95c7d4d47c
Compare to unicode in example builder
2018-02-05 11:07:37 -06:00
Jimmy Brisson
cca4425af6
Python2+3: iteritems -> items
2018-02-05 11:04:36 -06:00
adbridge
533657fa9c
Add mbed-os-example-filesystem to examples list
2017-12-21 17:09:49 +00:00
Martin Kojtal
d6d9afc7f2
Merge pull request #5499 from adbridge/master
...
Remove mbed-cloud-client-example-internal.
2017-11-16 16:11:39 +00:00
adbridge
c0164d6c75
Remove mbed-cloud-client-example-internal.
2017-11-14 11:56:00 +00:00
Shrikant Tudavekar
ccd82c24c8
Collect build artifacts disable cleanup
...
In preparation to exporter tests
2017-10-31 17:34:06 -05:00
Anna Bridge
c7e51daf41
Combine string constants passed to 'join' function
2017-10-24 15:08:41 +01:00
adbridge
bb579dcfaf
Improve domain handling and status checking of updated examples.
...
All the examples cloned from Mercurial should use the new
os.mbed.com domain. Thus update corrects that.
A new option has been added to the update.py script , -s which shows
the status of any PRs raised against the examples that are tagged with
the current release label.
2017-10-17 18:18:21 +01:00
Jimmy Brisson
299af9742d
Merge pull request #5247 from kegilbert/example-build-profile-arg
...
Add profile argument to mbed-os example build tools
2017-10-13 09:24:04 -05:00
Jimmy Brisson
5c8ef54e2f
Merge pull request #5224 from adbridge/master
...
Fix branch updates and make Linux compatible
2017-10-13 09:22:59 -05:00
Jimmy Brisson
0fd13b5288
Merge pull request #5240 from studavekar/retry-on-clone-failure
...
Add retry to handle git clone failure
2017-10-05 11:15:41 -05:00
Kevin Gilbert
f8fa90209e
Remove -p as an argument flag for profile
2017-10-03 16:14:07 -05:00
Kevin Gilbert
310f833f52
Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in
2017-10-03 15:24:29 -05:00
Shrikant Tudavekar
cdd29b87a5
Add retry to handle git clone failure
...
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-02 14:39:24 -05:00
Martin Kojtal
e6b1ef508e
examples: remove eddystone ble examples
...
They are not part of the releases
2017-10-02 15:37:52 +01:00