Commit Graph

1878 Commits (8be2e34390ea21a23d235a35544d01c922fa557b)

Author SHA1 Message Date
Ganesh Ramachandran 38c5997e4c IAR export and page size fix for nvstore 2018-04-19 17:24:58 +05:30
Jimmy Brisson 7a6f2e485a Use passed in target data everywhere when doing lib config 2018-04-18 09:12:49 -05:00
Jimmy Brisson 5b83f21cec Return correct configuration dict 2018-04-18 09:09:29 -05:00
Martin Kojtal 7aa293b11a
Merge pull request #6441 from theotherjimmy/disable-deprecated-exporters
Disable all deprecated exporters
2018-04-18 14:24:47 +02:00
Martin Kojtal 099e54bc17
Merge pull request #6483 from deepikabhavnani/add_tz_functions
Add tz functions
2018-04-18 14:20:13 +02:00
Cruz Monrreal 934101ecf6
Merge pull request #6592 from cmonr/py3-tools-port
Updates tools to be runnable in Python 3
2018-04-17 15:55:15 -05:00
Jimmy Brisson 0e5cb66ca5 Allow library configs to override target configs 2018-04-17 15:48:55 -05:00
Jimmy Brisson bc8b98358d Correct exporting with cortex-M23 and M33 2018-04-17 12:02:08 -05:00
Thomas Sailer 004724d4d9 add ncs36510 fib and trim generation 2018-04-17 18:28:41 +02:00
Cruz Monrreal 1df9f7d450
Merge pull request #6637 from bcostm/add_iar_stm32l496ag
Add IAR export for STM32L496AG
2018-04-17 10:55:39 -05:00
Cruz Monrreal 43bf01008a
Merge pull request #6621 from theotherjimmy/elftools-realtek
Use pyelftools for Realtek post-build script
2018-04-17 10:55:13 -05:00
Cruz Monrreal 3afbfd66c7
Merge pull request #6580 from theotherjimmy/cleanup-get-config
Cleanup get_config (mbed compile --config)
2018-04-17 10:54:29 -05:00
Jimmy Brisson a0b305b351 Use pyelftools for Realtek post-build script 2018-04-16 09:06:38 -05:00
ccli8 b81c0e5986 Fix build tool with ARMC6/ARMv8M
1. Add linking time preprocessor macro __DOMAIN_NS for non-secure build
2. For output .hex format, combine multiple .hex files (for multiple load regions) into one
   This can help for Greentea test.
3. Fix 'None' build_dir with cmse_lib.o on Greentea test
2018-04-16 16:10:57 +08:00
bcostm 213f17aaf5 STM32L496AG: Add IAR export 2018-04-13 17:15:27 +02:00
Kimmo Vaisanen 14704c9387 Add iar export support for STM32L151CC 2018-04-13 14:03:00 +03:00
deepikabhavnani 40e2737414 Add SHA:d0a43b8a Conditional compilation 2018-04-11 11:47:46 -05:00
Cruz Monrreal II 85ce95d0ff Modified error formatting to remove unicode character.
jsonschema's error.message returns either u' or ' in strings depending on the python version.
2018-04-10 15:19:34 -05:00
Cruz Monrreal II b286838ebf Updated python tools to be cimpliant with PEP 3113 2018-04-10 13:37:47 -05:00
Jimmy Brisson 854e436d92
Merge pull request #6481 from tsailer/exporter-codeblocks
Code::Blocks project file exporter
2018-04-09 10:13:43 -05:00
Jimmy Brisson e80d9947e2 Shorten lines in get config 2018-04-09 09:29:43 -05:00
Jimmy Brisson c3b9cbe3fd Heed filters in macro printing 2018-04-09 09:27:09 -05:00
Jimmy Brisson b384834db5 Print macros in a readable way 2018-04-09 09:26:11 -05:00
Jimmy Brisson aac1099858 Simplify config param printing logic 2018-04-09 09:25:38 -05:00
Jimmy Brisson cdb4e98df3 Remove needless _exit call 2018-04-09 09:25:18 -05:00
Jimmy Brisson 498afc97fa Cleanup get_config imports 2018-04-09 09:23:15 -05:00
Jimmy Brisson 192a8e5094
Merge pull request #6530 from theotherjimmy/exclude-dot-files
Exclude files like `.main.cpp` from builds
2018-04-06 10:45:26 -05:00
Thomas Sailer 696a7f5bd5 generate .mbedignore files in bin and obj to prevent mbed compile from getting confused 2018-04-06 11:45:12 +02:00
Thomas Sailer 69d7c530f5 proper compile flags for Release target; add fib/trim files to .mbedignore so mbed compile doesn't pick them up 2018-04-06 11:44:59 +02:00
Thomas Sailer 7b7d5fcb91 exporter: properly export libraries 2018-04-06 11:42:23 +02:00
Thomas Sailer 84fe7ed5fd skip -c, sort compiler options and file list 2018-04-06 11:41:49 +02:00
Thomas Sailer 8478ec253a copy ncs36510addfib.py into project root, because it cannot be relied to be accessible in the template directory 2018-04-06 11:40:37 +02:00
Thomas Sailer 209310c54f remove NCS36510 specific changes from this branch 2018-04-06 11:31:55 +02:00
Thomas Sailer f53154a95e some modifications from review 2018-04-06 11:31:55 +02:00
Thomas Sailer ca86cbf565 Code::Blocks project file exporter 2018-04-06 11:31:55 +02:00
Jimmy Brisson f34feddaa2 Error on invalid mbed_lib JSON 2018-04-05 14:34:00 -05:00
Jimmy Brisson c0410d7bec Add GCC_ARM support to all fake test targets 2018-04-05 10:11:51 -05:00
Jimmy Brisson 6cf2efa794 Prevent compiling with unsupported compilers 2018-04-04 14:02:13 -05:00
Jimmy Brisson 018596446e Exclude files like `.main.cpp` from builds 2018-04-03 11:23:42 -05:00
Cruz Monrreal 4a5ac149ec
Merge pull request #6512 from theotherjimmy/export-check-rtos
Move Mbed 5 support check so that it affects the exporters
2018-04-03 11:06:55 -05:00
Cruz Monrreal c8bd08f60e
Merge pull request #6043 from ithinuel/add-rak811
add support for the RAK811
2018-03-30 01:54:19 -05:00
Jimmy Brisson 24c7b1a61a Move Mbed 5 support check so that it affects the exporters 2018-03-29 14:05:23 -05:00
Jimmy Brisson c44dba3ef4 Minimize include path size in uvision export 2018-03-27 14:30:43 -05:00
Jimmy Brisson b60729d147 Move filter dot into exporter base class 2018-03-27 14:30:36 -05:00
Wilfried Chauveau 78d73a1a63 add the target to travis build script & sw4stm32 export script. 2018-03-27 10:45:04 +01:00
Cruz Monrreal c291b4ad32
Merge pull request #6428 from theotherjimmy/many-source-export
Avoid incorrect config errors on export with many --source
2018-03-26 14:25:53 -05:00
Jimmy Brisson 92c257709c Disable all deprecated exporters 2018-03-23 09:56:10 -05:00
Jimmy Brisson cd31272d4b Avoid incorrect config errors on export 2018-03-23 09:28:49 -05:00
Jimmy Brisson a27dd66f92 Correct get_config imports 2018-03-21 10:50:56 -05:00
Martin Kojtal 7125c8ad0b
Merge pull request #6344 from tung7970/fix-tools
armcc - remove fromelf output before regenerating one
2018-03-21 14:12:00 +01:00
Tony Wu cca1d5581a 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-20 16:01:22 +08:00
Cruz Monrreal f6bcbfe1f0
Merge pull request #6356 from hug-dev/asm-include-flags
Add include search path when preprocessing assembly files for uvision and make_armc5 exports
2018-03-19 16:52:18 -05:00
Cruz Monrreal 4840e4d3e1
Merge pull request #6192 from theotherjimmy/export-py3
Correct syntax for mbed export in Py3
2018-03-19 11:20:37 -05:00
Cruz Monrreal e01479cc06
Merge pull request #6216 from theotherjimmy/fix-online-realtek
Correct Realtek post-build script to work in the online compiler
2018-03-19 11:19:53 -05:00
Jimmy Brisson e5f5a3b6cc Correct type issue in export arg parsing 2018-03-16 13:18:04 -05:00
Jimmy Brisson 14255ca113 Correct syntax for mbed export in Py3 2018-03-16 13:08:20 -05:00
Cruz Monrreal 0e9824f987
Merge pull request #6354 from chuanga/patch-1
Enable iar export option for MTB_ADV_WISE_1510
2018-03-16 11:45:29 -05:00
Cruz Monrreal aa4ebf13a1
Merge pull request #6361 from theotherjimmy/unicode-options
Convert option list to unicode
2018-03-16 11:33:38 -05:00
Jimmy Brisson a9e3a4fa28 Correct Realtek post-build script to work in the online compiler 2018-03-16 10:09:03 -05:00
Cruz Monrreal 0828727643
Merge pull request #6270 from evva-sfw/error_warning_msg_as_link
Add parameter in tools settings to show error/warning as Link
2018-03-15 11:49:33 -05:00
Cruz Monrreal 9cac3b2f6b
Merge pull request #6149 from bmcdonnell-ionx/typos
Fix typos in the files
2018-03-15 10:53:03 -05:00
Jimmy Brisson 229a072e49 Convert option list to unicode 2018-03-14 11:03:39 -05:00
Hugues de Valon ebc9289d30 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-14 13:09:07 +00:00
Hugues de Valon 6b72edeb9a 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-14 13:08:55 +00:00
Alan Chuang 3a504a500e
Enable iar export option for MTB_ADV_WISE_1510 2018-03-14 19:07:42 +08:00
Cruz Monrreal cb99c280a6
Actually disabled exporters for lorawan example 2018-03-13 12:15:35 -05:00
Cruz Monrreal 1dfe716b56
Disabled exporters for lorawan example 2018-03-13 12:13:55 -05:00
Cruz Monrreal II 0ab2216803 Add lorawan and nvstore examples for testing. 2018-03-12 18:45:16 -05:00
Martin Kojtal d9a1302fd5
Merge pull request #6271 from lfdebrux/profile-merging
Allow build profiles to omit language entries
2018-03-08 17:41:51 +01:00
Cruz Monrreal 79bd2638b8
Merge pull request #6285 from theotherjimmy/fix-6284
Improve json schema and schema errors
2018-03-06 21:07:10 -06:00
Cruz Monrreal 8a7b390fdd
Merge pull request #6102 from Ultimaker/master
Add support for STEVAL-3DP001V1 board
2018-03-06 20:41:41 -06:00
Jimmy Brisson 67e76f3a5e Allow _ and () in identifiers in macros 2018-03-06 11:12:56 -06:00
Jimmy Brisson 6633fbca68 Print array indexes correctly in schema errors 2018-03-06 11:12:22 -06:00
Cruz Monrreal b84627feab
Merge pull request #6146 from theotherjimmy/fix-m33-fp
Correct gcc m33 floating point handling
2018-03-06 08:20:20 -06:00
Cruz Monrreal e7fde46731
Merge pull request #6143 from theotherjimmy/multi-source-export
Correct mbed export with multiple --source params
2018-03-05 21:47:06 -06:00
Laurence de Bruxelles ce6bd9defc Allow build profiles to omit language entries 2018-03-05 15:21:08 +00:00
PHST 3e59bdcbf5 Add parameter in tools settings to show error/warning as Link
Per default mbed compile prints errors/warnings on output not in a link format, therefore it is not possible to click, i.e. in an IDE, on the errors/warnings and jump to the position in the file.

The settings parameter lets you decide in witch format do you want to have it.
If it is enabled then the output will look like:
[Error/Warning] [absolute\path\to\file.ext]:[line]:[column]: [msg]

with this format nearly every common known IDE can deal with this link and lets you jump to the file
2018-03-05 15:44:49 +01: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
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