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
Mihail Stoyanov
9345778a6f
Add multiple compile queues support (multiprocessing)
...
Add header stats cache for need_update() routine
Add compile order consistency
2014-07-09 13:28:02 +03:00
Christian Taedcke
bfb06e200b
Disable rtti for gcc.
2014-06-21 12:24:05 +02:00
dinau
131cdb529d
[LPC2368][GCC_ARM] Added export functionality
...
Other changes are,
(1) Modified link error
(2) Silent Warning
2014-06-13 20:13:14 +09:00
Bogdan Marinescu
c694da0543
Merge branch 'dev_error_assert' of git://github.com/0xc0170/mbed into 0xc0170-dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c
workspace_tools/toolchains/arm.py
2014-06-11 15:50:34 +01:00
Bogdan Marinescu
bb120221fb
Merge branch 'dev_trailing_spaces_removal' of git://github.com/0xc0170/mbed into 0xc0170-dev_trailing_spaces_removal
...
Conflicts:
workspace_tools/toolchains/__init__.py
workspace_tools/toolchains/arm.py
2014-06-03 10:39:31 +01:00
Przemek Wirkus
8a2d961526
Added new option for more verbose mode when printing compiler warnings/errors. Option -x like 'extra' verbose mode
2014-06-02 15:44:45 +01:00
0xc0170
00ddb5570b
spaces removal - workspace tools (not tmpl)
2014-05-29 15:42:03 +02:00
0xc0170
6a84ffa433
Merge branch 'master' into dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20D5M/spi_api.c
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/analogin_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/gpio_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/pwmout_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/serial_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F030R8/spi_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/i2c_api.c
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/i2c_api.c
2014-05-28 09:53:51 +02:00
0xc0170
60276a7cac
__ASSERT_MSG macro for uvision, corrections in LPC targets - serial - assert
2014-05-20 16:41:30 +01:00
Bogdan Marinescu
ed3c2040e2
Fix exporters on UBLOX_C027
...
Temporary solution, until the exporter infrastructure is modified
to support proper target aliasing/inference.
2014-05-19 13:35:30 +01:00