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
Martin Kojtal
0f1962e86d
Merge pull request #11437 from hugueskamba/hk-harmonize-doxygen-grouping
...
Harmonise Doxygen comments in drivers, events, platform and rtos dirs
2019-09-10 10:56:41 +02:00
Hugues Kamba
5933dec3b7
Harmonise Doxygen comments in drivers, events, platform and rtos dirs
...
When a Doxygen group has been defined (created), all its needed to add
documentation to that group is `\addtogroup`. Since all the information
about the group is preserved, it is not necessary to mention the group
hierarchy again with `\ingroup`. This PR removes unnecessary Doxygen lines
across the `drivers`, `events`, `platform` and `rtos` directories.
It also ensures that new groups are created with `\defgroup` once and
referenced with `\addtogroup` whenever documentation needs to be added to
an existing group.
2019-09-09 10:59:51 +01:00
Hugues Kamba
074b379439
Correct doxy-spellchecker error message
2019-09-07 21:00:21 +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
Mika Leppänen
e3f247793a
Added PPP directory to astyle ignore and added some spellchecker ignore words
2019-08-20 13:37:12 +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
Hugues Kamba
2a9207bbe4
Address comments on workaround for Mbed OS 2 CI build after Public ( #11114 )
...
* Modify compilation API to provide a list of paths to exclude from the build.
* `_exclude_files_from_build` becomes a static method
* Replace ternary expression with simple `if/else` statement
* Make unit test case for dirs exclusion independent of system files
2019-08-02 12:32:40 +01:00
George Psimenos
df5baf6031
USB public APIs cleanup ( #11034 )
...
The contents of the usb directory were moved to appropriate locations and the usb directory removed.
* Public USB headers moved under drivers/
* Internal USB headers moved under drivers/internal/
* USB Source code moved under drivers/source/usb/
* Moved usb/device/hal/ under hal/usb/
* Moved usb/device/USBPhy/ under hal/usb/
* Merged usb/device/targets/ into targets/
* Separated public and private USB API documentation under Doxygen groups drivers-public-api and drivers-internal-api.
2019-08-02 12:23:47 +01:00
Hugues Kamba
bfa1b4dd84
Drivers/Events/RTOS Public and internal APIs cleanup ( #10955 )
...
Separate drivers, events, and rtos internal APIs from public APIs.
* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.
Release Notes
This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00
Kevin Bracey
0bb4c050b7
SingletonPtr: API extensions, make constexpr
...
* Adjust definition to make the default constructor `constexpr`.
This permits use in classes that want lazy initialization and their
own `constexpr` constructor, such as `mstd::mutex`.
* Add `get_no_init()` method to allow an explicit optimisation for
paths that know they won be the first call (such as
`mstd::mutex::unlock`).
* Add `destroy()` method to permit destruction of the contained object.
(`SingletonPtr`'s destructor does not call its destructor - a cheat
to omit destructors of static objects). Needed if using in a class
that needs proper destruction.
2019-07-18 20:02:04 +03:00
Volodymyr Medvid
5cc66282dd
PSOC6: remove PSA targets
2019-07-08 14:49:26 +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
Martin Kojtal
659c099ff7
Merge pull request #10625 from jamesbeyond/example_test
...
TESTS: update examples.json to enable testing
2019-05-24 12:19:35 +01:00
Devaraj Ranganna
29dfab93bb
Replace FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA targets with
...
CY8CKIT_062_WIFI_BT_M0_PSA and CY8CKIT_062_WIFI_BT_PSA in config test
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-05-22 10:20:57 +01:00
Devaraj Ranganna
7765d39283
The targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA are removed
...
due to partial implementation. Having FUTURE_SEQUANA_M0 and
FUTURE_SEQUANA PSA targets is misleading.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-05-21 15:00:31 +01:00
Qinghao Shi
09e21a20d2
TESTS: update examples.json to enable testing
2019-05-21 14:27:10 +01:00
Martin Kojtal
7d0cc69fb1
Merge pull request #10521 from jamesbeyond/example_test
...
TEST: update python script to enable examples smoke test
2019-05-21 10:07:28 +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
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