Masao Hamanaka
901b06f05b
Modify to support GCC. (tools files)
2015-02-26 16:28:58 +09:00
Mihail Stoyanov
f130a80755
When linking program define the output name based on the OUTPUT_EXT before processing linking the file. This let's any hooks to use the final output file/name.
...
Omit the dot before the extension for OUTPUT_EXT (all Nordic and Teensy boards);
2015-02-19 18:08:02 +02:00
Mihail Stoyanov
ca4aaa2dde
Removed colorama dependency. This breaks the online build system, the live exported and prevents deployment of new platforms. Rewrite the code so colors are optional and no additional modules are required for toolchains and platforms
2015-02-19 17:09:07 +02:00
Martin Kojtal
c9e7f409af
Merge pull request #900 from PrzemekWirkus/host_test_autodetection
...
Host test autodetection improvements
2015-02-16 09:37:56 +00:00
Przemek Wirkus
f2f0f51d16
Added colorama to toolchain notification function and basic test suite prompts
2015-02-10 23:38:01 +00:00
Mihail Stoyanov
be04314419
Add Cortex-M7 and Cortex-M1 symbols
2015-02-10 18:32:44 +02:00
Mihail Stoyanov
7fdc827b50
Add Cortex-M7F support for the armcc toolchain
2015-02-10 17:50:11 +02:00
Anders Lindvall
dcc53f4bda
Fixed target issues for TARGET_LPC4088_DM
...
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
GustavWi
aab9677cda
trivial correction
2015-02-04 13:58:40 +01:00
GustavWi
61d1204e05
Added IAR support for NRF51822. IAR's linker can not merge hex files as a section only binarys. I added a binary under TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR that represents the soft_device. I added support in the python scripts to also copy binaries to the build/mbed dir and also added support for the exporter to copy binaries from resources into the exported zip file.
2015-02-04 11:29:31 +01:00
Olivier Martin
76efcd382c
workspace_tools/toolchains/gcc.py: Use 'cortex-m0plus' support for Cortex M0+
...
This support is supported by:
- gcc-arm-none-eabi-4_7-2013q1
- gcc-arm-none-eabi-4_9-2014q4
2015-01-01 19:03:43 +00:00
GustavWi
c3393b80b1
Merge remote-tracking branch 'upstream/master' into iar_mbed
2014-12-10 13:41:46 +01:00
GustavWi
3062999e97
Separated the c data initialization and c++ to call mbed_sdk_init before c++ data. So that the c variables are updated before the c++ objects are initialized. Had to rename the cmain override in RTX_CM_lib.h to __iar_program_start because there can not be two __cmain overrides in the project. The ewps had to be updated to add the linker command --skip_dynamic_initialization which stalls the c++ data init until __iar_dynamic_initialization which is called right after mbed_sdk_init.
2014-12-10 13:40:17 +01:00
Martin Kojtal
a6279aa351
Merge pull request #750 from PrzemekWirkus/travis-linking
...
Tools: Travis - Simple mbed SDK test linking against popular libraries
2014-12-03 14:34:36 +00:00
Przemek Wirkus
32b214c4b1
Removed progress characters, they just look stupid in Travis console
2014-12-03 10:48:53 +00:00
Przemek Wirkus
e5d7f85597
Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed
...
Added new line after warning / errors
2014-12-03 09:36:58 +00:00
Przemek Wirkus
0c848f8290
Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed
2014-12-03 09:24:19 +00:00
Mihail Stoyanov
45c1f43182
Increase the build system timeout when processing jobs to 5 minutes as initially designed
2014-12-02 18:00:06 +02:00
Bogdan Marinescu
142ad22a2f
[RZ_A1H] Remove target-specific check from build system
2014-11-06 13:47:43 +00:00
Takayuki Kurosawa
2fab4af9b1
[RZ/A1H] changes copy scheme for iodefines/iobitmasks
...
RZ's toolchain assumes that iodefines/iobitmasks dirs. are structured real not flat.
Adds some code to toolchain::copy_files
2014-11-05 18:27:30 +09:00
Takayuki Kurosawa
807f031d39
[RZ/A1H] disables GCC_ARM in targets.py
...
GCC is not supported by now, so eliminate GCC_ARM in targets.py and fpu related settings in toolchains/gcc.py
2014-10-29 17:54:39 +09:00
Takayuki Kurosawa
b8809b3e14
Merge remote-tracking branch 'upstream/master'
2014-10-29 13:24:46 +09:00
dinau
b4bea06cc3
[GCC_CR] fixed issue 590
...
Refer to:
https://github.com/mbedmicro/mbed/issues/590
2014-10-26 00:51:59 +09:00
Takayuki Kurosawa
2804d85a11
[RZ/A1H] adds A9 related MACROS
2014-10-24 13:02:26 +09:00
Takayuki Kurosawa
b1cb82c520
[RZ/A1H] commit for build system changes
...
- add CA9 category to build.py
- add library for RTX-CA9
- add target definition for RZ/A1H
- change some test related settings for RZ/A1H
- add gcc options for CA9
2014-10-24 11:45:44 +09:00
Mihail Stoyanov
8949f8b036
Throw a warning when multiple scatter files are found and show their location
2014-10-23 19:21:11 +03:00
EmBlocks
a82b29d4bd
Xlinker switches as one
2014-10-15 20:50:32 +02:00
EmBlocks
5d468e002d
Changing -u linker switch as one instead of multiple switches
2014-10-15 20:09:06 +02:00
Przemek Wirkus
eb2153ec49
Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
2014-09-19 13:27:40 +01:00
Przemek Wirkus
27fa463fcf
Replaced variable names as overloads like stdout, stderr to _stdout, _stderr to avoid unnecesary bugs in the future
...
Added linking error prints - reported by STMicro David BELLEGARDE <david.bellegarde@st.com>
Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:
2014-09-19 11:30:55 +01:00
Bogdan Marinescu
5687a86731
Fixed RTOS compilation for some targets
...
More details: https://github.com/mbedmicro/mbed/pull/472
2014-09-11 17:04:21 +01:00
Przemek Wirkus
8e7f498f9e
Added simple compiler path check on --config switch
2014-09-05 13:26:51 +01:00
Przemek Wirkus
a9713521d7
Added missing macros to symbol list
2014-08-20 10:59:28 +01:00
Przemek Wirkus
e5f2d119ae
Added self parameter to mbedToolchain::__exit__() method
...
Removed unused modules' imports
Few minor indent issues fixed
2014-08-14 17:40:58 +01:00
Bogdan Marinescu
25926ae75d
Re-implemented LPC patching step
...
Now implemented as a 'post binary hook'. Targets that need this will have
to inherit from LPCTarget instead of Target, the rest should be automatic
(but see LPC4088 for an exception (currently, hooks can't be chained
automatically))
2014-08-12 14:59:50 +01:00
Bogdan Marinescu
45597fd8e6
A few changes to the new parallel build system
...
- restored assemble/compile_c/compile_cpp, except now they return the commands
that will run, instead of actually running the commands
- remove need_update_new, since it doesn't seem to be used anywhere
2014-08-07 17:01:39 +01:00
Mihail Stoyanov
d5835221ec
Add _assemble() and _compile() methods to generate one or more commands per source file
...
Support multiple commands per compile
Reuse _assemble() and _compile() for sequential and parallel compiles
Preserve compile(), compile_c(), compile_cpp() and assemble() methods functionality
2014-08-05 18:22:50 +03:00
Mihail Stoyanov
647c96172c
Merge branch 'master' of https://github.com/mbedmicro/mbed
...
Conflicts:
workspace_tools/build.py
2014-08-05 15:06:53 +03:00
Bogdan Marinescu
71226052f8
Merge branch 'master' of github.com:mbedmicro/mbed
2014-07-31 13:37:06 +01:00
Bogdan Marinescu
5a9910ded3
Consider '.hpp' as include files in the resource scanner
2014-07-31 13:36:14 +01:00
Toyomasa Watarai
c66f9943a6
Added --multibyte_chars option
...
Added --multibyte_chars option for ARM and uARM build.
This enables to use multi-byte character such as Japanese or Chinese
especially for string literal.
It should not be affected single-byte character set. Tested with
Japanese Windows environment.
2014-07-30 10:54:08 +09:00
Mihail Stoyanov
0d85f673ed
Fixed compile with IAR
...
Added get_dep_opt for ARM class
2014-07-11 11:13:22 +03:00
Mihail Stoyanov
b92e928f6a
Trade slightly more CPU usage for less memory usage
2014-07-10 22:30:51 +03:00
Mihail Stoyanov
853630792e
Restore verbose logging
2014-07-10 20:10:21 +03:00
Mihail Stoyanov
fab45821a7
Refactoring of the python multiprocessing code to use queues load balancing based on apply_async();
...
Use the returned result by apply_async() to fetch compile_worker() results and get rid of python queues;
Optimize the threads handling code
Reuse compile threads via self.mp_pool
2014-07-10 15:33:04 +03:00
Mihail Stoyanov
82e9c166f3
Remove --depend option that is specific to armcc
2014-07-09 20:28:28 +03:00
Mihail Stoyanov
ff3cd57126
Add -j option to build.py, build_release.py and make.py
...
Multiple compile jobs are not enabled by default unless -j 0 or -j >1 is specified
2014-07-09 20:00:21 +03:00
Mihail Stoyanov
f858f02120
Changed comment
2014-07-09 15:30:41 +03:00
Mihail Stoyanov
9c6f0bf37c
Revert global toolchains optimizations
2014-07-09 15:09:48 +03:00
Mihail Stoyanov
61f58c93ab
Reordered the logics around compile_queue()
2014-07-09 14:38:18 +03:00