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
Alexander Zilberkant
8c5ba9154d
Update PSA code generator
...
Unify TF-M and Mbed-SPM code generators:
- Unify SPM initialization logic:
- All partitions are registered at once
- Test partitions are guarded by #ifndef
- Introduce single template list
- Beatify template files and add "Autogen-do not modify" notice
Prepare for integration with mbed-os build system:
- Generate all the files in a single place
Simplify tools/psa/release.py script
2019-04-30 14:10:23 +03:00
Cruz Monrreal
f1c4a029c2
Merge pull request #9844 from cmonr/travisCI-refactor
...
Travis CI: Stages, OS update, apt-get relief!
2019-04-12 09:17:55 -05:00
Cruz Monrreal
2641fb38ce
Merge pull request #10364 from kfnta/psa_codegen_refactor
...
Refactor PSA code generators
2019-04-11 20:34:11 -05:00
Cruz Monrreal II
2a2ec16a44
Fixed status reporting.
...
'tr' command wasn't doing any replacement
2019-04-11 10:50:21 -05:00
Oren Cohen
ae4341e8db
Refactor PSA code generators
...
* Unify PSA generators
* Replace scanning for mbed_spm templates with json
* Make generate_source_files and parse_manifests common
* Make assert_int an internal function
* Use parse_manifests in pytests
* Update docs
2019-04-10 14:15:28 +03:00
Brian Daniels
a5d89bb088
Update merge_region_list test case
2019-04-09 14:08:13 -05:00
Cruz Monrreal
803f5fd44e
Merge pull request #9966 from naveenkaje/sct_fix
...
tools: fix the path generated to the sct file
2019-04-09 14:03:09 -05:00
Cruz Monrreal
fba8156bda
Merge pull request #9967 from bridadan/fix_vscode_makefile_zip
...
Fix for projects exported as a zip file (affects online compiler)
2019-04-09 11:05:33 -05:00
Brian Daniels
e239549585
Fixing path comparisons on Windows
2019-04-08 13:07:11 -05:00
Cruz Monrreal II
3f76f6ed79
Fixed shellcheck issues found in functions.sh
...
Added comments to functions
2019-04-08 10:45:07 -05:00
Cruz Monrreal II
397ee3074a
Removed nearly all usage of 'apt-get'.
...
Primary cause of false Travis CI failures was running 'apt-get update'.
Refactored all instances where this was needed with manually fetching and installing dependencies in S3 instace.
This also includes GCC installation.
2019-04-08 10:45:07 -05:00
Cruz Monrreal II
5f40538c59
Re-enabled PR status reporting.
...
Added external bash file to source functions from
2019-04-08 10:45:07 -05:00
Aleksi Klasila
8137974232
rm ["python", "-m"] from build_command
2019-04-04 10:34:23 +03:00
Brian Daniels
fd7467c9ba
Test to ensure only the last linker file is used in a project
2019-04-02 09:48:55 -05:00
alekla01
3665209df8
examples test compile optional verbose
2019-04-02 09:01:55 +03:00
Brian Daniels
51c1bd35a0
Fixing path comparisons on Windows
2019-03-27 14:08:42 -05:00
Cruz Monrreal
c2e5a8bb75
Merge pull request #10131 from kegilbert/baremetal-blinky-examples-test
...
Add baremetal example to testing
2019-03-27 00:22:07 -05:00
Martin Kojtal
aca0f2f48e
Merge pull request #10114 from bridadan/armc6_mbed_ide
...
Allow the use of Mbed Studio's version of ARMC6
2019-03-23 16:30:01 +01: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
Jimmy Brisson
d331539853
Test that excluded libraries are correctly collected
2019-03-20 09:01:27 -05:00
Brian Daniels
c4a9fb3851
Test detection of Mbed Studio version of ARMC6
2019-03-19 17:36:28 -05:00
Brian Daniels
b13570907e
Remove stray prints and whitespace
2019-03-19 17:36:02 -05:00
Jimmy Brisson
10c6a277d3
Test that secure/non-secure memories are passed
...
To managed bootloader mode
2019-03-14 14:33:29 -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
Jimmy Brisson
7a3ccf9518
Test for sector information
2019-03-07 09:05:59 -06:00
Cruz Monrreal
f05a343678
Merge pull request #9894 from kfnta/find_secure_image
...
PSA tools: Find secure image at post-build
2019-03-06 13:45:13 -06:00
Jimmy Brisson
c9b613c2fe
Remove unused import patch
2019-03-04 11:36:36 -06:00
Jimmy Brisson
58867c052e
Correct test import locations
...
A few functions moved into their own module
2019-03-04 11:32:15 -06:00
Michael Schwarcz
a9fdf1f632
Add assertions and tests
2019-03-04 15:20:21 +02:00
Senthil Ramakrishnan
378a70ca62
Fixes for test fails and code style update
2019-02-28 12:00:10 -06:00
Senthil Ramakrishnan
7490b1c87f
Api tests modification and uLib related fixes
2019-02-28 11:55:21 -06:00
Cruz Monrreal
e77f03cfbc
Merge pull request #9317 from naveenkaje/tools_bootloader_script
...
tools: support cases where bootloader is in chunks
2019-02-26 22:49:42 -06:00
deepikabhavnani
f33fc3ae7b
Set IAR version as 8.32 in tools
2019-02-26 12:53:30 +00:00
Naveen Kaje
a47cfd4ccd
tools: build_api_test: Add tests to verify the processing of bootloader images
...
Add tests to
1. Verify that a ConfigException is generated if application is placed
within the bootloader region
2. Verify that a ConfigException is generated if bootloader segments
don't fit witin rom.
2019-02-21 15:11:45 -06:00
Martin Kojtal
7f4475d924
Merge pull request #9736 from 0xc0170/fix_licenses_files
...
tools/test/cmsis: add license header
2019-02-20 09:38:55 +01:00
Michael Schwarcz
516af50cb7
Consolidating tools/tfm and tools/spm into tools/psa
2019-02-19 15:19:06 +02: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
Cruz Monrreal
b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
...
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Jimmy Brisson
f331d9e94e
Add SPDX identifier for new file
2019-02-11 08:49:18 -06:00
Martin Kojtal
10bb66a053
Merge pull request #9424 from SeppoTakalo/ONME-4125
...
Allows multiple network status listeners
2019-02-11 10:41:35 +01:00
Nir Sonnenschein
8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
...
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Anna Bridge
645c1cebb5
Merge pull request #9021 from naveenkaje/fix_part_size_check
...
tools: check that part size is not exceeding region size
2019-02-07 10:16:12 +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
Naveen Kaje
43da2f22af
tools: build_api_test: add test to detect when part overflows region size
2019-01-31 17:09:28 -06:00
Jimmy Brisson
c31fb479d9
Rename tests so that you get what they do
2019-01-31 14:14:26 -06:00
Jimmy Brisson
92475ae96c
Test exclude within include
2019-01-31 11:13:52 -06:00
Jimmy Brisson
a8323337aa
Test include within an exclude
2019-01-31 11:11:56 -06:00
Jimmy Brisson
db30e714f9
Verify that we ignore non-config json files
2019-01-31 09:19:07 -06: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
Jimmy Brisson
eb6a972857
Check that recursive libs work correctly
2019-01-31 09:15:14 -06:00
Seppo Takalo
e9f5ed4263
Add "unregister" to valid word list
2019-01-31 15:04:24 +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
Jimmy Brisson
ee5fea417b
Address review comments
2019-01-30 15:06:01 -06:00
Jimmy Brisson
b836b340a2
Updated spm test runner wish short import variant
...
Co-Authored-By: cmonr <Cruz.Monrreal@arm.com>
2019-01-29 14:54:42 -06:00
Cruz Monrreal II
533dcf36ff
Added universal_newlines flag to Popen in pylint.py
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
2a9a45d087
Increased path for spm include.
...
Py3 tests were not running as a result
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
cc3114113d
In Py3.7, a reinit of a mock variable was needed.
...
It seems that initializing mock variables in an object isn't enough
2019-01-28 12:59:43 -06:00
Ari Parkkila
95839662c6
Cellular: Fix cellular specific Greentea tests
2019-01-24 23:34:44 -08:00
Cruz Monrreal
615ed31f7a
Merge pull request #9488 from 0xc0170/fix_licenses
...
Fix licenses in travis test and realtek lib
2019-01-24 16:16:38 -06:00
Kevin Gilbert
ecdd1d7cb3
Add empty en_phonet.
...
Required to run with aspell and comply with license changes
2019-01-24 11:34:14 -06:00
Martin Kojtal
32e247d06f
travis: remove phonedat database
...
Not permissive license
2019-01-24 12:28:22 +00: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
Martin Kojtal
c598a937c3
Merge pull request #9439 from jamesbeyond/examples-test
...
Examples: enabled some examples build for FVP_MPS2_M3 target
2019-01-22 13:30:42 +01:00
Martin Kojtal
31579fe4bb
Merge pull request #9328 from SeppoTakalo/ip-core-doxygen
...
Doxygen fixes for IP networking area
2019-01-22 10:48:10 +01:00
Seppo Takalo
58c2760e3f
Fix spelling mistakes
2019-01-21 11:54:49 +02:00
Qinghao Shi
bed181fe34
Examples: enabled some examples build for FVP_MPS2_M3 target
2019-01-19 19:09:17 +00:00
Cruz Monrreal II
390b581516
Added warning suppression to python api_tests.
...
Apparently local laptop isn't fast enough for test generation, but CI is
2019-01-17 12:39:52 -06:00
Cruz Monrreal II
9ed5d049bb
Added 'retarget' to aspell ignore list
2019-01-16 23:30:24 -06:00
Jimmy Brisson
c225f2c82d
Test that we don't exclude lib sources w/o requires
2019-01-16 11:17:49 -06:00
Jimmy Brisson
c5a721c104
Test that libraries' source is excluded
2019-01-16 11:05:18 -06:00
Jimmy Brisson
4dd525d0af
Add test that missing requires cause a config failure
2019-01-15 17:32:20 -06:00
Jimmy Brisson
9f6a096205
Add test case for requires from a library
2019-01-15 17:21:53 -06:00
Jimmy Brisson
dea8ea9f77
Add failing test that asserts mbed_app.json can require
2019-01-15 17:04:56 -06:00
Jimmy Brisson
e2849e6201
Implement and test filtering resources by libraries
2019-01-15 14:44:54 -06:00
kegilbert
70b9b753db
Add doxygen spellcheck jobs to Travis
...
Currently tests
- drivers
- platform
- rtos
- events
- features/netsocket
2019-01-11 10:22:15 -06:00
Jimmy Brisson
e10adffa31
Test the Resources object
2019-01-09 10:43:17 -06:00
Brian Daniels
fa4ead048d
Config parameters override macros
2018-12-06 11:19:24 -06:00
Brian Daniels
b8cdfc5369
Adding unit test for macro config
2018-12-06 10:36:49 -06: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
Martin Kojtal
c0108b1b48
Merge pull request #8863 from offirko/offir-examples-kvstore
...
Adding KVStore Examples for Global API
2018-11-28 13:53:51 +01:00
offirko
b34de42c9b
removed kvstore-class-api example
2018-11-27 14:24:56 +02:00
Oren Cohen
773ac8dd95
CR fixes
2018-11-27 09:16:45 +02:00
Jimmy Brisson
c7d3523a4e
Include `deliver_into` in Config mock
2018-11-27 09:16:36 +02:00
Oren Cohen
dd73fa689c
PSA SPM
...
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +02:00
Offir Kochalsky
7972092867
Added KVStore Examples for Global and Class APIs
2018-11-25 08:51:51 +02:00