Jimmy Brisson
39c1703c75
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-04 14:13:36 -05:00
Jimmy Brisson
6b2595af61
arm_pack_manager - Add --and, --or, --intersection, and --union options
...
These change the behavior of the search terms.
2016-10-04 14:13:36 -05:00
Jimmy Brisson
b05964abbe
arm_pack_manager - Simplify find_device
2016-10-04 14:13:36 -05:00
Jimmy Brisson
b840a1b58f
arm_pack_manager - Update find parts for new flash alogrithm api
2016-10-04 14:13:36 -05:00
Jimmy Brisson
ece1de343b
arm_pack_manager - Update docstrings for extra flash algorithm info
2016-10-04 14:13:36 -05:00
Jimmy Brisson
15b7381edd
arm_pack_manager - Add more info to flash algorithm
2016-10-04 14:13:36 -05:00
Jimmy Brisson
9cf4f0d074
arm_pack_manager - Add Descritpion of subcommands
2016-10-04 14:13:36 -05:00
Jimmy Brisson
6c13576851
arm_pack_manager - Add Documentation
2016-10-04 14:13:36 -05:00
Jimmy Brisson
02995467a7
arm_pack_manager - Adds an dump parts command
2016-10-04 14:13:36 -05:00
Jimmy Brisson
cdc064913a
arm_pack_manager - Refactors cli out of __init__.py and adds it as a command
2016-10-04 14:13:36 -05:00
Jimmy Brisson
677b847e2b
arm_pack_manager - added a cache by part cammand
2016-10-04 14:13:36 -05:00
Jimmy Brisson
efffa2ad79
arm_pack_manager - searching is now indexed and much faster
2016-10-04 14:13:36 -05:00
Jimmy Brisson
d3017f4479
arm_pack_manager - commands added. uses fuzzy search to find things
2016-10-04 14:13:36 -05:00
Jimmy Brisson
687a9ba652
arm_pack_manager - refactored Cache into class and downloaded pack files
2016-10-04 14:13:36 -05:00
Jimmy Brisson
44980ab009
arm_pack_manager - caches packs now too.
2016-10-04 14:13:36 -05:00
Jimmy Brisson
0832770159
arm_pack_manager - now we have a cache
2016-10-04 14:13:36 -05:00
Jimmy Brisson
01ee8cbeaf
arm_pack_manager - ya gotta start somewhere
2016-10-04 14:13:36 -05:00
Sarah Marsh
45ad394ca6
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-04 14:13:36 -05:00
Sarah Marsh
db696f8f4a
Remove progen and progen def dependencies.
2016-10-04 14:13:36 -05:00
Sarah Marsh
fdd7820832
IAR revision
2016-10-04 14:13:36 -05:00
Sarah Marsh
6fd1c77727
Refactor uvision. Add support for CMSIS project files
2016-10-04 14:13:36 -05:00
Sarah Marsh
448205ac87
device_name in targets.json. Removed progen target
2016-10-04 14:13:01 -05: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
Christopher Haster
960d69f081
restructure - Updated tools to point to restructured modules
...
MBED_HAL /hal/hal x
MBED_API /hal/api x
MBED_COMMON /hal/common x
MBED_TARGETS /hal/targets -> /targets
MBED_DRIVERS + /drivers
MBED_PLATFORM + /platform
MBED_HEADER + /mbed.h
2016-09-30 19:18:09 -05:00
Christopher Haster
c0ffbc11e2
restructure - Removed misplaced metadata from top-level directory
2016-09-30 19:18:09 -05:00
Sam Grove
23f70906eb
Merge pull request #2845 from javier-moreno-tridonic-com/feature-detailed-memap
...
[Tools] Added -d (--detailed) paremeter to unfold 'Misc' contents in memap.py table
2016-09-30 18:54:45 -05:00
Brian Daniels
7a59747974
Renames IPV6 feature used in config test to STORAGE
2016-09-30 18:37:09 -05:00
Sam Grove
872363d809
Merge pull request #2854 from theotherjimmy/find-duplicates
...
[Tools] Find and report duplicates
2016-09-30 18:30:00 -05:00
Brian Daniels
64d09e1879
Adding uARM support default build profiles
2016-09-30 17:24:11 -05:00
Brian Daniels
e0b0ad05cb
Adding build profiles configuration to build_release.py and singletest.py
2016-09-30 16:54:34 -05:00
Jimmy Brisson
2b36d2de5c
Moved detailed memap parameter to consturctor
2016-09-30 15:44:20 -05:00
Sam Grove
f738351c61
Merge pull request #2859 from theotherjimmy/print-percent
...
Correct percent printing
2016-09-30 15:38:36 -05:00
Jimmy Brisson
5eed4f29d7
Add a test of find duplicates
2016-09-30 15:24:56 -05:00
Sam Grove
20756cbf77
Merge pull request #2860 from ARMmbed/event_loop_mbed_events_new
...
Event loop with mbed-events
2016-09-30 15:24:24 -05:00
Sam Grove
b3522fe9d4
Merge pull request #2855 from bridadan/handle-exceptions-better
...
[Tools] Handling Exceptions better when building tests
2016-09-30 15:23:08 -05:00
Jimmy Brisson
5f8fbac56f
Add documentation of exposed functions
2016-09-30 15:14:22 -05:00
Jimmy Brisson
e012185602
Use toolchain notify for printing when finding dupes
2016-09-30 15:14:22 -05:00
Jimmy Brisson
9bf20486ec
Stop using .Super_Target for detecting duplicates
2016-09-30 15:13:53 -05:00
Jimmy Brisson
9f7c82a37f
Deduplicate find-duplicate functionality
2016-09-30 15:13:53 -05:00
Jimmy Brisson
a85a384973
Add duplicate detection to project compilation
2016-09-30 15:13:53 -05:00
Jimmy Brisson
0abd5191e8
Treat c, cpp, and assembly as if they are also object files
2016-09-30 15:11:18 -05:00
Jimmy Brisson
9b187dcceb
Add SUPERTARGET! Use scan_resources to find duplicates
2016-09-30 15:11:18 -05:00
Jimmy Brisson
685e2c52e2
Add a git hook script that will list all duplicate files within the directories specified
2016-09-30 15:11:18 -05:00
Jimmy Brisson
9d905a2914
Add regression test for correct percent emitting
2016-09-30 15:09:54 -05:00
Jimmy Brisson
e2b248a4aa
Correct percent printing
2016-09-30 15:09:54 -05:00
Sam Grove
dd54f7bf43
Merge pull request #2868 from bridadan/copy-config-json-mbed-lib
...
[Tools] Copying main config json file for mbed lib builds
2016-09-30 15:03:38 -05:00
Sam Grove
761ec4423b
Merge pull request #2856 from bridadan/fixing-missed-build-error-prints
...
[Tools] Making all toolchains print final compiler message
2016-09-30 15:01:20 -05:00
Sam Grove
1047ab4562
Merge pull request #2834 from bridadan/memap-consolidate
...
[tools] Making memap output consistent across output formats
2016-09-30 14:59:31 -05:00
Sam Grove
64d9665078
Merge pull request #2833 from sarahmarshy/eclipse-ref
...
[Exporters] Add support for Eclipse Export
2016-09-30 14:58:22 -05:00
Sam Grove
ddc823a722
Merge pull request #2802 from theotherjimmy/toolchain-profiles
...
[Tools] Add simple build profiles to toolchains
2016-09-30 14:57:12 -05:00
Christopher Haster
b789a6a9db
Removed examples tests for BLE
...
As mbed-events is being brought into the mbed-os tree, the examples
using the external mbed-events library will fail due to duplicate
definitions.
The tests for BLE examples will be readded after the examples are
updated to only use the mbed-events library in the mbed-os tree.
2016-09-30 13:38:58 -05:00
Jimmy Brisson
7348b0131b
Add Debug or Release to labels depending on flags
...
This is a policy decision and it should /really/ be in the config system
ATM it's here for backward compatibility
2016-09-30 13:01:16 -05:00
Sarah Marsh
3cf4d02293
[Eclipse] pyocd settings renamed
2016-09-30 10:15:26 -05:00
Javier Gomez Moreno
e0e25c1bed
The parameter is now stored in an object variable instead of a global variable
2016-09-30 08:45:20 +02:00
Brian Daniels
69448d7d8d
Copying main config json file for mbed lib builds
2016-09-29 16:08:16 -05:00
Jimmy Brisson
73e811a9a0
Fix style of implementation of toolchain profiles
2016-09-29 10:20:05 -05:00
Jimmy Brisson
fd04ea2125
Added property based regression test to travis
2016-09-29 10:20:05 -05:00
Jimmy Brisson
d88852d150
Replace -o with profiles
2016-09-29 10:20:05 -05:00
Jimmy Brisson
df32effd8a
Add profiles for default, nanolib, and debug
2016-09-29 10:20:03 -05:00
Seppo Takalo
f91d8eb4c3
Add Nanostack configurations
2016-09-29 13:52:15 +03:00
Brian Daniels
abb6d2681e
Adding memap tests and adding to travis ci
2016-09-28 17:27:25 -05:00
Jimmy Brisson
ceda396e18
Add simple build profiles to toolchains
2016-09-28 17:25:24 -05:00
Brian Daniels
10534019b9
Making all toolchains print final compiler message.
...
This functionality was already present in the ARM toolchain script, but
this commit adds this across all toolchain scripts. Solves an issue that
cropped up where a build error wasn't being printed unless the verbose
flag was used. This should now print any existing error messages that have
been printed when the compiler output is being parsed.
2016-09-28 14:42:35 -05:00
Brian Daniels
cadcc80371
Handling Exceptions better when building tests
...
Previously, when building tests with test.py, if an exception occurred, the
error message would be masked by the function 'build_tests'. This commit
handles NotSupportedExceptions and ToolExceptions, but lets all other
Exceptions propigate up to the caller function. In most cases, this is the
CLI scripts, which will print a traceback. This will allow us to better
debug the python tools if errors occur.
2016-09-28 14:13:23 -05:00
Brian Daniels
1448aa5770
Limiting uvisor example to just GCC_ARM toolchain
2016-09-28 13:09:11 -05:00
Brian Daniels
53ecfdb856
Adding the ability to filter examples by toolchains
...
This change was driven by the fact that certain
examples only support a subset of the toolchains.
2016-09-28 13:04:14 -05:00
Javier Gomez Moreno
f8af872870
Added -d paremeter to unfold 'Misc' contents in memap.py
2016-09-28 11:58:27 +02:00
svastm
4226a17d6f
SW4STM32 - Use targets.json to find fp config
2016-09-28 10:26:26 +02:00
Sam Grove
f22d5a7415
Merge pull request #2811 from bcostm/fix_sw4stm32_exporter_fpu
...
Fix sw4stm32 exporter fpu
2016-09-27 21:54:10 -07:00
Sam Grove
816f028c5a
Merge pull request #2756 from theotherjimmy/export-bld-dir
...
exporters - Add .bld directories to exported project
2016-09-27 21:52:57 -07:00
Brian Daniels
e8b06874a3
Making memap output consistent across output formats
...
This commit fixes an issue where the output from memap.py was not
consistent across all output formats. This issue stemmed from the fact
that a few important calculations were being performed at output
generation time. This has been moved to the 'parse' function and saved for
future use by the 'generate' functions.
Because this commit saves more data to the MemapParser instance, there
were some name collisions. The public member 'mem_summary' has been
renamed to 'mem_report'. 'mem_report' contains the data structure used by
the json generator. This includes both the section data and the memory
summary. The 'mem_summary' member now just contains the summary. The
summary includes total allocated heap, total static RAM, etc.
2016-09-27 16:51:16 -05:00
Sarah Marsh
a8213e7441
ARMC5 pyocd settings do not load executable
2016-09-27 16:08:30 -05:00
Sarah Marsh
32b1203b6c
Generic makefile in eclipse
2016-09-27 16:08:29 -05:00
Sarah Marsh
f949a6d4f8
Initial Eclipse suport
2016-09-27 16:08:17 -05:00
bcostm
89430b95bb
Remove extra spaces
2016-09-27 16:35:34 +02:00
Sarah Marsh
d166c9a1bf
Removed --no_static_destruction from IAR IDE flags
2016-09-26 23:08:56 -07:00
bcostm
464dbc446b
Correct fpu option for Cortex-M7FD devices
2016-09-26 15:56:46 +02:00
Martin Kojtal
93e9b486aa
Merge pull request #2712 from bridadan/test-building-and-config
...
Fixing constant cleaning when compiling tests
2016-09-26 09:54:33 +01:00
bcostm
e4c2ea8e55
Add tabs
2016-09-26 10:36:36 +02:00
bcostm
d1902def21
sw4stm32 exporter - add hw floating point option
2016-09-26 10:30:56 +02:00
Sam Grove
28f9b27918
Merge pull request #2788 from theotherjimmy/print-percent
...
Print percent complete when building
2016-09-24 16:48:03 -05:00
Sam Grove
acdab5e284
Merge pull request #2773 from sarahmarshy/quotes_error
...
[Exporters] [Makefile] Single quotes for escaping commands
2016-09-24 16:46:25 -05:00
Sam Grove
3c6776f9bf
Merge pull request #2753 from jeromecoutant/PR_NUCLEO_F767ZI_CAN
...
[NUCLEO_F767ZI] Add CAN capability
2016-09-24 16:41:10 -05:00
Sam Grove
aad2372df7
Merge pull request #2727 from jeromecoutant/PR_Serial_Init_Timeout
...
Serial init timeout: increase default value
2016-09-24 16:33:45 -05:00