Commit Graph

2537 Commits (cc3114113d12a6d0d608aa9dc4ded84c6f7f572f)

Author SHA1 Message Date
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
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
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
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
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
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
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
Martin Kojtal 32c9c3ac46
Merge pull request #8970 from kegilbert/spell-checker-travisjob
Add doxygen spellcheck job to Travis
2019-01-16 09:30:46 +01:00
deepikabhavnani 347acd1459 Add SHA for "Move Idle and Timer thread stack to bss section" commit 2019-01-15 12:08:49 -06:00
Deepika 255661e55b Adding debugger awarness with Keil MDK
Main thread in Mbed OS is statically allocated and was not available in call
stack of Keil MDK. The RTX5 kernel requires statically allocated thread
information objects that are placed into a specific section to enable RTOS
thread awareness in Keil MDK. This fix is to keep main thread in specific
section of memory.
2019-01-15 12:04:39 -06:00
Michal Paszta 59e8dedb67 TCP/UDP greentea tests refactoring and cleanup 2019-01-15 10:00:35 +01:00
Martin Kojtal 5212cc6544
Merge pull request #6622 from NXPmicro/Add_KW41Z_Thread
Add nanostack support for KW41Z
2019-01-14 14:00:14 +01:00
Martin Kojtal c5014f4e19
Merge pull request #9324 from kfnta/avoid_mbed_tz_context
Avoid building mbed_tz_context.c for TF-M targets
2019-01-14 08:56:25 +00:00
Martin Kojtal 116e42f840
Merge pull request #9295 from deepikabhavnani/iar_asm
Add missing END to Armv8M IAR assembly files
2019-01-14 08:54:21 +00:00