Commit Graph

2454 Commits (c04cd4eefbdd1fdb86d85e4ce73a2c672286413f)

Author SHA1 Message Date
Mahesh Mahadevan 0a4cb3c8c3 Update to add support for Cortex-M33FD
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-27 22:26:02 -06:00
Brian Daniels a4a00ff7cf Fixing execution of OS2 tests 2018-12-27 22:26:01 -06:00
deepikabhavnani 1b8b00e329 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-27 22:25:59 -06:00
Jenny Plunkett 1faadae378 Removed "ALL" from PrettyTable import 2018-12-27 22:25:58 -06:00
Jenny Plunkett eae72efa45 Apply GitHub style to exporter matrix 2018-12-27 22:25:58 -06:00
Kevin Bracey d3610d5d4e 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-27 22:25:58 -06:00
Oren Cohen 68c3d6c657 Correct behavior of PSA code generator
* Don't generate files if a test does not contain additional partitions
2018-12-27 22:25:58 -06:00
Naveen Kaje 2fdec729a0 tools: fix up build_api padding logic and clean up unused code
Patch from the end of the first segment. Remove unused code.
2018-12-27 22:25:57 -06:00
Naveen Kaje f7a114eba8 tools: Update build_api
Rename loop varibles for better readability and
formatting changes.
2018-12-27 22:25:57 -06:00
Naveen Kaje c8de1aed5e tools: Update build_api padding method
Update the padding sequence so that the gaps
are padded after all the regions are merged.
This avoids overwriting active regions and
serializes the process.
2018-12-27 22:25:57 -06:00
Naveen Kaje 3f9327bd3d tools: update build_api and __init__ as per review comments 2018-12-27 22:25:57 -06:00
Naveen Kaje b2e4c44734 tools: process bootloader chunks
NRF Softdevice hex file can be in chunks.
Make sure we account for the space where the bootloader resides
by including all the chunks within the end of rom marker. This will
clearly mark out the initial bootloader region.
2018-12-27 22:25:57 -06:00
Simo Sillankorva e33706c12d Remove max_app_addr checking from .hex
* Remove max_app_addr logic from tools/config/__init__.py as it was not working properly with some of the .hex files.
2018-12-27 22:25:57 -06:00
Jammu Kekkonen 73ddffd1aa Review fixes 2 for bootloader region generation 2018-12-27 22:25:57 -06:00
Jammu Kekkonen 319b3d6a3d Review fixes for bootloader region generation 2018-12-27 22:25:57 -06:00
Jammu Kekkonen ed782f52d2 Fix bootloader build region generation and add support for bootloaders with multiple segments, as required by NRF52 bootloader. 2018-12-27 22:25:56 -06:00
zhanglu@realtek-sg.com da0a385f7d This PR modifies the name of the bin file generated for SMCC FOTA feature
This PR modifies the name of the bin file generated for SMCC FOTA feature

Description
Modify name of the bin file from '-payload.bin' to '_update.bin' in REALTEK_RTL8195AM.py file to adapt the manifest tool requirment for the SMCC FOTA feature.

Pull request type
[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-27 22:25:55 -06:00
Jimmy Brisson 6dbdce49b0 Migrate old memap file handling into toolchains
### Description

This PR moves the old memap file handling required for differential
memap from within memap to the toolchain object. This has the
advantage that we can do the `mv <app>.map <app>.map.old` the moment
before it is overwritten by the linker. This should allow multiple
reruns of memap without modifying your build directory.

### Pull request type

    [ ] Fix
    [x] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-12-27 22:25:54 -06:00
Olli-Pekka Puolitaival 03e0a7062b Moving some examples testing from K64F to K66F 2018-12-27 22:25:54 -06:00
Jimmy Brisson 6ea826f0ae 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-13 15:33:38 +00:00
Brian Daniels 7f418f450c Config parameters override macros 2018-12-11 16:14:46 -06:00
Brian Daniels b4f4ac6d2a Adding unit test for macro config 2018-12-11 16:14:46 -06:00
Brian Daniels 5812ae7004 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-11 16:14:46 -06:00
Oren Cohen ef7df31fd6 Ignore PSA secure targets 2018-12-11 16:14:46 -06:00
Oren Cohen 5bff3ad9af Prepare postbuild for prebuilt images 2018-12-11 16:14:46 -06:00
Oren Cohen b4a77f6ead 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-11 16:14:45 -06:00
Oren Cohen d95f66667c SPM code generator support for python 2 & 3 2018-12-11 16:14:44 -06:00
Oren Cohen 094fedfec9 Add SPM code generation test to Travis-CI 2018-12-11 16:14:44 -06:00
Oren Cohen 1c26ba5a71 Fix target handling in build.ppy 2018-12-05 11:09:50 +00: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
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