Brian Daniels
ba5ab753b1
Fixing missing import for os.path.exists
2016-09-17 21:12:47 -05:00
Sam Grove
663fdb796f
Merge pull request #2721 from theotherjimmy/profile-documentation
...
tools - Add documentation about profiles to the toolcahins
2016-09-16 17:38:13 -05:00
Sam Grove
bdf221349e
Merge pull request #2697 from theotherjimmy/export-repos-togleable
...
tools-exporters! - disable inclusion of repo-dirs in zips by default
2016-09-16 17:33:55 -05:00
Sam Grove
a6f4b58405
Merge pull request #2675 from sarahmarshy/toolchain_path_check
...
Revise checking toolchain path
2016-09-16 17:31:41 -05:00
Sam Grove
054f232431
Merge pull request #2674 from theotherjimmy/correct_repo_files
...
tools - Correct adding repo_files
2016-09-16 17:30:13 -05:00
Sam Grove
bd4d29d76c
Merge pull request #2672 from stevew817/bugfix/EFM32_exporter_mbed_config
...
[EFM32] Fix exporter to pull root path
2016-09-16 17:29:53 -05:00
Sam Grove
1f7c341a65
Merge pull request #2671 from theotherjimmy/export-getting-started
...
tools-exporters! - Globally add a gettingstarted.html
2016-09-16 17:28:44 -05:00
Sam Grove
04547f671b
Merge pull request #2659 from sarahmarshy/patch-5
...
Fix exported project file group naming
2016-09-16 17:25:40 -05:00
Sam Grove
ca0b47a8be
Merge pull request #2612 from MarceloSalazar/memap_fixes
...
Fixed bug on memap (non-default output path)
2016-09-16 17:21:07 -05:00
Jimmy Brisson
924d242b39
Add documentation about profiles to the toolcahins
2016-09-15 15:03:10 -05:00
Jimmy Brisson
e507b9e1c6
export make - Surround all command line stuff with quotes.
...
Should eliminate any space-in-path issues
2016-09-15 11:42:52 -05:00
Jimmy Brisson
a3ee5edde5
Unifiy output style of makefile and tools
2016-09-15 11:42:52 -05:00
Jimmy Brisson
d9c8365828
Use cflags instead of symbols
2016-09-15 11:42:52 -05:00
Jimmy Brisson
6838aa9372
Clean code style of python code for generic make
2016-09-15 11:42:52 -05:00
Jimmy Brisson
920bb47ffd
Change make exporter support to match target.json
2016-09-15 11:42:52 -05:00
Jimmy Brisson
00d2a45b91
Generalize make exporters for all toolchains
2016-09-15 11:42:52 -05:00
Jimmy Brisson
17e096b369
Move make stuff to it's own folder; add a make_gcc_arm exporter
2016-09-15 11:42:52 -05:00
Jimmy Brisson
5c9dd3c3a1
Remove "modify the checksum" message from targets without a binary hook
2016-09-15 11:42:51 -05:00
Jimmy Brisson
7b1112588d
remove templates that differ uselessly in cpu/c flags
2016-09-15 11:42:51 -05:00
Jimmy Brisson
c913050053
Move hex file merging to common makefile
2016-09-15 11:42:45 -05:00
Jimmy Brisson
4ac92daac9
Use common template as fallback
2016-09-15 11:41:46 -05:00
Bogdan Marinescu
7669d7f8f5
Merge pull request #2691 from ARMmbed/no_custom_targets
...
Removed custom targets from config system
2016-09-14 14:41:31 +03:00
Jimmy Brisson
e939133355
Add a inc_repos option to the exporters
2016-09-13 17:09:15 -05:00
Sarah Marsh
8670598115
Abstract check_executable added
2016-09-13 16:26:58 -05:00
Sarah Marsh
ab92a5ace2
Toolchain check generic in mbedToolchain
2016-09-13 13:59:11 -05:00
Sarah Marsh
8b74c5b3c7
Docstrings. Empty executable search path handling.
2016-09-13 12:06:01 -05:00
Bogdan Marinescu
8852b2edec
Removed hidden argument to set_targets_json_location
...
The previous code used a variable that was internal to the Target class.
This commit removes the argument to `set_targets_json_location`
completely, which forces Target to use the default locatio internally.
2016-09-13 16:45:32 +03:00
Bogdan Marinescu
d7899b4b2b
Removed custom targets from config system
...
Custom targets were the origin of a number of issues with the mbed
tools, so it was decided that they need to be removed. This PR does just
that (and moves the "custom_targets" part of the config system tests
into a separate, per-test "targets.json" file to preserve the test
functionality).
2016-09-13 15:54:44 +03:00
Sarah Marsh
61dee45dca
Revise checking toolchain path
2016-09-12 18:54:39 -05:00
Jimmy Brisson
f48aa248b7
Correct adding repo_files
2016-09-12 16:19:55 -05:00
Jimmy Brisson
d033070425
Add a gettingstarted.html to all exporters
2016-09-12 13:17:35 -05:00
Steven Cooreman
f4f1f6ee59
[EFM32] Fix exporter to pull root path
...
Simplicity Studio exporter doesnt really support header files in the root directory (looking at you, mbed_config.h), so this is a workaround for that issue.
2016-09-12 17:23:05 +02:00
jeromecoutant
c3b9a74463
travis: revove rtos support for NUCLEO_L053R8
2016-09-12 12:54:00 +02:00
jeromecoutant
787a21fbd0
Disable RTOS tests for STM32 8K targets
...
8K RAM target is too small for
"NUCLEO_L031K6"
"NUCLEO_L053R8"
"DISCO_L053C8"
"NUCLEO_F030R8"
2016-09-12 11:48:02 +02:00
Sam Grove
e9d0fbd178
Merge pull request #2604 from tung7970/fix-tools
...
Tools - Fix fill section size variation
2016-09-10 16:22:00 -05:00
Sam Grove
c3737b4f7a
Merge pull request #2593 from ConorPKeegan/devel_app_config_switch
...
Add app config command line switch for test and make
2016-09-10 14:30:38 -05:00
Sam Grove
8d5424347e
Merge pull request #2615 from bcc6/master
...
[MTM_MTCONNECT04S] Added support for MTM_MTCONNECT04S
2016-09-10 11:34:44 -05:00
Conor Keegan
ac51eb6638
Add unit tests for app_config
2016-09-10 15:29:19 +01:00
Conor Keegan
aafcf55407
Add app config switch to options.py and make.py
2016-09-10 15:29:19 +01:00
Conor Keegan
7c72a22508
Add test command switch for app config file
2016-09-10 15:29:19 +01:00
Sam Grove
da5a19f149
Merge pull request #2630 from sarahmarshy/patch-4
...
Test names not dependent on disk location of root
2016-09-10 07:25:04 -05:00
Sam Grove
c1ee7fb494
Merge pull request #2504 from ohagendorf/disco_f769_ii
...
[Disco_F769NI] adding new target
2016-09-10 07:16:21 -05:00
OzzySan
b5b6fdc6dc
[MTM_MTCONNECT04S] Added gcc_arm template for export.
2016-09-10 15:54:44 +08:00
Tony Wu
c50b5c6651
Tools - Fix fill section size variation
...
The linking order of object files affects the actual code placement,
which in turn affects the size of fill section due to the number of
zeros required to maintain appropriate data/code alignment may change.
This is observed when building on Mac and Linux host.
example: mbed compile -m K64F -t GCC_ARM (build 1)
+---------------------+-------+-------+-------+
| Module | .text | .data | .bss |
+---------------------+-------+-------+-------+
| Fill | 120 | 4 | 2381 |
| Misc | 28755 | 2216 | 84 |
| features/frameworks | 4236 | 52 | 744 |
| hal/common | 2745 | 4 | 325 |
| hal/targets | 12116 | 12 | 200 |
| rtos/rtos | 119 | 4 | 0 |
| rtos/rtx | 5721 | 20 | 6786 |
| Subtotals | 53812 | 2312 | 10520 |
+---------------------+-------+-------+-------+
example: mbed compile -m K64F -t GCC_ARM (build 2)
+---------------------+-------+-------+-------+
| Module | .text | .data | .bss |
+---------------------+-------+-------+-------+
| Fill | 128 | 4 | 2381 |
| Misc | 28755 | 2216 | 84 |
| features/frameworks | 4236 | 52 | 744 |
| hal/common | 2745 | 4 | 325 |
| hal/targets | 12116 | 12 | 200 |
| rtos/rtos | 119 | 4 | 0 |
| rtos/rtx | 5721 | 20 | 6786 |
| Subtotals | 53820 | 2312 | 10520 |
+---------------------+-------+-------+-------+
This patch fixes fill section size variation by sorting object
files before passing to linker.
Signed-off-by: Tony Wu <tung7970@gmail.com>
2016-09-10 08:30:01 +08:00
Sam Grove
5ba3ab70c9
Merge pull request #2613 from bridadan/find-tests-directory-fix
...
Correctly providing directories to build_apis
2016-09-09 18:01:22 -05:00
Sam Grove
b71bfd6250
Merge pull request #2576 from theotherjimmy/example-regession
...
Add smoke test that builds example programs with mbed-cli
2016-09-09 17:59:55 -05:00
sarahmarshy
f8cae13f33
Fix uvision group naming
...
The previous way of finding group names found the encompassing directory of each file. If the project is exported from the online compiler, this resulted in temporary folder names like tmpyKKWv_ showing up as group names.
I propose defaulting to the project name if the file is in the project root.
2016-09-09 17:18:52 -05:00
Sam Grove
2c96001478
Merge pull request #2575 from theotherjimmy/allow-empty-config
...
tools-config! - Allow an empty or mal-formed config to be passed to the config system
2016-09-09 19:32:05 +02:00
ohagendorf
d0e2f1efa6
disco_f769 some rework ... (part II)
...
as suggested by adustm
2016-09-09 14:21:55 +02:00
ohagendorf
95c5b78f34
[disco_f769ni] adding gcc_arm exporter definitions
2016-09-09 14:18:16 +02:00