Commit Graph

2467 Commits (dbdbae36329b2096c3fb232904a24d062af3519c)

Author SHA1 Message Date
Anna Bridge a91dccd901
Merge pull request #9072 from theotherjimmy/toggle-memory-defines
Enable stats reporting with a flag in targets.json
2018-12-13 15:10:46 +00:00
Martin Kojtal 93da33f151
Merge pull request #8995 from NXPmicro/Update_for_M33_FD
Add core option for Cortex-M33 with DSP enabled
2018-12-12 14:43:43 +01:00
Jimmy Brisson 9dbdbe8e85 Enable stats reporting with a flag in targets.json
### Description

PR #8607 will cause problems for the NRF52832 and the NRF52840
in the online compiler starting with 5.10.2. This PR prevents this problem
by using a toggle in `targets.json` to enable these new defines for every
target except for the NRF52832 and NRF52840.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-12-11 15:58:37 -06:00
Cruz Monrreal 3df9421cc1
Merge pull request #8993 from yennster/table-md
Apply GitHub style to exporter matrix
2018-12-10 13:58:18 -06:00
deepikabhavnani f05e7b77d0 Add core option for Cortex-M33 with DSP enabled
Signed-off-by: Deepika Bhavnani <Deepika.Bhavnani@arm.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-07 12:20:01 -06:00
Cruz Monrreal 211c662b6d
Merge pull request #8980 from kjbracey-arm/iar8_memap
memap.py: Cope with IAR 8 linker map
2018-12-06 21:27:22 -06:00
Cruz Monrreal 035e8e0b77
Merge pull request #8964 from kfnta/parser_empty_tests
Correct behavior of PSA code generator
2018-12-06 21:25:42 -06:00
Cruz Monrreal 243b9dfdcf
Merge pull request #8982 from bridadan/fix_duplicate_macros
Ensure macros and parameters with the same name are not repeated.
2018-12-06 21:23:21 -06:00
Jenny Plunkett 4e466b7ff8 Removed "ALL" from PrettyTable import 2018-12-06 14:42:41 -06:00
Jenny Plunkett a578768c48 Apply GitHub style to exporter matrix 2018-12-06 14:42:41 -06:00
Cruz Monrreal 78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
Add new target future sequana PSA
2018-12-06 13:13:36 -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
Brian Daniels 5957ffd306 Ensure macros and parameters with the same name are not repeated.
This covers the case when a macro is set with the same name as a
parameter. Previously, the macro would be repeated on the command line,
which causes certain toolchains to break (ex. IAR assembler). Now the
config system will override the parameter's value with the macro's
value.
2018-12-06 10:31:38 -06:00
Oren Cohen 935f2bdfbc Correct behavior of PSA code generator
* Don't generate files if a test does not contain additional partitions
2018-12-06 18:17:09 +02:00
Oren Cohen c4c21d2d1f Ignore PSA secure targets 2018-12-06 17:43:34 +02:00
Oren Cohen 2e19868ff9 Prepare postbuild for prebuilt images 2018-12-06 09:35:50 +02:00
Kevin Bracey 983d0d49e4 memap.py: Cope with IAR 8 linker map
IAR 8 linker map puts C++14-style apostrophe digit separators in its
addresses, such as:

     .data   inited  0x2000'1ff0    0x4  mbed_rtx_idle.o [159]

Extend the regex pattern to allow this.
2018-12-05 15:47:32 +02:00
Cruz Monrreal a1625895c3
Merge pull request #8097 from JammuKekkonen/fix_bootloader_build_for_nrf52
Add support for nrf52_dk bootloader
2018-12-04 16:10:15 -06:00
Oren Cohen f1d3eb9340 Add FUTURE_SEQUANA_PSA target
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-04 18:38:50 +02:00
Oren Cohen 4514da6db3 Fix target handling in build.ppy 2018-12-03 18:25:25 +02:00
Martin Kojtal b0054897b1
Merge pull request #8854 from AdamZhang0124/realtek-rtl8195am-SMCC_FOTA-bin_file_name-update
SMCC FOTA: bin name change
2018-12-03 13:23:53 +01:00
Cruz Monrreal 2b46b1d64d
Merge pull request #8779 from theotherjimmy/memap-better-old
Migrate old memap file handling into toolchains
2018-11-30 17:51:08 -06:00
Cruz Monrreal II fca8877fea Revert "Merge pull request #8788 from kaidokert/master"
This reverts commit d478d6bf80, reversing
changes made to f9d07f373f.
2018-11-30 00:06:05 -06:00
Cruz Monrreal 5047ea4f42
Merge pull request #8889 from kfnta/psa_travis_check
Add PSA code generation check in travis
2018-11-29 10:23:25 -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
Cruz Monrreal d478d6bf80
Merge pull request #8788 from kaidokert/master
Fix unsigned packing bug in merge_regions #8544
2018-11-29 10:22:18 -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
Oren Cohen dcba1e76d1
SPM code generator support for python 2 & 3 2018-11-29 01:58:35 +02: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
Oren Cohen 45bd4f305a Add SPM code generation test to Travis-CI 2018-11-28 14:38:44 +02:00
Martin Kojtal e69aa15aea
Merge pull request #8744 from kfnta/psa_spm_base
PSA Secure partition manager and services
2018-11-27 15:26:38 +01:00
offirko b34de42c9b removed kvstore-class-api example 2018-11-27 14:24:56 +02:00
Martin Kojtal f4774a9a59
Merge pull request #8840 from miyuki/master
Fix build of library archive with Arm Compiler 6
2018-11-27 09:12:50 +01:00
Oren Cohen 773ac8dd95 CR fixes 2018-11-27 09:16:45 +02:00
Alexander Zilberkant 2b9f94a0ad Remove dead code 2018-11-27 09:16:45 +02:00
Oren Cohen 6cd4f7789f Add Version to SPM templates and generator 2018-11-27 09:16:43 +02:00
Alexander Zilberkant 9cc017fd48 Normalize license headers
- add SPDX license identifier
- add missing license headers
- update year in license headers
2018-11-27 09:16:40 +02:00
Alexander Zilberkant aea01a86f6 astyle changes 2018-11-27 09:16:38 +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
deepikabhavnani c272377a81 Make sure no memory overhead if statistics are disabled 2018-11-26 09:42:45 -06:00
Deepika f6c1a40b29 Add config options for socket statistics
1. MBED_CONF_NSAPI_SOCKET_STATS_ENABLE to enable the statistics
2. MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT max sockets statistics cached
2018-11-26 09:42:45 -06:00