Jimmy Brisson
42a51efbe6
Error on invalid mbed_lib JSON
2018-04-09 15:00:48 +01:00
Jimmy Brisson
42eda19e76
Move Mbed 5 support check so that it affects the exporters
2018-04-09 15:00:48 +01:00
Wilfried Chauveau
ea42e6d157
add the target to travis build script & sw4stm32 export script.
2018-04-09 15:00:48 +01:00
Jimmy Brisson
1ea2e57b98
Minimize include path size in uvision export
2018-04-09 15:00:48 +01:00
Jimmy Brisson
6988e8e2d1
Move filter dot into exporter base class
2018-04-09 15:00:48 +01:00
Jimmy Brisson
a6e05a011e
Avoid incorrect config errors on export
2018-04-09 15:00:48 +01:00
Jimmy Brisson
7138038a6a
Correct get_config imports
2018-03-26 18:52:24 +01:00
Steven Cartmell
4ff6dd27be
Remove IAR compiler flag change from PR
2018-03-26 18:52:24 +01:00
Steven Cartmell
1965c111c5
Replace runtime strip_path function with compiler intrinsic equivalents
...
Sleep manager tracing strips the path from filenames and uses the result as an
identifier to track drivers that unlock/lock sleep tracing. Replace the function
that strips the path from the string, replace this function with a new macro,
__FILENAME__ which performs the same action in a compiler specific manner.
- GCC_ARM, use __builtin_strrchr which is optimized out at compile time.
- ARM, use __MODULE__ which returns the filename without path.
- IAR, specifiy the --no_path_in_file_macros compiler flag.
2018-03-26 18:52:24 +01:00
Tony Wu
3445a3a241
armcc - remove fromelf output before regenerating
...
Fix armcc recompile errors during elf2bin stage. Errors shown as follows:
Elf2Bin: mbed-os-example-wifi
Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
[ERROR] Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2018-03-26 18:52:24 +01:00
Hugues de Valon
f2dcff5e4a
Add ASM include flags in uvision export
...
When exporting to a uvision project, the include flags are not put in
the assembly compilation line. When assembling the files containing
includes, the search path will then fail. This patch adds the include
paths to the Assembly sequence, as it is done for compilation.
This issue was found in the pull request ARMmbed/mbed-os#6168 .
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-26 18:52:24 +01:00
Hugues de Valon
cd8f5834c3
Add ASM flags virtual path for make export
...
When exporting a mbed project to make_armc5, the include options (-I)
of the ASM flags are not pointing to the good folder. It should be
pointing to the root mbed-os folder and not the one in BUILD.
This issue was found in the pull request ARMmbed/mbed-os#6168 .
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-26 18:52:24 +01:00
Jimmy Brisson
4611bb699e
Correct type issue in export arg parsing
2018-03-26 18:52:24 +01:00
Jimmy Brisson
40d9b3eef8
Correct syntax for mbed export in Py3
2018-03-26 18:52:24 +01:00
Jimmy Brisson
2df7de25dc
Correct Realtek post-build script to work in the online compiler
2018-03-26 18:52:24 +01:00
Alan Chuang
941dccac14
Enable iar export option for MTB_ADV_WISE_1510
2018-03-26 18:52:24 +01:00
Jimmy Brisson
90da5a5037
Convert option list to unicode
2018-03-26 18:52:24 +01:00
Brendan McDonnell
f94dd8d2e7
typos
2018-03-26 18:52:24 +01:00
Laurence de Bruxelles
bedf76c8bb
Allow build profiles to omit language entries
2018-03-26 18:52:24 +01:00
daid
e30b81ab97
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-03-26 18:52:24 +01:00
Jimmy Brisson
2279c8b098
Correct gcc m33 floating point handling
2018-03-26 18:52:24 +01:00
Jimmy Brisson
bf40cb5b44
Specify --build in mbed export: consistency with compile
2018-03-26 18:52:24 +01:00
Jimmy Brisson
6ddb13573a
Correct mbed export with multiple --source params
2018-03-26 18:52:24 +01:00
Cruz Monrreal
c7e7fac781
Actually disabled exporters for lorawan example
2018-03-13 23:44:20 -05:00
Cruz Monrreal
6e165bcb04
Disabled exporters for lorawan example
2018-03-13 23:44:20 -05:00
Cruz Monrreal II
05ef346c29
Add lorawan and nvstore examples for testing.
2018-03-13 23:44:20 -05:00
Jimmy Brisson
c678c25452
Allow _ and () in identifiers in macros
2018-03-13 23:44:20 -05:00
Jimmy Brisson
f23a575e2e
Print array indexes correctly in schema errors
2018-03-13 23:44:20 -05:00
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
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
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