Jimmy Brisson
fad2ee55e1
Restrict target_overries usage
2018-02-01 17:09:17 -06:00
Cruz Monrreal
d8aebba542
Merge pull request #5987 from deepikabhavnani/add_macros
...
Pre-processor common macro addition
2018-02-01 16:34:33 -06:00
Cruz Monrreal
860b66a722
Merge pull request #5022 from scartmell-arm/mbed-config-json-schema
...
Add JSON schema based validation to mbed config script
2018-02-01 16:01:51 -06:00
Cruz Monrreal
670c62c12a
Merge pull request #5984 from amq/efm32-peripherals
...
EFM32: make peripherals conditional
2018-02-01 14:27:08 -06:00
Cruz Monrreal
ce9f63fde7
Merge pull request #5964 from amq/vscode-launch
...
VS Code exporter: do not overwrite existing (launch|settings|tasks).json
2018-02-01 13:27:27 -06:00
Ashok Rao
2e9c3340de
Adding LAIRD_BL600 MTB
2018-02-01 17:21:37 +00:00
Steven Cartmell
b1ea3881be
Fix test errors produced by JSON schema after rebase
...
- Modified the expected error code in some of the test cases. The error
message is now issued by the JSON validator.
- Stop validation code being called if no application configuration is
given to validate.
- Change test mock code to check for specific calls, instead of number of
calls.
- Derive absolute paths for JSON schema files before loading them, which
seems to work better with the URI path resolution of the schema parser.
2018-02-01 17:18:41 +00:00
Steven Cartmell
7010010ffc
Remove placeholder $id from JSON schema and fix description
2018-02-01 17:18:41 +00:00
Steven Cartmell
151f2fa3a6
Refactor common JSON schema definitions into a seperate file
...
- Moved all common definitions from schema_app and schema_lib into a
separate definitions file.
- Changed the calling code to resolve multiple schema files correctly.
2018-02-01 17:18:40 +00:00
Steven Cartmell
3ff7de9771
Remove config_path setting and amend regex in mbed config JSON schema
...
- Removed the config_path setting from schema and moved the addition of the
config_path value after the validation is done.
- Altered the macro validation regex to be more lenient. Now verifies that
if '=' is used in the macro definition that something comes after it.
2018-02-01 17:18:40 +00:00
Steven Cartmell
d208421efc
Add JSON Schema library to requirements.txt
2018-02-01 17:18:40 +00:00
Steven Cartmell
fd208e6751
Add JSON schema based validation to mbed config script
...
- Added app and lib JSON schema definition files which specify the valid
keys and values that can be used in mbed library and application
configuration files. The primary different between the app and lib
schema is that the lib config requires a name key.
- Modified the expected error code in some of the test cases. The error
message is now issued by the JSON validator.
- Added some validation code to the config script which checks the
validity of the mbed_app.json file when it is initially loaded.
- Added some validation code to config script which checks each of the
mbed_lib.json scripts when they are loaded.
- Removed manual checks for allowable config keys from within the mbed_app
and mbed_lib json files.
- Removed the check_dict_types() function which was no longer being
called.
2018-02-01 17:18:39 +00:00
Christopher Haster
dcd0e6b82e
Workaround for insufficient heap on IAR+MTB_xDOT_GT
...
We currently don't have a mechanism for selecting tests based on the
available ram/heap, so the best solution right now is to disable these
tests specifically for this target.
2018-02-01 10:51:16 -06:00
Cruz Monrreal
10c81775b4
Merge pull request #5990 from theotherjimmy/fix-sw4stm32-supported
...
Correct SW4STM32 supported check
2018-02-01 10:30:55 -06:00
Cruz Monrreal
bf3693fef4
Merge pull request #5909 from theotherjimmy/bl-as-config
...
Let libraries, targets configure bootloader
2018-02-01 10:28:42 -06:00
Brendan McDonnell
a47bf4595f
make _sbrk() WEAK so the user can override it, e.g. to make malloc() always use external memory
2018-02-01 11:14:07 -05:00
paul-szczepanek-arm
32e91ac168
removed idenitty list as resolution will be done insite the db asynchronously
2018-02-01 10:00:10 -06:00
Krzysztof Stachowiak
174530b5fe
Resolve conflicts after master update
2018-02-01 14:30:56 +01:00
paul-szczepanek-arm
f53359f60c
doxygen
2018-01-31 16:42:35 -06:00
paul-szczepanek-arm
132b9e01bf
fix encryption call to accept 16 octets
2018-01-31 16:23:45 -06:00
Jimmy Brisson
f88b425bfe
Correct SW4STM32 supported check
2018-01-31 16:13:21 -06:00
paul-szczepanek-arm
714069b965
deal with failed LTK retrieval, remove unused functionality, more doxygen
2018-01-31 14:16:56 -06:00
deepikabhavnani
3977249b54
Added macro: 1. string length and 2. variable argument count
2018-01-31 14:06:16 -06:00
Cruz Monrreal
f907012e55
Merge pull request #5962 from bcostm/fix_usart_irq_index
...
STM32: Fix usart irq index
2018-01-31 12:16:17 -06:00
Cruz Monrreal
097966b8c7
Merge pull request #5905 from ithinuel/add-CMWX1ZZABZ-078-support
...
add support for the murata's module CMWX1ZZABZ-078 based on STM32L0
2018-01-31 12:14:29 -06:00
Cruz Monrreal
5cd30b965c
Merge pull request #5925 from geky/bd-erase-value
...
bd: Add get_erase_value function to the block device API
2018-01-31 12:13:54 -06:00
Cruz Monrreal
c06a42b05d
Merge pull request #5630 from adustm/fix5079_sha1_md5_sha256_hwcrypto
...
Fix #5079 . Support of call to mbedtls_x_finish without calling mbedtls_x_update
2018-01-31 12:08:44 -06:00
paul-szczepanek-arm
5498b79f55
doxygen, moved types to common
2018-01-31 12:06:01 -06:00
amq
fdc2274720
EFM32: make peripherals conditional
...
* MCUs within a family like EFM32GG can omit some peripherals, e.g. EFM32GG230 doesn't have UART
* This commit adds a check to make them compilable, relevant mainly for custom boards
2018-01-31 17:35:26 +00:00
paul-szczepanek-arm
62502fe1c8
more doxygen and naming consistency
2018-01-31 11:27:32 -06:00
Jimmy Brisson
6eebc71d99
Force config resolution in gnuarmeclipse exporter
2018-01-31 10:04:34 -06:00
Jimmy Brisson
a92d0df4ae
Move region adding to mbedToolchain
2018-01-31 10:04:34 -06:00
Jimmy Brisson
c9add5c489
Check that boot loader config works in libs
2018-01-31 10:04:34 -06:00
Jimmy Brisson
dd3708c24c
Handle target overrides that have a path correctly
2018-01-31 10:04:34 -06:00
Jimmy Brisson
c180324530
Configure boot loader after scanning
2018-01-31 10:04:34 -06:00
Jimmy Brisson
855d74a968
Enable libraries to have boot loader configuration
2018-01-31 10:04:34 -06:00
Martin Kojtal
195b3ea24b
Merge pull request #5982 from ithinuel/add-wise-1510
...
fixes a silent conflict with PR #5947
2018-01-31 10:13:05 +00:00
Wilfried Chauveau
3608627a48
fix a silent conflict with PR #5947
2018-01-31 00:48:40 +00:00
paul-szczepanek-arm
2060ad5df0
we don't need two event handler since now the generic security manager implements the interface
2018-01-30 17:01:30 -06:00
paul-szczepanek-arm
e686eec048
missing implementation for whitelist from bond table and more doxygen
2018-01-30 16:49:35 -06:00
Cruz Monrreal
b87e98c57b
Merge pull request #5904 from ithinuel/add-wise-1510
...
add support for STM32L443RC & WISE-1510
2018-01-30 15:01:00 -06:00
Cruz Monrreal
fff6c75e28
Merge pull request #5936 from jeromecoutant/PR_WEAK_PINMAP
...
STM32 : set all PinMap structures as weak
2018-01-30 14:56:42 -06:00
Cruz Monrreal
101fc62495
Merge pull request #5926 from geky/bd-sync
...
bd: Add sync function to the block device API
2018-01-30 14:55:59 -06:00
Cruz Monrreal
b08e1b3078
Merge pull request #5837 from ashok-rao/br-ublox-NINA
...
Adding MTB ublox NINA-B1 as a new target
2018-01-30 14:55:43 -06:00
Cruz Monrreal
78b65d03f2
Merge pull request #5818 from sarahmarshy/bootloader-align-sectors
...
Enforce sector alignmnent for managed bootloader builds
2018-01-30 14:54:30 -06:00
Cruz Monrreal
10e67e659c
Merge pull request #5947 from jeromecoutant/PR_L4_PLUART
...
STM32L4 : add missing ST HAL UART functions
2018-01-30 14:46:15 -06:00
paul-szczepanek-arm
322ee90797
doxygen fixes
2018-01-30 14:00:21 -06:00
Ashok Rao
ba932700d9
Adding MTB_MTS_XDOT as a new target
2018-01-30 17:48:45 +00:00
paul-szczepanek-arm
9e79ba4ee4
doxygen
2018-01-30 11:27:12 -06:00
Krzysztof Stachowiak
876a3b1a74
Update Mbed TLS HW acceleration partner code to new hashing API
2018-01-30 14:49:53 +01:00