Jimmy Brisson
23d201cb21
Merge pull request #5237 from 0xc0170/fix_examples_eddy
...
examples: remove eddystone ble examples
2017-10-05 11:15:14 -05:00
Jimmy Brisson
9b62dce47e
Merge pull request #5199 from mgiaco/master
...
Add quotes to preprocessor path on export
2017-10-05 11:12:24 -05:00
Jimmy Brisson
41998d5836
Merge pull request #5084 from adustm/NUCLEO_L486_export
...
Allow exporters for NUCLEO_L486RG
2017-10-05 11:12:06 -05:00
Jimmy Brisson
da78647c1d
Merge pull request #5077 from dhwalters423/dhwalters423-add-detect-info
...
Added interface version information to mbed detect command.
2017-10-05 11:11:33 -05:00
Kevin Gilbert
f8fa90209e
Remove -p as an argument flag for profile
2017-10-03 16:14:07 -05:00
Kevin Gilbert
310f833f52
Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in
2017-10-03 15:24:29 -05:00
Jimmy Brisson
0524ba40bd
Remove debug print from memap IAR impl
2017-10-03 13:46:30 -05:00
Shrikant Tudavekar
cdd29b87a5
Add retry to handle git clone failure
...
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-02 14:39:24 -05:00
Mahadevan Mahesh
880f106740
Change LPC54608 to LPC546XX to include support for LPC54608/18/28
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-02 11:20:27 -05:00
Martin Kojtal
e6b1ef508e
examples: remove eddystone ble examples
...
They are not part of the releases
2017-10-02 15:37:52 +01:00
Piotr Grygorczuk
728a3a4a76
mbed LPC1768 & Xpresso LPC1769 unified
...
Target of LPC1769 links to mbed LPC1768.
The PinNames.h has conditional compile for the pin names.
LWIP lpc17xx emac driver modified to allow LPC1769 target
2017-10-02 11:05:39 +01:00
adbridge
31407a17ca
Move to using command strings rather than command lists.
...
Previously the script used
cmd =['git','checkout', branch]
syntax. This does not work well cross platform. The solution it to
actually use strings. E.g.
cmd = "git checkout " + branch
2017-09-29 16:17:33 +01:00
Jimmy Brisson
24418b43da
Merge pull request #5182 from theotherjimmy/test-flags-assumptions
...
tools/toolhains - Test for flag passing in constructor
2017-09-29 10:14:29 -05:00
Jimmy Brisson
1a04b0a7b4
Merge pull request #5052 from mbedNoobNinja/Branch_Export
...
ds5 & e2studio export fix
2017-09-29 10:09:30 -05:00
David Walters
61f46b809d
Changed type => test_type
2017-09-29 15:34:32 +01:00
David Walters
bb79f6991b
Minor copy edits, added comment
2017-09-29 10:12:02 +01:00
David Walters
a047f6276d
Increased test coverage / mocking of external modules
2017-09-29 10:05:05 +01:00
Jimmy Brisson
e3cb228d5e
Merge pull request #4795 from sarahmarshy/test-configs
...
Add configurable network driver tests
2017-09-28 14:06:38 -05:00
adbridge
d2d2b68fc5
Fix the prepare_branch function
...
Currently when checking if the destination branch already exists the
command 'git branch' is used. This only returns local branches. What is
actually required is the list of remote branches. This can be obtained
by the command 'git branch -r' and filtering the result.
2017-09-27 17:59:19 +01:00
Jimmy Brisson
6cecd09d07
Merge pull request #4961 from theotherjimmy/check-rtos-export
...
Check for mbed 5 support on export
2017-09-27 09:02:38 -05:00
Mathias Giacomuzzi
ca5bcf7592
remove the first join
2017-09-27 12:31:45 +02:00
Jimmy Brisson
b9b4bb5c25
Move IAR flag passing to constructor
2017-09-26 08:59:01 -05:00
Jimmy Brisson
ef6de7eb3b
Check for flag passing in toolchain constructor
2017-09-26 08:58:59 -05:00
Mathias Giacomuzzi
0947db6400
add quotation marks for compiler path
2017-09-26 11:01:01 +02:00
David Walters
4c2d17eee0
Removing unused imports/update copywright`
2017-09-25 16:58:52 +01:00
David Walters
b887bb7de6
Added safety check, added test converage for new function
2017-09-25 16:53:41 +01:00
Jimmy Brisson
482c2aef2d
Merge pull request #5149 from theotherjimmy/update-export-link
...
Update link in GettingStarted to current docs
2017-09-25 10:13:09 -05:00
Jimmy Brisson
6ca2342fba
Merge pull request #5166 from theotherjimmy/force-armc5-preproc
...
Force preprocessing of asm for make_armc5
2017-09-25 10:12:28 -05:00
Jimmy Brisson
b8863862cc
Merge pull request #4959 from phyokyaw/master
...
e2 studio exporter update
2017-09-25 10:11:13 -05:00
adustm
4817f06435
Allow exporters for NUCLEO_L486RG
2017-09-22 14:21:00 +02:00
Martin Kojtal
c6f655c02e
Merge pull request #4779 from JarnoEtt/sw4stm_exporter_fix
...
Fixed sw4stm32 exporter
2017-09-22 11:36:21 +01:00
Jimmy Brisson
69c38012eb
Force preprocessing of asm for make_armc5
...
It seem to preprocess asm with the `.S` extension on linux, but the
windows build of Arm Compiler 5 seems to omit the preprocessing step
unless you have a `.sx` extension. Odd.
2017-09-21 17:37:10 -05:00
Jimmy Brisson
97b0dd8bd5
Update link in GettingStarted to current docs
2017-09-21 15:32:26 -05:00
Jimmy Brisson
4de448142b
Merge pull request #5125 from theotherjimmy/improve-memap-performance
...
Refactor memap for speed
2017-09-21 11:40:41 -05:00
Sarah Marsh
92a642bc5e
Turn off Odin testing by default
2017-09-20 18:31:06 -05:00
Sarah Marsh
8ef849da79
Add new Odin configuraiton to remove emac device_has
2017-09-20 18:31:06 -05:00
Sarah Marsh
26aa4eaa6a
Use ethernet as default test configuration for Odin netsocket tests
2017-09-20 18:31:06 -05:00
Sarah Marsh
6a44ceb094
Add copyright headers and use mbed error to skip tests without network config files
2017-09-20 18:31:06 -05:00
Sarah Marsh
4161e5c48d
Move test config keys out of targets.json
...
Change TestConfig class methods to module methods
2017-09-20 18:30:08 -05:00
Sarah Marsh
e48f9948a7
Add ETHERNET and ODIN_WIFI to odin device has. Add odin WiFi test configuration
2017-09-20 18:29:38 -05:00
Sarah Marsh
dee8e7f0ea
Use default mbed-os test configuration if no app_config is supplied
2017-09-20 18:29:38 -05:00
Sarah Marsh
ba6eb98b5c
Use only one flag for test configuration file
...
Tools will figure out if user passed in a custom path (to indicate configration file for module) or whether they used a keyword (to indicate they'd like to use an mbed OS configuration)
2017-09-20 18:29:37 -05:00
Sarah Marsh
e982eed4ad
Add option to add a configuration file for modules
2017-09-20 18:27:59 -05:00
Sarah Marsh
8c0bc781d9
Allow tools to use networkinterface configs in tests
2017-09-20 18:27:59 -05:00
Jimmy Brisson
727256a05d
Remove prefix stuff from GCC memap parser
...
It's just not used anymore
2017-09-20 11:00:02 -05:00
Jimmy Brisson
3d5bea337f
Test the module_add function
2017-09-20 10:49:12 -05:00
Jimmy Brisson
06203c4fcc
Test GCC memap parser
2017-09-20 10:39:42 -05:00
Jimmy Brisson
bcd89dae18
Test memap parsing for ARMC6 and IAR
2017-09-19 15:14:43 -05:00
Anna Bridge
02a10e5974
Merge pull request #5094 from deepikabhavnani/m23_armc6
...
ARMC6 support for Cortex-M23
2017-09-19 10:25:33 +01:00
Anna Bridge
f18d2d862a
Merge pull request #5091 from theotherjimmy/fix-nordic-concat
...
Correct booting on Nordic devices with ARMC6
2017-09-19 10:24:54 +01:00
Jimmy Brisson
fdd4ae3056
Parse full paths from ARM map file
...
Now we don't have to scan!
This is a 20% speed improvement
2017-09-18 17:18:01 -05:00
Jimmy Brisson
8c54c4efa8
Display full paths in armlink output
2017-09-18 16:40:52 -05:00
Jimmy Brisson
6d135c26b3
Remove warnings for Zero sized sections
...
We just don't care if we don't know where they go
2017-09-18 15:45:05 -05:00
Jimmy Brisson
0d2a0a0c1d
Parse filenames from IAR map file
...
Instead of scanning.
Is a 8ms/15% speedup.
2017-09-18 15:45:03 -05:00
Jimmy Brisson
2114ccd5a1
Refactor memap for speed
2017-09-18 15:24:18 -05:00
Jimmy Brisson
a9bd33e51e
Merge pull request #5103 from theotherjimmy/fix-memap-libs
...
Parse libraries with memap-arm
2017-09-18 09:12:48 -05:00
Jimmy Brisson
faa3375397
Mock supported_toolchains values in tests
2017-09-15 17:59:46 -05:00
Jimmy Brisson
4e46aa9e02
Merge pull request #5111 from theotherjimmy/armc6-emit-deps
...
Emit dependency information with ARMC6
2017-09-15 17:50:23 -05:00
David Walters
7b4959125f
Added in safety check if details_txt is None
2017-09-15 16:00:20 +01:00
David Walters
aafe61414e
Edited get_interface_version info for clarity
2017-09-15 15:49:08 +01:00
David Walters
256ab6114a
Fixed mount_point example usage
2017-09-15 15:30:34 +01:00
David Walters
e4b55dd6a0
Removed get_mounted_details_txt from test_api.py
...
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
Jimmy Brisson
bd7f320387
Emit dependency information with ARMC6
...
Which allows it to be parsed
2017-09-14 16:17:44 -05:00
Deepika
eea29d34a7
Corrected check for ARM/ARMC6 toolchain
...
ARMC6 support required ARM compiler support as mandatory requirement which
should not be the case. Cortex-M23/M33 devices are not suuported by ARM compiler5
Adding ARMC6 without ARM in target.json should work now.
2017-09-14 14:14:35 -05:00
Jimmy Brisson
7eccec425f
Parse libraries with memap-arm
2017-09-14 09:50:47 -05:00
Jimmy Brisson
a62f89da05
Correct uvision template to correctly pass include paths
2017-09-14 09:39:00 -05:00
Jimmy Brisson
8db0fa9819
Correct rename mistake in make arm compiler exporters
2017-09-14 09:14:47 -05:00
Deepika
60c600ac11
ARMC6 support for Cortex-M23
2017-09-13 17:07:05 -05:00
Jimmy Brisson
3e1b96d899
Disable response files on export
...
None of the exporters can handle them, so just don't do it
2017-09-13 15:14:26 -05:00
Jimmy Brisson
58372d3fdf
Allow ARMC6 to run post-binary-hooks marked for ARM
2017-09-13 14:50:06 -05:00
Anna Bridge
7b428916f5
Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
...
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Vincent Coubard
682816d86e
Sleep: Disallow sleep for targets turning of the systick clock at sleep entry.
...
When the RTOS is present and the tickless mode is not implemented, it is
expected that the next tick issued by the Systick timer will wake up the MCU.
However nothing prevents an implementation of the ARM architecture to gate the
systick clock signal upon sleep entry.
Therefore on those targets sleep shall be prohibited if the RTOS is present and the
tickless mode is not implemented.
To ease life of porters , a new option has been added in the device add list:
STCLK_OF_DURING_SLEEP. This option expose that the target turn of the systick
clock during sleep.
Targets which exhibit such behavior shall add this define in their device_has list.
2017-09-13 10:28:02 +01:00
Jaakko Heikkilä
6b6187a405
export: Add missing flags to Sw4STM32
...
Some of the optimization and warning flags, which were supported by the
gnuarmeclipse exporter, were missing from the sw4stm32.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
c13b80cc75
export: Corrections to Sw4STM32 after review
...
Add double quotes to linker command unconditionally.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
5b0fe22652
export: Fix invalid id's in Sw4STM32 project files
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
b94ad5aa35
export: Remove build directories from excluded paths
...
Directories Debug and Release must not be excluded. Otherwise, Eclipse is
not able to find binaries, which are stored to build directories.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
847276455b
export: Add debug configuration to Sw4STM32
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
9d386b23e4
export: Fix Windows problems with Sw4STM32
...
Quoting linker preprocessor command, if path contains parentheses. Using
relative path to shorten list of included directories. Using Eclipse
variables to get path to preprocessor.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
e1d163ba0a
export: Remove preprocessed ld files after build
...
Sometimes Sw4STM32 exporter receives wrong linker script file. Because build
directories cannot be excluded from scanned resources, ld files are removed.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
98e578f707
export: Fix after testing Sw4STM32
...
Quotation marks in defines had to be replaced with html codes.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
e0cdda6e72
export: Invalid linker script path in Sw4STM32
...
Fixed invalid linker script path in project file.
Using 'defines' instead of 'symbols' in compiler options.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
d8d2b404cd
export: Remove dublicate methods in Sw4STM32
...
Removed unused methods and methods with dublicate functionality.
Removed unused imports. Generating list of defines for assembler.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
83127db09e
export: Sw4STM32 inherits GNUARMEclipse
...
Sw4STM32 is using methods from GNUARMEclipse class to handle flags.
Flags are also passed to cproject file.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
dbf20fca39
export: Change linker script name
...
SW4STM32 linker script name now contains target name.
Print formatting is using new Python style.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä
b2876c47d1
export: Fix sw4stm32 linker script problem
...
Added makefile.target, and rule for linker script pre-compilation.
2017-09-13 12:05:27 +03:00
Jarno Komula
fbc4a89607
Review changes + including config header from toolchain.get_config_header() instead of hardcoding it to project file.
2017-09-13 12:05:27 +03:00
Jarno Komula
0b90c827bd
Better readability.
2017-09-13 12:05:27 +03:00
Jarno Komula
2d27e2730f
Review corrections.
2017-09-13 12:05:27 +03:00
Jarno Komula
6289596f04
Fixed sw4stm32 exporter
2017-09-13 12:05:27 +03:00
Shrikant Tudavekar
fec2346627
add ARMC6 in supported compiler
2017-09-12 15:31:50 -05:00
David Walters
7ff57c4671
Changed DAPLink version to interface version.
2017-09-12 10:46:07 +01:00
Jimmy Brisson
23aafbfe6c
Optimize space usage on builds
...
by not creating gigantic exception nonsense
2017-09-11 14:45:21 -05:00
Jimmy Brisson
8a9d79bcbd
Add ARMC6 to supported matrix
2017-09-11 13:20:33 -05:00
Jimmy Brisson
d56c19f253
Detect test skips with armc6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
887d29372b
Check for support in ARMC6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
d72f6dbfe4
Disable MULADDC assembly
...
It's not supported in ARMC6
2017-09-11 13:20:33 -05:00
Jimmy Brisson
f4b7d8ba77
Avoid forcing preprocessing
...
We avoid forcing preprocessing by not replacing the first line when it's
not a shebang (#!). Should work pretty darn well.
2017-09-11 13:20:32 -05:00
Jimmy Brisson
06b00683c3
Genericify arm compiler exporter to versions 5 + 6
2017-09-11 13:20:32 -05:00
Jimmy Brisson
e9d3166a5e
Expose present get_compile_options API in Toolcahins
2017-09-11 13:20:32 -05:00
Jimmy Brisson
15a9a0382b
Enable Compiling with ARMC6 across all targets
...
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00