Naveen Kaje
4393e4b82a
tools: check part size is not exceeding region size
...
If config is specified, check that part size is not
exceeding the region. Normally we now assume that
part.maxaddr() can be beyond end of rom.
2019-01-31 17:03:05 -06:00
deepikabhavnani
6097095de4
Set the DSP option as `E` for Cortex-M33
2019-01-31 16:19:24 -06:00
deepikabhavnani
fdbcae3830
Correct the floating+dsp options for Cortex-M processors
...
As per the IAR Development guide, below options for CPU are valid
1. Cortex-M33
2. Cortex-M33.no_dsp (core without integer DSP extension)
3. Cortex-M33.fp (floating-point unit with support for single precision)
4. Cortex-M33.no_se (core without support for TrustZone)
5. Cortex-M4
6. Cortex-M4F
7. Cortex-M7
8. Cortex-M7.fp.dp (floating-point unit with support for double precision)
9. Cortex-M7.fp.sp (floating-point unit with support for single precision)
2019-01-31 16:19:24 -06:00
deepikabhavnani
0082474ef2
Update `cmse` flag based on core_arch instead of different cores
2019-01-31 16:19:24 -06:00
Deepika
80f6b0e002
M2351: Update code to support IAR 8.x builds
2019-01-31 16:19:24 -06:00
deepikabhavnani
f760f72757
Update IAR flags for Armv8M devices.
...
Cortex-M23 / Cortex-M33 CPU settings for baseline and mainline
profile (with optional floating and dsp options) updated.
2019-01-31 16:19:24 -06:00
Jimmy Brisson
c31fb479d9
Rename tests so that you get what they do
2019-01-31 14:14:26 -06:00
Jimmy Brisson
9b8a48f0f1
Rewrite and document _include_file
2019-01-31 13:55:33 -06:00
Jimmy Brisson
0265b57d35
Rewrite include finction to only heed nearest library
2019-01-31 11:31:33 -06:00
Andriy.Lishchynskyi
be5a625771
Resolved code review comments
2019-01-31 19:31:28 +02:00
Jimmy Brisson
020c840cf8
Apply suggestions from code review
...
Co-Authored-By: Cypress-OpenOCD <39907069+Cypress-OpenOCD@users.noreply.github.com>
2019-01-31 19:29:13 +02: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
5335faf6c2
Pass only libraries to include_libaries
2019-01-31 11:04:47 -06:00
Cruz Monrreal
c9e00cf781
Merge pull request #9480 from deepikabhavnani/core_arch_v8m
...
Refactor core optional parameters (FPU + DSP + Security extensions)
2019-01-31 10:22:09 -06:00
Jimmy Brisson
a8a21d30a1
Implement Linker command/response files in make export
2019-01-31 17:38:25 +02:00
Jimmy Brisson
f45b53fd47
Ignore non-config json files
2019-01-31 09:19:21 -06:00
Jimmy Brisson
db30e714f9
Verify that we ignore non-config json files
2019-01-31 09:19:07 -06:00
Oren Cohen
ea9f104463
Fix Licenses
2019-01-31 17:17:58 +02: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
Oren Cohen
34895a05ad
CR fixes
2019-01-31 17:17:54 +02:00
Oren Cohen
8841ba69f8
Align to new spec changes and prep for TFM SPM
...
# Conflicts:
# components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/psa_crypto_spm.c
# components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c
2019-01-31 17:17:53 +02:00
Jimmy Brisson
250a1deab5
Handle recursive lib exclude/includes
2019-01-31 09:15:22 -06:00
Jimmy Brisson
eb6a972857
Check that recursive libs work correctly
2019-01-31 09:15:14 -06:00
Andriy.Lishchynskyi
6f584cd35e
Added copyright notes
2019-01-31 16:31:02 +02: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
Martin Kojtal
9265c19e2e
Merge pull request #9394 from jeromecoutant/PR_PERIPH
...
STM32: PeripheralPins files update from lastest CubeMX tool version
2019-01-31 11:21:09 +01:00
Jimmy Brisson
54d6e865ec
Fix indentation
2019-01-30 15:33:26 -06:00
Jimmy Brisson
ee5fea417b
Address review comments
2019-01-30 15:06:01 -06:00
Andriy.Lishchynskyi
48dfcd98a9
Changes:
...
- added new erase launch configuration
- added new kits support
- code cleanup
2019-01-30 19:48:20 +02:00
Martin Kojtal
93f0a09344
Merge pull request #9521 from cmonr/py3-tests-and-fixes
...
Py3 fixes and Travis CI enablement
2019-01-30 10:02:50 +01:00
Martin Kojtal
2a16bbdf98
Merge pull request #9496 from NXPmicro/Add_MXRT_IAR_Support
...
MIMXRT1050_EVK: Add IAR support in the exporter
2019-01-30 09:56:29 +01:00
Martin Kojtal
7d036b52cd
Merge pull request #9283 from michalpasztamobica/tlssocket_greentea
...
Add TLSSocket greentea tests.
2019-01-30 09:55:21 +01: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
de4b7607a0
Simplified max/min condition
2019-01-28 14:01:48 -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
149d280e7a
Added encoding to version check for Py3 compat
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
Cruz Monrreal II
d9add3447d
Added None check for min in config tools
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
72dbc52715
Added flag to run_cmd Popen invocation to do default decoding
2019-01-28 12:59:43 -06:00
Cruz Monrreal
e965aa6640
Merge pull request #9509 from vmedcy/psoc6-daplink-hex
...
PSOC6.py: generate hex files with 16 bytes per row
2019-01-28 10:38:15 -06:00
Cruz Monrreal
7f8ebc75cd
Merge pull request #9466 from vmedcy/psoc6-target-hook
...
Improve PSoC 6 post-build hooks, whitelist makefile export
2019-01-28 10:33:12 -06:00
Volodymyr Medvid
5c384f10e7
PSOC6.py: generate hex files with 16 bytes per row
...
DAPLink implementation on Cypress kits cannot handle hex files
with 64 bytes per row: refer to https://github.com/ARMmbed/DAPLink ,
source/daplink/drag-n-drop/intelhex.c, hex_line_t struct, data field.
2019-01-25 10:07:00 -08:00
deepikabhavnani
febbeffff6
Change if statements to lookup tables
2019-01-25 09:43:03 -06:00
Jimmy Brisson
06ea053419
Minor fixes
2019-01-25 09:42:47 -06:00
deepikabhavnani
f7d49fdc82
Change DSP variant symbol to `E` from `D`(d-double floating point)
2019-01-25 09:31:44 -06:00
deepikabhavnani
c472005cfa
GCC_ARM: Strip the -NS from core option before setting floating point options
2019-01-25 09:28:36 -06:00
deepikabhavnani
c0750de318
Armc6 - Set floating point and CPU options for all core variants explicitly
...
Below are the options read from the toolchains/arm
armclang --target=arm-arm-none-eabi -mcpu=list
The following arguments to option 'mcpu' can be selected:
-mcpu=cortex-m0
-mcpu=cortex-m0plus
-mcpu=cortex-m1
-mcpu=cortex-m3
-mcpu=cortex-m4
-mcpu=cortex-m7
-mcpu=cortex-m23
-mcpu=cortex-m33
...
armlink --cpu=list
The following arguments to option 'cpu' can be selected:
--cpu=Cortex-M0
--cpu=Cortex-M0plus
--cpu=Cortex-M1
--cpu=Cortex-M1.os_extension
--cpu=Cortex-M1.no_os_extension
--cpu=Cortex-M4
--cpu=Cortex-M4.no_fp
--cpu=Cortex-M7
--cpu=Cortex-M7.fp.sp
--cpu=Cortex-M7.no_fp
--cpu=Cortex-M23
--cpu=Cortex-M33
--cpu=Cortex-M33.no_fp
--cpu=Cortex-M33.no_dsp
--cpu=Cortex-M33.no_dsp.no_fp
...
armclang --target=arm-arm-none-eabi -mfpu=list
The following arguments to option 'mfpu' can be selected:
-mfpu=fpv4-sp-d16
-mfpu=fpv5-sp-d16
-mfpu=fpv5-d16
...
2019-01-25 09:28:36 -06:00
deepikabhavnani
907c517473
Use core arch for setting secure/non-secure flags
2019-01-25 09:28:36 -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
Mahesh Mahadevan
aa449b3c5f
MIMXRT1050_EVK: Add IAR support in the exporter
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-24 13:55:20 -06:00
Cruz Monrreal
f69b550d5d
Merge pull request #9462 from deepikabhavnani/add_example
...
Corrected the targets value in json file as CI uses real board names
2019-01-24 13:27:46 -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
jeromecoutant
16028e3796
STM32_gen_PeripheralPins.py v1.5
...
Use dedicated PinMap for each QSPI data line #9438
2019-01-24 11:00:00 +01:00
jeromecoutant
bdc91b0a9a
STM32_gen_PeripheralPins.py v1.4
...
Minor updates:
- remove QSPI BK2
- beautifier edition
- use STM_MODE_ANALOG_ADC_CONTROL for L4 family
2019-01-24 10:25:36 +01:00
Cruz Monrreal
7bdc280ced
Merge pull request #9437 from deepikabhavnani/preprocess_asm
...
FPU_USED to be set based on HW FPU support + Squash commits
2019-01-23 22:48:21 -06:00
Andriy.Lishchynskyi
55a6ca5b1a
Fix python3 compatibility issue
2019-01-23 23:25:20 +02:00
Martin Kojtal
129889bf52
Merge pull request #9404 from deepikabhavnani/dsp_flag
...
DSP_PRESENT flag is needed for Armv8m devices having DSP enabled
2019-01-23 14:21:23 +01:00
Martin Kojtal
af52c30234
Merge pull request #9433 from deepikabhavnani/asm_v8m_flags
...
Set DSP and floating point flags for ASM files
2019-01-23 09:18:18 +01:00
Volodymyr Medvid
a48ee113ea
PSOC6: refactor M0 image merging, enable export to makefile
...
Rename the existing PSoC-specific m0_core_img key in targets.json
as a more generic hex_filename key. Update makefile exporter to select
the subset of resources.hex_files matching the hex_filename value.
Without this fix, multiple prebuilt CM0+ hex files are found in the
target resources and erroneously passed to the srec_cat tool.
The fix is generic so other targets that need post-build hex merging
can use this key to pass the correct image to srecord tool.
The fix also removes sub_target key: instead, rely hex_filename json
key to detect if the hex image merging needs to be done.
The sub_target is not used in mbed-os codebase for anything else.
It is possible to override the hex file name in mbed_app.json:
{
"target_overrides": {
"*": {
"target.hex_filename": "my_custom_m0_image.hex"
}
}
2019-01-22 15:40:22 -08:00
Volodymyr Medvid
5b0daadd18
PSOC6.py: do not require metadata during HEX merging
...
Replace hard-coded numeric offsets of PSoC 6 hex file sections
with sensible constants.
Do not attempt to update the checksum and metadata contents
if the sections are not found in the original HEX file.
2019-01-22 15:40:22 -08:00
Volodymyr Medvid
226edc1abd
PSOC6.py: remove silicon ID check
...
PSoC 6 hex files contain 4-byte chip ID at virtual offset 0x90500002
added by PSoC Creator or cymcuelftool from .cymeta ELF section.
merge_images compares chip ID in CM0+ and CM4 hex files and raises
an exception in case of mismatch. Chip ID is different for each MPN
(for example, 0xE2072100 for CY8C6347BZI-BLD53 and 0xE2062100 for
CY8C6247BZI-D54). CM0+ prebuilt images target CY8C6347BZI-BLD53
but should be compatible with other PSoC6 MPNs.
Remove the check to enable merging CM0+ images with CM4 applications
built for different MPNs, with empty or absent cymetadata.
2019-01-22 15:40:22 -08: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
Michal Paszta
d568e2160b
Add TLSSocket greentea tests.
...
TLSSocket tests based on existing TCPSocket greentea tests and TLSSocket icetea tests.
2019-01-22 12:46:48 +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
Martin Kojtal
1568be0771
Merge pull request #9389 from cmonr/fixed-travisCI-python-modules
...
Travis CI: Bind remaining python modules
2019-01-21 16:39:45 +01:00
Martin Kojtal
2a7a3262c8
Merge pull request #9398 from kjbracey-arm/no_armc6_warn
...
Revert "Warn with ARMC6 and not v8m"
2019-01-21 13:37:59 +01:00
Martin Kojtal
091fe2bed4
Merge pull request #9401 from loverdeg-ep/custom-targets-option
...
tools: adds and implements a --custom-targets command line switch
2019-01-21 13:17:01 +01:00
Martin Kojtal
acd1e986f0
Merge pull request #9428 from 0xc0170/fix_exporters
...
STM32H743ZI: iar removal as not supported in v7.x
2019-01-21 13:15:30 +01:00
Seppo Takalo
58c2760e3f
Fix spelling mistakes
2019-01-21 11:54:49 +02:00
Qinghao Shi
bed181fe34
Examples: enabled some examples build for FVP_MPS2_M3 target
2019-01-19 19:09:17 +00:00
Deepika
3bd6bf111b
Update script to have single commit for CMSIS/RTX pre-processor changes
2019-01-18 18:25:51 -06:00
Deepika
ddc762776f
Set DSP and floating point flags for ASM files
2019-01-18 14:13:31 -06:00
Deepika
ed8b53877c
DSP_PRESENT flag is needed for Armv8m devices having DSP enabled
2019-01-18 13:34:15 -06:00
Andriy.Lishchynskyi
7f2caacbdd
Added GNU MCU Eclipse plug-in support
2019-01-18 18:14:35 +02:00
Martin Kojtal
8f48104842
Merge pull request #9418 from naveenkaje/build_api_spell_fix
...
tools: build_api: remove redundant initialization and fix spelling
2019-01-18 14:38:41 +01:00
Martin Kojtal
796d1c2a64
STM32H743ZI: iar removal as not supported in v7.x
...
Fixes #9426
2019-01-18 12:09:42 +00:00
Cruz Monrreal
68deb05d1b
Merge pull request #9376 from michalpasztamobica/tcpsocket_greentea
...
TCP/UDP greentea tests refactoring and cleanup
2019-01-17 21:52:40 -06:00
Naveen Kaje
06dbd82d1f
tools: build_api: remove redundant initialization and fix spelling
2019-01-17 12:56:09 -06:00
Cruz Monrreal II
390b581516
Added warning suppression to python api_tests.
...
Apparently local laptop isn't fast enough for test generation, but CI is
2019-01-17 12:39:52 -06:00
Garrett
bb5ea80890
Revert duplicated implemenation of --custom-targets
2019-01-17 13:16:10 -05:00
Garrett
00a5fac0be
Add --custom-target argument to get_default_options_parser
2019-01-17 13:16:09 -05:00
Garrett
fc968e6cef
Revert get_config.py make.py test.py
2019-01-17 13:16:09 -05:00
Garrett
31615eb542
If custom_targets_directory exists use it over source_dir
2019-01-17 13:16:09 -05:00
Garrett
83d679ae38
adds --custom-targets argument anywhere extract_mcus is called
2019-01-17 13:16:09 -05:00
Kevin Bracey
d17d43bdfa
Revert "Warn with ARMC6 and not v8m"
...
This reverts commit 3f684113b0
.
2019-01-17 10:59:27 -06:00
Martin Kojtal
1a8844e8ed
Merge pull request #8887 from deepikabhavnani/uVision_fix
...
Adding debugger awarness with Keil MDK
2019-01-17 17:56:42 +01:00
Martin Kojtal
53bb9868ed
Merge pull request #9405 from cmonr/fix-doxy
...
Travis: Fix doxy-spellcheck job
2019-01-17 17:21:14 +01:00
Martin Kojtal
694e45fb78
Merge pull request #9297 from bridadan/fix_os2_tests_uarm
...
uARM targets now build in correct ARM_MICRO directory
2019-01-17 12:40:21 +01:00
Cruz Monrreal II
9ed5d049bb
Added 'retarget' to aspell ignore list
2019-01-16 23:30:24 -06:00
Jimmy Brisson
5cf07df264
Filter libs with absolute paths
...
as the config system uses only abspaths
2019-01-16 13:32:52 -06:00
Jimmy Brisson
4fbbac9acd
Use name definition in requires definition
2019-01-16 13:30:10 -06:00
Jimmy Brisson
eaa4ee4179
Correct usage of get_config
2019-01-16 11:20:55 -06:00
Jimmy Brisson
c225f2c82d
Test that we don't exclude lib sources w/o requires
2019-01-16 11:17:49 -06:00