Jimmy Brisson
ea63a4d9a7
Expand docstrings in build_api
2016-08-16 11:04:33 -05:00
Jimmy Brisson
bb43f8d37a
Format targets.py
2016-08-16 11:04:33 -05:00
Jimmy Brisson
9d09f8e049
Reveal cumulative attributes from Targets
2016-08-16 11:04:32 -05:00
Jimmy Brisson
57af5cd053
Edit the English of the docstrings
2016-08-16 11:04:32 -05:00
Jimmy Brisson
acf5c40af4
Glorify config.py (passes pylint)
2016-08-16 11:04:32 -05:00
Jimmy Brisson
b2156ceef5
Format bulid_api
2016-08-16 11:04:32 -05:00
Jimmy Brisson
99f1284a81
Stylize utils.py
2016-08-16 11:04:27 -05:00
Martin Kojtal
dd8060b798
Merge pull request #2433 from theotherjimmy/better-config-errors
...
[tools] Improve error for missing name from mbed_lib.json
2016-08-15 15:15:06 +01:00
Jimmy Brisson
71113a8820
Improve error for missing name from mbed_lib.json
2016-08-12 09:54:03 -05:00
Martin Kojtal
3d61535652
Merge pull request #2149 from jeromecoutant/PR_MBED_A27
...
Add MBED_A27 test in the common list
2016-08-12 10:57:06 +02:00
Jimmy Brisson
215f4259ce
Remove argument from tool/project.py -b
...
resolves #2309
2016-08-12 08:37:52 +02:00
Bogdan Marinescu
d471a4f019
Add config data to build_lib in build_api.py
...
`build_lib` wasn't aware of configuration data, so some of the source
files that depends on configuration data fail to compile. This commit
fixes that by making `build_lib` aware of configuration data.
2016-08-11 13:54:41 +03:00
Bogdan Marinescu
4f6eaaa8ec
build_mbed_libs is now aware of the configuration
...
Previously, build_mbed_libs didn't take into account the configuration.
This is a problem when doing a binary release, since mbed_lib.json
contains configuration data relevant to the binary release.
2016-08-10 19:03:13 +03:00
jeromecoutant
463c7d20f0
Create MBED_A28 test in the common list
...
MBED_A28 test is the same as MBED_A27 test.
This is a CAN loopback test without any peripheral or wire.
It can then be added in the common list.
2016-08-10 15:09:00 +02:00
Sam Grove
9d1fbda9fe
Merge pull request #2377 from sarahmarshy/flag_revision
...
Pass only relevant defines at each stage of compilation
2016-08-04 22:10:58 -05:00
Sarah Marsh
70890620f7
Uvision and IAR working cc and asm specific defines
2016-08-04 17:05:12 -05:00
sarahmarshy
4cef2c917f
Merge pull request #1 from screamerbg/split_symbols
...
Differentiate ASM and CXX symbols
2016-08-04 19:17:27 +01:00
Mihail Stoyanov
88564a9ac3
Differentiate ASM and CXX symbols as they are not treated the same in ARMCC and IAR compilers
2016-08-04 18:19:08 +01:00
Sam Grove
8891ed1cac
Merge pull request #2341 from screamerbg/backported-fixes
...
[Tools] Build system improvements
2016-08-04 12:15:06 -05:00
Sam Grove
a6ffdd4e94
Merge pull request #2366 from sg-/hexiwear-fixups
...
Hexiwear fixups
2016-08-04 11:38:41 -05:00
Sam Grove
5dbdf934fd
Merge pull request #2359 from sarahmarshy/armasm_fix
...
Removed preinclude config from asm flags
2016-08-04 10:57:25 -05:00
Sam Grove
a2500f877b
add HEXIWEAR to RTOS tests
2016-08-03 17:40:36 -07:00
Sarah Marsh
b910cfe08c
Removed incorrect list removal
2016-08-03 17:26:08 -05:00
Sarah Marsh
02cdaebc95
Removed preinclude config from asm flags
2016-08-03 13:49:50 -05:00
Russ Butler
7b65eb2d9e
Remove NRF51_MICROBIT from 2.0 rtos testing
...
The micro:bit is running rtos tests, even though this is a 16K device
that should not be using multiple threads. This patch removes it from
the 2.0 RTOS tests.
2016-08-03 13:29:20 -05:00
Sam Grove
32b134e277
Merge pull request #2345 from pan-/fix_nrf51_export
...
Fix nrf51 export
2016-08-02 23:18:12 -05:00
Sam Grove
d83157a6fa
Merge pull request #2333 from bridadan/build-library-clean
...
Adding clean support back to build_library
2016-08-02 18:58:40 -05:00
Sam Grove
e4db590789
Merge pull request #2330 from theotherjimmy/ds-5-toolchain
...
Add toolchain flag to DS-5 exporter
2016-08-02 17:18:35 -05:00
Sam Grove
76ea1ccb4a
Merge pull request #2317 from geky/fix-ca-config-scan
...
[tools] Fixed infinite loop in config scan due to list comparison error
2016-08-02 17:05:13 -05:00
Vincent Coubard
80f296202c
Fix goals for NRF51_DK makefile:
...
Now "all" depend on the project merged with the soft device,
the goal merged has been renamed into the file it generate and now depend
on the realization of $(PROJECT).hex
2016-08-02 22:55:15 +01:00
Vincent Coubard
0320f3b89e
Change merged file name to $(PROJECT)-combined.hex .
2016-08-02 22:21:00 +01:00
Vincent Coubard
4223a257f9
Add the merge goal to the list dependent goals of all.
...
Fix import of the softdevice hex file.
2016-08-02 21:35:10 +01:00
Vincent Coubard
142e014a7f
Add hex files to the exporter context.
2016-08-02 21:33:26 +01:00
Bogdan Marinescu
c6c8d42b0f
Merge pull request #2303 from theotherjimmy/export-asm-symbols
...
Add missing --preinclude and -input on assembly files
2016-08-02 20:57:39 +03:00
Jimmy Brisson
3873ccc232
Add -D options to iar assembler on export
2016-08-02 11:39:46 -05:00
Mihail Stoyanov
a4c3469b7b
Empty the multiprocessing queue before terminating it
2016-08-02 16:53:58 +01:00
Jimmy Brisson
965ffc3e28
Add CC_SYMBOLS to assembler invocation
2016-08-02 10:46:57 -05:00
Mihail Stoyanov
31a59c930d
Allow targets to be reloaded using set_targets_json_location()
2016-08-02 11:42:21 +01:00
Brian Daniels
6df903f8a6
Adding clean support back to build_library
...
At some point, the actual code that did the "clean" for build_library was
removed. This also affected building and cleaning tests. This adds this
capability back to the build API.
2016-08-01 18:16:53 -05:00
Jimmy Brisson
9d0e65f47a
Add toolchain flag to DS-5 exporter
2016-08-01 14:07:12 -05:00
Sam Grove
c84e5d32c9
Revert "Force installation of dependencies in entry points"
2016-07-29 17:35:23 -05:00
Christopher Haster
b45ec0ed76
[tools] Added specific config test for uvisor
...
Unlike other libraries, uvisor is currently integrated into the build
system, with special cases based on its addition as a feature. This
suggests we should also have tests for these special cases.
2016-07-29 12:31:54 -05:00
Christopher Haster
6ea4006b5a
[tools] Fixed infinite loop in config scan due to list comparison error
...
Previously a scanning for config terminated on comparison of the feature
set, however at some point the set was changed to a list. This resulted
in non-deterministic failures based on list order.
2016-07-29 12:20:52 -05:00
Jimmy Brisson
209cf9f167
Add config file inculde directory when present
2016-07-29 11:38:38 -05:00
Jimmy Brisson
fed50f8f18
Add missing --preinclude and -input on assembly files
...
Except for IAR, it does not support the --preinclude option for assembly
files but all of the other exporters can. It was less code to remove it
in IAR than to explicitly add it in all of the other exporters.
2016-07-29 11:02:07 -05:00
Brian Daniels
7a07c386cb
Enforcing 'standard' build for mbed OS 5.0 release
...
This PR enforces that the default_build in a target's definition in
hal/targets.json is set to standard to be included in the version 5
release.
This is being enforced because small builds do not support
multi-threading. This makes the capabilities more consistent across all
boards in the version 5 release.
NOTE: This removes the MOTE_L152RC and the LPC11U68
from the version 5 release list because the 'default_build' for these
targets is currently set to 'small'.
2016-07-28 18:47:49 -05:00
Bogdan Marinescu
36468c9acb
Merge pull request #2281 from geky/tools-ca-set-arith-fix
...
[tools] Fix precedence issue in cumulative attribute set-arithmetic
2016-07-28 16:23:17 +03:00
Christopher Haster
63f9b03e35
[tools] Added test for removing features
2016-07-27 18:01:33 -05:00
Sam Grove
5df79393fc
Merge pull request #2257 from theotherjimmy/install-deps
...
Force installation of dependencies in entry points
2016-07-27 16:49:12 -05:00
Christopher Haster
f3c0ea3664
[tools] Fixed precedence issue in cumulative attribute set-arithmetic
...
Basically this:
a | b - c != (a | b) - c
2016-07-27 16:47:23 -05:00