Martin Kojtal
812812a626
nuvoton m2351: fix RAM regions - only one RAM1
...
Revert latest change to index. Linker scripts follow one RAM region. If index is updated,
requires further changes in the target that should be done separately.
2019-03-05 09:49:59 +00:00
Jimmy Brisson
288fc2fb1c
Manually re-combine NUMAKER_PFM_M2351 memories
2019-03-04 16:53:02 -06:00
Jimmy Brisson
a69e2b45ff
Recompute Numaker PFM M2351 sectors
2019-03-04 13:28:11 -06:00
Jimmy Brisson
c9b613c2fe
Remove unused import patch
2019-03-04 11:36:36 -06:00
Jimmy Brisson
1f4c2710b1
Add SPDX identifier to liscense in "new" file
2019-03-04 11:36:36 -06:00
Jimmy Brisson
c9674dc7f8
Fix pylint in iar.py except for the long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
1712506de2
Fix pylint warnings in gcc.py except for the long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
5dd149cb13
Fix formatting erros in arm.py
...
except for the extremely long regex
2019-03-04 11:36:36 -06:00
Jimmy Brisson
a2fcdba040
Move toolchain base class into another file
2019-03-04 11:32:16 -06:00
Jimmy Brisson
b0b43c27bf
Correct all pylint warnings and errors except 4
...
The 4 remaining are related to the fact that __init__.py defines a base class.
They'll be removed next commit
2019-03-04 11:32:16 -06:00
Jimmy Brisson
7a55bc7b0c
Prevent "Image: None" in log
2019-03-04 11:32:16 -06:00
Jimmy Brisson
98a7bfcdcc
Define filename when OUTPUT_EXT is elf
2019-03-04 11:32:16 -06:00
Jimmy Brisson
9c9e0595f2
Add SPDX identifier
2019-03-04 11:32:15 -06:00
Jimmy Brisson
cd20c37cdc
Drop unused variable from link_program
2019-03-04 11:32:15 -06:00
Jimmy Brisson
3353722d36
Correct use before definition bug in ARM
2019-03-04 11:32:15 -06:00
Jimmy Brisson
a007212602
Remove use of hooks from IAR
...
Aparantely I missed this previously
2019-03-04 11:32:15 -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
Jimmy Brisson
4cac89c22b
Reorder post-build and managed bootloader mode merging
...
Priously, post-bulid was run before the merge from managed bootloader mode.
This renders many post-build scripts less than useful, as most of them
compute a digest of the ROM image generated in a build.
This reorders the post-build scripts to come after the managed bootloader
mode so that post-build script digests are useful again.
2019-03-04 11:30:49 -06:00
Jimmy Brisson
aeeb43fb3c
Simplify hook tool implementation
...
The "hook tools" were capable of hooking into many commands run by the build system.
To my knowlage, the only hook is the "post-build-hook". The post build hook could be
easier to reason about if the implementation is specialized for just post-build
hooking.
This commit make it much easier to point out where post build hooks are called by
making the call explicit.
2019-03-04 11:30:49 -06:00
Jimmy Brisson
643b5785a5
Recreate STM32F439ZITx sector information
2019-03-04 11:24:48 -06:00
Jimmy Brisson
fd63f5bde5
Correct python3 bug in gerenate index
2019-03-04 11:24:48 -06:00
Jimmy Brisson
1e5b83262a
Recompute sector information for STM32F429ZITx
2019-03-04 11:24:47 -06:00
Jimmy Brisson
c5bbfb2d51
Correct name of K22F
2019-03-04 11:24:47 -06:00
Jimmy Brisson
049ee2df4d
Add old name for STM32H743ZI
2019-03-04 11:24:47 -06:00
Jimmy Brisson
859949fc74
Update index to include vendor information
2019-03-04 11:24:47 -06:00
Jimmy Brisson
8d7c15ee35
Use device variant in uvision export
2019-03-04 11:24:47 -06:00
Jimmy Brisson
9de37ec39c
Correct uvisionn export
2019-03-04 11:24:47 -06:00
Brian Daniels
dbbf336949
Avoid KeyError Exceptions.
...
Co-Authored-By: theotherjimmy <theotherjimmy@gmail.com>
2019-03-04 11:24:47 -06:00
Jimmy Brisson
4af70dcaa1
Use updated CPM info in config system
2019-03-04 11:24:47 -06:00
Jimmy Brisson
aa07e126f1
Use upgrade table for unavailable CMP data
2019-03-04 11:24:47 -06:00
Jimmy Brisson
74f45fbbfc
Start using CPM
2019-03-04 11:24:46 -06:00
Martin Kojtal
e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
...
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Martin Kojtal
5c24ffefa4
Merge pull request #9915 from kfnta/tfm_import_new
...
Update TF-M sources
2019-03-04 10:53:12 +01:00
Oren Cohen
f234a1dc5b
Unify PSA code generators
2019-03-03 21:15:49 +02:00
Michael Schwarcz
f32f2ae0b0
Update tfm_importer.json with updated SHAs
2019-03-03 16:49:56 +02:00
Oren Cohen
cfb60ec955
Fixes
...
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz
4eabce80b4
TF-M: Update tfm_importer.json
2019-03-03 10:55:47 +02:00
Michael Schwarcz
b62c48977f
Review fixes
2019-03-03 10:55:46 +02:00
Michael Schwarcz
ef76ec83ee
Generate psa_manifest/sid.h
2019-03-03 10:55:46 +02:00
Michael Schwarcz
f9fbd6ae82
Align PSA SPM tests to TF-M
2019-03-03 10:55:42 +02:00
Oren Cohen
483b23c318
Fix SPM warnings
2019-03-03 10:54:55 +02:00
Oren Cohen
21d09b4156
Unify flags
2019-03-03 10:54:53 +02:00
Senthil Ramakrishnan
e1e4456c47
Fixes for exporters failing with wrong compiler settings
2019-03-01 13:21:33 -06:00
Martin Kojtal
7ed16fbd76
Merge pull request #9892 from kfnta/psoc6_binary_hook
...
Update PSOC6 postbuild prints
2019-03-01 11:24:33 +01:00
Cruz Monrreal
13945c6db3
Merge pull request #9891 from deepikabhavnani/nuc472_iar8
...
Correct the device name for NUC472 / M453 - IAR 8
2019-02-28 19:11:54 -06:00
Cruz Monrreal
460e4e7836
Merge pull request #9817 from kegilbert/artifact_name_export
...
Apply artifact_name configuration parameter to exported projects
2019-02-28 18:22:28 -06:00
Cruz Monrreal
aaf3ce4741
Merge pull request #9727 from pan-/optimize-size
...
BLE API devirtualization
2019-02-28 18:20:36 -06:00
Deepika
a3c7caf3de
Correct the device name for M453
2019-02-28 14:41:35 -06:00
Senthil Ramakrishnan
96c74d4dce
Changes to use response files(pass includes in a file)
2019-02-28 12:03:14 -06:00
Senthil Ramakrishnan
7ced0683ad
Fix for review comments and ARMC5 listing added for supported toolchain matrix output
2019-02-28 12:03:14 -06:00
Senthil Ramakrishnan
f8dc7c2915
Modify tools to return ARMC5 or ARM for supported toolchain matrix
2019-02-28 12:03:14 -06:00
Senthil Ramakrishnan
51b1063195
Add right toolchains for version 2 toolchain support check
2019-02-28 12:03:14 -06:00
Senthil Ramakrishnan
8a8cff7c98
build_api.py changes to take ARMC5 into account when validating for offical target/release combination
2019-02-28 12:01:31 -06:00
Senthil Ramakrishnan
654f4d93a4
Modify ARM_STD,ARM_MICRO,ARMC6 constructors to be compatible with older versions of build tools
2019-02-28 12:00:11 -06:00
Senthil Ramakrishnan
4e7d34bbb6
Review fixes for uvision exporter,build_api and arm.py
2019-02-28 12:00:11 -06:00
Senthil Ramakrishnan
22da2be37f
Update uvision exporter to capture ARMC6 as default toolchain
2019-02-28 12:00:11 -06:00
Senthil Ramakrishnan
e2646407de
Adding ARMC6 label for ARMC6 toolchain class
2019-02-28 12:00:11 -06:00
Senthil Ramakrishnan
378a70ca62
Fixes for test fails and code style update
2019-02-28 12:00:10 -06:00
Senthil Ramakrishnan
200829537f
Remove unwanted spaces
2019-02-28 11:58:26 -06:00
Senthil Ramakrishnan
8624fdf0a7
Build metadata check added
2019-02-28 11:56:30 -06:00
Senthil Ramakrishnan
7490b1c87f
Api tests modification and uLib related fixes
2019-02-28 11:55:21 -06:00
Senthil Ramakrishnan
50eb4f9da8
Build tools changes to support AC6 and AC5
2019-02-28 11:55:21 -06:00
Senthil Ramakrishnan
3956969a9f
RealTek post script fix for ARMC6
2019-02-28 11:53:00 -06:00
Oren Cohen
f7b6af0c1d
Update PSOC6 postbuild prints
2019-02-28 18:23:03 +02:00
Deepika
01d6f38268
Correct the device name for NUC472
2019-02-28 10:03:00 -06:00
Martin Kojtal
c123b98b3c
Merge pull request #9804 from aashishc1988/disable_update_cert
...
Provide an option to disable writing developer certificate
2019-02-27 11:13:30 +01:00
Martin Kojtal
d4a07e0adb
Merge pull request #9851 from vidavidorra/feat/support-obj-in-memap
...
feat: add support for .obj files in memap
2019-02-27 09:48:46 +01: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
Cruz Monrreal
4b13c8a212
Merge pull request #9768 from c1728p9/feature-hal-spec-usb-device
...
Bring USB Feature branch into master
2019-02-26 22:48:02 -06:00
Cruz Monrreal
d29312e7ac
Merge pull request #9808 from ARMmbed/feature-iar8
...
IAR 8 feature branch merge
2019-02-26 15:30:27 -06:00
Aashish chaddha
294bb3a58f
Modified code to stop assuming that subparser lies at certain position
2019-02-26 15:10:39 -06:00
Deepika
1ad23433f5
Remove IAR from required toolchains list
2019-02-26 10:26:13 -06:00
Jeroen de Bruijn
faac445b34
feat: add support for .obj files in memap
2019-02-26 14:46:19 +01:00
Vincent Coubard
c7169b0638
BLE - accept tpp extensions for header files.
2019-02-26 13:18:18 +00:00
deepikabhavnani
f33fc3ae7b
Set IAR version as 8.32 in tools
2019-02-26 12:53:30 +00:00
Cruz Monrreal
15ccb32d31
Merge pull request #9836 from kfnta/tfm_patch
...
TF-M: Fix issues found in SPM tests
2019-02-25 19:58:38 -06:00
Cruz Monrreal
22674a694d
Update tools/export/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 17:50:51 -06:00
Cruz Monrreal
044d0c9cb1
Merge pull request #9778 from michalpasztamobica/add_missing_wifi_config_params
...
Add missing wifi parameters to test configs
2019-02-25 17:30:36 -06:00
Cruz Monrreal
4532e41212
Merge pull request #9781 from vmedcy/psoc6-hex-align
...
PSOC6: correctly align hex files with split text sections
2019-02-25 17:29:14 -06:00
Jimmy Brisson
da3eb5df47
Update tools/export/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 13:57:26 -06:00
Jimmy Brisson
c0fbe95d54
Update tools/export/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 13:57:20 -06:00
Michal Paszta
42404be824
Change all wifi and WiFi occurences to Wi-Fi
2019-02-25 14:54:18 +02:00
Michael Schwarcz
5f2cbaa18d
TFM Importer: Update SHAa of TFM patches
2019-02-25 14:36:52 +02:00
kegilbert
056b88ad0e
Pull in artifact-name for exported projects
2019-02-22 17:47:13 -06:00
Russ Butler
2e7e026d2f
Remove mbed 2 USB tests from Travis
...
Remove the mbed 2 USB tests since USB support will be part of mbed 5.
2019-02-22 10:52:32 -06:00
Aashish chaddha
151505c18e
improve option names and description
2019-02-22 10:17:24 -06:00
Deepika
5501947197
Update IAR project template as per IAR 8.32
...
Reference template file is used from IAR8.32 installation available at path
"Embedded Workbench 8.2\arm\config\template\ConvertToIAR\template_project.ewp"
Also added trustzone configs in iar_definitions.json
2019-02-22 09:25:08 +00:00
Michal Paszta
19c6732105
Add missing wifi parameters to test configs
2019-02-22 10:13:14 +02:00
Cruz Monrreal
870bd05904
Merge pull request #9708 from davidsaada/david_protected_storage
...
Implement PSA protected storage & restructure PSA storage implementation
2019-02-21 17:30:56 -06:00
Cruz Monrreal
77591fbdd3
Merge pull request #9772 from kfnta/tfm_extras
...
Additions to TF-M source integration
2019-02-21 15:32:28 -06: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
Naveen Kaje
4cc21820bb
tools: support cases where bootloader is in chunks
...
Support the requirement where bootloader can be in chunks and enable
placing the application at a particular offset specified by config.
With FEATURE_BOOTLOADER support, the bootloader can be placed at a
high address. Add support to the tools so that application can be
placed in the available space before the beginning of the bootloader.
2019-02-21 15:11:44 -06:00
Aashish chaddha
21cb81e252
Provide an option to disable writing developer certificate to cloud_credentials.c
2019-02-21 13:41:58 -06:00
David Saada
41eb5cbfd9
Implement PSA protected storage & restructure PSA storage implementation
...
- Move all PSA storage code under psa/storage directory
- Create a global PSA error codes header, eliminating ITS specific ones
- Create a common header file for PSA storage type definitions,
eliminating ITS specific ones
- Create a common implementation for PS & ITS
- Implement protected storage feature
- Change ITS test to be common to PS as well
2019-02-21 20:58:59 +02:00
Michael Schwarcz
7016ac7d8c
Add image signing scripts from TF-M bl2 library
2019-02-21 17:42:58 +02:00
Michael Schwarcz
d2c433ccfe
TFM Importer: Update SHAa of TFM patches
2019-02-21 17:42:56 +02:00
Oren Cohen
8800ad5c80
TFM: Add defines to mbed_lib.json
2019-02-21 17:38:30 +02:00
Brian Daniels
434d86b08a
Ensure header CRC is written as unsigned int
2019-02-20 20:30:54 -06:00
Volodymyr Medvid
534becb175
PSOC6: correctly align hex files with split text sections
...
When the original PSOC6 CM4 hex file contains unalinged text sections
that span through multiple intelhex segments, aligned segments (filled
with zeroes) overlap with the original data segments, resulting in
error thrown by ihex.merge(alignments, overlap='error').
Such hex file can be produced when the ELF is built with ARM MDK Compiler
with --split_sections option:
http://www.keil.com/support/man/docs/armcc/armcc_chr1359124944914.htm
Change the merge strategy to overlap='ignore', so that the overlapping
zero-filled segments are skipped.
2019-02-20 22:34:10 +02:00
Cruz Monrreal
2910ed54c1
Merge pull request #9277 from deepikabhavnani/flags_fixes
...
Sleep: error flags fix
2019-02-20 12:07:15 -06:00