Liviu Ionescu
207dd311cc
Merge remote-tracking branch 'ARMmbed/master'
2017-01-26 17:20:15 +02:00
Martin Kojtal
23647442fb
Merge pull request #3601 from theotherjimmy/clean-export-dir
...
Clean export dir
2017-01-26 10:36:38 +02:00
Martin Kojtal
57ec7493f2
Merge pull request #3608 from ilg-ul/jinja
...
Exporters: make jinja engine strict
2017-01-26 10:32:55 +02:00
Martin Kojtal
7316b89c1d
Merge pull request #3600 from theotherjimmy/refactor-sys-libs
...
[toolchains] Refactor sys libs
2017-01-26 10:30:27 +02:00
Max Vilimpoc
2ce1a8d953
Allow user overrides of LINKER_SCRIPT Make variable ( #3594 )
...
Makefile: Allow user overrides of LINKER_SCRIPT Make variable
2017-01-26 10:28:18 +02:00
Martin Kojtal
d4fa863b9c
Merge pull request #3588 from c1728p9/arm-pack-manager
...
arm-pack-manager - fix tracebacks
2017-01-26 10:27:08 +02:00
Martin Kojtal
b9557aee12
Merge pull request #3587 from bridadan/fix_build_script_toolchain_check
...
Fixing toolchain executable not found error for build.py
2017-01-26 10:26:09 +02:00
Martin Kojtal
25ba021c63
Merge pull request #3578 from theotherjimmy/inherit-target-labels
...
Target system - Inherit names from target parents
2017-01-26 10:24:45 +02:00
Martin Kojtal
17e9131a52
Merge pull request #3574 from c1728p9/fix_invalid_assert
...
Fix invalid assert in exporters
2017-01-26 10:24:09 +02:00
Martin Kojtal
0ea544f143
Merge pull request #3560 from theotherjimmy/refactor-ignores
...
Refactor scan resources to account for base_paths
2017-01-26 10:23:14 +02:00
javier-moreno-tridonic-com
8ff17b9235
Update memap.py
2017-01-23 17:02:15 +01:00
Brian Daniels
35137bbe42
Fixing printing for build step
2017-01-20 14:32:55 -06:00
Brian Daniels
8edc61d244
Breaking up clean command to avoid command limit
2017-01-20 13:21:06 -06:00
Brian Daniels
a23b507c32
Fixing build function for gnuarmeclipse exporter
2017-01-19 18:30:07 -06:00
Brian Daniels
04bacc7d11
Enabling parallel builds by default
2017-01-19 18:29:44 -06:00
Liviu Ionescu
dc6f9342ae
gnuarmeclipse: fix windows paths
2017-01-20 00:46:00 +02:00
Jimmy Brisson
87ee33d56b
Allow keyword arguments to jinja env from exporters gen_file
2017-01-19 08:00:03 -06:00
Jimmy Brisson
6230d78738
Fix undefined keys in CMSIS exporter
2017-01-19 04:02:29 -06:00
Jimmy Brisson
526e592de5
Fix all undefined key errors in iar exporter
2017-01-19 03:54:10 -06:00
Liviu Ionescu
36de50d28a
Exporters: make jinja engine strict
...
- configure the jinja Environment to raise exception when substitution
variables are not defined
- trim spaces and lines, to avoid empty lines in generated files
2017-01-18 19:31:59 +02:00
Liviu Ionescu
f82fa9310e
Merge remote-tracking branch 'ARMmbed/master'
2017-01-18 19:13:25 +02:00
Liviu Ionescu
0c6381ff25
rename short named variables
2017-01-18 19:09:16 +02:00
Liviu Ionescu
4f17c95925
tentative build() implementation
2017-01-18 14:39:50 +02:00
Liviu Ionescu
cc3fe4c73e
all options parsed, build functional
2017-01-18 01:54:04 +02:00
Jimmy Brisson
4a08fd5112
Move sw4stm32 into its own dir
2017-01-17 14:47:36 -06:00
Jimmy Brisson
beb9c6f4ec
Move simplicity to its own dir
2017-01-17 14:47:19 -06:00
Jimmy Brisson
3489b14643
Use sys_libs from mbedToolchain in Makefiles
2017-01-17 13:57:37 -06:00
Jimmy Brisson
70aaaa9367
Move zip into its own dir
2017-01-17 12:39:39 -06:00
Jimmy Brisson
084c93b3b9
Move KDS to its own directory
2017-01-17 12:39:11 -06:00
Jimmy Brisson
ad58ec47e0
Move e2studio into its own folder
2017-01-17 12:38:40 -06:00
Jimmy Brisson
eda115dad9
Move atmelstudio to its own directory
2017-01-17 12:37:54 -06:00
Jimmy Brisson
fdfbde8051
Move DS_5 into its own directory
2017-01-17 12:37:20 -06:00
Jimmy Brisson
13b2a95d3a
Move coide into its own directory
2017-01-17 12:36:40 -06:00
Jimmy Brisson
17f691c54f
Move codered to its own directory
2017-01-17 12:35:54 -06:00
Jimmy Brisson
81df273849
Move sys_libs into mbedToolchain class
2017-01-17 11:57:35 -06:00
Martin Kojtal
04a31f3b39
Merge pull request #3534 from sarahmarshy/export-debug
...
Turn on debugging by default when exporting. Remove optimizations for IAR and Uvision
2017-01-16 16:49:39 +00:00
Martin Kojtal
e592c8a8b2
Merge pull request #3571 from jeromecoutant/PR_DISCO_F769NI
...
DISCO_F769NI introduction
2017-01-16 16:38:20 +00:00
ccli8
867decb4ee
[NUC472/M453] Support exporting IAR project
2017-01-16 10:35:34 +08:00
Brian Daniels
938ac93496
Fixing toolchain executable not found error for build.py
...
Commit 19d56fd40f removed the default file
paths for the toolchains. This was done under the assumption that the
top-level compile scripts were properly checking that the toolchain
executable was availble. The build.py script was doing this in the wrong
place. This commit rearranges the script a bit so the check is performed
properly.
2017-01-13 14:13:31 -06:00
Jimmy Brisson
5ccd0153ee
Correct revision compares
2017-01-13 12:14:20 -06:00
Jimmy Brisson
c14a5b94ec
Add docstrings
2017-01-13 12:01:26 -06:00
Jimmy Brisson
39a5caacab
Refactor scan resources to account for base_paths
2017-01-13 12:01:19 -06:00
Russ Butler
7a8964af6f
arm-pack-manager - fix tracebacks
...
Fix tracebacks from trying to read dictionary values that don't exist
and from incorrect variable names.
2017-01-13 11:54:27 -06:00
Liviu Ionescu
8266a76c22
convert windows paths to unix
2017-01-13 11:09:28 +02:00
Liviu Ionescu
725fe49a18
.cpproject: make include files discoverable by indexer
...
- make defined symbols discoverable by indexer (just to be sure)
2017-01-13 11:08:29 +02:00
Jimmy Brisson
f2663876fc
Inherit names from target parents
2017-01-12 15:34:29 -06:00
Russ Butler
06ca004bfa
Fix invalid assert in exporters
...
Assert that the length is greater than one rather than the value
itself. This bug was introduced in the commit:
329be06ad0 -
"exporters - group by directories in prj root"
2017-01-12 11:25:09 -06:00
Liviu Ionescu
9e84338178
Compute source folders exclusions.
2017-01-12 18:10:56 +02:00
Anna Bridge
ccab2c5dae
Merge pull request #3562 from theotherjimmy/alpha-groups
...
Alphabetize UVision groups
2017-01-12 16:06:52 +00:00
Anna Bridge
209ac788c4
Merge pull request #3547 from SeppoTakalo/master
...
Add support for ethernet-only configuration with Nanostack.
2017-01-12 16:05:26 +00:00
Anna Bridge
236258bf05
Merge pull request #3546 from bcostm/dev_can_nucleo-f412zg
...
NUCLEO-F412ZG - Add CAN peripheral
2017-01-12 16:04:40 +00:00
Anna Bridge
6ed97abdd2
Merge pull request #3532 from janjongboom/eclipse-debug
...
Eclipse debug fixes (build w/ DEBUG=1 and load symbols)
2017-01-12 16:01:28 +00:00
Anna Bridge
b8e80d8867
Merge pull request #3528 from adbridge/master
...
Modify update command to directly edit the mbed-os.lib files for each example
2017-01-12 16:00:29 +00:00
jeromecoutant
66c3f8ed44
DISCO_F769NI: Add analog loop test support
2017-01-12 15:38:05 +01:00
Liviu Ionescu
ed513caae2
Make uids unique for each call
...
The initial {{uid}} was evaluated once. To force an evaluation for
each call, use an object property {{u.id}}.
2017-01-11 20:47:24 +02:00
Jimmy Brisson
2bf1f6bd04
Make the debug profile the default used for exporting
2017-01-10 15:33:33 -06:00
Sarah
54fd40f1da
Turn off optimizations for uvision and IAR
2017-01-10 15:30:31 -06:00
Jimmy Brisson
27e4e7d8a8
Change sorting to ignore case
2017-01-10 15:30:03 -06:00
Jimmy Brisson
36e5fbf136
Asciiabetize the files within a group
2017-01-10 15:18:42 -06:00
Jimmy Brisson
4d6918bd27
Alphabetize UVision groups
2017-01-10 14:50:57 -06:00
Liviu Ionescu
81015928d9
Use NotSupportedException
2017-01-10 22:40:03 +02:00
Liviu Ionescu
8860007a3c
Add GNU ARM Eclipse exporter
2017-01-10 21:36:20 +02:00
Russ Butler
329be06ad0
exporters - group by directories in prj root
...
Update exporter grouping code to group by directories in the root
of the project rather than by the parent directory of each file. This
reduces the number of groups and allows all mbed-os code to reside
in its own folder.
2017-01-10 11:42:36 -06:00
bcostm
f6c93d3241
Remove automated flag for MBED_29/30 tests
2017-01-10 11:22:51 +01:00
bcostm
ead72934ef
Add CAN feature and activate CAN tests for this platform
2017-01-10 11:22:51 +01:00
Anna Bridge
fb27b649c5
Review comments: Use os.rename rather that system mv command.
...
In prepare_fork(), change nested IF to neat command loop.
2017-01-09 17:56:20 +00:00
Sam Grove
3a326c0b94
Merge pull request #3521 from theotherjimmy/refurbish-embitz
...
Repair the Emblocks exporer and rename to EmBitz
2017-01-09 11:28:59 -06:00
Sam Grove
ff49a8cdc1
Merge pull request #3538 from theotherjimmy/fix-export-tests
...
Remove deprecated clean argument
2017-01-09 10:33:35 -06:00
Sam Grove
1816f0b7dc
Merge pull request #3537 from bridadan/remove_project_defaults
...
Remove default -m and -i options for project.py
2017-01-09 10:31:10 -06:00
Sam Grove
613b92af04
Merge pull request #3531 from bittailor/fix-include-paths-for-eclipse-export
...
Correctly format include paths for eclipse export
2017-01-09 10:30:00 -06:00
Seppo Takalo
1a5d6d7f19
Add support for ethernet-only configuration with Nanostack.
...
This saves about 100kB of flash when using ethernet only configuration.
Otherwise only border router configuration was supporting ethernet.
2017-01-09 18:26:56 +02:00
Sam Grove
2c6fe1fe06
Merge pull request #3518 from bridadan/fix_test_macros_with_app_json
...
Preventing app_config from clobbering CLI macros
2017-01-09 10:23:14 -06:00
Sam Grove
3019688406
Merge pull request #3513 from bcostm/rtos_nucleo-f412zg
...
NUCLEO_F412ZG - Add platform in RTOS tests + build_travis
2017-01-09 10:19:27 -06:00
Jan Jongboom
1a21696924
Eclipse: Symbols should also be loaded when starting a debug session
2017-01-08 11:15:32 +01:00
Brian Daniels
d32e3d878d
Remove default -m and -i options for project.py
...
Also moves the check for -m and -i before any file system actions are
taken (error faster)
2017-01-05 17:19:52 -06:00
Jimmy Brisson
dacdbdcfe4
Remove deprecated clean argument
2017-01-05 17:16:00 -06:00
Franz Schnyder
75a61dfe78
Fix review requests
...
- Shorten variable name
- Use comprehension to format include paths
2017-01-05 18:17:46 +01:00
Franz Schnyder
b668185339
Correctly format include paths for eclipse export
...
Eclipse CDT expects the include paths to include the project name like '/<project>/<include-path>' for workspace include directories.
See issue #3529 .
2017-01-05 14:20:54 +01:00
Anna Bridge
01c39629fe
Modify update command to directly edit the mbed-os.lib files for each
...
example specified in the supplied .json file, in a user specified fork.
A pull request is then made from each fork to the ARMmbed master repo.
New usage:
python update.py <args>
Where <args> are:
[-c <file.json>] optional argument for example list, default
example.json
-U <github user with forked repos>
-T <github authorisation token>
tag
2017-01-05 12:11:55 +00:00
Jimmy Brisson
b8b4131a4a
Repair the Emblocks exporer and rename to EmBitz
...
* Rename because the tool has been renamed
* Removed duplicate symbol definitions
* Removed common flags from ld flags (common are c/c++ only)
* Moved EmBlitz to it's own folder
2017-01-03 15:17:23 -06:00
Brian Daniels
3baeb8a8a7
Preventing app_config from clobbering CLI macros
2017-01-03 13:27:12 -05:00
bcostm
442181976b
Remove USB in build_travis test (USB is not supported right now on this platform)
2017-01-03 16:05:49 +01:00
bcostm
3e499e21e4
Add platform in RTOS tests + build_travis
2017-01-02 17:40:49 +01:00
Michel Jaouen
25c0d9034f
USBHOST STM : add more board
...
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen
83369045bd
update build_travis.py
2017-01-02 09:48:17 +01:00
Michel Jaouen
815194a98b
USBHOST : add mouse test
2017-01-02 09:48:17 +01:00
Michel Jaouen
72dae26774
USBHOST : test mass storage
2017-01-02 09:48:16 +01:00
Martin Kojtal
e7361ebc44
Merge pull request #3365 from OpenNuvoton/nuvoton_usb
...
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal
24cd5734dd
Merge pull request #3483 from theotherjimmy/make-linker-error
...
Improve error message when exporting for make without a linker script
2016-12-30 12:34:09 +01:00
Martin Kojtal
ae93db711c
Merge pull request #3476 from bridadan/remove_default_toolchain_paths
...
Removing default toolchain paths
2016-12-23 13:14:57 +00:00
Martin Kojtal
cb39663b2a
Merge pull request #3486 from theotherjimmy/clean-export-fix
...
Move clean functionality out of the export api
2016-12-23 13:09:06 +00:00
Martin Kojtal
9d1b94714d
Merge pull request #3439 from theotherjimmy/detect-targets-args
...
Remove unused arguments from detect targets
2016-12-21 15:07:11 +00:00
Martin Kojtal
08509e75df
Merge pull request #3339 from jamike/USBAudio_CB_RX_TX
...
USB audio callback rx and tx
2016-12-21 14:58:52 +00:00
Jimmy Brisson
18ad17666d
Move clean functionality out of the export api
...
It was possible to remove an entire project if clean was specified on
the command line. That's a Bad Thing(tm).
2016-12-20 17:44:10 -06:00
Jimmy Brisson
63c650903c
Improve error message when exporting for make without a linker script
2016-12-20 14:11:58 -06:00
Brian Daniels
19d56fd40f
Removing default toolchain paths
...
This change was spurred by a confusing error. I attempted to compile for
the RZ_A1H (a Cortex-A device), and I had the standalone ARM compiler in
my system path, which supports Cortex-A. However, the default path for
the ARM compiler in settings.py uses a Keil installation, which only
supports Cortex-M. It found my Keil installation and used that instead.
This change proposes to remove this default behavior and instead
requires the user to explicitly set the intended compiler, either by a
settings file, mbed CLI, environment variables, or by placing the
compiler in your PATH.
2016-12-20 11:14:24 -06:00
Anna Bridge
1cc1891fac
Merge pull request #3450 from bridadan/fix_example_filtering
...
Correctly filtering examples in test script
2016-12-19 17:52:47 +00:00
Anna Bridge
9e03765d04
Merge pull request #3422 from szechyjs/disco_f303vc_can
...
Enable CAN on DISCO_F303VC
2016-12-19 17:37:48 +00:00
Michel Jaouen
71f570fbc7
USB_8 : audio loopback test at 16khz stereo 16bits
...
- Callback TX and RX interface is used.
2016-12-16 15:16:56 +01:00
Brian Daniels
134d7743c3
Correctly filtering examples in test script.
...
If an example's GitHub repository contains multiple child examples, the
script was incorrectly filtering out all the child examples when
compiling and exporting. This patch now handles this case correctly.
2016-12-15 14:16:12 -06:00