Commit Graph

734 Commits (mbed-os-5.2)

Author SHA1 Message Date
Brian Daniels b6366e3e62 Making building and linking tests fully parallel.
This uses similar code that is used withing the toolchains to parallelize
the linking process of all the tests accross all the available CPUs. It
also respects the `-j` parameter if you wish to limit the number of cores
used.
2016-11-08 10:42:49 +00:00
jeromecoutant 9fbb939791 analog_loop test - keep mcu list and update with STM32 boards 2016-10-27 11:13:48 +01:00
jeromecoutant c9ced221ef analog_loop tests update for STM32 2016-10-27 11:13:47 +01:00
Russ Butler 67878fcc63 Remove non-code profiles
Remove profiles which are not suitable for building stand alone. This
leaves just the 3 core profiles.
2016-10-27 11:13:12 +01:00
Russ Butler 93ea2e8ccf New build profile and docs
Add a small build profile and general docs for build profiles.
2016-10-27 11:13:10 +01:00
Jimmy Brisson b9235663f4 Remove pycurl dependency 2016-10-27 11:13:07 +01:00
Jimmy Brisson 775bfa36a4 Update pack-derived files, and add safely test 2016-10-20 10:42:59 -05:00
Jimmy Brisson d0599d48ca Account for different linker flags across the compilers 2016-10-20 11:48:39 +01:00
Jimmy Brisson e5e6e77dc8 Use correct names for library files 2016-10-20 11:48:14 +01:00
Jimmy Brisson 457aef72ff Remove dependency on XDG home spec 2016-10-19 17:24:26 -05:00
Jimmy Brisson aef71ced12 Add update command to project.py 2016-10-19 17:24:25 -05:00
Jimmy Brisson bb55470107 check in a copy of the arm-pack-manager index and use it 2016-10-19 17:24:24 -05:00
Jimmy Brisson cd1d9cc8ee Update the IAR debug template" 2016-10-19 17:24:22 -05:00
Jimmy Brisson 7d5659062e Fix traceback from incorrect use of core 2016-10-19 17:24:21 -05:00
Jimmy Brisson a4e763dae1 Add quick print to the makefile when srec_cat is required 2016-10-19 17:24:19 -05:00
Jimmy Brisson 5c35230657 Remove unneeded relpath calculations 2016-10-19 17:24:15 -05:00
Jimmy Brisson 6d05f1db7c Exporters - Name the eclipse exporters 2016-10-19 17:24:14 -05:00
maclobdell e0e1803e90 add ncs36510 exporter support 2016-10-19 17:24:06 -05:00
jeromecoutant 5c610e27b7 Increase serial init timeout value 2016-10-19 17:24:04 -05:00
Sarah Marsh d078e94780 Removed k64f defines from templates 2016-10-19 17:24:03 -05:00
Russ Butler 0e292ed57b Properly set flags for default_lib = small
Use newlib nano for targets which have the key "default_lib" set to
"small". Also support the legacy key of "default_build".
2016-10-14 16:15:35 -05:00
Sarah Marsh fa4df0998c NRF52_DK support for IAR exporter 2016-10-14 16:15:34 -05:00
Russ Butler 150caecf30 Revert "Allow max-depth specification in memap"
This reverts commit 8f9f4eefed since
it broke memory map info for IAR, ARMCC and on windows, GCC_ARM.
2016-10-14 16:15:23 -05:00
Bartek Szatkowski b2671a367c Accept profile name as well as file path for tools/make.py --profile
--profile can be used with just a profile name eg. default, debug as
long as <name>.json file is in default profile directory.
2016-10-14 16:15:21 -05:00
Bartek Szatkowski 4f9ba6dfc9 Fix file path quoting while constructing CSV file in memmap.py
Comma is a valid char in file paths for Posix systems.
2016-10-10 17:25:27 +01:00
Christopher Haster 0bc742985d restructure - Fixed missing include paths in mbed 2 project builds 2016-10-10 17:24:56 +01:00
Christopher Haster 591c92333d restructure - Fixed missing symbols in generation of mbed 2 cmsis library 2016-10-10 17:24:55 +01:00
Christopher Haster 6f74e0b69c restructure - Updated mbed 2 build to respect the new cmsis directory 2016-10-10 17:24:53 +01:00
Jimmy Brisson 5c19171cf5 Allow max-depth specification in memap 2016-10-10 17:24:10 +01:00
Jimmy Brisson 88bf6e41a1 Remove tag-adding code from script 2016-10-10 17:24:08 +01:00
Jimmy Brisson 44d794eaa5 Automatically Add group tags to documented code 2016-10-10 17:24:04 +01:00
Jimmy Brisson 2e871c6c1b Move docs_gen.py script to tools/misc 2016-10-10 17:24:03 +01:00
Jimmy Brisson a5a7b24458 Add inside namespaces 2016-10-10 17:24:02 +01:00
Jimmy Brisson b1908cc7e5 Switch how we do groups 2016-10-10 17:23:59 +01:00
Jimmy Brisson bb44f9d1d2 Automatically add groups from features 2016-10-10 17:23:58 +01:00
Jimmy Brisson d3489fd444 Add simple documentation generation 2016-10-10 17:23:56 +01:00
Sarah Marsh 06ae569274 Minor formatting changes 2016-10-10 17:23:52 +01:00
Sarah Marsh 72df89c56b -Oh flag removed from IAR. Optimization set in GUI. 2016-10-10 17:23:50 +01:00
Sarah Marsh 4a5da98189 Flash DLL string/debug
Versioning for arm-pack-manager
2016-10-10 17:23:49 +01:00
Sarah Marsh dd6f9690a4 Fix Uvision CPU type error for DP and FPU targets. 2016-10-10 17:23:48 +01:00
Sarah Marsh 54a1e59469 Removed IAR export support for invalid IAR targets.
Fixed naming of one target selection.
2016-10-10 17:23:45 +01:00
Sarah Marsh d7f75c1d98 Uvision FPU setting added to template 2016-10-10 17:23:44 +01:00
Sarah Marsh 72ddbe44a9 Remove static destruction flag 2016-10-10 17:23:43 +01:00
Sarah Marsh 34d3f0bf51 Uvision5 => Uvision or Uvision5 2016-10-10 17:23:41 +01:00
Sarah Marsh 8c988ea03c Cpu type set in uvision template 2016-10-10 17:23:40 +01:00
Sarah Marsh 491ddf63c6 IAR debugging and docstrings 2016-10-10 17:23:39 +01:00
Sarah Marsh 982b214794 Remove : from vendor info in cmsis pdsc 2016-10-10 17:23:37 +01:00
Sarah Marsh 8913eb7e12 Additional device names. mbed_targets.md update 2016-10-10 17:23:36 +01:00
Sarah Marsh 8a3b5cd34e .lst file goes to hidden .build for uvision5 2016-10-10 17:23:35 +01:00
Sarah Marsh 26f8c25450 Buid logs print with no new lines 2016-10-10 17:23:34 +01:00
Sarah Marsh 4557916afb Iar nucleo template referenced correctly 2016-10-10 17:23:31 +01:00
Sarah Marsh 9651c82444 Build tests clean and logging revision 2016-10-10 17:23:30 +01:00
Jimmy Brisson 6eea08b565 Integrate arm_pack_manager with exporters 2016-10-10 17:23:28 +01:00
Sarah Marsh f7da779ea9 New build tests.
*Changes*
- Parallel export
- mbed-os tests added
- specified release version (default to 5)
- default tests AND targets dependent on specified release version
2016-10-10 17:23:27 +01:00
Sarah Marsh 69dbb1c24a Refactor uvision. Add support for CMSIS project files 2016-10-10 17:23:26 +01:00
Sarah Marsh 9998dbf78a Remove progen and progen def dependencies. 2016-10-10 17:23:24 +01:00
Sarah Marsh 87cc40fca9 IAR revision 2016-10-10 17:23:21 +01:00
Sarah Marsh dac3fa7570 arm_pack_manager - Retrieve debug adapter. Strip URLS 2016-10-10 17:23:20 +01:00
Jimmy Brisson 259097a54d arm_pack_manager - Remove extra print; make url joining work on windows 2016-10-10 17:23:19 +01:00
Jimmy Brisson 5eb8351c20 arm_pack_manager - Add alias file 2016-10-10 17:23:17 +01:00
Sarah Marsh 5e35b1b737 arm_pack_manager - Specific device info overrides family/subfamily info 2016-10-10 17:23:16 +01:00
Sarah Marsh 583ce00850 arm_pack_manager - Multi-level processor and compile elements search 2016-10-10 17:23:15 +01:00
Sarah Marsh 6fa94b5983 arm_pack_manager - Added caching target vendor and processor(clock, fpu, endinanness) 2016-10-10 17:23:14 +01:00
Jimmy Brisson da85671fc9 arm_pack_manager - Try really hard to fill the processor dict 2016-10-10 17:23:12 +01:00
Jimmy Brisson a2dc9f29fa arm_pack_manager - [API change] differentiate between pack and pdsc loading from cache
- pull_from_cache renamed to pdsc_from_cache
 - pack_from_cache added
 - index file member replaced with pdsc_file
 - pack_file member added to cache
2016-10-10 17:23:11 +01:00
Jimmy Brisson a9c52e27eb arm_pack_manager - Add --and, --or, --intersection, and --union options
These change the behavior of the search terms.
2016-10-10 17:23:10 +01:00
Jimmy Brisson 817ac6631d arm_pack_manager - Simplify find_device 2016-10-10 17:23:08 +01:00
Jimmy Brisson 8ed3cb0a60 arm_pack_manager - Update find parts for new flash alogrithm api 2016-10-10 17:23:07 +01:00
Jimmy Brisson b2bf3b4522 arm_pack_manager - Update docstrings for extra flash algorithm info 2016-10-10 17:23:06 +01:00
Jimmy Brisson 30b6afee2d arm_pack_manager - Add more info to flash algorithm 2016-10-10 17:23:05 +01:00
Jimmy Brisson 6923f5d41b arm_pack_manager - Add Descritpion of subcommands 2016-10-10 17:23:03 +01:00
Jimmy Brisson 3141d0bdf8 arm_pack_manager - Add Documentation 2016-10-10 17:23:02 +01:00
Jimmy Brisson 3869589863 arm_pack_manager - Adds an dump parts command 2016-10-10 17:23:01 +01:00
Jimmy Brisson 49fb5ed870 arm_pack_manager - Refactors cli out of __init__.py and adds it as a command 2016-10-10 17:23:00 +01:00
Jimmy Brisson a9c98e96e5 arm_pack_manager - added a cache by part cammand 2016-10-10 17:22:58 +01:00
Jimmy Brisson d715fb03d8 arm_pack_manager - searching is now indexed and much faster 2016-10-10 17:22:57 +01:00
Jimmy Brisson c57897f24c arm_pack_manager - commands added. uses fuzzy search to find things 2016-10-10 17:22:56 +01:00
Jimmy Brisson a066a40b06 arm_pack_manager - refactored Cache into class and downloaded pack files 2016-10-10 17:22:55 +01:00
Jimmy Brisson f37365834a arm_pack_manager - caches packs now too. 2016-10-10 17:22:53 +01:00
Jimmy Brisson ea5e315130 arm_pack_manager - now we have a cache 2016-10-10 17:22:52 +01:00
Jimmy Brisson 15d0ee85eb arm_pack_manager - ya gotta start somewhere 2016-10-10 17:22:51 +01:00
Sarah Marsh 1b9157506e device_name in targets.json. Removed progen target 2016-10-10 17:22:50 +01:00
Michel Jaouen d12943c576 fix debug build with option --profile ./tools/profiles/debug.json 2016-10-10 17:22:48 +01:00
Sam Grove 5713435d02 Merge pull request #2895 from bridadan/build-test-fix
[Exporters] Resolving Python errors and uVision build issues
2016-10-03 18:59:36 -05:00
Sam Grove 79fbf94d9c Merge pull request #2893 from theotherjimmy/toolchain-test-cleanup
[Tests] Prevent garbage generation from toolchain api test
2016-10-03 17:22:00 -05:00
Jimmy Brisson fe1cd87724 Remove flags safely in uvisions 2016-10-03 16:19:30 -05:00
Brian Daniels 4965e61616 Adding build_profiles to export in build_test.py 2016-10-03 16:02:34 -05:00
Brian Daniels 0c76ba54ff Fixing python import errors 2016-10-03 16:02:33 -05:00
Sarah Marsh 6998524c00 Resolve issues from reorg 2016-10-03 16:02:32 -05:00
Jimmy Brisson 6209aff482 Prevent garbage generation from toolchain api test 2016-10-03 15:15:08 -05:00
Sam Grove 765fbbbc2c Merge pull request #2842 from svastm/sw4stm32_use_targets_json
SW4STM32 - Use targets.json to find fp config
2016-10-03 11:11:38 -05:00
Martin Kojtal 6f3c62f3ae Merge pull request #2880 from andreaslarssonublox/change_name_for_ublox_c029_target
Changed name for the target UBLOX_C029 to UBLOX_EVK_ODIN_W2
2016-10-03 15:51:55 +01:00
Bartek Szatkowski ea569e8342 Fix json syntax in debug.json profile file 2016-10-03 14:08:29 +01:00
andreas.larsson 1d3c63d9bb Changed name for the target UBLOX_C029 to UBLOX_EVK_ODIN_W2 2016-10-03 12:10:50 +02:00
Sam Grove 646cc89a62 Merge pull request #2878 from geky/restructure
Restructure directory layout
2016-10-02 14:04:25 -05:00
Christopher Haster b8fb7a6e3c restructure - Changed legacy build_lib to respect lib name in path 2016-10-01 19:43:22 -05:00
Sam Grove cf60b189b0 Merge pull request #2879 from bridadan/fix-config-tests-ipv6
Renames IPV6 feature used in config test to STORAGE
2016-10-01 17:22:38 -05:00
Christopher Haster a7ddc46caf restructure - Added single-nested inc_dir support to legacy build_lib
Added single-nested include directories to libraries built with the
legacy build_lib function. Unfortunately, to get this working without
a significant rewrite of the legacy build tools, library header files
are just duplicated in the precompile stage.
2016-10-01 14:58:13 -05:00
Christopher Haster e35050d61b restructure - Reverted move of requirements.txt
- Reverted requirements.txt for external dependency in mbed CLI
- Fixed MBED_CONFIG_FILE in paths.py
- Fixed MBED_LIBRARIES in paths.py
- Decreased include namespace for rtos.h
2016-09-30 19:18:09 -05:00
Christopher Haster 03bbc86dd6 restructure - Added FEATURE_LWIP to __allowed_features 2016-09-30 19:18:09 -05:00