paul-szczepanek-arm
8347e76bf4
Merge https://github.com/ARMmbed/mbed-os
2018-03-01 18:11:41 +00:00
Anna Bridge
8f5b857747
Merge pull request #5950 from theotherjimmy/header-config
...
Reserve and Render header in managed BL mode
2018-03-01 16:25:18 +00:00
Jimmy Brisson
c29207a4f4
Correct gcc m33 floating point handling
2018-03-01 09:40:47 -06:00
Anna Bridge
ae788f7384
Merge pull request #5993 from theotherjimmy/fix-vector-pref-clif
...
Work around Arm Compiler 6 stdvector perfomance cliff
2018-03-01 10:23:03 +00:00
Jimmy Brisson
0f15633d37
Work around Arm Compiler 6 stdvector perfomance cliff
2018-02-28 14:46:03 -06:00
Jimmy Brisson
477b947b22
Improve json schema validation errors
2018-02-28 14:39:28 -06:00
Jimmy Brisson
262c737c76
Specify --build in mbed export: consistency with compile
2018-02-28 14:31:42 -06:00
Jimmy Brisson
9252b98050
Correct mbed export with multiple --source params
2018-02-28 14:31:35 -06:00
daid
62599a97f7
Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip.
2018-02-28 09:37:39 +01:00
Cruz Monrreal
8b6a7aacc5
Merge pull request #6229 from hug-dev/fix-elf-output-extension
...
Fix a bug using ELF as output extension
2018-02-27 16:32:40 -06:00
Cruz Monrreal
5077644e6b
Merge pull request #6218 from geky/g-fix-travis-python-versions-2
...
Travis: Tear out python3 testing to get CI working again
2018-02-27 16:18:43 -06:00
Christopher Haster
24bb556127
tools: Removed outdated (and broken) toolchain initialization test
...
Also moved the access of build_dir into condition on secure in ARMC6
per theotherjimmy
2018-02-27 09:39:00 -06:00
Vincent Coubard
e568aa47ba
Merge branch 'master' of https://github.com/ARMmbed/mbed-os into pr-sm
2018-02-27 14:33:35 +00:00
Hugues de Valon
b0027c1e81
Fix a bug using ELF as output extension
...
When overriding the OUTPUT_EXT variable in compilation configuration,
bugs appear:
* The bin variable is not None as the 'elf' string is not interned.
* When that is fixed, the function returns None instead of returning the
path of the ELF file.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-02-27 14:08:02 +00:00
Cruz Monrreal
56e8c895b6
Merge pull request #6191 from theotherjimmy/simplify-json-to-dict
...
Simplify json-to-dict utility
2018-02-27 00:35:05 -06:00
Christopher Haster
5a108166f0
tools: Fixed small unicode issue in config tests
2018-02-26 17:08:02 -06:00
Cruz Monrreal
daf29dc9f2
Merge pull request #6153 from theotherjimmy/correct-export-clean
...
Correct exporter clean behavior
2018-02-26 14:38:45 -06:00
Cruz Monrreal
d49862bcfa
Merge pull request #6197 from geky/revert-pretty-bars
...
Revert "Added pretty bar printing for compile output"
2018-02-26 14:35:49 -06:00
Jimmy Brisson
7b49edc7eb
Simplify json-to-dict utility
2018-02-23 09:38:16 -06:00
paul-szczepanek-arm
c8f77259ed
Merge https://github.com/ARMmbed/mbed-os
2018-02-23 10:11:49 +00:00
Christopher Haster
011e018f52
Revert "Added pretty bar printing for compile output"
...
This reverts commit 471d99c68f
.
2018-02-22 22:07:22 -06:00
Cruz Monrreal
bf2f24fab7
Merge pull request #6147 from codeauroraforum/Increase_Speed_LPC54628
...
LPC546XX: Add support for 220MHz core speed available on LPC54628
2018-02-22 20:57:35 -06:00
Jimmy Brisson
ed7793de65
Add clean methods to many more exporters
2018-02-22 14:46:21 -06:00
Cruz Monrreal
d9cb00d627
Merge pull request #6145 from theotherjimmy/exclude-file-gnuarmeclipse
...
Correct single file excludes for some exporters
2018-02-22 14:33:20 -06:00
Mahesh Mahadevan
a9cd4705d8
LPC546XX: Add support for 220MHz core speed available on LPC54628
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-22 07:30:19 -06:00
Christopher Haster
0bc386a7c4
tools: Let unicode error messages through
...
Some toolchains (GCC) may emit error messages with unicode symbols based on
the your localization settings. Instead of being passed to the user as is,
the unicode causes an exception.
2018-02-21 14:07:28 -06:00
Jimmy Brisson
bd5b34f59c
Correct exporter clean behavior
2018-02-21 09:28:24 -06:00
Jimmy Brisson
6693b08cfc
Use print function in project.py
2018-02-21 09:25:59 -06:00
Brendan McDonnell
c4f10aafee
typos
2018-02-20 20:11:19 -05:00
Jimmy Brisson
166a463639
Correct single file excludes for some exporters
2018-02-20 12:09:11 -06:00
Jimmy Brisson
9f99330be6
Allow overriding offsets with "app_offset" and "header_offset"
2018-02-20 11:45:32 -06:00
Jimmy Brisson
deca33ff81
Calculate digests with header up to their start address
2018-02-20 11:45:32 -06:00
Jimmy Brisson
5b2d7a27d2
Require endianness specification for ints > 8 bits
2018-02-20 11:45:32 -06:00
Jimmy Brisson
4c47f21cac
Fill header in application
2018-02-20 11:45:32 -06:00
Jimmy Brisson
b2c71c0fce
Accept header configuration and reserve space
2018-02-20 11:45:32 -06:00
Cruz Monrreal
45d04bcd51
Merge pull request #6123 from theotherjimmy/correct-sector-info
...
Correct sector scraping in arm-pack-manager
2018-02-20 11:33:27 -06:00
Cruz Monrreal
863b40d19c
Merge pull request #6121 from theotherjimmy/mbedignore-append
...
Avoid blowing away .mbedignore files in exporters
2018-02-20 10:48:21 -06:00
paul-szczepanek-arm
dd7bc50e4b
Merge branch 'master' into palsm
2018-02-19 16:39:10 +00:00
Martin Kojtal
636ced8ed0
Merge pull request #5915 from DBS06/gcc_msg_parsing
...
Simplify and Improve error/warning parser for gcc_arm
2018-02-19 17:34:43 +01:00
Jimmy Brisson
8d7311d38d
Avoid blowing away .mbedignore files in exporters
2018-02-16 14:45:55 -06:00
Jimmy Brisson
4045c63f2a
Correct sector scraping in arm-pack-manager
2018-02-16 13:55:01 -06:00
Cruz Monrreal
4145cc0cf0
Merge pull request #6029 from deepikabhavnani/update_context_switch_files
...
RTX5: Pre-processor defines used for assembly
2018-02-16 10:15:03 -06:00
Cruz Monrreal
f95730f207
Merge pull request #6099 from janjongboom/patch-1
...
gnuarmeclipse exporter uses mBed instead of proper casing
2018-02-15 17:06:40 -06:00
Cruz Monrreal
df4ceee4e1
Merge pull request #6096 from deepikabhavnani/secure_lib_creation
...
Generate/Link secure object file
2018-02-15 11:27:19 -06:00
Cruz Monrreal
28ac288698
Merge pull request #6000 from daid/patch-1
...
Prevent detect_targets.py tool script from crashing on known targets
2018-02-15 10:57:15 -06:00
Jan Jongboom
ecc07c3217
gnuarmeclipse exporter uses mBed instead of proper casing
2018-02-15 12:24:01 +08:00
Cruz Monrreal
b48df25c9d
Merge pull request #5666 from mharringADI/feature-cces-exporter
...
Add exporter for Analog Devices' CrossCore Embedded Studio
2018-02-14 14:00:36 -06:00
deepikabhavnani
b21e93ba32
Generate/Link secure object file
...
Cortex v8 architecture based devices support secure/non-secure builds.
Secure build should generate the object file/library from elf during link
process which is used by non-secure binary during linking.
--out-implib=file specifies output library in which symbols are exported
--cmse-implib requests libraries mentioned above are secure gateway
libraries
Creation of secure library is done as part of linking process in GCC/ARMC6/IAR
Non-Secure project should add this secure object file as part of the
linking process.
Secure library is named as cmse_lib.o.
2018-02-14 12:48:33 -06:00
Mike Harrington
8c87c2692c
Updated README.md to include instructions for different operating systems. Reduced duplicate code.
2018-02-13 14:56:54 -05:00
Tero Jääskö
faabde13a1
tools: build: fix handing of "--stats-depth"
...
The introduction of pretty-bar had broken the handling of
"mbed compile"'s "--stats-depth" argument. No matter what one gave
as parameter to it, the result output is just using the default 2.
Fix the logic in build_api.
2018-02-13 15:35:01 +02:00
deepikabhavnani
1825ec6e92
Added SHA record for context switch assembly files
2018-02-12 11:54:55 -06:00
Senthil Ramakrishnan
3340a020ed
Fix code style issues and update documentation
2018-02-12 11:50:34 -06:00
Senthil Ramakrishnan
8967b52bfb
crash_log_parser review comment fixes
2018-02-12 11:50:33 -06:00
Senthil Ramakrishnan
96d900c99f
Fixes for targets with invalid HardFault_Handler implementation and review/other fixes
2018-02-12 11:50:33 -06:00
Senthil Ramakrishnan
29348d823d
Support for generating core/register/thread-info dump on fault exceptions
2018-02-12 11:50:33 -06:00
Mike Harrington
d93bdafbf1
Resolved pylint errors and made changes based on feedback. Added README describing how to use headless tools after exporting.
2018-02-09 14:48:06 -05:00
Mike Harrington
60b22dba19
Added exporter for Analog Devices' CrossCore Embedded Studio
2018-02-09 14:48:05 -05:00
deepikabhavnani
4076788d51
Non Secure flag is required for pre-processing of linker file
2018-02-07 22:48:47 -06:00
Cruz Monrreal
02eeb7af41
Merge pull request #6030 from deepikabhavnani/correct_arch
...
M33: -march not required if -mcpu is set
2018-02-07 20:07:11 -06:00
Cruz Monrreal
1c5c1c79d0
Merge pull request #6027 from ithinuel/fix-target-names-for-murata-abz-and-adv-wise-1510
...
rename MURATA type ABZ & WISE 1510 to their expected name
2018-02-07 20:06:50 -06:00
Cruz Monrreal
e9fddb6eee
Merge pull request #6017 from theotherjimmy/bl-nonzero-rom
...
Correct auto-sizing last region of bl
2018-02-07 15:56:43 -06:00
Cruz Monrreal
c679dee286
Merge pull request #5848 from theotherjimmy/compile-py3
...
Python2+3: mbed compile, mbed test --compile, python unit tests
2018-02-07 15:48:18 -06:00
Cruz Monrreal
ebb39244f4
Merge pull request #6001 from ubirch/mbed-os-5985
...
Corrects intermittent CLion exporter issue with cmake build directory
2018-02-07 14:56:18 -06:00
Cruz Monrreal
671cf409c8
Merge pull request #6007 from theotherjimmy/bl-heed-outputext
...
Take OUTPUT_EXT into account in managed bl
2018-02-07 14:51:11 -06:00
Cruz Monrreal
779ee843ea
Merge pull request #5797 from hosse005/master
...
ARMC5+6: Specify CPU for ARM scatter file preprocessor
2018-02-07 14:50:44 -06:00
deepikabhavnani
c50518e11c
-march not required if -mcpu is set
...
GCC_ARM throws warning if both architecture and core are set (though
correct). If CPU option is set correctly, architecture is set by compiler
itself.
2018-02-06 22:46:04 -06:00
Wilfried Chauveau
6c9fcf3dd8
rename MURATA type ABZ & WISE_1510 to their expected name
2018-02-06 21:23:37 +00:00
Jimmy Brisson
9c3b489bf6
Correct auto-sizing last region in bl
2018-02-05 14:00:12 -06:00
Jimmy Brisson
c52d1edd3e
Test for region list sanity (sizes all >= 0)
2018-02-05 13:58:37 -06:00
Jimmy Brisson
2d50a90b59
Python2+3: flash_algo
2018-02-05 11:13:40 -06:00
Jimmy Brisson
95c7d4d47c
Compare to unicode in example builder
2018-02-05 11:07:37 -06:00
Jimmy Brisson
db4c380b2b
Python2+3: build_travis.py and Travis tests
2018-02-05 11:07:37 -06:00
Jimmy Brisson
424ad856a9
Python2+3: make.py -n
2018-02-05 11:07:37 -06:00
Jimmy Brisson
1dd39fbe80
Python2+3: mbed test --compile
2018-02-05 11:07:37 -06:00
Jimmy Brisson
c93a2bfa4c
Python2+3: Use absolute import where possible
2018-02-05 11:07:37 -06:00
Jimmy Brisson
4322bee175
Python2+3: tests passing
2018-02-05 11:04:36 -06:00
Jimmy Brisson
cca4425af6
Python2+3: iteritems -> items
2018-02-05 11:04:36 -06:00
Jimmy Brisson
45bdd98a85
Python2+3: tests import correctly
2018-02-05 11:04:36 -06:00
Jimmy Brisson
7abeec9744
Python2+3: clean argparse
2018-02-05 11:04:35 -06:00
Jimmy Brisson
10a91216f5
Python2+3: The rest of mbed compile
2018-02-05 11:04:01 -06:00
Jimmy Brisson
380ecb1b0e
Python2+3: working through many has_attr exceptions
2018-02-05 11:04:01 -06:00
Jimmy Brisson
68737f2762
Python2+3: Things import
2018-02-05 11:03:44 -06:00
Cruz Monrreal
964e6e74fb
Merge pull request #5826 from codeauroraforum/Add_iMXRT_Support
...
NXP: Add support for MIMXRT1050_EVK
2018-02-05 10:15:17 -06:00
Jimmy Brisson
c09142e82c
Don't bother padding hex files for managed bl
2018-02-02 15:44:32 -06:00
Jimmy Brisson
4f13e21aa0
Use OUTPUT_EXT in managed boot loader
2018-02-02 15:40:44 -06:00
Jimmy Brisson
9b8ba4dd98
Use relative path to scatter for include path
2018-02-02 11:53:51 -06:00
Matthias L. Jugel
e321e98faa
fix #5985 CLion exporter results in cmake build directory, causes compiler to fail in unexpect...
2018-02-02 09:51:14 +01:00
daid
e7839f1cb6
Prevent detect_targets.py tool script from crashing on known targets
...
As mut['mcu'] can be "None" on unknown targets, the detect_targets script crashes when one of these boards is connected.
This happens when "mbed-cli detect -vv" is ran when a STEVAL-3DP001V1 board is connected. Which does not provide a html file with a target_id, and thus cannot be looked up in the mbedls platform database.
http://www.st.com/en/evaluation-tools/steval-3dp001v1.html
2018-02-02 09:11:24 +01:00
Jimmy Brisson
fad2ee55e1
Restrict target_overries usage
2018-02-01 17:09:17 -06:00
Cruz Monrreal
860b66a722
Merge pull request #5022 from scartmell-arm/mbed-config-json-schema
...
Add JSON schema based validation to mbed config script
2018-02-01 16:01:51 -06:00
Cruz Monrreal
ce9f63fde7
Merge pull request #5964 from amq/vscode-launch
...
VS Code exporter: do not overwrite existing (launch|settings|tasks).json
2018-02-01 13:27:27 -06:00
Steven Cartmell
b1ea3881be
Fix test errors produced by JSON schema after rebase
...
- Modified the expected error code in some of the test cases. The error
message is now issued by the JSON validator.
- Stop validation code being called if no application configuration is
given to validate.
- Change test mock code to check for specific calls, instead of number of
calls.
- Derive absolute paths for JSON schema files before loading them, which
seems to work better with the URI path resolution of the schema parser.
2018-02-01 17:18:41 +00:00
Steven Cartmell
7010010ffc
Remove placeholder $id from JSON schema and fix description
2018-02-01 17:18:41 +00:00
Steven Cartmell
151f2fa3a6
Refactor common JSON schema definitions into a seperate file
...
- Moved all common definitions from schema_app and schema_lib into a
separate definitions file.
- Changed the calling code to resolve multiple schema files correctly.
2018-02-01 17:18:40 +00:00
Steven Cartmell
3ff7de9771
Remove config_path setting and amend regex in mbed config JSON schema
...
- Removed the config_path setting from schema and moved the addition of the
config_path value after the validation is done.
- Altered the macro validation regex to be more lenient. Now verifies that
if '=' is used in the macro definition that something comes after it.
2018-02-01 17:18:40 +00:00
Steven Cartmell
fd208e6751
Add JSON schema based validation to mbed config script
...
- Added app and lib JSON schema definition files which specify the valid
keys and values that can be used in mbed library and application
configuration files. The primary different between the app and lib
schema is that the lib config requires a name key.
- Modified the expected error code in some of the test cases. The error
message is now issued by the JSON validator.
- Added some validation code to the config script which checks the
validity of the mbed_app.json file when it is initially loaded.
- Added some validation code to config script which checks each of the
mbed_lib.json scripts when they are loaded.
- Removed manual checks for allowable config keys from within the mbed_app
and mbed_lib json files.
- Removed the check_dict_types() function which was no longer being
called.
2018-02-01 17:18:39 +00:00
Cruz Monrreal
10c81775b4
Merge pull request #5990 from theotherjimmy/fix-sw4stm32-supported
...
Correct SW4STM32 supported check
2018-02-01 10:30:55 -06:00
Cruz Monrreal
bf3693fef4
Merge pull request #5909 from theotherjimmy/bl-as-config
...
Let libraries, targets configure bootloader
2018-02-01 10:28:42 -06:00
Jimmy Brisson
f88b425bfe
Correct SW4STM32 supported check
2018-01-31 16:13:21 -06:00
Cruz Monrreal
097966b8c7
Merge pull request #5905 from ithinuel/add-CMWX1ZZABZ-078-support
...
add support for the murata's module CMWX1ZZABZ-078 based on STM32L0
2018-01-31 12:14:29 -06:00