Commit Graph

2501 Commits (a8c9cf1322a83d45d0759a81f352c4089c98cfc5)

Author SHA1 Message Date
deepikabhavnani a8c9cf1322 Change DSP variant symbol to `E` from `D`(d-double floating point) 2019-02-08 16:50:27 +00:00
deepikabhavnani 46dbfd6199 GCC_ARM: Strip the -NS from core option before setting floating point options 2019-02-08 16:50:27 +00:00
deepikabhavnani d8d62238d2 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-02-08 16:50:27 +00:00
deepikabhavnani 1c5eb39b05 Use core arch for setting secure/non-secure flags 2019-02-08 16:50:27 +00:00
Amir Cohen dd43030751 Add sd-driver example 2019-02-08 16:50:27 +00:00
jeromecoutant 8d4b54db12 STM32_gen_PeripheralPins.py v1.5
Use dedicated PinMap for each QSPI data line #9438
2019-02-08 16:50:27 +00:00
jeromecoutant 9563254658 STM32_gen_PeripheralPins.py v1.4
Minor updates:
- remove QSPI BK2
- beautifier edition
- use STM_MODE_ANALOG_ADC_CONTROL for L4 family
2019-02-08 16:50:27 +00:00
Jimmy Brisson 675b7bd4f6 Updated spm test runner wish short import variant
Co-Authored-By: cmonr <Cruz.Monrreal@arm.com>
2019-02-08 16:50:27 +00:00
Cruz Monrreal II 59262edf82 Simplified max/min condition 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 792d13d395 Added flag to run_cmd Popen invocation to do default decoding 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 755931de72 Added None check for min in config tools 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 246f6fc305 In Py3.7, a reinit of a mock variable was needed. It seems that initializing mock variables in an object isn't enough 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 5469c00e81 Added encoding to version check for Py3 compat 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 8e169f2a06 Increased path for spm include. Py3 tests were not running as a result 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 13ad6f6694 Added universal_newlines flag to Popen in pylint.py 2019-02-08 16:50:27 +00:00
Mahesh Mahadevan d1a610a33c MIMXRT1050_EVK: Add IAR support in the exporter
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-02-08 16:50:27 +00:00
Michal Paszta 2117c7f932 Add TLSSocket greentea tests.
TLSSocket tests based on existing TCPSocket greentea tests and TLSSocket icetea tests.
2019-02-08 16:50:27 +00:00
Volodymyr Medvid ced094f153 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-02-08 16:48:59 +00:00
Volodymyr Medvid 5d819621e9 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-02-08 16:48:59 +00:00
Volodymyr Medvid ecc9aa7bf2 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-02-08 16:48:59 +00:00
Volodymyr Medvid 3fa2fb21cc 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-02-08 16:48:59 +00:00
Seppo Takalo 5bd99ec2d6 Fix spelling mistakes 2019-02-08 16:48:59 +00:00
Martin Kojtal 3f5c4de3b5 examples: fix incorrect target addition in 5.11.3rc 2019-01-26 20:58:49 +01:00
Kevin Gilbert 207aa6cfce Add empty en_phonet.
Required to run with aspell and comply with license changes
2019-01-25 14:29:59 +00:00
Martin Kojtal 672665ad1c travis: remove phonedat database
Not permissive license
2019-01-25 14:29:59 +00:00
deepikabhavnani 9a8d748fd3 Corrected the targets value in json file as CI uses real board names 2019-01-25 14:29:59 +00:00
Deepika c5747c44fa DSP_PRESENT flag is needed for Armv8m devices having DSP enabled 2019-01-25 14:29:59 +00:00
Deepika 7dc93e0820 Set DSP and floating point flags for ASM files 2019-01-25 14:29:59 +00:00
Qinghao Shi 7864012ef4 Examples: enabled some examples build for FVP_MPS2_M3 target 2019-01-25 14:29:59 +00:00
Cruz Monrreal II adc768b197 Added warning suppression to python api_tests. Apparently local laptop isn't fast enough for test generation, but CI is 2019-01-25 14:29:59 +00:00
Martin Kojtal a08c3af82b STM32H743ZI: iar removal as not supported in v7.x
Fixes #9426
2019-01-25 14:29:59 +00:00
Naveen Kaje 1133a65b48 tools: build_api: remove redundant initialization and fix spelling 2019-01-25 14:29:59 +00:00
Michal Paszta c92dac82fe TCP/UDP greentea tests refactoring and cleanup 2019-01-25 14:29:59 +00:00
Brian Daniels 97bf0d5cd3 uARM targets now build in correct ARM_MICRO directory
This is for OS2 testing. Previously, targets that were configured with
the option "default_toolchain": "uARM" would still build to a
TOOLCHAIN_ARM_STD directory. This fixes these targets to build into
TOOLCHAIN_ARM_MICRO.
2019-01-25 14:29:59 +00:00
kegilbert da99f9e955 Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 6e67930f1c Supply test config for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Mahesh Mahadevan 6be2ef21c4 Add nanostack support for KW41Z
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-25 14:29:59 +00:00
Michael Schwarcz 8a1964eedc Update cmsis_importer.json SHAs
- Missing: CMSIS/RTX: Patch to conditionally compile (fb354752eb)
- New: CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets (d3f7abdb7c)
2019-01-14 13:06:14 +00:00
Deepika a48a99e8c5 Added IAR assembly file update commit to cmsis importer
In future when performing CMSIS update b228cd9db0
commit can be merged to 287121ffdc -
CMSIS/RTX: Pre-processor defines used for assembly
2019-01-14 13:06:14 +00:00
Michael Schwarcz 57d269c317 tools/importer script changes 2019-01-14 13:06:14 +00:00
Alastair D'Silva b0220082de Don't use define checks on DEVICE_FOO macros (partner code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2019-01-14 13:06:14 +00:00
jeromecoutant 1b67295203 NUCLEO_H743ZI: add initial SDK 2019-01-14 13:06:14 +00:00
Kevin Bracey 2789854475 ARMC6: Use float-abi=hard
For binary compatibility with ARMC5, use the hard ABI variant whenever
we have FP hardware - this is ARMC5's default behaviour, which we do not
override.

Cortex-M4F was already using hard; this brings M7F and M33F into line.
2019-01-14 13:06:14 +00:00
c_jin b5a4c0c000 Delete added information (GD32F307VG) 2018-12-27 22:44:59 -06:00
c_jin fc86ddb28a Add GD32F307VG 2018-12-27 22:43:53 -06:00
c_jin f6e0391e0e Delete added information (GD32F307VG) 2018-12-27 22:36:18 -06:00
c_jin 24546f7ac8 Add GD32F307VG 2018-12-27 22:36:18 -06:00
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