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
Offir Kochalsky
7972092867
Added KVStore Examples for Global and Class APIs
2018-11-25 08:51:51 +02:00
Martin Kojtal
6c1c1693f5
Merge branch 'wio3g-export' of https://github.com/SeeedJP/mbed-os into dev_rollup
2018-11-24 21:15:49 +00:00
Martin Kojtal
e72b7c3b96
Merge pull request #8803 from theotherjimmy/armc6-armc5-compat
...
Compatibilize ArmC6 with ArmC5-built archives
2018-11-24 19:48:13 +01:00
Mikhail Maltsev
d16388354a
Fix build of library archive with Arm Compiler 6
...
The 'archive' method of the toolchain class 'ARM' expects that self.ar
is a string, but the constructor of the class 'ARMC6' initializes it
with a list. This patch fixes the issue.
2018-11-22 13:32:20 +00:00
Martin Kojtal
5b42e2886f
Merge pull request #8607 from aashishc1988/ram_rom_fetch
...
Fetch ram/rom start/size
2018-11-22 10:49:50 +01:00
Jimmy Brisson
b1b69d2d60
Compatibilize ArmC6 with ArmC5-built archives
...
### Description
Arm compiler 5 builds with "short" enums and "short" wchars. This means
that C/C++ enums will be packed into the smallest power of 2 number of
bytes by the compiler and the `wchar_t` is 2 bytes. Arm compiler 6
defaults to packing enums into 4 bytes and `wchar_t` is 4 bytes.
Further, Arm Compiler 5's `-O0` (no optimizations) bulids will actually
do some amount of optimizing, similar to Arm Compiler 6's `-O1`. I have
switched the debug profile to `-O1` for maximum compatibility with our
prior behavior.
NOTE: "Compatibilize" is a word
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-19 11:43:05 -06:00
Martin Kojtal
13b60c2991
Merge pull request #8673 from kegilbert/config-range-limits-dev
...
Add Mbed Configuration Option Range Limits
2018-11-19 13:14:02 +00:00
Yoshihiro TSUBOI
a1d2ac7462
[Wio 3G] Adding IAR exporting definition
2018-11-18 00:35:37 +09:00
Brian Daniels
6cab1e0018
Fixing traceback when running mbed test
2018-11-16 15:28:50 -06:00
Cruz Monrreal
fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
...
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Aashish chaddha
0c594a42dc
The check for managed bootloader support should be in regions and we need a try/catch when we call it.
...
Moved "bootloader_not_supported" check to where it was and handle that exception at only one place.
Removed ram/rom size info for realtek from targets.json. THe info we have is not correct.
was Not handling config exceptions from regions and ram_regions property
adding rom-ram info for REALTEK_RTL8195AM
2018-11-15 15:28:14 -06:00
kegilbert
c26c258c66
Update expected error message
2018-11-15 12:24:06 -06:00
kegilbert
9116b9921b
Remove redundent line
2018-11-15 11:44:53 -06:00
Brian Daniels
5ec1d7c221
Update tools/config/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2018-11-15 11:43:41 -06:00
Martin Kojtal
caae883306
Merge branch 'Musca_march' of https://github.com/deepikabhavnani/mbed-os into dev_rollup
2018-11-15 14:02:14 +00:00
Martin Kojtal
d925d124c9
Merge branch 'remove-filer-paths' of https://github.com/theotherjimmy/mbed into dev_rollup
2018-11-15 13:58:45 +00:00
kegilbert
9d9cd84942
Refactor logic to improve readability
...
Move JSON accepted value ranges back to JSON array
2018-11-14 18:31:59 -06:00
Martin Kojtal
82f195c021
Merge pull request #8696 from theotherjimmy/handle-parent-renames
...
Resources: Avoid assuming that deps have a sane name
2018-11-14 08:26:11 +00:00
kegilbert
7a436660e9
Handle None and hex values in string format
2018-11-13 16:12:35 -06:00
Jimmy Brisson
3db1a8aa67
Avoid constructing a FileRef when we don't use it
2018-11-13 09:53:50 -06:00