Jimmy Brisson
243b079d2b
Pass requires in mbed_app.json test
2019-01-15 17:05:43 -06:00
Jimmy Brisson
dea8ea9f77
Add failing test that asserts mbed_app.json can require
2019-01-15 17:04:56 -06:00
Jimmy Brisson
e2849e6201
Implement and test filtering resources by libraries
2019-01-15 14:44:54 -06:00
deepikabhavnani
8547f26872
Add missing ARMC6 flags - MBED_DEBUG and MBED_TRAP_ERRORS_ENABLED
2019-01-15 13:39:06 -06:00
deepikabhavnani
347acd1459
Add SHA for "Move Idle and Timer thread stack to bss section" commit
2019-01-15 12:08:49 -06:00
Deepika
255661e55b
Adding debugger awarness with Keil MDK
...
Main thread in Mbed OS is statically allocated and was not available in call
stack of Keil MDK. The RTX5 kernel requires statically allocated thread
information objects that are placed into a specific section to enable RTOS
thread awareness in Keil MDK. This fix is to keep main thread in specific
section of memory.
2019-01-15 12:04:39 -06:00
Andriy.Lishchynskyi
7a85ae75e6
Reworked launch configuration creation mechanism - switched to single template. Specific data comes from the JSON file
2019-01-15 16:08:59 +02:00
Andriy.Lishchynskyi
9fa2c75912
added support for debug and program launch configurations
2019-01-15 16:08:59 +02:00
Michal Paszta
59e8dedb67
TCP/UDP greentea tests refactoring and cleanup
2019-01-15 10:00:35 +01:00
Martin Kojtal
5212cc6544
Merge pull request #6622 from NXPmicro/Add_KW41Z_Thread
...
Add nanostack support for KW41Z
2019-01-14 14:00:14 +01:00
Martin Kojtal
c5014f4e19
Merge pull request #9324 from kfnta/avoid_mbed_tz_context
...
Avoid building mbed_tz_context.c for TF-M targets
2019-01-14 08:56:25 +00:00
Martin Kojtal
116e42f840
Merge pull request #9295 from deepikabhavnani/iar_asm
...
Add missing END to Armv8M IAR assembly files
2019-01-14 08:54:21 +00:00
kegilbert
70b9b753db
Add doxygen spellcheck jobs to Travis
...
Currently tests
- drivers
- platform
- rtos
- events
- features/netsocket
2019-01-11 10:22:15 -06:00
Deepika
09db6565e4
Added IAR assembly file update commit to cmsis importer
...
In future when performing CMSIS update b228cd9db0
commit can be merged to 287121ffdc
-
CMSIS/RTX: Pre-processor defines used for assembly
2019-01-10 13:59:59 -06:00
Michael Schwarcz
1e8169df37
Update cmsis_importer.json SHAs
...
- Missing: CMSIS/RTX: Patch to conditionally compile (fb354752eb
)
- New: CMSIS/CORTEX-M: Don't build mbed_tz_context.c in TF-M targets (d3f7abdb7c
)
2019-01-10 18:08:09 +02:00
Mahesh Mahadevan
7981fdfb09
Supply test config for KW41Z
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-10 09:35:24 -06:00
Michael Schwarcz
dba44e6c4b
tools/importer script changes
2019-01-10 10:27:19 +02:00
Cruz Monrreal
f8d7c31a9b
Merge pull request #9188 from SenRamakri/sen_ErrorUrlEnhance
...
Add more information to error url to enhance error analytics
2019-01-10 00:12:46 -06:00
Brian Daniels
9f340edbb2
uARM targets now build in correct ARM_MICRO directory
...
This is for OS2 testing. Previously, targets that were configured with
the option "default_toolchain": "uARM" would still build to a
TOOLCHAIN_ARM_STD directory. This fixes these targets to build into
TOOLCHAIN_ARM_MICRO.
2019-01-09 11:02:10 -06:00
Jimmy Brisson
e10adffa31
Test the Resources object
2019-01-09 10:43:17 -06:00
Mahesh Mahadevan
585a4b6ddd
Add nanostack support for KW41Z
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 07:43:41 -06:00
Martin Kojtal
63eca294a1
Merge pull request #9163 from InfernoEmbedded/fix-8913-partner
...
Don't use define checks on DEVICE_FOO macros (partner code)
2019-01-07 16:37:24 +00:00
Senthil Ramakrishnan
3e6dafa71a
Removed extra space
2019-01-04 09:33:33 -06:00
Senthil Ramakrishnan
f10ed4b286
Add more information to error url to enhance error analytics
2019-01-04 09:24:31 -06:00
jeromecoutant
4b67820f8a
NUCLEO_H743ZI: add initial SDK
2019-01-04 10:03:36 +01:00
Cruz Monrreal
57c2079605
Merge pull request #9154 from kjbracey-arm/armc6_hardfp
...
ARMC6: Use float-abi=hard
2019-01-03 10:34:23 -06:00
Alastair D'Silva
aa80b7c70a
Don't use define checks on DEVICE_FOO macros (partner code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 20:02:29 +11:00
Cruz Monrreal
442cbba141
Merge pull request #7799 from bridadan/remove_allowed_features
...
Removing feature names from the "allowed feature" config list.
2018-12-19 13:37:59 -06:00
Kevin Bracey
dddeab7414
ARMC6: Use float-abi=hard
...
For binary compatibility with ARMC5, use the hard ABI variant whenever
we have FP hardware - this is ARMC5's default behaviour, which we do not
override.
Cortex-M4F was already using hard; this brings M7F and M33F into line.
2018-12-19 14:28:35 +02:00
Cruz Monrreal
891427cb7d
Merge pull request #9097 from NXPmicro/Add_CM33FD
...
Update to add support for Cortex-M33FD
2018-12-17 14:44:20 -06:00
Brian Daniels
27bcaa47d5
Fixing execution of OS2 tests
2018-12-14 09:58:09 -06:00
Mahesh Mahadevan
4649a6ee5f
Update to add support for Cortex-M33FD
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-13 14:11:49 -06:00
Anna Bridge
a91dccd901
Merge pull request #9072 from theotherjimmy/toggle-memory-defines
...
Enable stats reporting with a flag in targets.json
2018-12-13 15:10:46 +00:00
Martin Kojtal
93da33f151
Merge pull request #8995 from NXPmicro/Update_for_M33_FD
...
Add core option for Cortex-M33 with DSP enabled
2018-12-12 14:43:43 +01:00
Jimmy Brisson
9dbdbe8e85
Enable stats reporting with a flag in targets.json
...
### Description
PR #8607 will cause problems for the NRF52832 and the NRF52840
in the online compiler starting with 5.10.2. This PR prevents this problem
by using a toggle in `targets.json` to enable these new defines for every
target except for the NRF52832 and NRF52840.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-11 15:58:37 -06:00
Cruz Monrreal
3df9421cc1
Merge pull request #8993 from yennster/table-md
...
Apply GitHub style to exporter matrix
2018-12-10 13:58:18 -06:00
deepikabhavnani
f05e7b77d0
Add core option for Cortex-M33 with DSP enabled
...
Signed-off-by: Deepika Bhavnani <Deepika.Bhavnani@arm.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-07 12:20:01 -06:00
Brian Daniels
0af1a4bcd2
Removing feature names from the "allowed feature" config list.
...
These features have all been removed from Mbed OS in the past. This
prevents their use in the future.
2018-12-07 10:02:42 -06:00
Cruz Monrreal
211c662b6d
Merge pull request #8980 from kjbracey-arm/iar8_memap
...
memap.py: Cope with IAR 8 linker map
2018-12-06 21:27:22 -06:00
Cruz Monrreal
035e8e0b77
Merge pull request #8964 from kfnta/parser_empty_tests
...
Correct behavior of PSA code generator
2018-12-06 21:25:42 -06:00
Cruz Monrreal
243b9dfdcf
Merge pull request #8982 from bridadan/fix_duplicate_macros
...
Ensure macros and parameters with the same name are not repeated.
2018-12-06 21:23:21 -06:00
Jenny Plunkett
4e466b7ff8
Removed "ALL" from PrettyTable import
2018-12-06 14:42:41 -06:00
Jenny Plunkett
a578768c48
Apply GitHub style to exporter matrix
2018-12-06 14:42:41 -06:00
Cruz Monrreal
78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
...
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
Brian Daniels
fa4ead048d
Config parameters override macros
2018-12-06 11:19:24 -06:00
Brian Daniels
b8cdfc5369
Adding unit test for macro config
2018-12-06 10:36:49 -06:00
Brian Daniels
5957ffd306
Ensure macros and parameters with the same name are not repeated.
...
This covers the case when a macro is set with the same name as a
parameter. Previously, the macro would be repeated on the command line,
which causes certain toolchains to break (ex. IAR assembler). Now the
config system will override the parameter's value with the macro's
value.
2018-12-06 10:31:38 -06:00
Oren Cohen
935f2bdfbc
Correct behavior of PSA code generator
...
* Don't generate files if a test does not contain additional partitions
2018-12-06 18:17:09 +02:00
Oren Cohen
c4c21d2d1f
Ignore PSA secure targets
2018-12-06 17:43:34 +02:00
Oren Cohen
2e19868ff9
Prepare postbuild for prebuilt images
2018-12-06 09:35:50 +02:00
Kevin Bracey
983d0d49e4
memap.py: Cope with IAR 8 linker map
...
IAR 8 linker map puts C++14-style apostrophe digit separators in its
addresses, such as:
.data inited 0x2000'1ff0 0x4 mbed_rtx_idle.o [159]
Extend the regex pattern to allow this.
2018-12-05 15:47:32 +02:00
Cruz Monrreal
a1625895c3
Merge pull request #8097 from JammuKekkonen/fix_bootloader_build_for_nrf52
...
Add support for nrf52_dk bootloader
2018-12-04 16:10:15 -06:00
Oren Cohen
f1d3eb9340
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-04 18:38:50 +02:00
Oren Cohen
4514da6db3
Fix target handling in build.ppy
2018-12-03 18:25:25 +02:00
Martin Kojtal
b0054897b1
Merge pull request #8854 from AdamZhang0124/realtek-rtl8195am-SMCC_FOTA-bin_file_name-update
...
SMCC FOTA: bin name change
2018-12-03 13:23:53 +01:00
Cruz Monrreal
2b46b1d64d
Merge pull request #8779 from theotherjimmy/memap-better-old
...
Migrate old memap file handling into toolchains
2018-11-30 17:51:08 -06:00
Cruz Monrreal II
fca8877fea
Revert "Merge pull request #8788 from kaidokert/master"
...
This reverts commit d478d6bf80
, reversing
changes made to f9d07f373f
.
2018-11-30 00:06:05 -06:00
Cruz Monrreal
5047ea4f42
Merge pull request #8889 from kfnta/psa_travis_check
...
Add PSA code generation check in travis
2018-11-29 10:23:25 -06:00
Cruz Monrreal
d6b2a1a6da
Merge pull request #8835 from OPpuolitaival/balancing_examples
...
Moving some examples testing from K64F to K66F
2018-11-29 10:22:56 -06:00
Cruz Monrreal
d478d6bf80
Merge pull request #8788 from kaidokert/master
...
Fix unsigned packing bug in merge_regions #8544
2018-11-29 10:22:18 -06:00
Anna Bridge
f9d07f373f
Merge pull request #8898 from cmonr/add-crypto-example
...
Add crypto example to examples.json
2018-11-29 13:53:47 +00:00
Martin Kojtal
d45917e4cd
Merge pull request #8897 from cmonr/add-tls-socket-example
...
Add TLS Sockets example to examples.json
2018-11-29 10:03:24 +01:00
Cruz Monrreal II
9cedb1a687
Added tls-socket example to examples.json
2018-11-28 19:32:17 -06:00
Cruz Monrreal
78401ed751
Merge pull request #8896 from deepikabhavnani/stats_example
...
Update Statistics examples in example test json
2018-11-28 18:51:36 -06:00
Oren Cohen
dcba1e76d1
SPM code generator support for python 2 & 3
2018-11-29 01:58:35 +02:00
Cruz Monrreal II
5ecf9a27d6
Added crypto example to examples.json
2018-11-28 15:22:19 -06:00
Deepika
66863e23ee
Switch between K64F/K66F for statistics example
2018-11-28 14:02:43 -06:00
Deepika
5ff118dfce
Add socket stats example
2018-11-28 13:55:34 -06:00
Senthil Ramakrishnan
b1a7b45135
Add crash-reporting example to examples.json
2018-11-28 12:56:48 -06:00
Martin Kojtal
c0108b1b48
Merge pull request #8863 from offirko/offir-examples-kvstore
...
Adding KVStore Examples for Global API
2018-11-28 13:53:51 +01:00
Oren Cohen
45bd4f305a
Add SPM code generation test to Travis-CI
2018-11-28 14:38:44 +02:00
Martin Kojtal
e69aa15aea
Merge pull request #8744 from kfnta/psa_spm_base
...
PSA Secure partition manager and services
2018-11-27 15:26:38 +01:00
offirko
b34de42c9b
removed kvstore-class-api example
2018-11-27 14:24:56 +02:00
Martin Kojtal
f4774a9a59
Merge pull request #8840 from miyuki/master
...
Fix build of library archive with Arm Compiler 6
2018-11-27 09:12:50 +01:00
Oren Cohen
773ac8dd95
CR fixes
2018-11-27 09:16:45 +02:00
Alexander Zilberkant
2b9f94a0ad
Remove dead code
2018-11-27 09:16:45 +02:00
Oren Cohen
6cd4f7789f
Add Version to SPM templates and generator
2018-11-27 09:16:43 +02:00
Alexander Zilberkant
9cc017fd48
Normalize license headers
...
- add SPDX license identifier
- add missing license headers
- update year in license headers
2018-11-27 09:16:40 +02:00
Alexander Zilberkant
aea01a86f6
astyle changes
2018-11-27 09:16:38 +02:00
Jimmy Brisson
c7d3523a4e
Include `deliver_into` in Config mock
2018-11-27 09:16:36 +02:00
Oren Cohen
dd73fa689c
PSA SPM
...
* Intorduce PSA-SPM to mbed-os
* Add SPM tests (for PSA targets)
* Add PSA PRoT internal storage Secure implementation
* Integrate SPM into the boot proccess
* PSA manifest data generator
* Introduce PSA targets skeleton to mbed-os
* Add artifact delivery to the tools
2018-11-27 09:16:35 +02:00
deepikabhavnani
c272377a81
Make sure no memory overhead if statistics are disabled
2018-11-26 09:42:45 -06:00
Deepika
f6c1a40b29
Add config options for socket statistics
...
1. MBED_CONF_NSAPI_SOCKET_STATS_ENABLE to enable the statistics
2. MBED_CONF_NSAPI_SOCKET_STATS_MAX_COUNT max sockets statistics cached
2018-11-26 09:42:45 -06:00
Jimmy Brisson
38d8bb64fa
Migrate old memap file handling into toolchains
...
### Description
This PR moves the old memap file handling required for differential
memap from within memap to the toolchain object. This has the
advantage that we can do the `mv <app>.map <app>.map.old` the moment
before it is overwritten by the linker. This should allow multiple
reruns of memap without modifying your build directory.
### Pull request type
[ ] Fix
[x] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-26 08:47:40 -06:00
Offir Kochalsky
7972092867
Added KVStore Examples for Global and Class APIs
2018-11-25 08:51:51 +02:00
Martin Kojtal
6c1c1693f5
Merge branch 'wio3g-export' of https://github.com/SeeedJP/mbed-os into dev_rollup
2018-11-24 21:15:49 +00:00
Martin Kojtal
e72b7c3b96
Merge pull request #8803 from theotherjimmy/armc6-armc5-compat
...
Compatibilize ArmC6 with ArmC5-built archives
2018-11-24 19:48:13 +01:00
Lu
3f7b235782
This PR modifies the name of the bin file generated for SMCC FOTA feature
...
This PR modifies the name of the bin file generated for SMCC FOTA feature
Description
Modify name of the bin file from '-payload.bin' to '_update.bin' in REALTEK_RTL8195AM.py file to adapt the manifest tool requirment for the SMCC FOTA feature.
Pull request type
[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-23 21:00:46 +08:00
Mikhail Maltsev
d16388354a
Fix build of library archive with Arm Compiler 6
...
The 'archive' method of the toolchain class 'ARM' expects that self.ar
is a string, but the constructor of the class 'ARMC6' initializes it
with a list. This patch fixes the issue.
2018-11-22 13:32:20 +00:00
Martin Kojtal
5b42e2886f
Merge pull request #8607 from aashishc1988/ram_rom_fetch
...
Fetch ram/rom start/size
2018-11-22 10:49:50 +01:00
Olli-Pekka Puolitaival
dcafca7705
Moving some examples testing from K64F to K66F
2018-11-22 10:13:43 +02:00
Jimmy Brisson
b1b69d2d60
Compatibilize ArmC6 with ArmC5-built archives
...
### Description
Arm compiler 5 builds with "short" enums and "short" wchars. This means
that C/C++ enums will be packed into the smallest power of 2 number of
bytes by the compiler and the `wchar_t` is 2 bytes. Arm compiler 6
defaults to packing enums into 4 bytes and `wchar_t` is 4 bytes.
Further, Arm Compiler 5's `-O0` (no optimizations) bulids will actually
do some amount of optimizing, similar to Arm Compiler 6's `-O1`. I have
switched the debug profile to `-O1` for maximum compatibility with our
prior behavior.
NOTE: "Compatibilize" is a word
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-19 11:43:05 -06:00
Martin Kojtal
13b60c2991
Merge pull request #8673 from kegilbert/config-range-limits-dev
...
Add Mbed Configuration Option Range Limits
2018-11-19 13:14:02 +00:00
kert
6815409fe7
Fix unsigned packing bug in merge_regions #8544
2018-11-17 17:57:46 -08:00
Yoshihiro TSUBOI
a1d2ac7462
[Wio 3G] Adding IAR exporting definition
2018-11-18 00:35:37 +09:00
Brian Daniels
6cab1e0018
Fixing traceback when running mbed test
2018-11-16 15:28:50 -06:00
Cruz Monrreal
fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
...
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Aashish chaddha
0c594a42dc
The check for managed bootloader support should be in regions and we need a try/catch when we call it.
...
Moved "bootloader_not_supported" check to where it was and handle that exception at only one place.
Removed ram/rom size info for realtek from targets.json. THe info we have is not correct.
was Not handling config exceptions from regions and ram_regions property
adding rom-ram info for REALTEK_RTL8195AM
2018-11-15 15:28:14 -06:00
kegilbert
c26c258c66
Update expected error message
2018-11-15 12:24:06 -06:00
kegilbert
9116b9921b
Remove redundent line
2018-11-15 11:44:53 -06:00
Brian Daniels
5ec1d7c221
Update tools/config/__init__.py
...
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2018-11-15 11:43:41 -06:00
Martin Kojtal
caae883306
Merge branch 'Musca_march' of https://github.com/deepikabhavnani/mbed-os into dev_rollup
2018-11-15 14:02:14 +00:00
Martin Kojtal
d925d124c9
Merge branch 'remove-filer-paths' of https://github.com/theotherjimmy/mbed into dev_rollup
2018-11-15 13:58:45 +00:00
kegilbert
9d9cd84942
Refactor logic to improve readability
...
Move JSON accepted value ranges back to JSON array
2018-11-14 18:31:59 -06:00
Martin Kojtal
82f195c021
Merge pull request #8696 from theotherjimmy/handle-parent-renames
...
Resources: Avoid assuming that deps have a sane name
2018-11-14 08:26:11 +00:00
kegilbert
7a436660e9
Handle None and hex values in string format
2018-11-13 16:12:35 -06:00
Jimmy Brisson
3db1a8aa67
Avoid constructing a FileRef when we don't use it
2018-11-13 09:53:50 -06:00
Deepika
a6ed5fcbd0
Adding arch option instead MCPU for no dsp and no fpu support
...
No FPU option is valid, but supported only for 8.x releases, with 7.x release
+nofp gives build errors.
2018-11-13 08:21:31 -06:00
Aashish chaddha
1627968bcb
Missed one change to convert into right data type
2018-11-12 13:37:27 -06:00
Aashish chaddha
3956451c07
Fixing some corner cases
...
1. Adding SRAM in available ram
2. If the target doesn't exist in cmsis but targets.json, handle accordingly and raise apt exceptions where needed.
3. If no sram is provided, raise exception
2018-11-12 13:28:01 -06:00
Jimmy Brisson
6e63acaa4e
Resources: Avoid assuming that deps have a sane name
...
### Description
The prior fix assume that the dependencies through `.lib` references
would have a "sane" name. My definition of "sane" here is that the
reference will have a path that starts with the path to the `.lib` file
and _removes_ the `.lib` suffix. The online compiler does not remove the
`.lib` suffix. Instead, it keeps it. This makes the string replacement
in the prior PR fail.
Also, this is faster, and simpler.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-09 13:15:13 -06:00
Jimmy Brisson
b99fd4058b
Resources: Use path names for ignored dirs
...
### Description
Ignored directories are collected for the sake of exporters that use
a blacklist-style approach similar to these build tools. This ignore
list will include `/filer/<gibberish>` when exported from the online
Compiler. This patch fixes that behavoir.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-09 13:11:40 -06:00
Cruz Monrreal II
6ab56d978e
Merge branch 'quote-includes-2' of ssh://github.com/moonchen/mbed-os into rollup
2018-11-09 11:40:32 -06:00
Naveen Kaje
38ce7b13e7
tools: fix up build_api padding logic and clean up unused code
...
Patch from the end of the first segment. Remove unused code.
2018-11-09 10:36:25 -06:00
kegilbert
b53738750f
Add guard against accepted and range definitions.
...
Minor reformat of error text on accepted value messages
2018-11-08 19:00:39 -06:00
Brian Daniels
172abc8dcb
Correcting name of config test
2018-11-08 16:56:00 -06:00
Brian Daniels
06cce95b55
Fixing the recursive feature conflict config test
2018-11-08 16:56:00 -06:00
Brian Daniels
332a67a112
Moving LWIP feature to BOOTLOADER in config testing
2018-11-08 16:56:00 -06:00
Brian Daniels
f9b236a0e1
Fixing tool config tests
2018-11-08 16:55:59 -06:00
Brian Daniels
74586ec2ab
Re-add "fetaure_recursive_conflict" config test
2018-11-08 16:55:59 -06:00
Cruz Monrreal II
14a9824511
Merge branch 'root-include-path' of ssh://github.com/theotherjimmy/mbed into rollup
2018-11-08 13:24:12 -06:00
Naveen Kaje
858a7a8321
tools: Update build_api
...
Rename loop varibles for better readability and
formatting changes.
2018-11-08 13:00:27 -06:00
kegilbert
a834794b53
Add range specifers for config values
2018-11-08 10:18:30 -06:00
Jimmy Brisson
95e2b07ad8
Resources: Compute parents using only header names
...
### Description
The prior fix made the assumption that you wanted to compute all of the
parents for a give header file going all the way up the path. This is
not true: you probably want to stop when the project stops. We already
keep track of a virtual name within the project, so instead, we compute
parents of the name, and generate the actual location of these files in
your FS as the path. This makes the solution robust offline and online
(I tested it with my local copy of os.mbed.com)
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-08 09:23:49 -06:00
Martin Kojtal
ed1ecd2484
Merge branch 'rm-ds5' of https://github.com/theotherjimmy/mbed into dev_rollup
2018-11-08 09:20:28 +00:00
Naveen Kaje
bd40457f27
tools: Update build_api padding method
...
Update the padding sequence so that the gaps
are padded after all the regions are merged.
This avoids overwriting active regions and
serializes the process.
2018-11-07 14:43:14 -06:00
Aashish chaddha
27f20c7478
Fetch RAM/ROM information from CMSIS pack and add as defines
...
RAM/ROM memory data of target is required for statistics and linker
files, goal here is to fetch maximum 4 RAM/ROM regions from CMSIS pack
and make them available for C/C++/Linker flags as defines
2018-11-07 10:20:28 -06:00
Jimmy Brisson
0cba0a34dd
Online: Include project root path
...
### Description
The prior logic assumed that "." would not be added to the include
paths, indicating that the project root would not be added to the
include paths correctly in the online environment ("." would be
incorrect there). This change set started by removing the addition
of "*.", and then fixed building from there.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-11-06 13:47:26 -06:00
Deepika Bhavnani
ba86a53871
Update tools/toolchains/gcc.py
2018-11-05 17:44:18 +01:00
jeromecoutant
1ea28973b2
TOOLS : Add missing M33 and M33F in python scripts
2018-11-05 17:44:15 +01:00
Martin Kojtal
909c11b860
Merge pull request #8605 from adbridge/master
...
Make examples commands return a failure
2018-11-05 17:16:28 +01:00
Naveen Kaje
e28c260763
tools: update build_api and __init__ as per review comments
2018-11-04 19:47:06 -06:00
Cruz Monrreal
0e6eac5faa
Merge pull request #8491 from lrusinowicz/new-target-future_sequana
...
New target future sequana
2018-11-03 07:05:58 -05:00
Leszek Rusinowicz
53477848f5
Disabled makefile exporters for PSoC 6 based targets.
2018-11-02 17:27:56 +01:00
Leszek Rusinowicz
7d322dcd41
Simplified M0/M4 binary merging functionality. Now, M0 binary image to be used has to be explicitely named in a json file (can be ovverriden in mbed_app.json).
...
Exporter hooks removed completely.
Cleanup and improvements to the comments, including removal of the redundant doxygen comments.
Code run through astyle. Additionally:
- changes to drivers/Timer.cpp reverted
- ipcpipe_transport.* files removed as they are not used for now,
- fixed condition in stdio_init.cpp to perform serial initialization only when STDIO is enabled,
- added missing resurce manager call in PWM initialization,
- us_ticker initialization changed to use pre-reserved clock divider (to avoid resource manager call).
Changed reporting level from info to debug in PSOC6.py.
Added missing includes for function declarations in startup files.
Fixed (removed) garbadge text in psoc6_utils.c
Precompiled binaries updated for recent changes in psoc6_utils.c and moved to a separate folder; README and LICENSE files added.
2018-11-01 22:14:06 +01:00
Cruz Monrreal
9c5fc7dc7c
Merge pull request #8538 from theotherjimmy/rework-make-cli
...
Rework make.py CLI to avoid treating apps as tests
2018-11-01 15:46:46 -05:00
Cruz Monrreal
48bb1a54f0
Merge pull request #8577 from lassebm/fix-makefile-export-with-python-3
...
Fix Makefile export with Python 3
2018-11-01 15:34:58 -05:00
Leszek Rusinowicz
9b1db83eaa
Added required changes outside of TARGET_Cypress tree:
...
1. In drivers/Timer.cpp make sure that hardware timer is initialized outside of critical section.
This is because on PSoC 6 hardware resources are shared between both cores
and we have to make sure that the other core is not already using a particular resource.
This mechanism is based on interprocessor communication taht cannot be handled iside of
critical section.
2. Added support for post-binary hook function for PSoC 6 targets, so the hex image for M0+ CPU core
can be merged with M4 core image for the final image.
3. Added possibility to use hook function from exportes, so the M0+ hex image could be included
in the generated project.
4. Included hex images in the build dependency list, so the update of image is catched by the
build process.
2018-11-01 20:19:21 +01:00
adbridge
b28d0811df
Fix up subprocess calls
...
subprocess.call() does not by default return a status value.
Update the commands to add shell=True which forces a return value.
Also convert the commands to a single string rather than a list as
this plays more nicely with both linux and windows.
Also fix a spurious :
2018-11-01 13:07:16 +00:00
adbridge
a7c777d5c1
Make examples commands return a failure
...
Currently the following commands in examples.py,
do_import()
do_deploy()
do_versionning()
do_clone()
all return a success status (ie 0) irrespective of any errors
originating from their sub-functions.
This PR fixes this. Now these commands will return one of:
0 - success
1 - general failure
x - failure returned by a subprocess.call function
2018-10-31 17:40:15 +00:00
Mo Chen
2c77c1edd6
Put quotes around include path options
...
This fixes a compile error when the path has space characters.
2018-10-30 17:15:54 -05:00
Jimmy Brisson
f366c257e5
Export: Remove DS-5
...
### Description
The DS-5 exporter does not work. It exports projects which I'm 100% sure
don't build. I have been looking over supporting it for about 6 months
now and I have convinced myself that I don't think it's worth the
trouble. Shout now if you need this exporter.
### Pull request type
[ ] Fix
[ ] Refactor
[ ] Target update
[x] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-10-30 09:38:22 -05:00
Przemyslaw Stekiel
de24a9555e
Fix Ice Tea test execution order to be sorted by names.
2018-10-30 14:37:57 +01:00
Naveen Kaje
2da8950b2a
tools: process bootloader chunks
...
NRF Softdevice hex file can be in chunks.
Make sure we account for the space where the bootloader resides
by including all the chunks within the end of rom marker. This will
clearly mark out the initial bootloader region.
2018-10-29 16:36:56 -05:00
Lasse Bang Mikkelsen
b31156a906
Fix Makefile export with Python 3
...
In Python 3, the map() function returns a map object, not a list object as in
Python 2. Ensure a list object is returned from format_flags() by wrapping
map() in list(). This is compatible with both Python 2 and 3.
2018-10-29 18:46:43 +01:00
Naveen Kaje
e877a8e0e5
build_api: remove unused import
...
Remove unused tempfile import.
2018-10-26 13:30:01 -05:00
Jimmy Brisson
8f07b9ebd5
Remove unused imports
2018-10-24 11:54:13 -05:00
Jimmy Brisson
81013e9d0c
Reformat make.py
2018-10-24 11:51:58 -05:00
Jimmy Brisson
9019196d55
Rework make.py Ct pLI to avoid treating apps as tests
...
Prior to this changeset, applications were all compiled as test #0 . This
can lead to unexpected behavoir. In particluar, it's weirdly impossible
to use a `.mbedignore` file to ignore
`mbed-os/features/unsupported/tests/mbed/env/test_env.cpp`.
This PR stops treating applications like tests.
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-10-24 11:51:36 -05:00
Jimmy Brisson
190e77894f
Merge duplicate keys in JSON.
...
### Description
I would love to make this an error, but we have had a duplicate key in
`targets.json` for a while now. Instead, we're merging in a semi-smart way.
This will allow you to have things like `"target.features_add"` twice, and
both will take affect.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-10-23 11:23:33 -05:00
Brian Daniels
b0264e3540
Adding file type for linker script arg in make script
2018-10-22 13:30:10 -05:00
Cruz Monrreal
46d717cf18
Merge pull request #8250 from theotherjimmy/fix-7723
...
Tools: Don't traceback on missing linker script
2018-10-22 11:30:50 -05:00
Cruz Monrreal
c40d86038c
Merge pull request #8249 from theotherjimmy/official-tc-support
...
Tools: Restrict toolchains reported by mbed compile -S to official ones
2018-10-19 14:43:58 -05:00
Cruz Monrreal
c004aa857d
Merge pull request #8303 from theotherjimmy/fix-exclude-paths
...
Tools: Use logical paths in ignored_dirs
2018-10-19 14:06:38 -05:00
Jimmy Brisson
aa5d2afa4d
Stop shouting at users in error messages
2018-10-19 10:25:49 -05:00
Jimmy Brisson
418ca3a473
Remove what we're checking for membership
2018-10-19 10:19:51 -05:00
Cruz Monrreal II
b957f602b8
Corrected OFFICILLY_SUPPORTED typo
2018-10-18 11:13:17 -05:00
Jimmy Brisson
ec72ce7787
Track supported information within toolchain clasess
2018-10-18 11:10:16 -05:00
Jimmy Brisson
4198ae620c
Tools: Restrict toolchains reported by mbed compile -S to official ones
...
### Description
The `mbed compile -S` command is suposed to indicate what targets
support what toolchains. The command was printing out things that
don't make sense, like `GCC_CR` and things that make sense, but are
not offiially supported yet, like `ARMC6`. This PR fixes all of that.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-18 11:10:16 -05:00
Cruz Monrreal
a0a3dd6a06
Merge pull request #8288 from theotherjimmy/incomplete-targets-notsupported
...
tools: Raise NotSupported when target definition is incomplete
2018-10-18 08:31:13 -05:00
Cruz Monrreal
c9adf3cef4
Merge pull request #8307 from NXPmicro/Add-Support_RapidIoT
...
Add support for RapidIoT
2018-10-18 08:15:07 -05:00
Jimmy Brisson
9c3307ab20
tools: Raise NotSupported when target definition is incomplete
...
### Description
Noticed by the online compiler:
When a user has an incomplete target definition, the error is not show
to the user. That's because it's reported as a `KeyError`. This PR adds
an outer `NotSupportedException` so that the outer catch statement knows
that this is not a build system crash, but a user error.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-17 18:00:57 -05:00
Cruz Monrreal
a5855e4da5
Merge pull request #8359 from kaidokert/master
...
Allow overriding build timestamp from env
2018-10-17 08:57:37 -05:00
maclobdell
fd08cc94f2
Add support for NXP Rapid IoT prototyping kit
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-16 08:52:14 -05:00
Cruz Monrreal II
ec07e25430
Merge branch 'fix-6258' of ssh://github.com/theotherjimmy/mbed into theotherjimmy-fix-6258
2018-10-12 21:46:33 -05:00
Cruz Monrreal
7ea50f1fe4
Merge pull request #8334 from theotherjimmy/error-missing-payload
...
mbed dm: Check for missing payload and give a better error message
2018-10-12 08:00:41 -05:00
Cruz Monrreal II
5d74b772ab
Merge branch 'remove_gcc_cr' of ssh://github.com/bridadan/mbed into bridadan-remove_gcc_cr
2018-10-11 13:18:49 -05:00
Cruz Monrreal II
af6a21ac06
Merge branch 'nb-consistant-paths' of ssh://github.com/theotherjimmy/mbed into theotherjimmy-nb-consistant-paths
2018-10-11 13:18:47 -05:00
Cruz Monrreal
19190d62d2
Merge pull request #8248 from theotherjimmy/fix-7954
...
Tools, Resources: Convert to a set during win2unix
2018-10-11 10:36:52 -05:00
Cruz Monrreal
085b5a6ca9
Merge pull request #8363 from adbridge/master
...
Remove mbed-os-example-client
2018-10-11 10:13:23 -05:00
Cruz Monrreal
6e8d9f0099
Merge pull request #8270 from theotherjimmy/fix-7392
...
Tools: Ensure vtor reserved bits are all 0
2018-10-11 10:12:25 -05:00
Cruz Monrreal
161ca2b0ee
Merge pull request #8261 from cmonr/dont-fail-on-trailing-slash
...
Enabled the removal of a trailing slash
2018-10-10 14:22:27 -05:00
Cruz Monrreal
1eaa8a5032
Merge pull request #7937 from theotherjimmy/fix-mcuxpresso-lib-use
...
Export, MCUXpresso: Avoid assigning self.libraries
2018-10-10 08:45:25 -05:00
Cruz Monrreal
43ffe3e985
Merge pull request #8305 from theotherjimmy/fix-microbit-release
...
Tools: Fix Microbit releases
2018-10-10 08:44:58 -05:00
Cruz Monrreal
be4bb9f610
Merge pull request #8177 from andrewleech/tools_json_python3
...
tools/utils: Fix issue with loading json files as ascii on python3 linux
2018-10-10 08:42:25 -05:00
adbridge
322473099d
Remove mbed-os-example-client
...
This example is now deprecated and as such needs to be removed from
ci test compilation.
2018-10-10 14:38:00 +01:00
kert
77f9fb9039
Allow overriding build timestamp from env
2018-10-10 01:38:22 -07:00
Jimmy Brisson
a270249aa7
Update remaining default_lib usage in arm compiler
2018-10-09 10:50:02 -05:00
Martin Kojtal
9b15646270
Merge pull request #8323 from yossi2le/add-blockdevice-example-back-to-ci
...
Add blockdevice example back to CI
2018-10-09 10:33:15 -05:00
Martin Kojtal
4a0e2bdb31
Merge pull request #8330 from theotherjimmy/force-int-time
...
Tools: Fix Python3 + firmware header traeback
2018-10-09 10:31:26 -05:00
Cruz Monrreal
b7cf1abf81
Merge pull request #8039 from c1728p9/stack_size_framework
...
Add framework for configuring boot stack size
2018-10-08 10:26:16 -05:00
Cruz Monrreal
342d087d47
Merge pull request #8276 from theotherjimmy/consistant-file-notify
...
tools: Make "file" key in notifications consistant
2018-10-08 10:22:04 -05:00
Cruz Monrreal
5102610f11
Merge pull request #8275 from theotherjimmy/online-nrf51-upstream
...
tools, NRF51-post-build: Use paths to hex files
2018-10-08 10:21:03 -05:00
Cruz Monrreal
c9b9ee8f36
Merge pull request #8169 from bcostm/fix_IAR_exporters
...
STM32: add missing IAR exporters
2018-10-08 10:11:21 -05:00
Cruz Monrreal
43cf16d0f1
Merge pull request #8167 from JammuKekkonen/change_update_format_to_binary
...
Change update file format to binary for all targets
2018-10-08 10:10:01 -05:00
Martin Kojtal
5a8c63a11a
Merge pull request #7996 from JuhPuur/feature_mactester
...
Add nanostack mac tester and testcases
2018-10-06 07:48:41 +02:00
Martin Kojtal
4fbd39c74e
Merge pull request #8108 from c1728p9/systick_rename
...
Rename device option STCLK_OFF_DURING_SLEEP
2018-10-06 07:46:49 +02:00
Martin Kojtal
4820162756
Merge pull request #7916 from yennster/patch-2
...
Add LPC1769 template file for MCUXpresso IDE
2018-10-05 22:21:18 +02:00
Jimmy Brisson
eb86233a11
mbed dm: Check for missing payload and give a better error message
...
### Description
The error message when you invoke `mbed dm update prepare` without a payload
is particularly obtuse, and provides a user with no indication that the
payload is missing. This change makes that error message not stink.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-05 13:21:55 -05:00
Martin Kojtal
f7f6d4d2d8
Merge pull request #7585 from bcostm/dev_NUCLEO_L4R5ZI
...
NUCLEO_L4R5ZI: add new platform
2018-10-05 14:53:11 +02:00
Simo Sillankorva
fac5ff45ed
Remove max_app_addr checking from .hex
...
* Remove max_app_addr logic from tools/config/__init__.py as it was not working properly with some of the .hex files.
2018-10-05 03:15:24 -07:00
Jimmy Brisson
8d63ef6060
Tools: Fix Python3 + firmware header traeback
...
### Description
Traceback:
```
Merging Regions
Filling region bootloader with mbed-cloud-client-example/mbed-os/features/FEATURE_BOOTLOADER/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_FRDM/mbed-bootloader-k64f-block_device-sotp-v3_4_0.bin
Padding region bootloader with 0x9a4 bytes
Traceback (most recent call last):
File "mbed-cloud-client-example/mbed-os/tools/make.py", line 293, in <module>
ignore=options.ignore
File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 548, in build_project
merge_region_list(region_list, res, notify)
File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 423, in merge_region_list
_fill_header(region_list, region).tofile(header_filename, format='hex')
File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 380, in _fill_header
header.puts(start, struct.pack(fmt, time()))
struct.error: required argument is not an integer
```
reason: `time()` returns a float. So the fix is to force it to be an `int`.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-04 11:56:18 -05:00
Martin Kojtal
1af1a4a443
Merge pull request #7876 from cmonr/version-warn-not-err
...
Tools: Modified version mismatch msg to be warning instead of error
2018-10-04 13:42:00 +02:00
Yossi Levy
4bb8ebf41f
Adding back blockdevice example after removing it for PR #7774 . Target should be K64F
2018-10-04 13:02:18 +03:00
Jimmy Brisson
121130ec20
Avoid assigning self.libraries
2018-10-03 09:36:40 -05:00
Andrew Leech
41ff7b916b
tools/utils: Fix issue with loading json files as ascii on python3 linux
2018-10-03 10:49:21 +10:00
Jimmy Brisson
0e458bd163
Tools: Fix Microbit releases
...
### Description
I noticed that there was quite a bit missing from the mbed2 release of
the microbit today. That's because the microbit uses ARM by default and
the GCC_ARM small library. The release script was trying to release for
ARM using scan rules for uARM. Turns out we're stuck with 2 configuration
parameters for the same thing: `default_lib` for GCC and `default_toolchain`
for ARM. Dang
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-02 11:23:14 -05:00
Brian Daniels
c12042a4ab
Remove references to GCC_CR from the rest of the tools
2018-10-02 10:51:54 -05:00
Brian Daniels
baf9556505
Removing GCC_CR mention from settings.py
2018-10-02 10:46:31 -05:00
Jimmy Brisson
98e0faa551
Remove unused local
2018-10-02 09:56:10 -05:00
Jimmy Brisson
b84cef9c62
Fix minor formatting mistake
2018-10-02 09:55:49 -05:00
Jimmy Brisson
f220628f92
Tools: Use logical paths in ignored_dirs
...
### Description
Exporting to GNU ARM Eclipse, E2 Studio, and other exclude-based IDEs
currently generats unusable project files online. This is because the
list of directories ignored in the scan is inconsistant about what sort
of paths are used: logical paths, or phisical paths. This patch makes
all paths in ignored_dirs logical. This should fix the excluding tags
in these project files.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-02 09:55:31 -05:00
Martin Kojtal
0ded1fa0d7
Merge pull request #7957 from andrewleech/nrf_override_ram_linker
...
nRF5x: pass ram linker start/length from config system
2018-10-01 11:45:55 +02:00
Martin Kojtal
5b1c5506a5
Merge pull request #7914 from yennster/patch-1
...
Remove references to "mBed"
2018-10-01 11:44:04 +02:00
Cruz Monrreal
255f28edeb
Merge pull request #8246 from adbridge/master
...
Add back examples updated for mbed-os-5.10
2018-09-28 18:27:58 -05:00
Cruz Monrreal
786f10be68
Removed mbed-os-example-nfc-EEPROM from examples.json
...
Last thing blocking 5.10.1 release. Example will need to be fixed before it can be brought in.
2018-09-28 11:02:40 -05:00
Cruz Monrreal
e3343a6df1
Remove block device example in the short term
2018-09-27 23:38:47 -05:00
Cruz Monrreal
cbb4f852e1
Replace storage example targets from K64F to K82F
...
Suggested here: https://github.com/ARMmbed/mbed-os/pull/8246#issuecomment-425199620
2018-09-27 18:07:22 -05:00
Jimmy Brisson
6282b5f0c4
tools: Make "file" key in notifications consistant
...
### Description
2 calls to `notify.cc_verbose` used the a FileRef object in place of
the file's name. Other calls to `notify.cc_info` would use just the
file name. This PR changes these 2 calls to be consistant with the rest.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 15:31:35 -05:00
Jimmy Brisson
080c72bb47
tools, NRF51-post-build: Use paths to hex files
...
### Description
The NRF51 post build hook finds it's hex files using the Resources
object. This PR fixes the corner case where the hex files within a
project have a name!=path (This really only happens online).
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 14:44:19 -05:00
Jimmy Brisson
4aef073327
Export, nb: Use same path for cpp as the rest of the tools
...
### Description
The netbeans exporter was being inconsistant with it's invocation of
the C pre-processor on the linker script: the C pre-processor was always
invoked from `$PATH` where as the rest of the tools were invoked as
configured by the tools. This changes the invocation of CPP to match the
rest of the tools: heed the conifguration.
Fixes https://github.com/ARMmbed/mbed-cli/issues/663
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:55:36 -05:00
Jimmy Brisson
d8b7b3a24a
Tools, memap: Silence warnings that we handled correctly
...
### Description
Memap will create a bunch of warnings about "Unknown object name" when
parsing a map file created for the RZ_A1H and the GR_Peach. Theses
warnings are sperious; the information in these sections does not belong
to an object file. This PR silences these warnings.
Fixes #6258
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:33:33 -05:00
Jimmy Brisson
7a97f480f8
Tools: Ensure vtor reserved bits are all 0
...
### Description
The VTOR reserves the lowest 7 bits. This PR changes the round up
behavoir of the application offset to make sure that the address used
for the in-flash vector table always ends in 7 0's.
Fixes #7392
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:04:19 -05:00
Juhani Puurula
e94d7d0e3f
Enabled trace, added KW24D default driver
2018-09-27 15:34:34 +03:00
Juhani Puurula
dd488f7fff
Renamed MAC tester config
2018-09-27 15:08:57 +03:00
Juhani Puurula
ad0cc2f352
Added nanostack mac tester and testcases
2018-09-27 15:08:56 +03:00
bcostm
5c34602d6b
NUCLEO_L4R5ZI: remove IAR exporter
...
The STM32L4R5ZI device has been added in IAR V8.20.1
Remove the IAR exporter until IAR V8 is supported on mbed.
2018-09-27 12:03:08 +02:00
bcostm
236396b442
NUCLEO_L4R5ZI: update iar and sw4stm32 exporters
2018-09-27 12:03:07 +02:00
Cruz Monrreal II
f5e6f16307
Enabled the removal of a trailing slash when sourcing examples from examples.json
2018-09-26 14:21:10 -05:00
Cruz Monrreal
d522880581
Removed trailing slashes in NFC examples URL
...
This apparently breaks the examples.py script.
2018-09-26 14:07:43 -05:00
Cruz Monrreal
2c870e737a
Restricted nfc example to two targets
2018-09-26 10:19:11 -05:00
Martin Kojtal
eaa5102358
Merge pull request #8014 from M-ichae-l/realtek-rtl8195am-lib-updates
...
realtek rtl8195am lib updates
2018-09-26 13:09:28 +02:00
Jimmy Brisson
f8f5bc40f6
Tools: Don't traceback on missing linker script
...
### Description
The `mbed compile` would traceback when no linker script is found.
This PR changes that behavior to make that into a NotSupportedException,
which has decent user behavior.
Fixes #7723
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-25 12:52:25 -05:00
Jimmy Brisson
f6310a00c3
Convert to a set in win2unix
2018-09-25 12:31:33 -05:00
adbridge
8ce2e5ac1d
Add back examples updated for mbed-os-5.10
...
While feature changes were being added to mbed-os a number of
examples were removed from this list due to incompatibility issues.
This PR adds those examples back in:
Filesystem,
Blockdevice,
Mesh-minimal,
Bootloader.
This PR also adds in the new NFC example.
2018-09-25 15:24:30 +01:00
Cruz Monrreal
caa4279244
Merge pull request #8023 from SiliconLabs/hotfix/nanostack-default-interface
...
Hotfix for PR #7778 on Silicon Labs targets
2018-09-21 12:50:43 -05:00
Cruz Monrreal
8f7c0ae18d
Merge pull request #8181 from OPpuolitaival/py3_support
...
Py3 support
2018-09-20 18:13:44 -05:00
Kevin Bracey
0e7eda0749
Remove IAR assembler macros containing quotes
...
IAR assembler 7.80 has some problems handling difficult macros, leading
to immediate exit with return value -11.
In particular, a URL string has been causing problems, presumably due to
the "//" resembling a comment.
A previous escaping workaround in 0d97803
seemed to work, but the crash
has still been seen with a particular target.
Previous creation of the extended command line file for the IAR
assembler was stripping quotes from macros. This rendered the resulting
definitions for string-containing macros incorrect, which means that we
can assume no assembler code is currently relying on them.
Therefore, as a precautionary measure to avoid the crash, simply remove
all macros containing strings when creating them for IAR. This
apparently clears the crashes seen during testing of
https://github.com/ARMmbed/mbed-os/pull/8023
2018-09-20 15:51:51 +03:00
Olli-Pekka Puolitaival
822fd37a97
Move exception earlier
2018-09-20 10:55:30 +03:00
Martin Kojtal
81d0948c09
Merge pull request #8025 from deepikabhavnani/flag_update
...
Align to CMSIS defines for Non-Secure
2018-09-19 14:18:41 +02:00
Olli-Pekka Puolitaival
f5ad414cca
Check that TEST_APPS folder exists
2018-09-19 14:18:07 +03:00
Olli-Pekka Puolitaival
b8b11f0c8b
Move exception in two lines that traceback looks better
2018-09-19 14:11:40 +03:00
Olli-Pekka Puolitaival
55336b034d
Py3 support back. Reverted accidentially in icetea changes rebase
2018-09-19 13:59:28 +03:00
Steven
736fc2a363
Supply default test config for TB_SENSE_1 as well
2018-09-19 12:30:21 +02:00
Steven
9a0fc98bdc
Hotfix for PR #7778
...
TB_SENSE_12 would have been left behind by the changes in #7778 . This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-09-19 12:30:21 +02:00
Martin Kojtal
0f1075cbd8
Merge pull request #8104 from theotherjimmy/mbed-dm-help
...
`mbed dm`: Remove references to internal script from help
2018-09-19 11:21:15 +02:00
Andrew Leech
340f0a6a57
Ensure target bootloader settings can be overridden in mbed_app.json
...
Values like `target.mbed_rom_start` were being replaced by None and then ignored.
2018-09-19 15:35:13 +10:00
bcostm
4d55e1b449
STM32: add missing IAR exporters
2018-09-18 14:57:09 +02:00
Jammu Kekkonen
49572d570a
Change update file format to binary to all targets
...
- Change the default file format to binary for all targets, even though some targets need hex as app format, updater always needs bin for now
- Unify the file name generation from generator side and usage side for the update bin
2018-09-18 12:13:29 +03:00
Cruz Monrreal
3da606e586
Merge pull request #8017 from TTornblom/master
...
IAR: Fix for #7662 , only massage the error decode URL for the IAR .xcl
2018-09-17 19:46:12 -05:00
Cruz Monrreal
7a0c9a640e
Merge pull request #8137 from OPpuolitaival/icetea_hw_restriction
...
Icetea hw restriction
2018-09-17 10:06:55 -05:00
Jammu Kekkonen
c069cefbc8
Review fixes 2 for bootloader region generation
2018-09-17 15:56:34 +03:00
Martin Kojtal
40e9f41b4b
Merge pull request #7821 from klaas019/master
...
Add license files for MTS bootloaders
2018-09-17 14:22:53 +02:00
Cruz Monrreal
77e073038d
Merge pull request #8063 from theotherjimmy/mbed-dm-api-key
...
`mbed dm`: Accept api key and host on the command line
2018-09-14 14:44:29 -05:00
Olli-Pekka Puolitaival
ed18665807
Fix icetea run in case that user has different boards connected same time
2018-09-14 16:29:09 +03:00
Olli-Pekka Puolitaival
1981728be9
Fix tests
2018-09-14 13:57:08 +03:00
Olli-Pekka Puolitaival
cd628a77a2
Include run_icetea unittests also in pytest run
2018-09-14 13:49:41 +03:00
Jammu Kekkonen
ae4b67e6b2
Review fixes for bootloader region generation
2018-09-13 12:17:00 +03:00
Russ Butler
ab50681c33
Rename device option STCLK_OFF_DURING_SLEEP
...
Rename STCLK_OFF_DURING_SLEEP to SYSTICK_CLK_OFF_DURING_SLEEP to avoid
confusion with the STmicroelectronics.
2018-09-12 14:40:25 -05:00
Jimmy Brisson
4f1c1d90e5
`mbed dm`: Remove references to internal script from help
...
### Description
Now that we are delegating the help text to `device_managment.py`,
it should print out help as if it's invoked with `mbed device-management`.
This PR changes the argument parser and the help text to do just that.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-12 11:05:42 -05:00
Jammu Kekkonen
4952e31b8b
Fix bootloader build region generation and add support for bootloaders with multiple segments, as required by NRF52 bootloader.
2018-09-12 09:30:48 +03:00
Brendan Moran
989f3947c3
Remove trailing reference to user.full_name
2018-09-11 18:42:17 +01:00
Brendan Moran
f8cd593c6e
BUGFIX: Remove account management API calls
...
Developer API keys don't have the privileges required to get information about their owners. To correct for this, remove user name reporting and use the API key `owner_id` directly.
Fixes: IOTAUTH-1686
2018-09-11 12:10:58 +01:00
Jimmy Brisson
e67a2c7692
`mbed dm`: Accept api key and host on the command line
...
### Description
`mbed dm` will now accept the Pelion Device Management API Key and
Host on the command line with the following switches:
* `-a`, `--api-key` accepts the API Key
* `-S` (note capitol), `--server-address` accepts the Host
This is consistant with manifest tool parameters
Resolves https://github.com/ARMmbed/mbed-cli/issues/745
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-10 11:49:06 -05:00
deepikabhavnani
ff80e298d2
Align to CMSIS defines for Non-secure
...
CMSIS updated the __DOMAIN_NS define to DOMAIN_NS. Update the define
in existing code for non-secure part.
2018-09-10 09:25:27 -05:00
Cruz Monrreal
76827c3704
Merge pull request #7971 from JammuKekkonen/fix_softdevice_memory_reservation_for_nrf52dk
...
Fix memory reservation for Softdevice in NRF52_DK
2018-09-07 11:46:58 -05:00
Russ Butler
1ead033423
Add framework for configuring boot stack size
...
Add the target config option "boot-stack-size" which is passed to the
linker as the define "MBED_BOOT_STACK_SIZE" so the linker can
adjust the stack accordingly. On mbed 2 the boot stack becomes the
main stack after boot. On mbed 5 the boot stack becomes the
ISR stack after boot. Because of these different uses the stack size
for mbed 2 is set to 4K by default while on mbed 5 it is set to 1k.
Additionally, the NRF5X family requires a larger interrupt stack size
due to the softdevice so the size is increased to 2k on mbed 5 builds.
2018-09-07 16:31:49 +01:00
Cruz Monrreal
48c149b227
Merge pull request #7720 from jeromecoutant/PR_PRETTYTABLE
...
python scripts : table print with github policy
2018-09-06 22:29:30 -05:00
Cruz Monrreal
27f3fd92f5
Merge pull request #7939 from theotherjimmy/fix-embitz-ld-assign
...
Export, Embitz: Avoid assigning `self.resources.linker_script`
2018-09-06 15:23:17 -05:00
TTornblom
0d97803ad8
IAR: Fix for #7662 , only massage the error decode URL for the IAR .xcl
...
file.
2018-09-06 12:16:15 +02:00
zzw
b06553fa25
rtl8195am lib updates
...
1, rtl8195am lib updates. Preparation for the low power features.
2018-09-06 14:28:34 +08:00
Janne Kiiskila
f1795e3418
IOTCORE-389 - bring back legacy alignment for Arm C6
...
Quite a few of the scatter files are not (yet) aligned to 8-byte
boundaries and therefore the removal of legacy alignment feature
(which is under deprecation warning, but it actually not YET
deprecated) broke quite a few builds to this error:
Error: L6244E: Exec region RW_IRAM1 address (0x200001ac) not aligned on a 8 byte boundary.
We must bring this option now back to fix the builds.
This option to ld (--legacyalign) can only be removed once all of
the scatter files have been fixed.
2018-09-06 01:04:38 +03:00
rklaassen
58667e67d9
Added ARM Permissive Binary License to MTS bootloaders
2018-09-04 16:05:14 -05:00
Martin Kojtal
1eab0723ba
Merge pull request #7745 from OPpuolitaival/icetea
...
Icetea support
2018-09-02 07:19:22 +02:00
Seppo Takalo
0456085567
Disable mesh networking on tests by default
...
Testing a mesh requires proper environment.
2018-09-01 12:40:42 -05:00
Seppo Takalo
1ef04796ee
On KW24D and NCS36510 default to smaller Nanostack configuration
...
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Seppo Takalo
56dda01368
TEMPORARY Skip building of examples that rely on drivers.
2018-09-01 12:37:31 -05:00
Cruz Monrreal
993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
...
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05:00
Cruz Monrreal
00b7700be2
Merge pull request #7875 from c1728p9/feature_CMSIS_5_0b521765
...
Update CMSIS to 5.4.0
2018-08-31 11:31:37 -05:00
Jammu Kekkonen
1a9999708e
Fix memory reservation for Softdevice in NRF52_DK
2018-08-31 14:13:55 +03:00
Olli-Pekka Puolitaival
a58aa58730
Remove MAC tester related code
2018-08-31 11:59:11 +03:00
Jarno Lamsa
2edc5f0bfc
Readme and help fixes
2018-08-31 11:56:52 +03:00
Olli-Pekka Puolitaival
4e38f73067
Fix after rebase
2018-08-31 11:56:52 +03:00
Olli-Pekka Puolitaival
b4822c8631
Fix typo
2018-08-31 11:55:43 +03:00
Olli-Pekka Puolitaival
449ef92b4d
Update licenses
2018-08-31 11:55:43 +03:00
Seppo Takalo
a5088962e4
Use NanostackRfPhy::get_default_instance() for finding the driver ( #2 )
2018-08-31 11:55:42 +03:00
Juhani Puurula
5eb3456b6e
Added test config for mac tester
2018-08-31 11:55:42 +03:00
Olli-Pekka Puolitaival
ccf4416c70
Move test_suite.json ignore in project level
2018-08-31 11:54:40 +03:00
Olli-Pekka Puolitaival
bf1781b005
Remove autoformatting
2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival
3b3bed2406
Small fixes based on github comments
2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival
e27a26eb9d
Icetea support
2018-08-31 11:51:57 +03:00
Cruz Monrreal
b6f0ee2a72
Merge pull request #7844 from theotherjimmy/fw-update-integration
...
Implement device management subcommand
2018-08-30 22:40:52 -05:00
Cruz Monrreal
06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
...
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00
Jimmy Brisson
2516737acb
SImplify linkerscirpt usage
...
Avoids assigning to things that we can't assign
2018-08-30 08:41:15 -05:00
Seppo Takalo
4989650854
Don't provide default interface on NCS36510, won't fit testcases on IAR
2018-08-30 11:04:25 +03:00
Yossi Levy
ff82bb8a0b
Remove of mbed-os-example-mesh-minimal and mbed-os-example-bootloader from the compilation list. Those should be fixed and then set back in the example list
2018-08-29 15:09:36 +03:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Cruz Monrreal
2e081dc7d0
Merge pull request #7644 from theotherjimmy/components
...
Tools: Scan for "components"
2018-08-28 17:55:01 -05:00
Jenny Plunkett
7977fd8edf
Fix typos
2018-08-28 13:25:06 -05:00
Jenny Plunkett
a8b60f5a98
Added LPC1769 template file for MCUXpresso
2018-08-28 13:20:25 -05:00
Jenny Plunkett
5cb1ecd143
Remove reference to "mBed"
...
Removed another reference to "mBed"
Another "mBed"
2018-08-28 13:05:07 -05:00
Cruz Monrreal
14319adf7a
Merge pull request #7792 from deepikabhavnani/fix_m33
...
Build tool fixes for Musca support
2018-08-28 10:09:28 -05:00
Seppo Takalo
7e23c229a3
Add 6LoWPAN and Thread test configuration
2018-08-28 11:29:59 +03:00
Jimmy Brisson
e695a34f23
Add mbedignore behavior to test finding
2018-08-27 11:20:08 -05:00
Jimmy Brisson
ff05e3ebd5
Refactor mbedignore behaivor into an object
2018-08-27 11:16:07 -05:00
Jimmy Brisson
4ef12ccdbc
Culumative attirbutes always exist
2018-08-27 11:12:02 -05:00
Jimmy Brisson
88a5b263f0
Add tests from labeled directories
2018-08-27 11:12:02 -05:00
Jimmy Brisson
419761913a
Add `COMPONENT_` defines
2018-08-27 11:12:02 -05:00
Jimmy Brisson
a87d907268
Use labels keys instead of magic list
2018-08-27 11:12:01 -05:00
Jimmy Brisson
79ee1b8e02
Add "components"
2018-08-27 11:12:01 -05:00
Cruz Monrreal
543d6c2ecf
Merge pull request #7569 from theotherjimmy/uvision-armc6
...
Tools: Add Uvision6 exporter
2018-08-27 10:28:38 -05:00
Martin Kojtal
2dfd3beb62
Merge pull request #7758 from phyokyaw/master
...
Include user defined static lib files in the Linker object files paths
2018-08-27 10:38:40 +02:00
Russ Butler
a62b312d0b
Add details to importer script docs
...
Add an example showing how to run the importer and a note to indicate
that it must be run from the mbed-os directory.
2018-08-25 20:40:36 -05:00
Russ Butler
a2a0ea70e2
Update cmsis_importer in prep for CMSIS 5.4.0
...
Reference the correct commits to pull in and remove commits related to
uVisor since these are no longer needed. Also add the missing file
cmsis_os1.c to cmsis_importer.json.
Below is detailed information on each commit added to cmsis_importer.json
CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
4360b7bbf8
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
cc2e0517e1
CMSIS/RTX: Allow overwriting mutex ops for ARMC
b88254809e
CMSIS/RTX: Pre-processor defines used for assembly
287121ffdc
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
1752803626
CMSIS/RTX: Reintroduce arm_math.h
6a6e3ac0eb
fixup
2018-08-25 20:40:35 -05:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Cruz Monrreal
5ffcc01be1
Merge pull request #7812 from mikaleppanen/greentea_def_interf
...
Update greentea tests to use default interface
2018-08-24 19:31:00 -05:00
Cruz Monrreal
02c03204a6
Merge pull request #7714 from brianesquilona/feature_bootloader
...
Add BOOTLOADER feature
2018-08-24 19:30:21 -05:00
Cruz Monrreal
ce43f8b9d6
Merge pull request #7673 from bridadan/allow_memap_script_to_execute_alone
...
Fixing import paths of memap.py when excuted as a script
2018-08-24 19:30:05 -05:00
Jimmy Brisson
c8f1e1f854
Escape quotes in uvision project file defines
2018-08-24 14:00:52 -05:00
Martin Kojtal
812c6d5c88
Merge pull request #7783 from maciejbocianski/feature-qspi_merging
...
merge QSPI feature branch
2018-08-24 10:50:18 +02:00
Cruz Monrreal II
09239e3073
Modified version mismatch msg to be warning instead of error
2018-08-23 22:13:00 -05:00
Cruz Monrreal
6c4d64c520
Merge pull request #7846 from theotherjimmy/gcc-distcc
...
Tools: Use Distcc when it's configured
2018-08-23 10:06:33 -05:00
Deepika
ed58ff0405
Disabling DSP and FPU for Cortex-M33
...
Change shared by @Gabor Kertesz
Hard-fault on Musca was because of enabled floating point instructions,
disabling DSP and FPU.
2018-08-23 09:06:20 -05:00
Jimmy Brisson
a7ddea78d7
Remove firmware header from update image
2018-08-22 09:08:12 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
jeromecoutant
43258a8ff4
STM32 : add all QSPI pins in available targets
2018-08-22 15:02:08 +02:00
Martin Kojtal
d719c9e1a6
Merge pull request #7762 from kaidokert/master
...
Add combined hex target to CMake
2018-08-22 14:05:53 +02:00
Jimmy Brisson
09ea2a3df9
Tools: Use Distcc when specified
2018-08-21 11:38:31 -05:00
Jimmy Brisson
a6163cb14f
Clean up formatting of device_management.py
2018-08-21 10:51:26 -05:00
Jimmy Brisson
93309cd134
Extend init to maybe create and always DL dev cert
2018-08-21 10:51:26 -05:00
Jimmy Brisson
563ee0d871
Implement device management subcommand
2018-08-21 10:51:26 -05:00
Jimmy Brisson
ebb016e270
Create a "device-management" subcommand
2018-08-21 10:51:26 -05:00
Brian Esquilona
4db8a106bf
Added BOOTLOADER feature, copy bootloader binaries and LICENSE into mbed OS repository for supported targets
2018-08-21 10:09:28 -05:00
Mika Leppänen
9e73e80926
Updated greentea test configurations to use default interface
...
Created one configuration .json file for boards with internal
wifi (HeapBlockDeviceAndWifiInterface.json). Removed dedicated
Odin, Wiced and Realtek wifi configuration files. Removed Odin
ethernet configuration file and replaced that with general
ethernet configuration.
2018-08-21 10:55:49 +03:00
Brian Daniels
b5a187ddb3
Fixing import paths of memap.py when excuted as a script
2018-08-20 09:03:29 -05:00
deepikabhavnani
37a5646372
Remove deprecated linker options
...
Resolved below warnings
Warning: L3912W: Option 'legacyalign' is deprecated.
Warning: L3912W: Option 'no_strict_wchar_size' is deprecated.
Warning: L3912W: Option 'no_strict_enum_size' is deprecated.
2018-08-16 18:14:14 -05:00
Cruz Monrreal
ed57c8cb13
Merge pull request #7797 from OPpuolitaival/fix_target_name
...
Fix target_name variable in some use cases
2018-08-16 16:18:19 -05:00
deepikabhavnani
63664520c0
Arch and CPU options for linker and Clang are different for Cortex-M33
...
As per the link below, options for clang and armlink are diferrent for Cortex-M33
armlink --cpu 8-M.Main --import-cmse-lib-out importlib_v1.o
armclang -march=armv8-m.main -mcmse
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0773h/pge1452794854109.html
2018-08-16 13:35:03 -05:00
Cruz Monrreal
354d55503f
Merge pull request #7769 from OPpuolitaival/build_data_py3
...
Fix build_data functionality with python 3
2018-08-16 09:07:49 -05:00
Cruz Monrreal
90163bb838
Merge pull request #7590 from theotherjimmy/differential-memap
...
Tools: Differential Memap
2018-08-15 15:49:25 -05:00
deepikabhavnani
beab422045
-mcpu option not needed for v8M devices
...
-mcpu option if set for v8M CPU;s it will add DSP feature as default
which is optional. Hence setting just the architecture for Cortex-M23
and Cortex-M33
2018-08-15 13:52:15 -05:00
Olli-Pekka Puolitaival
1fbced1b46
Fix target_name variable in some use cases
2018-08-15 12:28:48 +03:00
deepikabhavnani
08b4e34825
Fix build and typo issues with M33 build
2018-08-14 11:44:29 -05:00
Olli-Pekka Puolitaival
2059fed945
Fix building with python 3
2018-08-13 12:46:43 +03:00
Olli-Pekka Puolitaival
72a0bd4374
Print stack trace in case of verbose
2018-08-13 12:46:31 +03:00
Olli-Pekka Puolitaival
6107769239
Fix build_data functionality with python 3
2018-08-13 12:15:21 +03:00
Phyo Kyaw
87304f8812
Updated to include user defined static lib files in the Linker object files path.
...
### Description
This is to fix linker not finding symbols declared in object files inside static library files.
For this case throwing:-
> rm-none-eabi-g++: error: unrecognized command line option '--wrap=main'; did you mean '--warn-main'?
For this case to include libmbed.a which contains
mbed_alloc_wrappers.o:
U __real__calloc_r
U __real__free_r
U __real__malloc_r
U __real__memalign_r
U __real__realloc_r
00000000 T __wrap__calloc_r
00000000 T __wrap__free_r
00000000 T __wrap__malloc_r
00000000 T __wrap__memalign_r
00000000 T __wrap__realloc_r
00000000 T free_wrapper
00000000 T malloc_wrapper
00000000 T mbed_stats_heap_get
U memset
This patch also changed the library order to system and then user.
-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed
Resolves : #7155
### Pull request type
[ x ] Fix
[ ] Refactor
[ ] Target update
[ ] Feature
[ ] Breaking change
2018-08-13 09:19:47 +01:00
kert
17276275fc
Add combined hex target to CMake
2018-08-11 10:56:29 -07:00
Martin Kojtal
2a824a1ceb
Merge pull request #7559 from theotherjimmy/make-armc6-v8m
...
Export: Support Make + ArmC6 + v8m
2018-08-10 10:03:34 +02:00
Cruz Monrreal
e923bbdbfb
Merge pull request #7722 from theotherjimmy/fix-arm-small-lib
...
Fix Microlib compatibility for -t ARM
2018-08-09 15:56:18 -05:00
Jimmy Brisson
a6c85ee5f4
Add asm defines to template
2018-08-08 10:43:33 -05:00
Jimmy Brisson
0924d6618e
Fix a few flag-related things
2018-08-08 09:52:49 -05:00
Jimmy Brisson
1eb47934eb
Fix "pare error in Defines" uvision error
2018-08-08 09:24:50 -05:00
Jimmy Brisson
9f00a9be70
Fix python3 compatibility of exporter base class
2018-08-08 09:07:58 -05:00
Jimmy Brisson
c51467ee91
Flake8 of uvision exporter python code
2018-08-08 09:07:45 -05:00
Jimmy Brisson
11702d16b5
Enable uvision export for NS cores
2018-08-08 09:07:45 -05:00
Jimmy Brisson
5e9ac75c4f
Remove -MMD and debug print
2018-08-08 09:07:45 -05:00
Jimmy Brisson
0a175fe0f5
Use relative path to detect config header and remove -std options
2018-08-08 09:07:45 -05:00
Jimmy Brisson
bafced4099
Correct check for in-template flags
...
It was named and used as if it were positive logic, and written with
negative logic. This changes the name and usage to negative logic.
2018-08-08 09:07:45 -05:00
Jimmy Brisson
fa1bf57a4d
Enable export to uvision5 + armc6
2018-08-08 09:07:38 -05:00
Cruz Monrreal
95c623359e
Merge pull request #7640 from 0xc0170/fix_iar_definition_duplicate
...
iar: remove nxp duplicate definitions
2018-08-08 07:36:49 -05:00
Jimmy Brisson
7db537acf6
Fix Microlib compatibility for -t ARM
...
Missing from common flags:
* `-D__MICROLIB`
* `--library_type=microlib`
This patch adds them
2018-08-07 13:21:03 -05:00
Martin Kojtal
129ef46c7f
iar: MK22F use xx12 Freescale for 7.80.x
...
This fixes the failure for IAR regarding floating point.
2018-08-07 15:30:52 +01:00
jeromecoutant
a42c73df1b
python scripts : table print with github policy
2018-08-07 15:14:27 +02:00
Martin Kojtal
6f6a516b66
iar: kl43 - use nxp MCU definition
2018-08-03 12:19:20 +01:00
Martin Kojtal
eb5b117d98
frdm-k22f: fix IAR definition
...
Based on the https://www.keil.com/boards2/nxp/frdm_k22f/ - it contains xxx12 MCU.
However IAR 7.80 has only xxx5 version, thus leaving NXP added version as xxx5.
2018-08-03 12:17:50 +01:00
Jimmy Brisson
58180dbafe
Use shell escaping instead of quoting
...
OSs don't agree on what the quote chars mean
2018-08-02 09:09:07 -05:00
Jimmy Brisson
6adac922db
Revert "Disable make_armc6 on v8m"
...
This reverts commit a2427998f9
.
2018-08-02 09:02:06 -05:00
Jimmy Brisson
77d2a36d2a
Quote Makefile CLI parameters
2018-08-02 09:02:06 -05:00
Jimmy Brisson
289d494894
Use last linker script found
2018-08-02 09:02:06 -05:00
Jimmy Brisson
c777bd6f5c
Migrate all flags into the FLAGS variables
2018-08-02 09:02:06 -05:00
Cruz Monrreal
4cab24f696
Merge pull request #7623 from theotherjimmy/reduce-includes
...
Tools: Omit include path parents when they're scan rules
2018-08-01 13:58:20 -05:00
Jimmy Brisson
fb42bb0439
Stabilize macro ordering in mbed_config.h
2018-07-30 11:05:32 -05:00
Jimmy Brisson
28064f1319
Use hash to determine changes to command files
2018-07-30 10:41:58 -05:00
Martin Kojtal
80d58e5572
iar: remove nxp duplicate definitions
...
Fixes #7634
2018-07-30 11:49:47 +01:00
Jimmy Brisson
fc97d77b0d
Remove file before moving over it
...
Windows is dumb sometimes
2018-07-27 10:06:11 -05:00
Jimmy Brisson
4da77916d5
Reduce include paths further
...
by 0.45% for Mbed Cloud Client
2018-07-27 09:43:30 -05:00
Cruz Monrreal
639285a0e2
Merge pull request #7608 from theotherjimmy/fix-make
...
Tools: Correct `win_to_unix` path handling
2018-07-26 15:53:23 -05:00
Cruz Monrreal
8755e56fd6
Merge pull request #7567 from theotherjimmy/managed-update-image
...
Tools: Generate update images with managed bl mode
2018-07-26 10:51:40 -05:00
Cruz Monrreal
dcd358f3e7
Merge pull request #7558 from theotherjimmy/tc-arm-v8m
...
Tools: Select compiler based on arch version
2018-07-26 10:27:21 -05:00
Jimmy Brisson
35498dc54c
Correct abspath handling
2018-07-26 10:19:23 -05:00
Jimmy Brisson
f9c6f21f2e
Correct path handling after calls to `win_to_unix`
2018-07-26 09:51:18 -05:00
Jimmy Brisson
76078f6a50
Include `-t ARM` support for v8m, armc6 targets
2018-07-25 11:48:14 -05:00
Jimmy Brisson
8be6a03a4b
Correct test_api usage of build_project
2018-07-25 11:29:59 -05:00
Jimmy Brisson
ac14e37a77
Correct result usage in reporting infra
2018-07-25 10:04:18 -05:00
Jimmy Brisson
c2642a1c9a
Add delta to subtotals
2018-07-24 14:09:55 -05:00
Jimmy Brisson
0e622ded63
Include removed modules in table calulation
2018-07-24 13:55:11 -05:00
Jimmy Brisson
814dbdbe3e
Don't trackback on no prior build
2018-07-24 13:42:09 -05:00
Jimmy Brisson
3eea82209e
Create a setting for comparing against a fixed build
2018-07-24 11:50:23 -05:00
Jimmy Brisson
7f2eee564c
Impl differential memap
2018-07-24 11:40:43 -05:00
Cruz Monrreal
25bb200586
Merge pull request #7480 from klaas019/master
...
Add MTS Dragonfly bootloader back after accidental removal from pr #7131
2018-07-23 10:12:31 -05:00
Cruz Monrreal
057138c2a0
Merge pull request #7536 from ganesh-ramachandran/master
...
Add Support for Toshiba TMPM3H6
2018-07-20 12:38:25 -05:00
Jimmy Brisson
24df8f89bf
Correct MockNotifier construction in test
2018-07-20 11:43:56 -05:00
Jimmy Brisson
69203d30f1
Create update images with managed bl mode
2018-07-20 10:53:00 -05:00
Jimmy Brisson
3f684113b0
Warn with ARMC6 and not v8m
2018-07-20 10:12:56 -05:00
Cruz Monrreal
4bcca894ae
Merge pull request #7061 from TTornblom/master
...
Tools: Include configuration in ASM
2018-07-20 08:02:44 -05:00
Jimmy Brisson
ae033da12f
Use mapping of core->arch ver. for tc picking
2018-07-19 10:55:35 -05:00
Jimmy Brisson
c030c6a52b
Use `-t ARM` for v8m targets
...
And pick the correct compiler
2018-07-19 10:48:35 -05:00
klaas019
b368ec8f21
Add MTS Dragonfly bootloader back after accidental removal from pr #7131
2018-07-19 10:19:39 -05:00
Jimmy Brisson
14c2eff8ee
Re-indent IAR ewp temptate
2018-07-19 10:19:31 -05:00
Jimmy Brisson
d6b0f80438
Condense exported IAR project file
2018-07-19 10:18:34 -05:00
Ganesh Ramachandran
bfcfe9cc4b
Added Support for Toshiba TMPM3H6
2018-07-19 16:31:11 +05:30
Cruz Monrreal II
a070e350ec
Removed extra ARMc6 instance in unique mapping
2018-07-18 14:10:42 -05:00
Cruz Monrreal
e9e1ff997d
Merge pull request #7302 from OpenNuvoton/nuvoton_m2351_v1.1
...
Support Nuvoton's NUMAKER_PFM_M2351 target
2018-07-18 08:49:55 -05:00
Cruz Monrreal
b30ac55edd
Merge pull request #7396 from theotherjimmy/mbed-2-matrix
...
Tools: Show Mbed-2-only targets in mbed compile -S
2018-07-18 08:49:09 -05:00
Jimmy Brisson
a2427998f9
Disable make_armc6 on v8m
2018-07-17 15:56:11 -05:00
Jimmy Brisson
750a2ace64
Use paths explicitly in copy from mbed libs
2018-07-16 14:12:00 -05:00
Jimmy Brisson
447acd0360
Make release errors very visible
2018-07-16 14:12:00 -05:00
Jimmy Brisson
91e77f16cd
Import FireRef before using it
2018-07-16 14:12:00 -05:00
Jimmy Brisson
28800fbdde
Fix broken tests
2018-07-16 14:12:00 -05:00
Jimmy Brisson
c641fd7459
Sort every list we have
2018-07-16 14:12:00 -05:00
Jimmy Brisson
5c27da7046
Correct scatter shebang rewriting in Make
2018-07-16 14:12:00 -05:00
Jimmy Brisson
3b7a5bb35e
Filter libraries by extension in exporters
2018-07-16 14:11:09 -05:00
Jimmy Brisson
62538e3bce
Filter archives for the arm linker
...
the other compilers can do it for themselves
2018-07-16 14:11:09 -05:00
Jimmy Brisson
b2395a7786
Simplify get_config toolchain handling
2018-07-16 14:11:09 -05:00
Jimmy Brisson
545553b6bc
Rewrite test detection to avoid relying on "inc_dirs"
2018-07-16 14:11:08 -05:00
Jimmy Brisson
8166889885
Compute inc_dirs from headers
2018-07-16 14:11:08 -05:00
Jimmy Brisson
a4cc32067d
Add get_file_paths res API and use it
2018-07-16 14:11:08 -05:00
Jimmy Brisson
28dbbd6b3b
Correct path usage in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
d8ddfdc5a5
Populate lib_dirs
2018-07-16 14:11:08 -05:00
Jimmy Brisson
001c2d3b3b
Revisit Mbed 2 building
...
It's much cleaner now
2018-07-16 14:11:08 -05:00
Jimmy Brisson
c50d8a26dd
Correct win2unix typo
2018-07-16 14:11:08 -05:00
Jimmy Brisson
6a87510192
Correct several exporter uses of file_basepath with a dedupe
2018-07-16 14:11:08 -05:00
Jimmy Brisson
f143019e9a
Correct resources API usage in dupe test
2018-07-16 14:11:08 -05:00
Jimmy Brisson
7a26cd8da8
Use paths in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
4109aa52e6
Privatize parts of the API that I don't want public
2018-07-16 14:11:08 -05:00
Jimmy Brisson
8303539415
Remove unused APIs
2018-07-16 14:11:08 -05:00
Jimmy Brisson
0661578054
Use include paths when compiling
...
We were using include names before
2018-07-16 14:11:08 -05:00
Jimmy Brisson
60e08b196c
Don't flatten build directories
...
Make a really good guess
2018-07-16 14:11:08 -05:00
Jimmy Brisson
0294f62c74
Put all src_paths into the root
2018-07-16 14:11:08 -05:00
Jimmy Brisson
de913e1ea2
Improve resources API to include more use cases
2018-07-16 14:11:08 -05:00
Jimmy Brisson
06f3fca6cf
Correct the _only_ detect_duplicates call
2018-07-16 14:11:08 -05:00
Jimmy Brisson
6ca218544d
Correct resources usage in tests
2018-07-16 14:11:08 -05:00
Jimmy Brisson
a57942a813
Remove test about unused parameter in find_tests
2018-07-16 14:11:08 -05:00
Jimmy Brisson
9326386daf
Switch to Resources in build_api and tests
2018-07-16 14:11:08 -05:00
Jimmy Brisson
1f6862b41f
Remove needless None-passing
...
It's now the default
2018-07-16 14:11:08 -05:00
Jimmy Brisson
9d8c925f76
Remove unused function
2018-07-16 14:11:08 -05:00
Jimmy Brisson
73e890fdc6
Simplify exclusion logic
2018-07-16 14:11:08 -05:00
Jimmy Brisson
226082999a
Remove base_path argument from several methods
2018-07-16 14:11:08 -05:00
Jimmy Brisson
786c228958
Cleanup legacy target+toolchain consts
2018-07-16 14:11:08 -05:00
Jimmy Brisson
8dab7417ae
Cleanup comments and code near add_directory
2018-07-16 14:11:08 -05:00
Jimmy Brisson
0ad5df379c
Create fully incremental scans without lazy dicts
2018-07-16 14:11:08 -05:00
Jimmy Brisson
361fc65f08
Allow missing toolchain parameter to get_config
2018-07-16 14:11:08 -05:00
Jimmy Brisson
4c7cf21feb
Require notifier in resources
2018-07-16 14:10:21 -05:00
Jimmy Brisson
7c42302854
Update test builder to use new resources
2018-07-16 14:10:21 -05:00
Jimmy Brisson
3e6e9e8c26
Remove unused git hook
2018-07-16 14:10:21 -05:00
Jimmy Brisson
87146cd66a
Cleanup and reduced scanning
2018-07-16 14:10:21 -05:00
Jimmy Brisson
519e338667
Rework export resource scanning
2018-07-16 14:10:21 -05:00
Jimmy Brisson
2d8cf737e4
Move resource scanning into it's own module
2018-07-16 14:10:21 -05:00
Jimmy Brisson
285d661373
Show Mbed 2 support in compile -S
2018-07-16 14:07:41 -05:00
Jimmy Brisson
989986288f
Correct uvision exporter support check
2018-07-16 11:51:20 -05:00
Jimmy Brisson
9968b547d9
Allow ARMC6 only mbed 5 releases
2018-07-16 08:42:55 -05:00
Cruz Monrreal
904bdf8016
Merge pull request #7477 from theotherjimmy/fix-customtgt-tests
...
Tools: Skip target lookup in test builds.
2018-07-14 12:15:04 -05:00
Cruz Monrreal
39407adf1b
Merge pull request #7475 from theotherjimmy/py3-release-ver-parse
...
Tools: py3 compatible mbed-os version lowercasing
2018-07-14 06:29:03 -05:00
Cruz Monrreal
d4a0e6cf7a
Merge pull request #7503 from theotherjimmy/unquote-make
...
Tools: Drop quotes from makefiles
2018-07-13 22:13:33 -05:00
Cruz Monrreal
9667b5e49b
Merge pull request #7500 from theotherjimmy/fix-gcc-v8m-export
...
Tools: Correct cmse lib creating with make_gcc_arm exporter
2018-07-13 22:13:12 -05:00
Cruz Monrreal
1ee7d8b6d5
Merge pull request #7481 from theotherjimmy/py3-export-supported
...
Tools: Fix py3 bug with mbed export -S
2018-07-13 22:12:59 -05:00
Cruz Monrreal
d33d93bf47
Merge pull request #7501 from theotherjimmy/gen-file-mkdir
...
Tools: Make directories before gen file uses them
2018-07-13 09:12:07 -05:00
ccli8
1dbdcb2c8b
[M2351] Remove M2351KIAAEES from iar_definitions.json
...
M2351 doesn't support IAR yet.
2018-07-13 13:42:42 +08:00
Jimmy Brisson
33a56b4470
Drop quotes from command line make
2018-07-12 13:11:57 -05:00
Jimmy Brisson
ef7b466958
Correct cmse lib creation for the make_gcc_arm
2018-07-12 10:49:26 -05:00
Jimmy Brisson
9a3ad69ee9
Ensure that files generated have a directory
2018-07-12 10:27:14 -05:00
Jimmy Brisson
51276a66b0
Update compiler check to allow only v6 for OS 5
2018-07-12 18:01:40 +08:00
Jimmy Brisson
4400765ece
Add `Mxx_NS` core-based labels
2018-07-12 18:01:37 +08:00
ccli8
8f2c717c4c
[M2351] Fix part number in IAR export
2018-07-12 17:51:56 +08:00
Deepika
ffcc438b5a
[M2351] Use Cortex M23 specific header files and interrupts
...
1. Update use of correct header files
2. Added missing entry of M2351 device in IAR defines.
3. Removed support of ARM toolchain in targets.json
2018-07-12 17:51:00 +08:00
Jimmy Brisson
e68b328cf8
Fix Python3 bug with `mbed export -S`
2018-07-11 11:44:50 -05:00
Jimmy Brisson
6d42bd31c6
Tools: Correct release version "parsing" for py3
2018-07-11 09:46:03 -05:00
Jimmy Brisson
5f8aa893ca
Partial revert of "CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme"
2018-07-11 13:49:57 +01:00
Cruz Monrreal
3becf77b10
Merge pull request #7466 from theotherjimmy/py3-version-check
...
Tools: py3 compatible version checks
2018-07-11 07:34:49 -05:00
Cruz Monrreal
45b8ec981b
Merge pull request #7410 from theotherjimmy/explicit-exporer-aliases
...
Tools: Move exporter alias handling to CLI
2018-07-10 22:04:01 -05:00
Jimmy Brisson
444d021b0e
Correct string usage in version checking
2018-07-10 14:04:26 -05:00
Jimmy Brisson
a9abcf1b15
Add aliases to example exporter options
2018-07-09 09:49:55 -05:00
Jimmy Brisson
930a6119d7
Skip target lookup in test builds.
...
This should allow custom targets to be transferred to each process
when building in parallel
2018-07-09 09:44:55 -05:00
Jens Alfke
5543849ba4
Recognize ".cc" and ".hh" source file extensions
...
".cc" --> C++ source code
".hh" --> header
This change allows existing source code with this naming
convention (e.g. my company's) to be used in mbed.os projects.
2018-07-06 10:10:22 -07:00
Jimmy Brisson
047cb631e8
Correct -E help
2018-07-06 10:29:15 -05:00
Jimmy Brisson
ec0a4933fa
Correct argv usage
2018-07-06 10:22:37 -05:00
Jimmy Brisson
44030c23d3
Simplify main function
2018-07-06 10:20:37 -05:00
Jimmy Brisson
71323af2f5
Reformat part of project.py
2018-07-06 10:10:01 -05:00
Cruz Monrreal
0ba46e74a6
Merge pull request #7377 from theotherjimmy/stats-depth-zero
...
Tools: Summarize stats when depth is 0
2018-07-05 10:38:18 -05:00
Cruz Monrreal
fab08498f8
Merge pull request #7277 from theotherjimmy/error-on-unknown-config
...
Tools: Persist config errors until validation occurs
2018-07-05 10:36:35 -05:00
Jimmy Brisson
b56a7a6a5a
Move exporter alias handling into CLI
2018-07-03 13:56:23 -05:00
Jimmy Brisson
e53537c267
Use defaultdict in the other place
2018-07-03 10:03:27 -05:00
Cruz Monrreal
9c4c630356
Merge pull request #7367 from theotherjimmy/check-arm-component
...
Tools: Detect Arm Compiler version using Component
2018-07-03 07:35:57 -05:00
Cruz Monrreal
72684e3a2e
Merge pull request #7370 from jeromecoutant/PR_PERIPPINO
...
build_api.py : add comment about separate_names
2018-06-29 20:07:20 -05:00
Jimmy Brisson
982d2085ef
Summarize memory map when --stats-depth is 0
2018-06-29 12:09:53 -05:00
jeromecoutant
e17b1df13d
build_api.py : add comment about separate_names
2018-06-29 09:30:07 +02:00
Jimmy Brisson
95c33f7807
Include symbols in dumped build profiles
...
This will make incremental compile more complete, taking device_has and
inheritance hierarchy into account.
2018-06-28 15:05:23 -05:00
Jimmy Brisson
ed04c1b413
Add a test for MDK pro version detection
2018-06-28 10:58:52 -05:00
Jimmy Brisson
37013fb489
Use Component section for ARM compiler version
2018-06-28 10:51:12 -05:00
Jimmy Brisson
5795f5326e
Allow missing "bootloader_supported" key
2018-06-28 10:36:18 -05:00
Jimmy Brisson
2a9923f86e
Skip invalid undefined errors
2018-06-28 10:26:00 -05:00
Jimmy Brisson
12f490fa02
Make sure that there is always a config_errors member
2018-06-28 10:26:00 -05:00
Jimmy Brisson
c380304b93
Persist config errors until validation occurs
2018-06-28 10:26:00 -05:00
Cruz Monrreal
cfe0789e99
Merge pull request #7356 from SenRamakri/sen_CrashLogParserCrashFix
...
Fix tool crashing when lines end with cr(not crlf)
2018-06-28 10:10:39 -05:00
Cruz Monrreal
8baa8c5997
Merge pull request #7353 from jeromecoutant/PR_BUILDOS2
...
build_api script : separate PeripheralPins.o
2018-06-28 10:08:42 -05:00
Cruz Monrreal
dec43922ee
Merge pull request #7247 from theotherjimmy/toolchain-version-check
...
Tools: Check compiler version
2018-06-27 18:42:49 -05:00
Senthil Ramakrishnan
69a149a232
Fix tool crashing when lines end with cr(not crlf)
2018-06-27 17:06:50 -05:00
jeromecoutant
eba9fb1f8f
build_api script : separate PeripheralPins.o
2018-06-27 17:15:37 +02:00
Jimmy Brisson
c273de6545
Test and correct GCC version check
2018-06-26 09:25:33 -05:00
Jimmy Brisson
8c17a31c42
Test IAR version check
2018-06-26 09:25:21 -05:00
Jimmy Brisson
c174ca3f85
Test and correct ARMCC version check
2018-06-26 09:15:01 -05:00
Jimmy Brisson
e439b85de1
prepend VPATH to preinclude and don't escape asm macros
2018-06-26 08:47:41 -05:00
Jimmy Brisson
675ca1a698
Add empty configuration for asm profile test
2018-06-26 08:44:37 -05:00
Jimmy Brisson
f87fab5f33
Use via file for ASM macros in IAR
2018-06-26 08:44:37 -05:00
Jimmy Brisson
a775e6992e
Refactor via files to use a common method
2018-06-26 08:44:37 -05:00
Jimmy Brisson
a855281633
Use preinclude of mbed_config.h in all toolchains
2018-06-26 08:44:37 -05:00
TTornblom
dcd17935e3
IAR: Fixed #6670
2018-06-26 08:44:37 -05:00
Jimmy Brisson
0e56c18058
Check for no match in version check
2018-06-25 18:04:11 -05:00
Jimmy Brisson
59e8631d3a
Escape '.' in regex
2018-06-25 17:58:11 -05:00
Jimmy Brisson
1a9474e4d9
Search all stdout for version regex; check > 1 matches
2018-06-25 14:41:37 -05:00
Jimmy Brisson
2aea6c39f7
Improve ARM compiler regex
2018-06-25 11:33:44 -05:00
Cruz Monrreal
8e170ccbd1
Merge pull request #6925 from TomoYamanaka/feature-flashiap_bootloader
...
Support Flash iAP and Bootloader for GR-PEACH and GR-LYCHEE
2018-06-22 14:23:57 -05:00
Cruz Monrreal
24daf18044
Merge pull request #7105 from codeauroraforum/mxrt_add_ivt
...
MIMXRT1050: Update to EVK Rev B
2018-06-22 10:15:33 -05:00
TomoYamanaka
72fd8cafd7
Update arm pack manager for GR-PEACH
...
I changed the information("sectors" and "memory") of GR-PEACH for supporting bootloader in index.json file of arm pack manager.
2018-06-22 10:53:21 +09:00
TomoYamanaka
d5f0e1727b
Fix definitions of IAR exporter for GR-PEACH and GR-LYCHEE
2018-06-22 10:47:23 +09:00
TomoYamanaka
22b31e45a5
Update arm pack manager for GR-LYCHEE
...
I added the information of GR-LYCHEE for supporting bootloader in index.json file of arm pack manager.
2018-06-22 10:47:22 +09:00
Cruz Monrreal
95d2b3d55c
Merge pull request #7133 from OpenNuvoton/nuvoton_support_tz_partition
...
Override ROM/RAM start/size for TrustZone targets
2018-06-21 17:49:47 -05:00
Mahesh Mahadevan
632892d355
MIMXRT1050: Update to EVK Rev B
...
1. Add the IVT header to the binary as this is required for boot up
This was earlier added by the DAPLink firmware. As it is no longer
handled in DAPLink, the header needs to be added inside mbed.
2. Update drivers
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-06-21 13:34:12 -05:00
Cruz Monrreal II
799cfdbbc2
Compiling Cortex-A cores in uVision is not supported.
...
Reference: http://www2.keil.com/mdk5/selector
2018-06-21 09:13:24 -05:00
Jimmy Brisson
52e640fc1d
Add Rom config info getter and rom defines
...
* MBED_ROM_START = start of current rom (independent of BL modes)
* MBED_ROM_SIZE = size of current rom (independent of BL modes)
2018-06-20 10:47:04 -05:00
Cruz Monrreal
c4edf065d1
Merge pull request #7266 from bentcooke/update_arm_pack_index
...
update arm_pack_manager index
2018-06-20 10:02:54 -05:00
Cruz Monrreal
f11d0f3be7
Merge pull request #7261 from kjbracey-arm/iar-jump-warning
...
IAR: Suppress C "bypasses initialization" warning
2018-06-19 21:46:14 -05:00
ben
2bf0273a5c
update pack index
2018-06-19 14:42:32 -05:00
Jimmy Brisson
a87575fec5
Use Non-blocking Error and LooseVersion
2018-06-19 10:41:08 -05:00
Jimmy Brisson
4e6b830c91
Allow hex BL, SD and application merging
2018-06-19 09:27:09 -05:00
Kevin Bracey
81ed8014cd
IAR: Suppress C "bypasses initialization" warning
...
By default IAR generates "transfer of control bypasses initialization"
warnings for C code - it's a legal construct that frequently occurs when
doing Linux-style "goto error". Many occurrences in Nanostack.
Suppress the warning for C only, to align with GCC and ARMCC. Have to
take care not to put it in the "common" section, as this would suppress
it for C++, where it actually is illegal.
2018-06-19 15:54:28 +03:00
Martin Kojtal
eb3d3fdb54
Merge pull request #6929 from jeromecoutant/PR_SCRIPT
...
STM32 : script to generate PeripheralPins.c for new target addition
2018-06-19 14:26:22 +02:00
Jimmy Brisson
6f54a8fdd7
Check version of Mbed CLI compile
2018-06-18 14:03:09 -05:00
Cruz Monrreal
5d8e9dc0ea
Merge pull request #7174 from TeroJaasko/crash_log_parser_make_raw_output_possible
...
tools: crash_log_parser: make ELF and MAP parameters optional
2018-06-18 10:07:09 -05:00
Jimmy Brisson
86b7adbd30
Force small lib usage when using uARM tc
2018-06-15 10:38:23 -05:00
Anna Bridge
4d8dd59440
Merge pull request #7196 from theotherjimmy/no-double-header
...
Tools: Remove second header when every bl config param is used
2018-06-15 11:11:58 +01:00
Cruz Monrreal
10d9f7fda1
Merge pull request #7197 from theotherjimmy/uarm-uvision
...
Tools: Allow exporting of uARM-only targets to uvision
2018-06-14 17:29:25 -05:00
Jimmy Brisson
34792e60c6
Correct "defalut" typo
2018-06-13 09:51:50 -05:00
Jimmy Brisson
92abbb7599
Use memories passed in when getting memory specs
2018-06-13 09:33:39 -05:00
Cruz Monrreal
799ba08017
Merge pull request #7131 from klaas019/master
...
new mdot bootloader
2018-06-13 08:48:10 -05:00
Jimmy Brisson
1d9fd830af
Compute ARM_STD and ARM_MICRO labels with target attrs
2018-06-12 09:54:34 -05:00
Jimmy Brisson
b922201a9c
Heed default_lib in arm compiler
2018-06-12 09:29:10 -05:00
Jimmy Brisson
0c8f66f87b
Correct supported check of uvision to include uARM
2018-06-12 09:28:43 -05:00
Jimmy Brisson
8e26e2c198
Skip second header when every bl config paramater used
2018-06-12 09:02:14 -05:00
jeromecoutant
5fba2e49c5
STM32_gen_PeripheralPins.py : Add license header
2018-06-12 14:30:54 +02:00
Cruz Monrreal
e78943e062
Merge pull request #7159 from juhaylinen/greentea_mtb_emac
...
Add targets to Greentea EMAC tests
2018-06-11 08:51:20 -05:00
Cruz Monrreal
72fde51b02
Merge pull request #7148 from theotherjimmy/nonzero-build-release
...
Tool, build_release: Return nonzero when builds fail
2018-06-11 08:36:22 -05:00
Cruz Monrreal
9ca3252f6a
Merge pull request #7167 from theotherjimmy/fix-memap-armc6
...
Add show full path option to armc6 linker
2018-06-11 08:31:24 -05:00
Jimmy Brisson
09cdc0631d
Move from tc constructor to config vars
2018-06-08 09:59:19 -05:00
Tero Jääskö
274c3fa690
tools: crash_log_parser: make ELF and MAP parameters optional
...
On some bug reports the customer is providing only the raw
crash dump but not the ELF and MAP files. Those files are
needed to decode the addresses into symbol names, but the
extremely useful fault reason can still be decoded even
without them.
By making the ELF and MAP arguments optional, one can now
decode the raw dump content into something such as:
--8<--8<--
ELF or MAP file missing, logging raw values.
Crash Info:
Crash location = <unknown-symbol> [0x000091F4] (based on PC value)
Caller location = <unknown-symbol> [0x00018E39] (based on LR value)
Stack Pointer at the time of crash = [200091E8]
Target and Fault Info:
Processor Arch: ARM-V7M or above
Processor Variant: C24
Forced exception, a fault with configurable priority has been escalated to HardFault
The processor has attempted to execute an undefined instruction
2018-06-08 13:32:37 +03:00
ccli8
ae16aa2fb7
Fix overridden MBED_ROM_START/MBED_ROM_SIZE/MBED_RAM_START/MBED_RAM_SIZE don't pass to linker
2018-06-08 18:03:56 +08:00
Jimmy Brisson
7f0e7ce722
Add show full path option to armc6 linker
...
### Description
Full paths in the map file are required to have correct memap parsing.
This PR adds the option `--show_full_path` to ARMC6 in every profile.
This option only affects the map file output, so it's safe to add.
2018-06-07 11:44:03 -05:00
Cruz Monrreal
d216602cbb
Merge pull request #7067 from jeromecoutant/PR_ISM43362
...
Add ISM43362 driver support for STM32 wifi DISCO boards
2018-06-07 10:17:17 -05:00
Cruz Monrreal
a25b9f390f
Merge pull request #6999 from evva-sfw/feature/extend_error_warning_msg_as_link
...
Extend feature which displays errors/warnings as Link
2018-06-07 10:11:23 -05:00
Cruz Monrreal
7dc4848265
Merge pull request #7124 from theotherjimmy/term-notify-singletest
...
Tool: Use TerminalNotifier in singletest
2018-06-07 10:09:26 -05:00
Cruz Monrreal
277d5d6121
Merge pull request #7111 from cmonr/py3-exporter-issue
...
Python 3 makefile export issue
2018-06-07 10:09:07 -05:00
Jimmy Brisson
427d8c2985
Correct status reporting of build_release.py
2018-06-07 08:55:53 -05:00
Juha Ylinen
44ce63e586
Add targets to Greentea EMAC tests
...
Update test configuration file for WicedInterface
2018-06-07 12:11:38 +03:00
Martin Kojtal
835d38db58
Merge pull request #7132 from theotherjimmy/mbed2-use-notify
...
Tool: Use TerminalNotifier in Mbed 2 release
2018-06-07 09:17:45 +02:00
ccli8
58f1521623
Pass fixed SRAM information (MBED_RAM_START/MBED_RAM_SIZE) to compiler/linker
...
This fix relies on target configuration options (mbed_ram_start/mbed_ram_size) defined.
2018-06-06 09:49:44 +08:00
ccli8
f48f30ceb2
Pass fixed flash information (MBED_ROM_START/MBED_ROM_SIZE) to compiler/linker
...
This fix relies on target configuration options (mbed_rom_start/mbed_rom_size) defined.
2018-06-06 09:46:59 +08:00
ccli8
0cee003bd9
Fix flash start/size in bootloader related build
...
This fix relies on target configuration options (mbed_rom_start/mbed_rom_size) defined
to override CMSIS pack or no CMSIS pack.
This is useful for a target which:
1. Doesn't support CMSIS pack, or
2. Supports TrustZone and user needs to change its flash partition
2018-06-06 09:45:44 +08:00
Jimmy Brisson
18bdf562af
Use Notifier API when building mbed2
2018-06-05 13:26:04 -05:00
klaas019
da0a8dddc4
Add files via upload
2018-06-05 11:43:06 -05:00
klaas019
499034ccc1
Delete bootloader.bin
2018-06-05 11:42:19 -05:00
Cruz Monrreal
4fcaa56b77
Merge pull request #6914 from 0xc0170/fix_build_notifier
...
build: fix notifier typo and passing to builds API
2018-06-05 10:59:47 -05:00
Jimmy Brisson
8d03fe2de4
Use TerminalNotifier in singletest
2018-06-05 09:31:20 -05:00
jeromecoutant
0c6844d9c3
ISM pin configuration is now in ISM driver json file
2018-06-05 12:02:17 +02:00
Cruz Monrreal
80dde0b953
Merge pull request #7092 from cmonr/py3-in-windows
...
Additional fixes for running Python 3 in Windows
2018-06-04 21:45:55 -05:00
Cruz Monrreal II
5ed8ad8ffe
Updated makefile exporter to not rely on enumerating over map.
...
No longer supported in Py3.
2018-06-04 21:02:35 -05:00
Cruz Monrreal II
f689ace3e3
Removed extraneous file open
2018-06-04 12:02:49 -05:00
Cruz Monrreal
78d9c4f330
Merge pull request #6582 from theotherjimmy/memap-flamegraph
...
Implement zoomable html-flamegraph memap output
2018-06-04 10:48:08 -05:00
Cruz Monrreal II
cdbae994d1
Modified IntelHex tofile parameter to use path.
...
Py3 open(...) returns a BufferedReader instead of a file.
2018-06-04 09:21:43 -05:00
Cruz Monrreal II
e65537790e
Modified LazyDict to inherit from object instead of dict, and removed iteration over values.
...
Py3 no longer supports dictionaries that self-modify their item lists during iteration.
2018-06-04 09:21:43 -05:00
Cruz Monrreal II
6e9b7ea276
Added basestring import for proper string concatenation in Py3
2018-06-04 09:21:43 -05:00
Cruz Monrreal II
27d0255cb3
Sets module no longer needed to use set()
2018-06-04 09:21:43 -05:00
Cruz Monrreal II
2abae9e1d1
Modified memap path separator parsing to support Py3.
...
Had to remove part of test that was incompatible with Py3 on Windows.
2018-06-04 09:21:43 -05:00
Cruz Monrreal II
8b5a7600c4
Encapsulated Windows file separator for proper regex parsing
2018-06-04 09:21:42 -05:00
jeromecoutant
1884070ea9
Add ISM43362 driver support for STM32 wifi DISCO boards
...
2 DISCO boards:
- DISCO_F413ZH
- DISCO_L475VG_IOT01A
3 tests supported:
- tests-netsocket-tcp
- tests-netsocket-udp
- tests-network-wifi
2018-06-04 14:13:51 +02:00
Cruz Monrreal II
0e85dd821a
Updated local variable in memap/parse_test.py to be lower case.
2018-05-31 16:54:58 -05:00
Cruz Monrreal II
d2538bfb92
Added windows path separator to list of alphabet characters to ignore.
...
Corrected instance of hard-coded unix path separator.
2018-05-31 16:32:43 -05:00
Cruz Monrreal II
5cfcf86872
Modified memap tests to perform file path comparisons agnostic of the path separator.
2018-05-31 16:31:17 -05:00
Cruz Monrreal II
eb49274a27
Removed test that needs to be rearchitected due to subprocess limitations
2018-05-31 16:28:43 -05:00
Cruz Monrreal
1b168b6717
Merge pull request #7020 from marcemmers/iar-add-stm32l433
...
Add STM32L433RC to IAR exporter definitions
2018-05-29 10:42:43 -05:00
Cruz Monrreal
b70f6e056d
Merge pull request #7011 from mharringADI/fix-cces-export-float-abi
...
Fixed float-abi linker option for CCES exporter.
2018-05-29 10:41:34 -05:00
Martin Kojtal
501a7b6949
Merge pull request #7009 from bulislaw/merge_feature_branches_for_5.9
...
Bring in improved HAL APIs to master
2018-05-28 12:31:14 +02:00
Cruz Monrreal
9c62ea311d
Merge pull request #7023 from adbridge/master
...
Add new examples to example list for CI.
2018-05-25 20:27:51 -05:00
Cruz Monrreal
d597a8b3f3
Updated blockdevice example to target only K64F
2018-05-25 15:23:26 -05:00
Cruz Monrreal
45dc00dfaa
Merge pull request #6665 from VeijoPesonen/greentea_netsocket_more_tests
...
Greentea netsocket more tests
2018-05-25 15:20:17 -05:00
adbridge
d5941e022c
Add 2 more examples and remove deprecated one.
...
Removed:
mbed-os-example-fat-filesystem
Added:
mbed-os-example-error-handling
mbed-os-example-blockdevice
2018-05-25 18:35:31 +01:00
Bartek Szatkowski
2d11b05756
Disable Maxim boards as LP_TICKER is used in RTC and they don't respect device_has
2018-05-25 12:20:09 -05:00
Bartek Szatkowski
6e9f04bf2f
Rename DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER
...
That's to match DEVICE_USTICKER.
2018-05-25 12:20:09 -05:00
adbridge
aa7f0692bd
Add new examples to example list for CI.
...
The following examples have been added:
https://github.com/ARMmbed/mbed-os-example-thread-statistics
https://github.com/ARMmbed/mbed-os-example-sys-info
https://github.com/ARMmbed/mbed-os-example-cpu-usage
https://github.com/ARMmbed/mbed-os-example-cpu-stats
2018-05-25 17:34:02 +01:00
Marc Emmers
3b6173c10b
Added STM32L433RC to iar exporter options
2018-05-25 14:18:18 +02:00
Martin Kojtal
54ac90fb5a
Merge pull request #7003 from adbridge/master
...
Add devicekey example to examples list
2018-05-25 14:01:26 +02:00
Juha Ylinen
83fdd131a2
Update Greentea test configuration files
...
Add .json files for WicedInterface and SpwfSAInterface
Add target configurations for
MTB_UBLOX_ODIN_W2
MTB_ADV_WISE_1530
MTB_USI_WM_BN_BM_22
MTB_MXCHIP_EMW3166
NUCLEO_F401RE
2018-05-25 09:38:22 +03:00
Veijo Pesonen
2f410b0ce2
Rely on ARM's and U-Blox's echo servers
...
Make the server as default. Use the hostnames instead of plain IP addresses.
2018-05-25 09:35:14 +03:00
Cruz Monrreal
322c95c3a7
Limit devicekey example to only K64F
...
Lines up devicekey example with nvstore example
2018-05-24 17:38:02 -05:00
Mike Harrington
daf4c78ad4
Fixed incorrect clean_flags method and float-abi linker option for CCES exporter.
2018-05-24 16:48:29 -04:00
Cruz Monrreal
2f86c152f0
Merge pull request #6794 from RonEld/cc310_porting
...
Cryptocell 310 support
2018-05-24 10:05:46 -05:00
Kevin Bracey
13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
...
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
adbridge
5c3539c8ca
Add devicekey example to examples list
2018-05-24 11:13:45 +01:00
Martin Kojtal
d8cb72a0a2
Merge pull request #6273 from bulislaw/update_cmsis_5.3
...
Update cmsis/rtx to version 5.3
2018-05-24 09:37:40 +02:00
Cruz Monrreal
99df848e1c
Merge pull request #6968 from theotherjimmy/test-relpath
...
Test build: Reduce include command length
2018-05-23 14:47:58 -05:00
Kevin Bracey
ff32b28d1e
Refill example lists - all current Ethernet boards
...
Remove check for LWIP - check target flagging for EMAC drivers.
Should still be DEVICE_EMAC, but tooling doesn't support that.
2018-05-23 18:40:12 +03:00
PHST
af1e482f52
Correct Bug
2018-05-23 16:19:14 +02:00
PHST
b9217d6be0
correct imports
2018-05-23 16:13:50 +02:00
PHST
03422a9df5
Extend show error/warning as Link
...
PR #6270 added a parameter which allows the user to decide in case of an error or warning to print the output as a link.
This extension of this option also prints the ARM-GCC output in a link format.
2018-05-23 15:40:00 +02:00
Mika Leppänen
91531a2aaa
Updated ublox odin greentea test configuration file connect statement
...
Statement now uses network interface wifiInterface() method to
get wifi interface instead of casting.
2018-05-23 12:25:18 +03:00
Michael Zhang
162a8c0a00
add-rtl8195am-feature-emac ( #6904 )
...
rtl8195am feature emac implementation.
2018-05-23 12:25:18 +03:00
Mika Leppänen
ef68eb8b4d
Enabled greentea and mbed-os-example-tls/client/sockets test for STM
2018-05-23 12:24:02 +03:00
Kevin Bracey
d831bcb514
Remove Ethernet from NUCLEO_F429ZI test
...
Pending EMAC driver update, these tests won't compile.
2018-05-23 12:24:00 +03:00
Kevin Bracey
1683ff18ba
Disable Nanostack border router test
...
Pending Nanostack EMAC work, disable the border router.
2018-05-23 12:23:59 +03:00
Kevin Bracey
2548f1894d
Restrict client and socket example tests to K64F+K66F
...
I would like to restrict these to devices with "device_has": "EMAC", but
the framework doesn't currently permit that. Revisit as more drivers
are EMAC-enabled or if the framework changes.
2018-05-23 12:23:59 +03:00
Kevin Bracey
586a62a87b
Adjust test configurations for EMAC
...
Make ETHERNET configuration the default if DEVICE_EMAC is present,
instead of if FEATURE_LWIP is present.
This limits it to targets which have been ported to the new EMAC API.
Add LWIP feature to JSON config, as in principle the targets shouldn't
be adding it themselves. Opens scope to having Nanostack-based tests.
Disable tests for the Realtek and Wifi drivers that aren't ported yet.
2018-05-23 12:23:59 +03:00
Mika Leppänen
28ff255533
Updated greentea network interface configuration files
2018-05-23 12:23:57 +03:00
Martin Kojtal
261f73fbfd
Merge pull request #6896 from Alex-EEE/master
...
Export folder needs to not ignore .mbed files.
2018-05-22 14:42:12 +02:00
Jimmy Brisson
3e7fd9e0f0
Use relative path for scanning built mbed-os
2018-05-21 13:48:41 -05:00
jeromecoutant
5b43961860
STM32: move STM32_gen_PeripheralPins.py to tools/targets
2018-05-21 17:22:19 +02:00
Cruz Monrreal
b165e9c3da
Merge pull request #6823 from theotherjimmy/remove-build-everything
...
tools: Remove long-deprecated build_everything.py
2018-05-21 10:16:02 -05:00
Cruz Monrreal
1ae48fcee9
Merge pull request #6939 from jeromecoutant/PR_NOT_SUPPORTED
...
NOT_SUPPORTED error was not supported any more in test_api.py script
2018-05-21 10:08:03 -05:00
Ron Eldor
23ba8bc1f5
Change Cryptocell target to a feature
...
Change the Cryptocell310 target to `FEATURE_CRYPTOCELL310`
2018-05-21 13:40:43 +03:00
jeromecoutant
109524d83d
NOT_SUPPORTED error was not supported any more in test_api.py script
2018-05-17 11:58:13 +02:00
Martin Kojtal
9fd52e7beb
test: remove verbose from buil libs calls
...
it was removed recently, not used anymore
2018-05-16 16:19:03 +01:00
Martin Kojtal
0bbfc6199c
build: fix notifier typo and passing to builds API
...
Notifier should be passed to build libs functions, otherwise it's
none and fails.
Missing notify object in toolchain also fixed.
2018-05-16 13:30:06 +01:00
Cruz Monrreal II
4ea96d982d
Added explicit target for NVStore, per example readme
2018-05-15 12:48:48 -05:00
Cruz Monrreal
83d7444331
Merge pull request #6886 from cmonr/additional-py3-fixes
...
Corrected iteritems py2/3 compatability in test_api.py
2018-05-15 10:08:28 -05:00
Cruz Monrreal
0fd5447ff7
Merge pull request #6885 from theotherjimmy/fix-startaddr-conflict
...
BL mode: Prevent jump address conflicts
2018-05-14 16:16:34 -05:00
Alex-EEE
c0103c328b
Export folder needs to not ignore .mbed files.
...
Fixing a bug. .mbed is ignored in the high level .gitignore file. But .mbed is actually a needed file inside of tools/export. Even though the file is still in the main repo, since it's ignored now, you can easily lose it or remove it without seeing the change. Adding this .gitignore file here will add .mbed back into the tracked files for only this directory
2018-05-14 12:25:07 -05:00
Cruz Monrreal
d3cc4e1066
Merge pull request #6833 from andrewleech/test_ignore_arg
...
mbed test: add argument `--ignore` to allow passing in mbedignore patterns
2018-05-14 10:37:26 -05:00
Cruz Monrreal
598e5118a7
Merge pull request #6838 from ajaakko-arm/sw4stm_tmppath_fix
...
export: Fix invalid config header path in Sw4STM32
2018-05-14 10:37:01 -05:00
Bartek Szatkowski
00a321846d
Rename __DOMAIN_NS to DOMAIN_NS to match CMSIS
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
31eee7db20
Fix cmsis_importer.json so it works with the newest CMSIS
2018-05-14 12:18:21 +01:00
Bartek Szatkowski
07aad3c862
CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme
2018-05-14 12:18:21 +01:00
Cruz Monrreal II
daa0f9bc35
Corrected iteritems py2/3 compatability in test_api.py
2018-05-11 13:17:48 -05:00
Jimmy Brisson
4ad8ce073a
Prevent jump address conflicts in bootloader modes
2018-05-11 11:23:01 -05:00
Kimmo Vaisanen
b61912cbbe
Build mbed-os-example-lora only for lora targets
...
mbed-os-example-lora should be only compiled for targets which support lora.
2018-05-11 14:45:21 +03:00
Andrew Leech
3b79b3f65e
add `--ignore` argument to `mbed compile` & `mbed export` commands
2018-05-11 14:00:01 +10:00
Jaakko Heikkilä
5330fa8ce5
export: Remove debug print from sw4stm32
2018-05-09 09:03:17 +03:00
Andrew Leech
badd753466
mbed test: add argument `--ignore` to allow passing in extra mbedignore args
...
In particular this allows ignoring a project main.cpp file when running unit tests
2018-05-09 10:02:02 +10:00
Cruz Monrreal
ceeedfd99c
Merge pull request #6805 from theotherjimmy/reorder-test-configs
...
tools: Reorder test configuration priority
2018-05-07 19:15:14 -05:00
Cruz Monrreal
53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
...
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Cruz Monrreal
ab81b61e6c
Merge pull request #6657 from tsailer/exporter-codeblocks-ncs
...
add ncs36510 fib and trim generation
2018-05-07 10:40:51 -05:00
Cruz Monrreal
2ddce27a42
Merge pull request #6769 from theotherjimmy/fix-subtract-basepath
...
Move subtract basepath into the resources class
2018-05-07 10:33:36 -05:00
Cruz Monrreal
c52a8d6044
Merge pull request #6793 from theotherjimmy/fix-test-config-passing
...
tools: Pass app-config to get_config
2018-05-07 10:28:03 -05:00
Jaakko Heikkilä
03b16fc1c3
export: Fix invalid config header path in Sw4STM32
...
Removed tmp-path from config header path, when project is exported
in online compiler. Parallel build is enabled by default.
2018-05-07 15:27:25 +03:00
Jimmy Brisson
8e4ab30de7
Remove build_everything.py
...
It's not used
2018-05-04 11:48:17 -05:00
adbridge
cfe2676b30
Remove example update scripting from tools
...
The examples updating functionality has now been moved to the
mbed-release script and thus can be removed from here.
2018-05-04 13:57:18 +01:00
Jimmy Brisson
81f969e127
Reduce memory consumption and lock contension
...
29% speedup (old: 45sec, new: 35sec) on my machine
2018-05-03 13:47:58 -05:00
Martin Kojtal
e43d21d4ef
Merge pull request #6713 from theotherjimmy/arm-no-asm-inc
...
Drop include paths for ARM assembler
2018-05-03 16:31:04 +01:00
Jimmy Brisson
c186c3ce86
Use mocked notifier for individual tests
...
That way we separate the collection of notifications from everything else
2018-05-03 10:06:47 -05:00
Jimmy Brisson
d338e672de
Apply subtract basepath to features
...
A bug, #6755 , was the result of the `subtract_basepath` function not
being applied to a resources object's children (it's features). This PR
fixes this bug by moving this functionality into the resources class.
Then, I applied the `subtract_basepath` method to the children resource
objects recursively. This has been tested on Partnerbeta and is to
upstream the fix.
2018-05-03 08:54:55 -05:00
Jimmy Brisson
33eb3ea427
Reorder test configs
...
Old order:
* --test-config
* --app-config
* test config (as defined in test_config)
* `mbed_app.json` in root.
New order:
* --test-config
* --app-config
* `mbed_app.json` in root.
* test config (as defined in test_config)~
This matches the documentation and user expectation
2018-05-03 08:47:12 -05:00
Jimmy Brisson
0579c7e572
Check call to get_config in test_api tests
2018-05-02 09:55:36 -05:00
Jimmy Brisson
0f7e900417
Pass app config to get config
...
This corrects a bug which would manifest as --app-config not having
much of an affect on test builds (not the first libary bulid)
2018-05-02 09:38:44 -05:00
Jimmy Brisson
111f086796
Create Mock notifier for use in tests
2018-05-01 09:10:59 -05:00
Jimmy Brisson
dc006d6aa3
Remove silent from test invocation
...
apparently I forgot earlier
2018-04-30 14:44:02 -05:00
Jimmy Brisson
d422a5aadc
Use notifier api in export
2018-04-30 14:42:33 -05:00
Jimmy Brisson
c686c6cb8b
Rework cc_verbose
2018-04-30 14:09:35 -05:00
Jimmy Brisson
bfc598d041
Use kwargs for formatting
2018-04-30 13:54:48 -05:00
Jimmy Brisson
f67592afc9
Correct non-verbose printing
2018-04-30 13:43:08 -05:00
Jimmy Brisson
b6b6866d38
Extend a local version of the asm cmd list
...
I was extending an object-local one instead of a call-local one
2018-04-30 09:34:32 -05:00
Jimmy Brisson
beb6d7802a
Cleanup extraneous spaces on empty lines
2018-04-30 09:30:32 -05:00
Jimmy Brisson
542bcebac7
Use notify API in post-build scripts
2018-04-27 14:46:35 -05:00