Commit Graph

2659 Commits (08b06e25d038c70a907342a916d13e0def14d55a)

Author SHA1 Message Date
Michal Paszta 19c6732105 Add missing wifi parameters to test configs 2019-02-22 10:13:14 +02:00
Cruz Monrreal f95ec957dd
Merge pull request #9742 from naveenkaje/mcuxpresso_export_fix
tools: export: MCUXpresso: fix case inconsistencies in .templ file names
2019-02-15 21:15:42 -06:00
Cruz Monrreal 5a8970a48b
Merge pull request #9649 from ngraziano/fix-vscode-export
Fix IntelliSense in VSCode export
2019-02-15 12:28:00 -06:00
Naveen Kaje 8d284cb4b6 tools: export: MCUXpresso: fix case inconsistencies in .templ file names
The templ file names are both all upper case and lower case letters.
The Target Names map is usually all upper case. The match could fail
if the templ file, as we have case-sensitive comparison. Handle such
cases by perorming a case-insensitve check.

mbed export of a project to MCUXpresso could potentially always fail
irrespective of what is passed in -m option since the target names
map entry and the filename may not match. This commit fixes this issue.

Example of the issue that this commit fixes:

$ mbed export -i mcuxpresso -m lpc11u68 -v
<snip>
project.py: error: LPC11U68 not supported by mcuxpresso
<snip>
2019-02-15 11:56:27 -06:00
Cruz Monrreal 883b8b8f4f
Merge pull request #9724 from naveenkaje/tools_dir_with_profile_name
tools/utils: ensure default build profiles are processed first
2019-02-14 21:21:19 -06:00
Cruz Monrreal 9e6c7234e2
Merge pull request #9715 from bridadan/inc_as_header_file
Add .inc as a header file type.
2019-02-14 20:26:38 -06:00
Cruz Monrreal 6278ed66b0
Merge pull request #9635 from bridadan/no_pelion_host
Do not provide a default Pelion host address.
2019-02-14 20:25:31 -06:00
Naveen Kaje 176b750257 tools/utils: ensure default build profiles are processed first
The command-line argument '--profile' looks for build
profiles provided in mbed-os/tools/profiles/. If a
directory name exists in the root folder with the
same name as one of the profile names provided by
default [e.g debug/develop/release], that directory
is processed instead resulting in incorrect behavior.
Fix this behavior by processing the default profiles first.
2019-02-14 10:37:05 -06:00
Brian Daniels 7e1dff5aec Add .inc as a header file type.
Currently, if you were to add a directory that only contained .inc
files, this file would not be passed as an include path to the compiler.
This ensures that .inc files are also considered header files.
2019-02-13 17:59:04 -06:00
Cruz Monrreal 2e9d6d2938
Merge pull request #9645 from AriParkkila/cellular-netsocket
Change TESTS/netsocket/ for cellular testing
2019-02-13 17:28:35 -06:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Ari Parkkila 56badd8616 Change TESTS/netsocket/ for cellular testing 2019-02-13 01:30:42 -08:00
Cruz Monrreal II b59bb465ba Removed decode since deeper tools always return strings 2019-02-12 12:05:28 -06:00
Cruz Monrreal II 8c10cb0b8d Prefixed string to properly be parsed as bytes 2019-02-12 12:05:28 -06:00
Martin Kojtal 26751eeaa9
Merge pull request #9658 from alekla01/patch-1
REALTEK_RTL8195AM binary timestamp
2019-02-12 09:51:34 +01:00
Cruz Monrreal f04d51b2cd
Merge pull request #9652 from kfnta/tools_fixes
Fix minor bugs in secure targets file filtering
2019-02-11 16:41:05 -06:00
Brian Daniels 3ff0ca4b23 Do not provide a default Pelion host address.
This moves the default pelion host address to be assigned by the cloud
sdk. It also cleans up the logic a bit to be shorter.
2019-02-11 16:11:43 -06:00
Cruz Monrreal 760aadf36d
Merge pull request #9657 from ARMmbed/revert-9496-Add_MXRT_IAR_Support
Revert "MIMXRT1050_EVK: Add IAR support in the exporter"
2019-02-11 16:10:30 -06:00
Nicolas Graziano e85bbdd767 Vscode export: replace obsolete ${workspaceRoot}
Replace with ${workspaceFolder}
2019-02-11 19:05:25 +01:00
Nicolas Graziano 4b1789de22 Vscode export: remove path separator conversion
VSCode handle "/" and it is easier to read.
2019-02-11 19:05:14 +01:00
Nicolas Graziano e682807bf5 Fix IntelliSense in VSCode export
Allow to use default intelliSenseEngine in visual studio code.
Add of compilerPath and forcedInclude of mbed_config header in the
created c_cpp_properties.json file.
2019-02-11 19:05:04 +01:00
Martin Kojtal 36df2aa868
Merge pull request #9633 from orenc17/update_delivery
Improvement to artifact delivery method
2019-02-11 17:54:51 +01:00
Aleksi Klasila 3e88cf7e83 REALTEK_RTL8195AM daplink timestamp from os.environ 2019-02-11 18:11:07 +02:00
Jimmy Brisson f331d9e94e Add SPDX identifier for new file 2019-02-11 08:49:18 -06:00
Jimmy Brisson 5b96cbfa34 Fix typo in config schema definitons 2019-02-11 08:45:35 -06:00
Martin Kojtal 10bb66a053
Merge pull request #9424 from SeppoTakalo/ONME-4125
Allows multiple network status listeners
2019-02-11 10:41:35 +01:00
Martin Kojtal 7e831a7f91
Revert "MIMXRT1050_EVK: Add IAR support in the exporter" 2019-02-11 09:36:18 +00:00
Oren Cohen 6fa47bdb23
Update test.py 2019-02-11 10:38:41 +02:00
Oren Cohen 0ca2615a72 Check source relative to ROOT on secure targets
When building secure targets, we would like compile only files that are in the the mbe-os root folder.
This Fixes an issue when sending multiple --source parameters that are all inside the mbed-os tree
2019-02-10 17:13:10 +02:00
Michael Schwarcz 8fb2467608 Force adding mbed-os root to include dirs 2019-02-10 16:32:21 +02:00
Michael Schwarcz 9013dc8e5d
Update tools/config/__init__.py
Co-Authored-By: orenc17 <oren.cohen@arm.com>
2019-02-09 13:55:32 +02:00
Oren Cohen e162d69f56 Make delivery_dir relative to the json it was declared in 2019-02-07 19:13:01 +02:00
Nir Sonnenschein 8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Nir Sonnenschein 5ef9499296
Merge pull request #9619 from deepikabhavnani/typo_correct
Correct the dsp flag from no_dsp to nodsp
2019-02-07 18:13:24 +02:00
Oren Cohen 44c1a2cea3 Make delivery_dir relative to mbed_os root 2019-02-07 14:56:57 +02:00
Anna Bridge 645c1cebb5
Merge pull request #9021 from naveenkaje/fix_part_size_check
tools: check that part size is not exceeding region size
2019-02-07 10:16:12 +00:00
Martin Kojtal 7e18cc5b6a
Merge pull request #9596 from vmedcy/make-cmd-files
Implement Linker command/response files in make export
2019-02-07 09:36:19 +01:00
Martin Kojtal 09db995c73
Merge pull request #9625 from kfnta/tools_arm_fix
Fix cortex-m33 armlink error
2019-02-07 09:24:42 +01:00
Martin Kojtal 9bda4494ca
Merge pull request #9614 from kfnta/tools_gcc_fix
Fix cortex-m33-S gcc compilation error
2019-02-07 09:24:00 +01:00
Oren Cohen 04a22a2e69 Improvement to artifact delivery method
A target can define a delivery directory instead of the default option
2019-02-06 15:26:59 +02:00
Michael Schwarcz 965410bef0
Fix cortex-m33-S armlink error
Add "-mfpu=none" compilation flag
2019-02-06 10:28:28 +02:00
Martin Kojtal 4ce6ed0f47
Merge pull request #9606 from deepikabhavnani/core_arch_v8m
Correct typo no_dsp - nodsp
2019-02-05 16:59:13 +01:00
deepikabhavnani 07ccd82719 Correct the dsp flag from no_dsp to nodsp 2019-02-05 09:35:46 -06:00
Michael Schwarcz 0e7d172d0f
Fix cortex-m33-S compile error
Compilation error was due to due to bug in gcc.py
2019-02-05 14:48:29 +02:00
Deepika b49a6b2ad8 Correct typo no_dsp - nodsp
armclang - nodsp
armlink - no_dsp

diff --git a/tools/t
2019-02-04 15:40:53 -06:00
Volodymyr Medvid 6918e6a76b makefile export: create .link_options.txt with echo
$(file > $@.in, $(filter %.o, $^)) is not supported in GNU Make 3.81.
Create the linker response file with pipe redirect from echo command.
This is tested with Cygwin make and make 3.8.1 shipped with macOS.

Also, change the linker responce file name to .link_options.txt.
This is an internal file, not a build artifact.
2019-02-04 20:10:47 +02:00
Martin Kojtal 1c483e87b0
Merge pull request #9589 from bridadan/fix_export_exception_msg
Improve error message for exports for OS2-only targets
2019-02-04 17:26:10 +01:00
Martin Kojtal dcba5ffa3c
Merge pull request #9529 from kfnta/its_crypto
RollUp PR Crypto with ITS
2019-02-04 17:14:05 +01:00
Martin Kojtal 0ae6a048e4
Merge pull request #9431 from deepikabhavnani/iar_armv8m_changes
Update IAR Armv8M changes
2019-02-04 14:34:28 +01:00
Brian Daniels 8d900c77cf Improve error message for exports for OS2-only targets 2019-02-01 17:02:46 -06:00