Qinghao Shi
38776fbd99
TEST: add atecc608a example to compilation test
2019-10-31 23:57:14 +00:00
Martin Kojtal
83c4a80082
Merge pull request #11710 from jamesbeyond/exp_github
...
Update examples testing scripts
2019-10-28 09:50:36 +01:00
Qinghao Shi
a211cf16a9
EXAMPLES: temporarily turn off build for NFC examples
2019-10-25 17:33:27 +01:00
Hugues Kamba
c712d2f6ee
Move script to check for floats and make it Python 2 compatible.
...
All scripts pertaining to example projects tests should be in the same
directory. The test framework uses Python2 therefore this script also needs
to be Python2 compatible.
2019-10-21 14:05:22 +01:00
Qinghao Shi
5100bddc99
EXAMPLES: fix a typo in the path
2019-10-21 12:33:08 +01:00
Amanda Butler
924787fb0f
Edit README.md
...
Edit file, mostly for formatting and grammar.
2019-10-18 17:04:32 -05:00
Qinghao Shi
61c170f5f9
EXAMPLES: remove default build profiles
2019-10-18 12:41:49 +01:00
Qinghao Shi
59a4ad680d
EXAMPLES: add README file
2019-10-17 23:06:11 +01:00
Qinghao Shi
52b4c39496
EXAMPLES: temporarily turn off the complie test for sub example
2019-10-17 01:10:24 +01:00
Qinghao Shi
88d5079504
EXAMPLES: update comments and fix bugs
2019-10-17 00:57:15 +01:00
Qinghao Shi
cf02be63ff
EXAMPLES: update console output format
2019-10-16 23:46:18 +01:00
Qinghao Shi
6876362689
EXAMPLES: update build_repo function
2019-10-16 18:09:36 +01:00
Qinghao Shi
3f0add7e44
EXAMPLES: update export_repos function
2019-10-16 18:06:24 +01:00
Qinghao Shi
4c5f94075f
EXAMPLES: update examples_lib.py
...
- add logging function
- update clone function
- update deploy function
- update source function
- add symlink function
2019-10-16 18:00:33 +01:00
Qinghao Shi
640ea73a01
EXAMPLES: improve examples.py cli help messages
2019-10-16 17:52:42 +01:00
Qinghao Shi
fa86629ec6
EXAMPLES: add list amd Symlink functions
2019-10-16 17:47:36 +01:00
Qinghao Shi
2f6f066f07
EXAMPLES: update examples.json file
...
- remove "mbed" and "test-repo-source" key
- add "sub-repo-example" key as an indicator if an example has sub examples
- add "subs" key to sotre sub examples names
2019-10-16 17:20:05 +01:00
Qinghao Shi
f317753a1d
EXAMPLES: add test key for remaining examples
2019-10-16 15:56:10 +01:00
Olli-Pekka Puolitaival
ff2778f5f6
Fix documentation
2019-09-17 15:26:06 +03:00
Olli-Pekka Puolitaival
350c0eff22
Make able to define build jobs amount when building examples
2019-09-16 13:30:24 +03:00
Qinghao Shi
7203154566
TEST: update compare log file name
2019-09-11 19:01:48 +01:00
Olli-Pekka Puolitaival
aebda11adf
Use very verbose to see more details in case of problem
2019-08-30 09:14:06 +03:00
Olli-Pekka Puolitaival
ba26bd9cde
Python3 fixes
2019-08-16 13:51:21 +03:00
Olli-Pekka Puolitaival
aa1d16e871
Python3 fixes
2019-08-15 10:06:41 +03:00
Martin Kojtal
15539e0710
Merge pull request #10749 from jamesbeyond/example_test
...
Examples: enable more tests for examples
2019-06-09 18:18:37 +01:00
adbridge
366b18ea1f
Re-enable complilation for wifi and nanostack examples
2019-06-07 10:50:24 +01:00
Qinghao Shi
31fc1e56f2
Examples: enable more tests for examples
2019-06-03 18:30:42 +01:00
Martin Kojtal
8fc2a3c92a
Merge pull request #10675 from 0xc0170/update-mbedtls-2.18.0-rc1
...
Update mbedtls 2.18.0 rc1
2019-05-28 20:24:18 +01:00
Martin Kojtal
eebc1b9e40
Revert "Check mbed-crypto-example with fork"
...
This reverts commit ff18a64e00
.
Use the official repository
2019-05-27 08:02:55 +01:00
Qinghao Shi
09e21a20d2
TESTS: update examples.json to enable testing
2019-05-21 14:27:10 +01:00
Qinghao Shi
35eeef55a1
fix a bug where base_path was wrong
2019-05-19 00:32:39 +01:00
Qinghao Shi
3bb0a8aded
fix a bug when STDOUT has less than 5 lines
2019-05-18 23:57:23 +01:00
Qinghao Shi
48e1a56e0e
add a comment based on review
2019-05-15 23:31:58 +01:00
Qinghao Shi
71d7970fc5
fix issues base on the review
2019-05-10 17:48:15 +01:00
Qinghao Shi
b2611fb801
TEST: update python script to enable example smoke test
...
* it will check examples.json if contains 'test', 'compare_log', 'baud_rate' keys
* it will dump test_spec.json test in examples compiled successfully
2019-05-02 15:26:15 +01:00
Aleksi Klasila
8137974232
rm ["python", "-m"] from build_command
2019-04-04 10:34:23 +03:00
alekla01
3665209df8
examples test compile optional verbose
2019-04-02 09:01:55 +03:00
kegilbert
ac2a52a429
Remove gnuarmeclipse from baremetal export testing
...
baremetal does not currently work with gnuarmeclipse
2019-03-22 09:17:24 -05:00
Kevin Gilbert
8084fd91af
Add baremetal example to testing
2019-03-20 18:04:33 -05:00
adbridge
34ae13dd48
Fix cut/paste error in the new example github link
2019-03-11 12:09:48 +00:00
adbridge
9432d45746
Looks like only the LPC55S69_NS flavour of target is required.
2019-03-11 11:57:56 +00:00
adbridge
618d31bb2b
Remove unecessary _S and _NS target variants from new example
2019-03-11 11:48:00 +00:00
adbridge
af540936be
Add new mbed-os-example-attestation example
2019-03-11 11:27:49 +00:00
Martin Kojtal
195965fd5e
tools: move string description after import modules
2019-02-19 10:49:04 +00:00
Martin Kojtal
c8f698ca36
tools: add license headers
2019-02-15 13:32:45 +00:00
Martin Kojtal
dcba5ffa3c
Merge pull request #9529 from kfnta/its_crypto
...
RollUp PR Crypto with ITS
2019-02-04 17:14:05 +01:00
Oren Cohen
ff18a64e00
Check mbed-crypto-example with fork
...
Revert this commit once these changes are merged to example master
2019-01-31 17:17:57 +02:00
Martin Kojtal
dbc3c6250b
Merge pull request #9487 from theamirocohen/add_sd_driver_example
...
Add sd-driver example
2019-01-31 11:22:59 +01:00
Amir Cohen
f7ea4c9e67
Add sd-driver example
2019-01-24 13:34:35 +02:00
deepikabhavnani
2c062310cb
Corrected the targets value in json file as CI uses real board names
2019-01-22 12:37:44 -06:00
Qinghao Shi
bed181fe34
Examples: enabled some examples build for FVP_MPS2_M3 target
2019-01-19 19:09:17 +00:00
Cruz Monrreal
d6b2a1a6da
Merge pull request #8835 from OPpuolitaival/balancing_examples
...
Moving some examples testing from K64F to K66F
2018-11-29 10:22:56 -06:00
Anna Bridge
f9d07f373f
Merge pull request #8898 from cmonr/add-crypto-example
...
Add crypto example to examples.json
2018-11-29 13:53:47 +00:00
Martin Kojtal
d45917e4cd
Merge pull request #8897 from cmonr/add-tls-socket-example
...
Add TLS Sockets example to examples.json
2018-11-29 10:03:24 +01:00
Cruz Monrreal II
9cedb1a687
Added tls-socket example to examples.json
2018-11-28 19:32:17 -06:00
Cruz Monrreal
78401ed751
Merge pull request #8896 from deepikabhavnani/stats_example
...
Update Statistics examples in example test json
2018-11-28 18:51:36 -06:00
Cruz Monrreal II
5ecf9a27d6
Added crypto example to examples.json
2018-11-28 15:22:19 -06:00
Deepika
66863e23ee
Switch between K64F/K66F for statistics example
2018-11-28 14:02:43 -06:00
Deepika
5ff118dfce
Add socket stats example
2018-11-28 13:55:34 -06:00
Senthil Ramakrishnan
b1a7b45135
Add crash-reporting example to examples.json
2018-11-28 12:56:48 -06:00
offirko
b34de42c9b
removed kvstore-class-api example
2018-11-27 14:24:56 +02:00
Offir Kochalsky
7972092867
Added KVStore Examples for Global and Class APIs
2018-11-25 08:51:51 +02:00
Olli-Pekka Puolitaival
dcafca7705
Moving some examples testing from K64F to K66F
2018-11-22 10:13:43 +02:00
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