Commit Graph

1718 Commits (6e67794cce9f8564c0bb303b2f1630407c9414c0)

Author SHA1 Message Date
David Walters e4b55dd6a0 Removed get_mounted_details_txt from test_api.py
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
Jimmy Brisson bd7f320387 Emit dependency information with ARMC6
Which allows it to be parsed
2017-09-14 16:17:44 -05:00
Deepika eea29d34a7 Corrected check for ARM/ARMC6 toolchain
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5

Adding ARMC6 without ARM in target.json should work now.
2017-09-14 14:14:35 -05:00
Jimmy Brisson 7eccec425f Parse libraries with memap-arm 2017-09-14 09:50:47 -05:00
Jimmy Brisson a62f89da05 Correct uvision template to correctly pass include paths 2017-09-14 09:39:00 -05:00
Jimmy Brisson 8db0fa9819 Correct rename mistake in make arm compiler exporters 2017-09-14 09:14:47 -05:00
Deepika 60c600ac11 ARMC6 support for Cortex-M23 2017-09-13 17:07:05 -05:00
Jimmy Brisson 3e1b96d899 Disable response files on export
None of the exporters can handle them, so just don't do it
2017-09-13 15:14:26 -05:00
Jimmy Brisson 58372d3fdf Allow ARMC6 to run post-binary-hooks marked for ARM 2017-09-13 14:50:06 -05:00
Anna Bridge 7b428916f5 Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Vincent Coubard 682816d86e Sleep: Disallow sleep for targets turning of the systick clock at sleep entry.
When the RTOS is present and the tickless mode is not implemented, it is
expected that the next tick issued by the Systick timer will wake up the MCU.
However nothing prevents an implementation of the ARM architecture to gate the
systick clock signal upon sleep entry.

Therefore on those targets sleep shall be prohibited if the RTOS is present and the
tickless mode is not implemented.

To ease life of porters , a new option has been added in the device add list:
STCLK_OF_DURING_SLEEP. This option expose that the target turn of the systick
clock during sleep.

Targets which exhibit such behavior shall add this define in their device_has list.
2017-09-13 10:28:02 +01:00
Jaakko Heikkilä 6b6187a405 export: Add missing flags to Sw4STM32
Some of the optimization and warning flags, which were supported by the
gnuarmeclipse exporter, were missing from the sw4stm32.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä c13b80cc75 export: Corrections to Sw4STM32 after review
Add double quotes to linker command unconditionally.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 5b0fe22652 export: Fix invalid id's in Sw4STM32 project files 2017-09-13 12:05:27 +03:00
Jaakko Heikkilä b94ad5aa35 export: Remove build directories from excluded paths
Directories Debug and Release must not be excluded. Otherwise, Eclipse is
not able to find binaries, which are stored to build directories.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 847276455b export: Add debug configuration to Sw4STM32 2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 9d386b23e4 export: Fix Windows problems with Sw4STM32
Quoting linker preprocessor command, if path contains parentheses. Using
relative path to shorten list of included directories. Using Eclipse
variables to get path to preprocessor.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä e1d163ba0a export: Remove preprocessed ld files after build
Sometimes Sw4STM32 exporter receives wrong linker script file. Because build
directories cannot be excluded from scanned resources, ld files are removed.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 98e578f707 export: Fix after testing Sw4STM32
Quotation marks in defines had to be replaced with html codes.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä e0cdda6e72 export: Invalid linker script path in Sw4STM32
Fixed invalid linker script path in project file.
Using 'defines' instead of 'symbols' in compiler options.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä d8d2b404cd export: Remove dublicate methods in Sw4STM32
Removed unused methods and methods with dublicate functionality.
Removed unused imports. Generating list of defines for assembler.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 83127db09e export: Sw4STM32 inherits GNUARMEclipse
Sw4STM32 is using methods from GNUARMEclipse class to handle flags.
Flags are also passed to cproject file.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä dbf20fca39 export: Change linker script name
SW4STM32 linker script name now contains target name.
Print formatting is using new Python style.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä b2876c47d1 export: Fix sw4stm32 linker script problem
Added makefile.target, and rule for linker script pre-compilation.
2017-09-13 12:05:27 +03:00
Jarno Komula fbc4a89607 Review changes + including config header from toolchain.get_config_header() instead of hardcoding it to project file. 2017-09-13 12:05:27 +03:00
Jarno Komula 0b90c827bd Better readability. 2017-09-13 12:05:27 +03:00
Jarno Komula 2d27e2730f Review corrections. 2017-09-13 12:05:27 +03:00
Jarno Komula 6289596f04 Fixed sw4stm32 exporter 2017-09-13 12:05:27 +03:00
Shrikant Tudavekar fec2346627 add ARMC6 in supported compiler 2017-09-12 15:31:50 -05:00
David Walters 7ff57c4671 Changed DAPLink version to interface version. 2017-09-12 10:46:07 +01:00
Jimmy Brisson 23aafbfe6c Optimize space usage on builds
by not creating gigantic exception nonsense
2017-09-11 14:45:21 -05:00
Jimmy Brisson 8a9d79bcbd Add ARMC6 to supported matrix 2017-09-11 13:20:33 -05:00
Jimmy Brisson d56c19f253 Detect test skips with armc6 2017-09-11 13:20:33 -05:00
Jimmy Brisson 887d29372b Check for support in ARMC6 2017-09-11 13:20:33 -05:00
Jimmy Brisson d72f6dbfe4 Disable MULADDC assembly
It's not supported in ARMC6
2017-09-11 13:20:33 -05:00
Jimmy Brisson f4b7d8ba77 Avoid forcing preprocessing
We avoid forcing preprocessing by not replacing the first line when it's
not a shebang (#!). Should work pretty darn well.
2017-09-11 13:20:32 -05:00
Jimmy Brisson 06b00683c3 Genericify arm compiler exporter to versions 5 + 6 2017-09-11 13:20:32 -05:00
Jimmy Brisson e9d3166a5e Expose present get_compile_options API in Toolcahins 2017-09-11 13:20:32 -05:00
Jimmy Brisson 15a9a0382b Enable Compiling with ARMC6 across all targets
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
Jimmy Brisson 1fef5553b4 Parse deps the same for GCC_ARM and ARMC6 2017-09-11 13:17:54 -05:00
Jimmy Brisson 98b4768434 Initial toolchain class for ARMC6
While ARMC6 does use the same linker (armlink) as ARM Compiler 5, it
is not compatible.

The reason for this incompatibility are twofold:
 * armlink may invoke the C preprocessor by adding a shebang
   (`#!`) to the top of their input files.
 * ARMC6 and ARMC5 differ in how you invoke the preprocessor:
   * ARMC5: `#! armcc -E`
   * ARMC6: `#! armclang -E`

This forces the tools to rewrite the shebang if it's wrong.

This does not yet handle dependencies properly
2017-09-11 13:17:54 -05:00
Deepika ca1f24cc0e Add -mcmse flag for GCC and improved logic for cpu core 2017-09-11 11:49:28 -05:00
Deepika 9422c351e4 Initial RTX and tools support for Cortex M-23/M-33 devices 2017-09-11 11:43:26 -05:00
David Walters d43a847667 Added additional DAPLink version info for `mbed detect` command` 2017-09-11 16:54:32 +01:00
mbedNoobNinja 3ba6620521 "ds5_5 & e2studio export fix" 2017-09-11 09:30:43 +03:00
Jimmy Brisson a108adf396 Merge pull request #4916 from JojoS62/add_MCUXpresso_exporter
Add mcuxpresso exporter
2017-09-08 09:44:25 -05:00
Martin Kojtal 814eaa99fe Merge pull request #5030 from chrissnow/uVision-LDFlags
Export uVision linker flags so that bootloader projects build correctly
2017-09-07 12:46:35 +01:00
Jimmy Brisson a3bb8e370b Allow eclipse to fail for mysteriously in build 2017-09-06 17:38:58 -05:00
Jimmy Brisson 9d51b1afa8 Add imports for build 2017-09-06 16:58:40 -05:00
Jimmy Brisson 7457bbbc5c Merge pull request #4665 from Archcady/enable_sdram
Enable sdram usage of REALTEK_RTL8195AM
2017-09-06 14:26:34 -05:00
Jimmy Brisson 5bcd97a2bc Merge pull request #4984 from theotherjimmy/unify-unit-tests
Unify mbed OS tools testing style with what's used in mbed-ls, htrun, greentea
2017-09-06 14:26:14 -05:00
Chris Snow e783e98066 Export linker flags so that bootloader projects build correctly 2017-09-05 22:03:29 +01:00
Jimmy Brisson 9d0e8abb11 Rename and simplify config test target names 2017-09-05 15:21:08 -05:00
Jimmy Brisson 399b6acfb1 Clean up json
Wipe out all blank lines in json:
  find tools/test -name 'test_data.json' | xargs sed -i -e '/^$/d'
Move all start braces back a space:
  find tools/test -name 'test_data.json' | xargs sed -i -e "s/^ {/{/"
2017-09-05 14:39:48 -05:00
Jimmy Brisson 4a937fe15e Linting and correcting comments 2017-09-05 13:30:16 -05:00
Martin Kojtal c291973f49 Merge pull request #4933 from 0xc0170/fix_stats_depth
test: fix stats depth variable scope
2017-09-04 16:48:53 +01:00
JojoS 32c56b2743 added support for targets with extra SDK
some targets need an additional SDK.
2017-09-01 09:45:42 +02:00
JojoS d00d6f412a add support for K64F target
added template for K64F
2017-09-01 09:43:36 +02:00
JojoS 2615982b3a applied patch from mmahadevan108
- fixes invalid char '#' in linker script
- added 'mbedclean'
2017-09-01 09:41:12 +02:00
Russ Butler ac22225ad9 Move Cortex specific RTX behind TARGET_CORTEX
Update directory structure to include RTX for only cortex targets, and
for all cortex targets. This patch accomplishes this by moving mbed-os
specific RTX files and RTX itself into rtos/TARGET_CORTEX along with
removing TARGET_CORTEX_M from the RTX5 directory.

The old directory structure:

rtos/rtx5/<mbed-os specific RTX files>
rtos/rtx5/TARGET_CORTEX_M/*
rtos/rtx4/*
rtos/<mbed-os specific RTX files>

Is re-arranged to:

rtos/TARGET_CORTEX/rtx5/*
rtos/TARGET_CORTEX/rtx4/*
rtos/TARGET_CORTEX/<mbed-os specific rtx files>

This both encapsulates RTX code more cleanly and makes it easier to
experiment with non-cortex cmsis-os2 backends, such as a posix
based cmsis-os2 backend.

Note - A potentially better name for the CORTEX_M directory would be
something like FEATURE_RTX5 since this directory only contains RTX5
related files. This cannot be done because there is not an easy way
to turn this feature on, since it cannot be done from mbed_lib.json.
2017-08-31 19:55:54 -05:00
Martin Kojtal b99e6b5f7a Pass stats depth to singletest correctly
Fixes #4930
2017-08-31 10:41:20 -05:00
Jimmy Brisson 318e92c028 Merge pull request #4950 from OpenNuvoton/nuvoton_usb
M487: Support USB device/host
2017-08-29 13:45:55 -05:00
Jimmy Brisson a2bcae0b7a Rework test_api testing and fix a bug
Bug was found by the new tests
2017-08-28 15:40:35 -05:00
Jimmy Brisson 817eb5ab05 Unify configuration testing and the travis command 2017-08-28 15:10:50 -05:00
Jimmy Brisson de9f9dd3a2 Convert memap tests to pytest style 2017-08-28 13:52:28 -05:00
Jimmy Brisson 177fb7933d Rework config_test to use py.test 2017-08-28 12:27:09 -05:00
Yuguo Zou c834b7faac Fix bugs for RTL8195AM with debug profile of compilers
1. Add alignment / padding for postbuild segments
2. Clear tcm.bss section
3. Remove TRAP_OverrideTable(), move lines to PLAT_Start()
2017-08-28 19:04:26 +08:00
Shrikant Tudavekar ddc9e0840a disable -f option for assembly files for IAR 2017-08-25 16:59:21 -05:00
Yuguo Zou a0064ae47c Remove extension in cmd
Remove extension in command line so the script could work on Linux
2017-08-24 11:26:40 +08:00
Phyo Kyaw 2cbca704d8 e2 studio exporter update 2017-08-23 17:00:55 +01:00
JojoS 025b8d9a4d changed execuatable name for tests 2017-08-23 17:02:33 +02:00
Jimmy Brisson dc6398a385 Check for mbed 5 support on export 2017-08-23 08:31:07 -05:00
JojoS f776631d3b added target LPCPC54608
from patch by mmahadevan108
2017-08-22 21:37:14 +02:00
Yuguo Zou 1e398cfc60 Add RTL8195AM support for mbed client with IAR
Move ticker related code to SRAM due to time drift sensitive
2017-08-22 17:34:00 +08:00
ccli8 a98ef4323d [M487] Update travis file 2017-08-22 10:57:37 +08:00
JojoS 07355e1362 removed empty project
was just an copy template for new targets
2017-08-21 22:19:42 +02:00
JojoS 9f628bb431 use UID class from gnuarmeclipse exporter
use global UID class
removed  outcommented code
2017-08-21 22:08:07 +02:00
JojoS e4570dbb49 add template for LPC1549 2017-08-21 21:26:16 +02:00
JojoS 9d77dffc2a fix export static_files to zip
fixed adding a list and a tuple
2017-08-16 23:37:35 +02:00
JojoS 6710e79486 fixed is_target_supported()
path for checking the templates was not independent
2017-08-16 23:04:08 +02:00
JojoS e2fd0ea152 revert hack to force zipfile creation
remove forcing to create zipfiles
2017-08-16 18:45:39 +02:00
JojoS 9dc1191c60 derive from gnuarmeclipse class
derive from gnuarmeclipse class instead of copy
is_target_supported is true when .cproject template for targetname exists
2017-08-16 18:16:36 +02:00
JojoS 239406dd25 removed unnecessary entrys 2017-08-16 18:15:10 +02:00
JojoS 9e1abfe16c added missing flags
added:
- compiler standard
- optimization flags
- warning flags
- different other flags
2017-08-16 18:14:33 +02:00
JojoS 7e7aa72c81 added support for LPC54114 and LPC54608
project template for LPC54114 is from preinstalled MCU, template for LPC54608 is empty because SDK is not yet available
2017-08-16 18:13:57 +02:00
JojoS 6f0b2dec31 fixed linker errors
for mbed 2: user lib (e.g. mbed lib) needs to be added to library group
linker command changed: add flags after object files
2017-08-16 18:13:17 +02:00
JojoS 08c44a029b use optimization setting from flags
optimization is set for debug and release builds
2017-08-16 18:12:37 +02:00
JojoS e41cc45297 added targets from LPCXpresso exporter
added all targets from older LPCXpresso exporter
2017-08-16 18:11:53 +02:00
JojoS 2bd7b4dee1 added templates for LPC4088 and LPC11H37
target specific templates use a  common template .cproject.tmpl and extend it by adding target information. This is necessary for the flash and debugging tools
2017-08-16 18:11:11 +02:00
JojoS 16c4150741 added generated flags
target family, fpu
removed 'develop' proffile, it causes errors in import
2017-08-16 18:10:35 +02:00
JojoS 41c5fdbcbe created project compiles in MCUX
project is read, but still fixes necessary:
- archticture is fixed entry, read from config
- linker options
- linker script file ?
- linker settings 'managed build' page causes error
- develop still not working
2017-08-16 18:10:02 +02:00
JojoS 544fd2a9d0 make excluded_folders POSIX conform
change backslash to forward slash in excluded_folders set
2017-08-16 18:09:27 +02:00
JojoS af177c577e changed template to gae exporter style
creates output for debug, develop and release builds
TODO. replaces some fixed flags, develop build not working , linker has no input files
2017-08-16 18:08:41 +02:00
JojoS f9152c2bd6 exporter based on lpc54114 template from nxpmicro
- used LPC4088 for testing
- split template for LPC54114 into common and Cortex-Mx dependet parts like in old LPCXpresso exporter
- changed fixed linker script name to name from options
Todo: use flags and configurations from options (like in gae exporter)
2017-08-16 18:07:55 +02:00
Mahadevan Mahesh 8ae5edacda Add support for MCUXpresso inside mbed exporter
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-15 23:18:22 +02:00
Jimmy Brisson 878557e267 Merge pull request #4392 from MarceloSalazar/memap_enhancements
Enhance memap, and configure depth level
2017-08-14 11:42:44 -05:00
Jimmy Brisson b1d3669f3a Merge pull request #4850 from janjongboom/vscode_defines
Add list of defines to vscode exporter
2017-08-14 11:39:44 -05:00
Jimmy Brisson 0150f58e12 Merge pull request #4608 from OpenNuvoton/nuvoton_m487
Support Nuvoton's new target NUMAKER_PFM_M487
2017-08-14 11:35:33 -05:00
Anna Bridge 8a1c7fab79 Merge pull request #4813 from jacobjohnson-ON/master
Dual Flash and Hex file support on NCS36510
2017-08-11 11:50:15 +01:00
Jimmy Brisson 479fca70a1 Merge pull request #4836 from NXPmicro/IAR_Support
mbed exporter: Add IAR support for various NXP platforms
2017-08-10 09:37:57 -05:00
Jimmy Brisson 0dcf71b181 Merge pull request #4828 from alzix/enhancement/exporter/cdt
Enhancement - exporter/cdt
2017-08-10 09:37:39 -05:00
Jimmy Brisson 92ac0abca5 Merge pull request #4822 from JojoS62/fix-makefile-exporter
fix unresolved linker msg: __wrap_
2017-08-10 09:36:56 -05:00
ccli8 1e023093a0 [M487] Update CMSIS packs 2017-08-08 11:07:07 +08:00
Marcelo Salazar 5469be4de0 Fix to generate memory_usage key in report 2017-08-06 14:03:09 +01:00
Marcelo Salazar 7053ef9412 memap enhancements with depth level configurable
Removed heap/stack from report
Add --stats-depth option to mbed compile
Fix minor issues identified in review
Fix bug when parsing armcc libs
Fix code style
Fix minor issues on existing tests
Fix memap for automated TESTS
Fix stats-depth parameter for tests
2017-08-06 10:30:04 +01:00
Jan Jongboom c921717ba7 Add list of defines to vscode exporter 2017-08-03 12:44:40 +02:00
Jimmy Brisson 8b31078d58 Add missing collect_include passing 2017-08-01 10:29:11 -05:00
Jimmy Brisson ca0c2a8d92 Correct supported check in exporter tests 2017-08-01 09:52:57 -05:00
Mahadevan Mahesh 55e81fa8bb mbed exporter: Add IAR support for various NXP platforms
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-01 09:16:18 -05:00
Tony Wu 35d7ca27be rtl8195am - fix ARMCC SRAM + SDRAM porting
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-08-01 15:29:21 +08:00
Alexander Zilberkant 4b5535f9b6 Fix CDT debugger settings on Linux - remove .exe suffix
On Linux machines arm-none-eabi-gdb executable do not have .exe suffix.
On Windows machines - it is possible to run an executable without explicit .exe suffix.
This change fixes debugger settings for Linux hosts
2017-08-01 08:40:32 +03:00
Alexander Zilberkant bd660ec82e Rename Eclipse .launch file according to project name
Since Eclipse supports working with multiple projects in the same workspace, .launch file name
should include project name for creating unique per-project .launch file.
2017-08-01 08:40:32 +03:00
Alexander Zilberkant 7744587dc6 Remove unused Python imports 2017-08-01 08:40:31 +03:00
JojoS 0c254448e0 verify libname before stripping 2017-07-31 23:34:48 +02:00
JojoS c8bb167f1f fix unresolved linker msg: __wrap_
adding  libraries to gcc linker group command
2017-07-31 23:34:48 +02:00
Jimmy Brisson 2305a8c7e4 Merge pull request #4783 from theotherjimmy/refactor-exporter-ignores
Collect ignored directories in scan and use in exporters
2017-07-31 15:25:07 +00:00
Yuguo Zou d1c87347af Fix ARMCC & IAR compile errors 2017-07-28 18:33:52 +08:00
Jimmy Brisson 78a1eddf61 Merge pull request #4804 from johanstokking/fix/4802-copy-static-files
Copy static files only
2017-07-27 09:47:32 -05:00
Jimmy Brisson d2ad8867e7 Merge pull request #4742 from theotherjimmy/deprecate-exporters
Deprecate unsupported exporters
2017-07-27 09:40:12 -05:00
Tony Wu c9ecb2749d rtl8195am - adjust memory layout and enable fota support
1. Rearrange SDRAM and SRAM layout. Move timing critical code to SRAM,
   and the rest to SDRAM.

2. Add bootloader that's capable of FOTA over mbed cloud.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:45 +08:00
Yuguo Zou 2864e4b05d enable sdram usage of REALTEK_RTL8195AM
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:42 +08:00
Jimmy Brisson c8e6cf5bdd Collect ignores from scan resources and use in exporetrs 2017-07-26 14:31:22 -05:00
jacobjohnson-ON 41a0941d53 mbed OS 5.5.3, including the changes needed to enable 640k. Includes the proposed changes by Mac. 7/25/17 2017-07-25 17:37:14 -06:00
Johan Stokking 382e030bdc Use immutable tuple instead of mutable list
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-25 13:48:53 +02:00
Johan Stokking 9bcd1da2fa ZIP export static files
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-25 13:46:55 +02:00
Johan Stokking f8abcf4050 Copy static files also when zipping 2017-07-24 21:11:09 +02:00
Johan Stokking b0f5b3d768 Copy static files only
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-24 20:39:28 +02:00
Jimmy Brisson 54cb6ef871 Deprecate Simplicity Version 3 2017-07-19 11:23:53 -05:00
Jimmy Brisson 10a06a7083 Merge pull request #4733 from theotherjimmy/fix-old-builds
Prevent double define in very old builds
2017-07-17 11:07:59 -05:00
Martin Kojtal 692d9055b1 Merge pull request #4725 from theotherjimmy/extra_targets_exporters
Parse and use custom targets in exporters
2017-07-13 17:00:38 +02:00
Martin Kojtal 441fda979d tools: fix toolchain extend inc paths
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-12 16:24:06 +01:00
Jimmy Brisson 756d062e73 Deprecate LPCXpresso 2017-07-11 11:16:17 -05:00
Jimmy Brisson cc37669af2 Deprecate KDS 2017-07-11 11:16:05 -05:00
Jimmy Brisson 1c4d615912 Deprecate e2studio 2017-07-11 11:15:43 -05:00
Jimmy Brisson 8856f1ab0a Deprecate Coide 2017-07-11 11:15:31 -05:00
Jimmy Brisson fea553c6d5 Deprecate Atmel Studio 2017-07-11 11:15:13 -05:00
Jimmy Brisson 39f8a7d261 Create deprecated exporter class decorator 2017-07-11 11:14:52 -05:00
Jimmy Brisson 1d9fe5e337 Remove unusable exporters 2017-07-11 11:14:28 -05:00
Jimmy Brisson d25560324c Prevent double define in very old builds
Partially reverts 2ddf4b33cb
2017-07-10 15:59:54 -05:00
Jimmy Brisson e6bdc324ec Allow custom_targets.json exporting 2017-07-07 14:45:58 -05:00
Jimmy Brisson 81446f69be Generate exporter suppored lists when needed 2017-07-07 14:45:32 -05:00
Anna Bridge 8224dab741 Merge pull request #4547 from bridadan/sort_config_data
Sort the config parameters before printing them
2017-07-07 12:44:18 +01:00
Anna Bridge 292b4082ef Merge pull request #4636 from theotherjimmy/quote-cflags
Double escape defines in gnuarmeclipse export
2017-07-07 12:40:40 +01:00
Anna Bridge e1bc3efd0c Merge pull request #4711 from LordGuilly/verbose_missing
added the missing verbose=verbose to printout the command line correctly at build_api.py
2017-07-07 12:38:23 +01:00
Anna Bridge d2cb0c6105 Merge pull request #4215 from theotherjimmy/lint-targets-json
Add script to lint targets.json
2017-07-07 12:36:44 +01:00
Jimmy Brisson 99b37b28bb Merge pull request #4468 from moonchen/quote-include-paths
Put quotes around include files
2017-07-06 10:13:27 -05:00
lordguilly 5f22577da1 added the missing verbose=verbose to printout the command line correctly 2017-07-06 00:38:42 +01:00
Martin Kojtal 3c08c96494 IAR: remove stm32f413 from definitions
This definition requires IAR 7.80.2 and higher.
It will be readded once we all update to the latest IAR 7.80 patch release. For
future, please any new target should state what are the requirements on tools to
avoid this suprises.
2017-07-04 09:48:44 +01:00
Jimmy Brisson a5a5fa3a7b Double escape defines
Fixes a bug where quoting gets stripped by the shell used in the makefile
and another bug where the lack of escaping would cause parser errors in
eclipse.
2017-06-29 14:15:23 -05:00
Jimmy Brisson 18bca08d4b Reduce device has whitelist 2017-06-29 14:09:39 -05:00
Jimmy Brisson dfeb864f19 Add line between local and module imports 2017-06-29 14:09:39 -05:00
Jimmy Brisson 7775764db9 Add license header 2017-06-29 14:09:39 -05:00
Jimmy Brisson 2598bcd1b9 Restrict device_has 2017-06-29 14:09:39 -05:00
Jimmy Brisson 37a3e20dfe Revamp option parsing and add more checks 2017-06-29 14:09:39 -05:00
Jimmy Brisson 32966bbcbe Stylize and add function docs 2017-06-29 14:09:39 -05:00
Jimmy Brisson ae2268490f Added simple linter for targets.json 2017-06-29 14:09:39 -05:00
Jimmy Brisson 18b1cb6c11 Merge pull request #4531 from adbridge/update
Update branching option to branch from another branch.
2017-06-29 11:05:17 -05:00
Jimmy Brisson e57296d5b9 Merge pull request #4598 from theotherjimmy/iar-styling
Fix style issues in IAR exporter
2017-06-26 10:30:22 -05:00
Jimmy Brisson d103979e92 Merge pull request #4572 from bcostm/add_usb_disco_l072cz
DISCO_L072CZ_LRWAN1: Add support of USB Device
2017-06-26 10:28:31 -05:00
Jimmy Brisson 72bdeefca9 Merge pull request #4552 from bcostm/add_IAR_nucleo_f767zi
NUCLEO_F767ZI: Add missing IAR definitions
2017-06-26 10:27:46 -05:00
Jimmy Brisson 86f7cf43f8 Merge pull request #4426 from theotherjimmy/faster-scan
Improve directory scanning performance
2017-06-26 10:22:23 -05:00
Jimmy Brisson f3dc8a6bb1 Merge pull request #4103 from andrewleech/extra_targets
Add extra_targets.json support to build tools
2017-06-26 10:20:15 -05:00
Anna Bridge f1d0314783 Merge pull request #4410 from arostm/dev_disco_f413ZH
DISCO_F413ZH: Add new platform
2017-06-23 11:41:50 +01:00
Jimmy Brisson 75935b466d Merge pull request #4616 from amq/master
Fix unresolved include of mbed_config.h in Eclipse
2017-06-22 10:11:35 -05:00
Jimmy Brisson 14a0fb7ca5 Fix style issues in IAR exporter 2017-06-22 09:41:22 -05:00
Martin Kojtal ea4220dda0 Merge pull request #4578 from sarahmarshy/patch-10
Turn off "browse information" in Uvision template
2017-06-22 13:53:16 +02:00
amq 2b70e8f061 Fix unresolved include of mbed_config.h in Eclipse 2017-06-22 13:51:26 +02:00
arostm 9e7c9e8b4a DISCO_F413ZH: Remove usb from build_travis.py 2017-06-22 09:23:09 +02:00
arostm a4f6fc171e DISCO_F413ZH: Typo correction in build_travis.py 2017-06-22 09:23:08 +02:00
arostm d1aa129c02 DISCO_F413ZH: delete RTOS in build_travis.py 2017-06-22 09:23:08 +02:00
arostm ac3d5a0b25 DISCO_F413ZH: add IAR exporter 2017-06-22 09:23:08 +02:00
arostm b862b653d3 DISCO_F413ZH: corrections
- leds definition
- add sw4stm32 exporter
- recomment mco debug
2017-06-22 09:16:32 +02:00
arostm 45d42336ce DISCO_F413ZH: add terget.json, build_travis.py and test.py changes 2017-06-22 09:16:32 +02:00
Andrew Leech 4491d2e3f7 Prevent modifying existing targets.
A warning will be printed if it is attempted.
2017-06-21 22:17:58 +10:00
Andrew Leech 6bd55a16fe Add basic unit tests for custom_targets.json handling 2017-06-21 22:17:57 +10:00
Jimmy Brisson 49645b44d8 Clear custom-targets uppon setting new taregts.json location 2017-06-21 22:17:57 +10:00
Andrew Leech 2540f01d26 Handle situation when options.source_dir is None 2017-06-21 22:17:57 +10:00
Andrew Leech bf08b108aa Add custom_targets.json file contents to targets
Avoid duplication of update_target_data() code
Keep "custom_targets.json" filename definition in Targets()
2017-06-21 22:17:57 +10:00
Jimmy Brisson 2c4475cacc Find extra targets in all source folders 2017-06-21 22:17:57 +10:00
Andrew Leech 58c52fa2e7 Recursively merge extra_targets into targets
Recursively merge any target configs in extra_targets.json rather than completely replacing keys at the top level
2017-06-21 22:14:07 +10:00
Andrew Leech e6e3d08ea6 Add extra_targets.json support to build tools
If the file extra_targets.json exists in the working directory load it over the top of the built in targets.json for defining new and overriding built in mbed target definitions.
2017-06-21 22:14:07 +10:00
adbridge d1f3eb6ba6 Added template file for PR commit message plus minor review changes 2017-06-21 11:50:14 +01:00
Mo Chen 1b63202c27 Put quotes around include files
This fixes a problem when the path to include files have spaces.
See https://github.com/ARMmbed/mbed-os-example-uvisor/issues/31 for an
example of this problem.

Signed-off-by: Mo Chen <mo.chen@arm.com>
2017-06-20 14:00:38 -05:00
bcostm e6a013fa35 DISCO_L072CZ_LRWAN1: Add usb in build_travis.py 2017-06-20 16:12:32 +02:00
Anna Bridge c5e1fa70d9 Merge pull request #4242 from bcostm/dev_disco-l475-iot
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Jimmy Brisson 2e87f56a55 Merge pull request #4541 from theotherjimmy/fix-large-string
Fix a bug in print_large_string
2017-06-19 12:00:07 -05:00
Jimmy Brisson b56d9f3df3 Merge pull request #4540 from theotherjimmy/export-app-config
Support app config option for export
2017-06-19 11:59:38 -05:00
sarahmarshy 2abe6be5ba Turn off "browse information" in Uvision template
"Browse information," or the indexer for MDK, causes extremely long
build times when enabled.
2017-06-19 10:44:23 -05:00
Jimmy Brisson bf1a69b9be Fill out remainder of LazyDict dict compatibility 2017-06-16 15:52:30 -05:00
Jimmy Brisson 7513d4f897 Correct len and iter operators for LazyDict 2017-06-16 15:28:10 -05:00
Jimmy Brisson 27c55d5c8d Delay relative_to and win_to_unix operations over features 2017-06-16 15:16:24 -05:00
Jimmy Brisson 85748dbd21 Delay feature scan until it's rquired 2017-06-16 14:58:58 -05:00
Jimmy Brisson 55801b619d Improve speed of .mbedignore processing 2017-06-16 13:36:56 -05:00
Sam Grove 74b6e8cc4c Merge pull request #4530 from bridadan/verbose_example_build
Enable verbose builds when running example build tests
2017-06-15 11:19:08 -05:00
Sam Grove d7c5be26ef Merge pull request #4544 from theotherjimmy/export-static-files
Export static files from mbed export
2017-06-15 11:18:28 -05:00
bcostm a5240d25e2 NUCLEO_F767ZI: Add missing IAR definitions 2017-06-14 15:16:11 +02:00
Brian Daniels 1db46c1df7 Sort the config parameters before printing them 2017-06-13 16:36:21 -05:00
Jimmy Brisson 60fea42fdb Filter supported devices with a post-bin whitelist in uvision 2017-06-13 15:55:36 -05:00
Jimmy Brisson f81444d4f8 Export static files from mbed export 2017-06-13 13:40:30 -05:00
Jimmy Brisson 724112586d Fix a bug in print_large_string 2017-06-13 11:43:25 -05:00
adbridge b4ac0d048d Remove remaining use of args.tag and replace with tag obtained from
config file
2017-06-13 17:31:10 +01:00
Jimmy Brisson c4a6163ce5 Accept app config option for export 2017-06-13 10:30:05 -05:00
adbridge 108250d24a Update branching option to branch from another branch.
Previously if updating a branch in the ARMmbed version of an example
repo, the branch would be created initially from master. This update
allows the new branch to be created by any pre-existing branch.
This update also moves the branch / fork / tag configuration data to the
json config file. It thus simplifies the command line.
-b on its own now indicates use the branch information in the config
-f on its own now indicates use the fork information in the config
2017-06-12 17:57:01 +01:00
Brian Daniels fd4cd43043 Enable verbose builds when running example build tests 2017-06-12 11:25:01 -05:00
bcostm 59bfa39b6d DISCO_L475VG_IOT01A: remove rtos from build_travis.py 2017-06-12 17:03:12 +02:00
bcostm 2c12c6c13c Remove fat, usb_host, USB_10, USB_11 in build_travis.py
--> alignment with other targets after rebase
2017-06-12 17:03:12 +02:00
bcostm 8c7000cce4 Add "01A" suffix in target name 2017-06-12 17:03:12 +02:00
bcostm b26eae581d Add DISCO_L475VG_IOT in build, export and tests python files 2017-06-12 17:03:12 +02:00
Sam Grove 22e82659d1 Merge pull request #4483 from c1728p9/workshop_rebase_4061
Improve error messages for bootloader build errors
2017-06-11 01:09:35 -05:00
Martin Kojtal 13334105e4 Merge pull request #4448 from sg-/add-cell-example
Add mbed-os-example-cellular to release data
2017-06-10 08:29:18 +01:00
Jimmy Brisson f55a8c3088 Merge pull request #4503 from 0xc0170/fix_issue_sdk_vectors
mbed sdk boot: copy vectors addition
2017-06-09 14:22:12 -05:00
Sam Grove 0013b4afa5 Add mbed-os-eample-cellular to release data 2017-06-09 15:18:04 +01:00
Jimmy Brisson 603ef3d75e Correct FPU setting for Cortex-M7FD
They had floating point turned off before
2017-06-09 00:03:23 -05:00
Jimmy Brisson 64baee8ac7 Correct profile handling in GNUARMEclipse exporter 2017-06-09 00:03:23 -05:00
Jimmy Brisson 578064e3fc Remove unsupported part from IAR 2017-06-09 00:03:22 -05:00
Jimmy Brisson a5cc8ef446 Remove incompatible post binary hook 2017-06-09 00:03:22 -05:00
Martin Kojtal 278634a1f6 tools: mbed sdk boot should be separate object file
This was probably deleted during the rebase, as mbed sdk boot needs to be
own object file due to using weak functions.
2017-06-08 17:19:58 -05:00
Sam Grove ea7561ddbb Merge pull request #4494 from theotherjimmy/absolute-bootloader-paths
Use absolute paths for bootloader binaries
2017-06-08 15:51:04 -05:00
Jimmy Brisson aaaccf0290 Fix typo in tools code to handle bootloader builds
fixes a regression
2017-06-07 15:45:06 -05:00
Jimmy Brisson 9c2626fd01 Use absolute paths for bootloader binaries 2017-06-07 15:00:53 -05:00
Sam Grove 744b95cc9f Merge pull request #4425 from sg-/doxygen-template
Doxygen template and CI to not produce warnings and errors
2017-06-07 11:18:47 -05:00
Jimmy Brisson 1ee15560a7 Improve error messages for bootloader build errors 2017-06-06 17:57:25 -05:00
Sam Grove 7dfc75de6d Remove previous docs building method and replaced by `doxygen doxyfile_options` 2017-06-05 17:32:45 -05:00
Jimmy Brisson ad5608c9e6 Fix a typo in test code
I goofed on spelling (swapped two letters). Whoops.
2017-06-05 15:46:42 -05:00
Niklas Hauser 8fb74f42d2 uVisor: Wrap _memalign_r and _calloc_r 2017-06-04 14:41:59 +01:00
Yuguo Zou 88d4d1d0f8 exporter coding style fix
should use space instead of tab
2017-06-03 20:15:04 +01:00
Yuguo Zou 92ca664fda Add support for mbed exporter
(uvision, gcc_arm, iar)
2017-06-03 20:15:04 +01:00
Yuguo Zou 0c046a4c38 improve coding style 2017-06-03 20:15:04 +01:00
Yuguo Zou 00ffb04f68 move target specific scripts to tools/targets/ 2017-06-03 20:14:58 +01:00
Yuguo Zou 29e11a1cb9 move REALTEK_RTL8195AM.py, remove progen in targets.json 2017-06-03 20:14:54 +01:00
Yuguo Zou 02687b5ec5 A fix to enum issue 2017-06-03 20:14:54 +01:00
Yuguo Zou f8019f4526 Mute RAM1 messages 2017-06-03 20:14:52 +01:00
Yuguo Zou d461776ca7 Fix postbuild for ARM & GCC 2017-06-03 20:14:52 +01:00
Yuguo Zou 7867a816d7 WiFi test fix for GCC
right now still need to add flag in gcc.py, we are fixing!
2017-06-03 20:14:51 +01:00
Yuguo Zou 9514cf810a improve py code 2017-06-03 20:14:51 +01:00
Yuguo Zou d75c5dbef0 minor fixes
correct heap size in icf file;
improve REALTEK_RTL8195AM.py
2017-06-03 20:14:50 +01:00
Yuguo Zou 0894548b3d complete postbuild process for IAR
also reduce replicated code
2017-06-03 20:14:50 +01:00
Yuguo Zou ad85a1409b Remove IPV4 from features in targets.json 2017-06-03 20:14:49 +01:00
Yuguo Zou 49baa975cd py coding style 2017-06-03 20:14:46 +01:00
Yuguo Zou 9e9878f377 improve coding style
consistent with other tools
2017-06-03 20:14:45 +01:00
Yuguo Zou 53e837bce2 add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
Russ Butler 737c5a9cea Trap on errors when building with debug profile
Define MBED_TRAP_ERRORS_ENABLED to 1 for the debug profile so errors
are obvious when building as debug.
2017-06-02 23:50:40 -05:00
Jimmy Brisson 9277c6e564 Move profile processing into build_api 2017-06-02 12:05:01 +01:00
Jimmy Brisson caa50cb8a8 Allow overriding of non-cumulative target attributes 2017-06-02 12:03:53 +01:00
Sam Grove 4c4fb822dd Merge pull request #4415 from theotherjimmy/disable-2-builds
Disallow building of mbed OS 2 + RTOS, and remove mbed OS 5 support for Cortext-A
2017-06-01 23:43:40 -05:00
Jimmy Brisson cee0cbd900 Remove Cortex-A mbed OS 5 support 2017-06-01 13:16:09 -05:00
Jimmy Brisson d8caee9077 Disallow building of mbed OS 2 + rtos 2017-06-01 13:16:03 -05:00
Jimmy Brisson 07a6c07408 Revert "Disable Cortex-A in tooling to provide better error messages"
This reverts commit f5859b308b.
2017-05-31 13:06:30 -05:00
Jimmy Brisson 4806229090 Fix bug in dependency handling 2017-05-31 09:54:09 -05:00
Martin Kojtal 88c398b52a Merge pull request #4377 from theotherjimmy/disable-cortex-A
Disable Cortex-A in tooling for better error messages
2017-05-31 07:50:21 +01:00
Jimmy Brisson f5859b308b Disable Cortex-A in tooling to provide better error messages
Disable Cortex-A in compile supported matrix
Disable Cortex-A in export supported matrix
2017-05-30 14:32:06 -05:00
Anna Bridge ddc015fb6e Merge pull request #4303 from nvlsianpu/nrf52840_iar
enable iar exporter for nRF52840
2017-05-30 16:45:25 +01:00
Sam Grove 704ffd7010 Merge pull request #4331 from theotherjimmy/depend-on-profile
Have objects depend on their respective compiler invocations
2017-05-26 17:06:23 -05:00
Sam Grove d11289b576 Merge pull request #4165 from adustm/can_init
fix #3863 Add an mbed API that allows the init of the CAN at the bus frequency
2017-05-26 10:45:19 -05:00
Sam Grove 2e5ba49b59 Merge pull request #4395 from theotherjimmy/fix-uvision-support
Allow generic core exports to UVision
2017-05-26 10:20:33 -05:00
Jimmy Brisson 598cbdf023 Merge pull request #4381 from janjongboom/vscode-intellisense-engine
Fix vscode intellisense engine to 'Tag Parser'
2017-05-25 15:06:54 -05:00
Jimmy Brisson 4d1a4a41fa Fix Uvision supported check
Should now allow for generic targets
2017-05-25 15:01:20 -05:00
Brian Daniels 3966139cd7 Allowing examples to specify which repo source to use for testing.
They can pick from either the mbed developer site or the GitHub
repository.
2017-05-24 11:10:49 -05:00
Jan Jongboom 1b0d7ee120 Fix vscode intellisense engine to 'Tag Parser' 2017-05-24 10:56:45 +01:00
Vincent Coubard 897667deaa makefile exporter: Escape double quote in toolchain flags.
Without this fix macro defined as -DFOO="BAR" won't be correctly
interpreted by the compiler.
2017-05-23 14:08:24 +01:00
Vincent Coubard deaabf3123 uvision exporter: Escape double quote in flags.
Without this fix macro defined as -DFOO="BAR" won't be correctly handled
by uvision.
2017-05-23 14:04:05 +01:00
Jimmy Brisson 7b04a52a46 Mock the function I just added in testing 2017-05-19 16:30:49 -05:00
Jimmy Brisson 3123a1d394 Switch dependencies to their respective CIL flags 2017-05-19 16:30:49 -05:00
Jimmy Brisson 5152c1c7ac Make object files depend on compiler flags 2017-05-19 16:29:55 -05:00
Sam Grove 94b67de439 Merge pull request #4202 from theotherjimmy/rom-size-injection
Add support for Unmanaged Bootloader
2017-05-18 09:34:13 -05:00
Sam Grove 943ef8648b Merge pull request #4325 from theotherjimmy/fix-unicode
Decode STDERR from compiler
2017-05-18 09:26:06 -05:00
Andrzej Puzdrowski 83c4b585c1 nRF52840_xxAA: enable iar exporter. nRF5x-MDK-IAR 8.11.1 or newer is required. 2017-05-17 11:45:57 +02:00
Jimmy Brisson 4ed87e2f3c Decode STDERR from compiler 2017-05-15 14:13:50 -05:00
Russ Butler 0a3b2561bc Merge pull request #4316 from c1728p9/remove_cortex_a
Remove Cortex A boards as Cortex-A it is not supported in CMSIS5/RTX2
2017-05-15 11:55:36 -05:00
Martin Kojtal 12e6f8a1a8 Merge pull request #4293 from theotherjimmy/dedupe-iar-flags
Revome duplicate optimization flags in IAR export
2017-05-15 16:20:12 +01:00
Martin Kojtal 7a656302b2 Merge pull request #4286 from theotherjimmy/fix-coide-missing-template
Remove unsupported Coide exports
2017-05-15 16:16:10 +01:00
adustm f9b94d5f6c Add NUCLEO_F303ZE in MBED_A30 test list 2017-05-15 14:27:22 +02:00
jeromecoutant f027cf429b Add new CAN API test MBED_A30 2017-05-15 14:27:22 +02:00
Bartek Szatkowski e535493a01 Remove Cortex A boards as Cortex-A it is not supported in CMSIS5/RTX2 2017-05-12 17:14:04 -05:00
Martin Kojtal 4b9b7188b8 tools: fix objects names that we need because of weak linkage
Fixing retarget and board object files, plus adding new one mbed_main.
2017-05-12 14:51:51 -05:00
Martin Kojtal 2977d0c387 tools: remove usb host from mbed 2 scripts
usb host has dependency on rtos1 that is no longer in the
code base.
2017-05-12 14:51:49 -05:00
Martin Kojtal 8c4258ceb5 tools: remove all rtos1 references
These references are removed from mbed 2 scripts, including travis script.
2017-05-12 14:51:47 -05:00
Jimmy Brisson 2821fd548f Mock config in toolchain tests 2017-05-12 14:04:08 -05:00
Bartek Szatkowski 2ddf4b33cb CMSIS5: Remove ARM7 support and targets 2017-05-12 13:48:43 -05:00
Martin Kojtal d4cd403039 tools: remove net libraries
Remove any reference to net libraries that are unsupported. As we removed net libraries, these are no longer in the codebase.
2017-05-11 17:51:01 -05:00
Jimmy Brisson 58167a2071 All C files depend on mbed_app.json 2017-05-11 14:20:09 -05:00
Jimmy Brisson 59e32b2fc6 Merge pull request #4289 from netzimme/master
LPC4088: add "LPC4088Code.binary_hook" to the white list of the embit…
2017-05-10 15:56:24 -05:00
Jimmy Brisson 6b8dd7b880 Revome duplicate optimization flags in IAR export 2017-05-09 14:20:48 -05:00
Daniel Zimmermann 8e02855101 LPC4088: add LPC4088Code.binary_hook to the white list of the embitz, gnuarmeclipse and makefile exporter. 2017-05-09 11:59:03 -05:00
Jimmy Brisson d04d588106 Merge pull request #4276 from nvlsianpu/patch-1
avoid 03/05 intel-hex records for nordic devices
2017-05-08 16:05:24 -05:00
Jimmy Brisson c782054eb5 Remove unsupported Coide exports
They simply would error with "template not found". Instead, lets just
disable them.
2017-05-08 14:03:27 -05:00
Jimmy Brisson bbde3797cb Make binary depend on config directly 2017-05-08 13:33:37 -05:00
Jimmy Brisson fd26d5b5a7 Allow app config to override start and size 2017-05-08 13:25:28 -05:00
Jimmy Brisson c1cbd26f1d Merge pull request #4256 from arostm/dev_disco_lora
DISCO_L072CZ_LRWAN1: add a new platform
2017-05-08 11:15:00 -05:00
Andrzej Puzdrowski c64d2f4411 avoid 03/05 intel-hex records for nordics devices
use Intelhex::write_hex_file instead of IntelHex::tofile
2017-05-05 13:27:29 +02:00
arostm 1cea7ee7fb DISCO_L072CZ_LRWAN1: delete tests mbed os2 result 2017-05-03 09:14:04 +02:00
Jimmy Brisson 7e03d8f1b4 Merge pull request #4110 from theotherjimmy/build-metadata
Add --build-data switch to mbed compile and test
2017-05-02 11:35:47 -05:00
Jimmy Brisson 7f0ed3b40b Merge pull request #4136 from theotherjimmy/bootlader-exists
Error when bootloader is specified but does not exist
2017-05-02 11:34:30 -05:00
Jimmy Brisson 03806a8045 Merge pull request #4224 from theotherjimmy/mbed-new-export
Add `mbed new .` output to export
2017-05-02 11:28:09 -05:00
Alexis ROCHE 71492e5473 DISCO_L072CZ_LRWAN1: add IAR export 2017-05-02 12:53:25 +02:00
Alexis ROCHE a59c4ff8a7 DISCO_L072CZ_LRWAN1: add LRWAN1 to the name 2017-05-02 12:53:25 +02:00
Alexis ROCHE 19109d9404 DISCO_L072CZ: Modifications and verifications to build 2017-05-02 11:50:24 +02:00
Martin Kojtal a8da481ce3 Config: config header file should contain new line 2017-04-28 10:41:23 +01:00
Jimmy Brisson 43bd303db3 Add `mbed new .` output to export 2017-04-26 09:52:07 -05:00
Jimmy Brisson 0b5b6cba71 Merge pull request #4093 from adbridge/update
Update.py: New feature - update a branch instead of a fork, plus general improvements.
2017-04-24 11:01:20 -05:00
Jimmy Brisson 7b13217226 Merge pull request #4145 from 0xc0170/dev_examples_add_nanostackrouter
test - add nanostack to examples.json file
2017-04-24 11:00:32 -05:00
Indrek Ardel 189083eeb0 Add USB capabilities to NUCLEO-F446RE board 2017-04-22 20:47:55 +03:00
Indrek Ardel c2ba96b7c2 Fix formatting in tools/build_travis.py 2017-04-22 20:47:55 +03:00
Martin Kojtal ea53150d35 test - add nanostack to examples.json file 2017-04-21 13:10:45 +01:00
adbridge 9ea605bb98 Update.py: Tidy up Fn headers, make logger work globally
The function headers have been updated to follow the standard format
that should be being used for tools in mbed. This is a one line summary
followed by a descriptive block with more detail.
Updated the handling of the main function so that the logger becomes
global and thus works across all the functions. This has been tested
with both the fork and branch options, and for levels INFO and DEBUG.
2017-04-21 11:08:58 +01:00
Jimmy Brisson 8048ec3b66 Add a config test to check for failing bootloader images 2017-04-20 14:32:17 -05:00
Jimmy Brisson cf87e7d182 Merge pull request #3915 from janjongboom/feature-vscode
Feature vscode
2017-04-20 12:39:44 -05:00
Jimmy Brisson 2a84ddd6e4 Error when bootloader is specified but does not exist
The changes to build_api.py make the error happen when running things
like get_config.py
2017-04-20 11:23:42 -05:00
Jimmy Brisson c4c6e139b6 Add UUID to all builds 2017-04-20 11:03:15 -05:00
Jimmy Brisson 05dce1206e Change date key to UTC ISO 8601 format 2017-04-20 11:03:15 -05:00
Jimmy Brisson 6ef384b7fe Add type to build_data.json 2017-04-20 11:03:15 -05:00
Jimmy Brisson 808279911c Add --build-data flag to mbed test 2017-04-20 11:03:15 -05:00
Jimmy Brisson aeb6109717 Rename switch to --build-data 2017-04-20 11:03:15 -05:00
Jimmy Brisson 035ddfb057 Add an option to make.py to dump build metadata 2017-04-20 11:03:15 -05:00
Jimmy Brisson da9c10be48 Expand build reports in the tools 2017-04-20 11:03:15 -05:00
Anna Bridge 8344adf48a Merge pull request #4172 from theotherjimmy/iar-no-linker-scirpt
Fail IAR exports without linker scirpts with NotSupportedException
2017-04-20 16:27:58 +01:00
Anna Bridge da4fb75256 Merge pull request #4171 from theotherjimmy/lpc-template-execption
Fix typo in LPCExpresso exporter template
2017-04-20 16:26:28 +01:00
Anna Bridge 41ff084f0c Merge pull request #4150 from theotherjimmy/refactor-config-header
Move config system into it's own folder and refactor header generation
2017-04-20 16:14:38 +01:00
Anna Bridge 29d59edd55 Merge pull request #4129 from bridadan/remove_old_fs_test
Removing old filesystem test
2017-04-20 15:57:12 +01:00
Anna Bridge a1d1a6037c Merge pull request #3888 from 0xc0170/fix_add_examples
tools: add new examples
2017-04-20 15:38:02 +01:00
Sam Grove 247238d993 Merge pull request #4167 from 0x6d61726b/patch-2
Replace deprecated import and correct typo in c_blob_mbed.tmpl
2017-04-19 02:28:34 -05:00
Sam Grove a67eca5e72 Merge pull request #4173 from theotherjimmy/fix-cmsis-traceback
Fix Traceback in CMSIS export.
2017-04-19 02:20:21 -05:00
Sam Grove 0cfa96cf55 Merge pull request #4170 from theotherjimmy/fix-include-paths
Fix include paths for Windows builds
2017-04-19 02:19:23 -05:00
Sam Grove de6cce77be Merge pull request #4168 from theotherjimmy/gnuarmeclipse-more-templates
Generate GNU ARM Eclipse .mbedignore file with jinja2
2017-04-19 02:18:17 -05:00
Jimmy Brisson fb8fda3cee Merge pull request #4097 from bulislaw/build_debug_macro
Debug build flag + change to sleep behavior in debug mode
2017-04-18 15:05:02 -05:00
Jimmy Brisson 6a325673de Fix Traceback in CMSIS export.
The traceback was caused when a file without a parent directory (which
is implicitly ".") is added to the resources object. The code assumed
that all files within the resources object would have a parent
directory.

This commit changes the check to account for files that are in the root
directory of a project and have no preceding `./`
2017-04-12 11:00:09 -05:00
Jimmy Brisson 157023342f Add license to configuration header 2017-04-12 10:50:43 -05:00
Jimmy Brisson 212a3dfd12 Move config to own dir
I also broke the config header template into it's own file. Further, I
fixed a bug in the config header generation where if no macros, builds
would crash.
2017-04-12 10:50:38 -05:00
Jimmy Brisson 1e21985ff7 Fail IAR exports without linker scirpts with NotSupportedException 2017-04-12 10:39:24 -05:00
Jimmy Brisson 65adf446c5 Merge pull request #3993 from mbartling/supported-lists
Added list options for --supported command
2017-04-12 09:33:27 -05:00
Jimmy Brisson e307b907d6 Fix typo in LPCExpresso exporter template 2017-04-11 15:18:19 -05:00
Jimmy Brisson 7c40343e74 Fix include paths for Windows builds 2017-04-11 14:26:14 -05:00
Jimmy Brisson 6fa1de2161 Generate GNU ARM Eclipse's .mbedignore with Jinja2 2017-04-11 14:11:44 -05:00
0x6d61726b 5be47f1e2b Update c_blob_mbed.tmpl
- critical.h is deprecated, replaced with "platform/mbed_critical.h"
- typo corrected
2017-04-11 20:30:34 +02:00
Sam Grove e3edbabbcc Merge pull request #4107 from theotherjimmy/config-name-app
Allow configuration of artifact name in app config
2017-04-10 16:37:34 -05:00
Jimmy Brisson 55884de07e Merge pull request #4115 from cvtsi2sd/master
Support for Qt Creator Generic project export and associated Makefile
2017-04-10 16:17:14 -05:00
Sam Grove 0b1117793f Merge pull request #4069 from theotherjimmy/preproc-linker-gnuarmeclipse
Update gnuarmeclipse to preprocess linker scripts
2017-04-10 11:10:58 -05:00
Sam Grove cef31a7fa6 Merge pull request #4106 from theotherjimmy/fix-typo-toolchain
Fix a scoping typo in toolchains
2017-04-10 10:51:07 -05:00
Sam Grove 09de12161a Merge pull request #4013 from theotherjimmy/fix-subtract-basepath
Fix a small bug in subtract_basepath
2017-04-10 10:22:57 -05:00
Bartek Szatkowski cc71f3f5d4 Introduce MBED_DEBUG macro for debug build profile 2017-04-10 11:40:04 +01:00
Jan Jongboom 336e036e74 Visual Studio Code exporter 2017-04-10 09:26:25 +02:00
Anna Bridge a514216c8b Merge pull request #4098 from theotherjimmy/fail-on-bad-config
Raise error when mbed_app.json is bad
2017-04-07 12:35:49 +01:00
Matteo Italia 2baa215487 Updated year in license header 2017-04-06 23:19:52 +02:00
Brian Daniels 4d4e4a3ef9 Removing old filesystem test 2017-04-06 14:18:37 -05:00
Sam Grove 9c141b6547 Merge pull request #3911 from anangl/fix_iar_exporter
IAR exporter: extended debugger settings template with modifiable options needed for Nordic targets
2017-04-06 10:58:38 -05:00
Sam Grove 14eadf389e Merge pull request #4085 from wdwalker/master
Fix mbed-cli issue #468. Add LPCTargetCode.lpc_patch to POST_BINARY_WHITELIST
2017-04-06 10:47:12 -05:00
Sam Grove caded3805e Merge pull request #4072 from seppestas/patch-3
Removed superfluous space
2017-04-06 10:40:58 -05:00
Sam Grove 2ab3eda361 Merge pull request #4070 from theotherjimmy/optionally-add-regions
Elide adding regions to profile when empty
2017-04-06 10:35:05 -05:00
Sam Grove fdf1ed623e Merge pull request #3994 from theotherjimmy/fix-output-ext
Use OUTPUT_EXT to pick binary type
2017-04-06 08:37:52 -05:00
Matteo Italia 92eae30c40 Qt Creator exporter: added derivation from GccArm Makefile
this allows Qt Creator to build the generated project "out of the box",
enabling integration with the "Issues" list
2017-04-06 11:22:21 +02:00