Commit Graph

29 Commits (3413e21e59b8b0d03c0addac95b1ead87f0b7965)

Author SHA1 Message Date
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
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
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
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 60276a7cac __ASSERT_MSG macro for uvision, corrections in LPC targets - serial - assert 2014-05-20 16:41:30 +01:00
0xc0170 cbe3a40986 K64F - i2c fix, debug-info sets optimization to
- debug-info for all toolchains set optimization to 0
	- i2c - open drain and clock enabled for i2c pins [K64F]
2014-05-07 11:26:14 +01:00
Emilio Monti b213992ac0 Optimize for speed 2014-02-11 17:07:29 +00:00
Emilio Monti 4b2b368a6a Fix build system merge with Nordic changes 2014-02-07 17:57:35 +00:00
Emilio Monti 90d56a0234 Fix "binary" function parameters 2014-02-07 12:10:39 +00:00
tkuyucu 026b6610a8 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libraries/tests/mbed/portinout/main.cpp
	libraries/tests/mbed/portout_portin/main.cpp
	libraries/tests/mbed/sd/main.cpp
	libraries/tests/mbed/spi_slave/main.cpp
	workspace_tools/targets.py
	workspace_tools/toolchains/arm.py
	workspace_tools/toolchains/gcc.py
	workspace_tools/toolchains/iar.py
2014-02-07 11:04:50 +01:00
Mihail Stoyanov 281fcc76b6 Add 8.3 naming support for ST HDK limitations 2014-02-06 16:02:37 +00:00
Bogdan Marinescu 3f5c551d0a [nRF51822] Change image generation mechanism
- The final image is now generated at "binary" step, which is compatible with
  the on-line build system structure
- The SoftDevice image is appended to the application code, resulting in a
  single .hex image file
- Python is used for merging and generating .hex files using the 'intelhex'
  module, no more dependencies on external tools
2014-01-14 19:15:31 +02:00
Bogdan Marinescu 697acd34c0 Added command line hooking option
compiler, linker, assembler and binary command lines can now be modified
using the hooks mechanism. Also, '--any_placement=first_fit' linker option
is now used only on LPC4088 using this mechanism, in order to preserve
compatibility with the other targets.
2013-12-05 13:48:42 +02:00
0xc0170 ba7b4c300a Cortex-M4 split to M4 and M4F
- all current supported M4 cores will be M4F
2013-11-27 21:02:37 +01:00
Bogdan Marinescu e69956aba2 Updated DSP library + build system changes
Updated CMSIS DSP to latest version (CMSIS-SP-00300-r3p2-00rel1.zip)
Build system changes to be able to preprocess assembler sources before compiling them:

- GCC: use gcc '-x assembler-with-cpp'
- ARM: preprocess first, then assemble (two separate commands)
- IAR: added macro definitions and include directories to the assembler command line

Removed CORTEX_ARM_SUPPORT restriction for the DSP libraries.
Tested: LPC1768 with ARM, GCC_ARM and IAR, LPC11U24 with ARM.
2013-11-08 15:38:23 +02:00
Bogdan Marinescu 1bb844c842 Added macro definition from command line
build_api.py now support macros defined at compile time, so build.py and
make.py can be used like this:

$ make.py/build.py <options> -DMACRO1 -DMACRO2=VALUE2 ...
2013-10-21 11:11:06 +03:00
Bogdan Marinescu 62f1ac097d Integrated support for Red Lizzard's "goanna" static analysis tool
Initial support (activate with "-o analyze"). Not working well with IAR
for now (partially because of a bug in goannac++ which was reported to
Red Lizzard).
2013-10-14 17:32:41 +03:00
Bogdan Marinescu e870a90ff2 Added toolchain hooks and support for LPC4088_EA binary generation
A new hooks mechanism (hooks.py) allows various targets to customize
part(s) of the build process. This was implemented to allow generation of
custom binary images for the EA LPC4088 target, but it should be generic
enough to allow other such customizations in the future. For now, only the
'binary' step is hooked in toolchains/arm.py.
2013-08-30 12:19:08 +03:00
Emilio Monti 3c6e2ab67a Add license to workspace_tools files 2013-08-06 14:38:00 +01:00
Emilio Monti 5020b9ad3b Stop using the patched microlib 2013-07-08 17:31:04 +01:00
Joe Turner bd7554f6aa Add debug-info option 2013-07-03 13:20:08 +01:00
Emilio Monti cd669a943f Add build options
Implement "save-asm" option
2013-07-02 16:43:29 +01:00
Emilio Monti 984ba4b113 Refactor the build system:
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00