Commit Graph

72 Commits (165d2536fe0b24e6c3370866e91b34a497efed10)

Author SHA1 Message Date
Brian Daniels 3148d1009e Adding the ability for tests to report they aren't supported on a target 2016-02-25 16:48:02 -06:00
Martin Kojtal 20948ad920 Merge pull request #1535 from sg-/remove-gcc-cw
Remove stale gcc tools
2016-02-15 08:54:17 +00:00
sg- c7f84c86f7 Remove all references and use of code warrior GCC in docs, build and
exporters¦
2016-02-11 01:07:58 -06:00
sg- 018cdb928a Remove all references and use of code sourcery GCC in docs, build and export scripts 2016-02-10 23:27:33 -06:00
Sam Grove 715fca0178 add extra mbed identifier. correct duplicate target 2016-02-05 01:19:48 -06:00
Brian Daniels 0621ffa03e Fixing import issues with build.py 2015-11-12 12:16:10 -06:00
Brian Daniels 8095f0e88a Removing unnecessary bits 2015-11-12 11:01:09 -06:00
Brian Daniels bdb23b3cfb Simplifying and reducing code 2015-11-12 11:01:05 -06:00
Brian Daniels 20cc9c6090 adding build output to build report 2015-11-12 11:01:04 -06:00
Brian Daniels 736cae108e Consolidating reporting in build_release and test_api 2015-11-12 11:01:03 -06:00
Przemek Wirkus 0c7ec777f9 Added fix for duplicate -D compiler symbols 2015-08-05 12:28:47 +01:00
GustavWi 6cf9a111e3 IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble. 2015-03-02 10:38:46 +01: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
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
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 2804d85a11 [RZ/A1H] adds A9 related MACROS 2014-10-24 13:02:26 +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
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
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 5a9910ded3 Consider '.hpp' as include files in the resource scanner 2014-07-31 13:36:14 +01: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
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
Mihail Stoyanov bf9689a9b8 Added "supported_form_factors" list attr to targets which defines TARGET_FF_* symbols for the supported form factors.
Unified some tests for targets that support Arduino form factor to use Arduino style pin names.
2014-04-04 12:24:21 +01:00