Jimmy Brisson
6de4ea7e6f
Adds -N/--artifact-name argument to parser
...
Only makes sence for --source builds (which only work with --build)
2016-06-15 15:07:25 -05:00
0xc0170
c16c75f2af
iar - fix flags for cmd and exporters
...
Exporters and cmd do not share all flags, some asm and c flags are not the same (cpu, fpu)
2016-06-15 21:04:48 +01:00
Martin Kojtal
7c08e36ec7
tools/project - export report fix name
...
Previously it was .zip always, even when using sources. This patch fixes it:`
```
Successful exports:
* K64F::uvision path\projectfiles\uvision\Unnamed_Project_K64F
```
2016-06-15 18:54:17 +01:00
Sam Grove
7e0e6854b9
Merge pull request #1940 from geky/fix-features
...
[build tools] Added better support for features and recursive configs
2016-06-15 18:46:38 +01:00
Christopher Haster
0d9d4639cd
[build tools] Added proper namespace for features
...
per @bogdanm
2016-06-15 10:34:32 -05:00
Mihail Stoyanov
99ed4e03f1
Restore original compile sources routine
2016-06-15 17:18:40 +01:00
Sam Grove
fd983d1c6c
Merge pull request #1937 from bridadan/fix-tests-softdevices
...
Fixing test builds for devices with softdevices.
2016-06-15 15:25:51 +01:00
Brian Daniels
5a46ac773b
Fixing test builds for devices with softdevices.
...
Previously, .hex files were not copied when building source as a library.
This prevents builds that pre compile source as a library and then
includes the build directory as the only source (because there is no
softdevice present). This PR copies hex files when compiling source
as a library.
2016-06-15 15:21:16 +01:00
Christopher Haster
41daccf8d9
[build tools] Fixed masked out configuration error
2016-06-15 08:38:20 -05:00
Christopher Haster
f45dc15aa8
[build tools] Added test for configurations set from same level as feature
2016-06-15 08:38:20 -05:00
Christopher Haster
e70efe3a41
[build tools] Made config settings compatible with features system
...
per @screamerbg
2016-06-15 08:38:20 -05:00
Christopher Haster
6da324fa3f
[build tools] Added test coverage for config features feature
2016-06-15 08:38:20 -05:00
Christopher Haster
d9749b0447
[build tools] Added list of supported features
...
per @screamerbg
2016-06-15 08:38:20 -05:00
Christopher Haster
ce0606a756
[build tools] Added better support for features and recursive configs
...
per @screamerbg
2016-06-15 08:38:20 -05:00
Sam Grove
2a4a02caa7
Merge pull request #1944 from mbedmicro/ctrl-c-traceback
...
Fixes the python traceback when the user does ctrl+c during compilation
2016-06-15 12:29:21 +01:00
Mihail Stoyanov
edc1fa1865
Fixes the python traceback when the user does ctrl+c during compilation
2016-06-15 01:08:35 +01:00
Mihail Stoyanov
d0db5c94e5
Removed IAR --vla flag which breaks compatibility with IAR Workbench
2016-06-15 00:06:43 +01:00
Sam Grove
7d0060aa7b
Revert "Fix iar exporter - flags duplication and consolidations"
2016-06-14 23:31:57 +01:00
0xc0170
dea0b1d598
iar template - disable vla
2016-06-14 21:39:02 +01:00
Martin Kojtal
9b5adb8cd1
Merge pull request #1752 from svastm/add_nucleo_l011k4
...
Add NUCLEO_L011K4
2016-06-14 22:00:28 +02:00
Martin Kojtal
ba69e82fc7
Merge pull request #1850 from LMESTM/dev_new_serial_complete_test
...
Add a serial transmission complete test
2016-06-14 21:54:48 +02:00
Martin Kojtal
1f9d28346f
Merge pull request #1924 from 0xc0170/fix_armcc
...
Fix armcc ulib template - removal
2016-06-14 20:06:26 +02:00
Martin Kojtal
cfa4d0c855
Merge pull request #1938 from 0xc0170/fix_iar
...
Fix iar exporter - flags duplication and consolidations
2016-06-14 18:45:16 +02:00
0xc0170
69c3da581d
iar - flags consolidation
...
- vla flag is not compatible with c++ (not supported), it generates an error
in the IDE. Therefore we remove it
- common flags - add dlib and thum to the common flags.
- cpu flag is for only runtime cmd, IDE sets it via defined MCU, not required.
2016-06-14 16:19:39 +01:00
Mihail Stoyanov
ffa45c9935
Merge pull request #1932 from geky/fix-dup-feature-defines
...
Removed duplicate feature declarations
2016-06-14 15:59:47 +01:00
0xc0170
bf6b88aa62
iar template - fix output obj - generate a binary
2016-06-14 14:37:04 +01:00
Olaf Hagendorf
e829d8b34d
[uviosn5] some fixes for PR #1933
...
- one missing import
- typo: uvision instead of uvision5 used
2016-06-14 14:53:22 +02:00
0xc0170
58aa227a8c
armcc - fix libpath - windows spaces
2016-06-14 13:03:15 +01:00
Martin Kojtal
262b2e4a46
Merge pull request #1933 from 0xc0170/fix_uvision_cpp
...
uvision - remove --cpp flag from exporters
2016-06-14 13:43:02 +02:00
0xc0170
a3e1143317
uvision - remove --cpp flag from exporters
...
The cpp files are by default compiled with --cpp. Including this flag, causing
C files compiled as C++ files. Thus we remove them. We could potentionally
remove it from cxx flags as well.
2016-06-14 12:33:26 +01:00
Laurent Meunier
8cb46bc602
Add a serial transmission complete test
...
This automated test makes sure that the serial
syncrhonous API ensures a full transmission before
the function returns. The complete string sent by
printf shall be completely transferred before printf
returns and the sleep modes are called.
mbed Issue #1849
2016-06-14 12:03:22 +02:00
Christopher Haster
54118c09a6
Removed duplicate feature declarations
2016-06-13 23:23:03 -05:00
Mihail Stoyanov
bd2159db26
Merge pull request #1930 from mbedmicro/iar-fix
...
Fixed flag for IAR
2016-06-14 05:09:10 +01:00
Mihail Stoyanov
3fa9ed79a5
Fixed flag for IAR
2016-06-14 04:42:45 +01:00
Brian Daniels
1bcd64301a
Lower case test names, blob matching test names, and sort test names for prints
2016-06-14 02:14:45 +01:00
Brian Daniels
f622c591e8
Handling exceptions throughout test flow
2016-06-14 02:14:44 +01:00
Brian Daniels
6796025e78
Fixes for logs and test logic in tools
2016-06-14 02:14:42 +01:00
Mihail Stoyanov
dcff9b15e7
Minor update to tools - logging of tests and output
2016-06-14 01:57:01 +01:00
0xc0170
269697d6d4
targets - remove ulib template
...
armcc provides command line option for choosing a lib type, and we use this,
thus a template is not needed.
2016-06-14 00:41:45 +01:00
0xc0170
4ebdb4556c
uvision template - remove injected misc flags (already defined as armcc flags)
2016-06-14 00:26:27 +01:00
Martin Kojtal
bb8994b270
Merge pull request #1903 from ytsuboi/master
...
[HRM1017] Update exporting template
2016-06-13 23:38:01 +02:00
Martin Kojtal
b28f7108f7
Merge pull request #1918 from ARM-software/master
...
[BEETLE] Enable RTOS on Beetle
2016-06-13 23:06:25 +02:00
0xc0170
724715002a
uvision - flags consolidation
...
Remove error for include system path in the exporters. Assembly does not use
armcc flags, fails to build, as those are not valid armasm.
2016-06-13 17:53:08 +01:00
0xc0170
dbc940b9b3
uvision exporter - use only c flags
...
cxx flags are not needed as uvision uses C/C++ tab (thus c_flags only)
2016-06-13 17:22:27 +01:00
0xc0170
160030052b
armcc - fix include path for armcc bin file correction
2016-06-13 16:55:56 +01:00
0xc0170
0b2c37a17c
uvision exporter - fix cxx flag - remove ld flags
...
This was a bug, as ld flags should not be part of cxx flags. They result as some
options not recognized.
2016-06-13 16:51:54 +01:00
0xc0170
a92bf1c3b8
Tools/project - project dir should be the list
...
The project dir if using just project.py shall be a list of directories.
2016-06-13 16:51:40 +01:00
Vincenzo Frascino
f8d7a76128
[BEETLE] Enable RTOS on Beetle
...
This patch enables RTOS support on Beetle.
It contains:
* Updated Beetle Startup code for ARMCC
* Modified SysTick Driver
* RTOS specific configuration parameters
* RTOS specific test suite enablement
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 16:21:19 +01:00
0xc0170
88054fa959
IAR - add ld flags to link hook
2016-06-13 16:02:50 +01:00
0xc0170
dde970dc4a
Tools/export - iar fix misc dictionary update
...
progen defines flags as misc, thus we need to add flags to misc.
2016-06-13 16:02:48 +01:00
Jimmy Brisson
a4baaf8d5c
Move IAR linker flags into the DEFAULT_FLAGS dict
2016-06-13 16:02:47 +01:00
Jimmy Brisson
685f4ed648
Adds -funsigned-char to default gcc args
...
It would resolve #1525 , but for the fact that KDS is used.
2016-06-13 16:02:45 +01:00
Jimmy Brisson
c6fc70e461
Updates exportes to use flags from toolchains
...
Affects the following exporters:
- amtelstudio
- codered
- emblocks
- gcc_arm
- iar
- simplicityv3
2016-06-13 16:02:43 +01:00
Jimmy Brisson
e3b9def8cf
Refactors all toolchains to have flags api
2016-06-13 15:58:23 +01:00
Martin Kojtal
3a0d5611dd
Merge pull request #1911 from mbedmicro/config-tests
...
Config tests, GCC flags, requirements.txt
2016-06-13 16:52:49 +02:00
Vincenzo Frascino
4f61cfd7f6
[BEETLE] Add support for GCC ARM exporter
...
This patch adds support for GCC ARM exporter to the Beetle Target.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:47 +01:00
Vincenzo Frascino
c1442139a0
[BEETLE] Add support for uVision 5 exporter
...
This patch adds support for uVision 5 exporter to the Beetle Target.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 14:26:45 +01:00
Vincenzo Frascino
0d3268b61c
[BEETLE] Add initial support
...
This patch adds support for the BEETLE Target. The compilers supported by
this target are:
* ARMCC
* GCC ARM
The exporters and the CMSIS/HAL components will follow in future patches.
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-06-13 11:55:33 +01:00
svastm
c9bf3ca2fd
[NUCLEO_L011K4] Add to the build and export scripts
2016-06-13 10:24:19 +02:00
Sam Grove
5acdad9fd7
Merge pull request #1907 from c1728p9/only_allow_one_thread_for_unsafe_stdlib
...
Only allow one thread for unsafe stdlib
2016-06-12 22:03:07 +01:00
Martin Kojtal
7bb4378f2d
Merge pull request #1901 from theotherjimmy/uvision4-alias
...
Add alias for uvision4 exporter
2016-06-12 22:00:16 +02:00
Mihail Stoyanov
0034ffb716
Add tests to the config system. Add GCC flags to support uVisor
2016-06-12 19:04:41 +01:00
Russ Butler
3db2c030d2
Only allow one thread on unsafe standard libs
...
When using a standard library which does not support multi-threading
allow only one thread to be used. This allows the code to remain
safe.
2016-06-12 18:18:40 +01:00
Mihail Stoyanov
8f4cb59002
Added script for detecting connected mbed targets/boards
2016-06-12 10:59:51 +01:00
Mihail Stoyanov
9dbf80722d
Aligned make.py and build.py options
2016-06-12 01:06:15 +01:00
Christopher Haster
2d38065e1f
[build tools] Added support for completely overriding cumulative attributes
2016-06-11 15:45:11 -05:00
Christopher Haster
36904fad1f
[build tools] Moved cumulative attributes into target overrides
...
Attributes now get the filtering provided by target_overrides:
{
"name": "cmsis-nodejs-SQL-x86",
"target_overrides": {
"*": {
"device_has": ["SILLY_STRING", "FIRE"]
},
"SHOE": {
"features_add": ["SMELLS_FUNNY"],
"features_remove": ["SMELLS_NICE"],
}
}
}
per @screamerbg
2016-06-11 15:30:26 -05:00
Christopher Haster
e3bde44b87
[build tools] Added support for cumulative attributes in configs directly
...
in mbed_lib.json:
{
"name": "cmsis-nodejs-SQL-x86",
"features_add": ["SMELLS_FUNNY"],
"features_remove": ["SMELLS_NICE"],
"device_has": ["SILLY_STRING", "FIRE"]
}
2016-06-11 14:44:59 -05:00
Yoshihiro TSUBOI
3c2229a2b1
[HRM1017] Update exporting template
...
changed merging softdevice from s110 to s130
2016-06-11 08:06:06 +09:00
Jimmy Brisson
e333f9008f
Add alias for uvision4 exporter
...
it is now called both uvision (old name) and uvision4 (new alias)
2016-06-10 14:22:30 -05:00
Mihail Stoyanov
f6acb1ffb4
Forward ported changes to tools
2016-06-10 15:19:02 +01:00
Mihail Stoyanov
51c10165ca
Fixed toolchain flags so exporters can use them
2016-06-10 13:12:21 +01:00
Mihail Stoyanov
75a18ff1a3
Add config system macros to exporters
...
Support various exporter features
2016-06-10 11:27:23 +01:00
Mihail Stoyanov
9f62d70fbf
Update project generator script to allow working with any source
...
Update test exporters script
Update travis build script
Added config system CLI script
Fixed building of legacy libraries and layouts
2016-06-10 02:24:27 +01:00
Mihail Stoyanov
c2e3001739
Add config system, memap, updates to build_api and toolchains
2016-06-09 23:50:03 +01:00
Mihail Stoyanov
773dab514e
Add --source option to both build.py and make.py. Also add test.py script for compiling and listing tests
2016-06-09 23:11:23 +01:00
Mihail Stoyanov
87a978c4e8
Move private_settings.py to root mbed_settings.py. Various updates to reflect the path changes
2016-06-09 22:24:05 +01:00
Mihail Stoyanov
5e6722dbab
Ported updates to targets, utils and settings scripts
2016-06-09 22:05:35 +01:00
Mihail Stoyanov
42c62abed1
Further changes to reflect workspace_tools to tools rename
2016-06-09 21:40:54 +01:00
Mihail Stoyanov
3d45b2cdbb
Renamed workspace_tools folder to tools
2016-06-09 21:34:53 +01:00