Hugues Kamba
a79ae95703
mbed-client-cli: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-26 13:45:46 +00:00
Hugues Kamba
4318a0747f
Tests: Remove support for ARM Compiler 5
...
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-25 18:22:00 +00:00
jeromecoutant
7b0ac0669f
MBED TRACE default level is INFO
2020-03-24 09:36:21 +01:00
Martin Kojtal
0286e3c325
Merge pull request #12525 from rajkan01/ticker_remove_deprecated
...
Remove the deprecated Ticker APIs
2020-02-28 09:52:22 +00:00
Martin Kojtal
9ad292a2a3
Merge pull request #12466 from jeromecoutant/PR_METRIC
...
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-28 08:45:44 +00:00
Rajkumar Kanagaraj
db0bf08e4d
Remove the deprecated Ticker APIs
2020-02-27 03:26:12 -08:00
jeromecoutant
2df428b36d
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-18 18:00:40 +01:00
David Lin
49b0f43cff
Fixed typo: 'lenght' in ip6string.h
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 18:38:19 +08:00
Hugues Kamba
dbaeeaf758
Replace RawSerial instances as it has been deprecated
2020-01-06 15:48:49 +00:00
Martin Kojtal
de798c4f37
Merge pull request #12147 from ristohuhtala/mbed-coap-builder-uint-overflow
...
mbed-coap uint16 overflow fix
2020-01-02 13:51:14 +00:00
Risto Huhtala
82caa9007e
Code review fix. Removing extra spaces
2020-01-02 13:40:50 +02:00
Risto Huhtala
1d220135c9
Update mbed-coap changelog-md with v5.1.3 information
2019-12-30 09:37:17 +02:00
Risto Huhtala
03b12ed334
mbed-coap uint16 overflow when calculating packet data size
2019-12-20 11:34:53 +02:00
Risto Huhtala
9f0c0043d8
mbed-coap Buffer overflow when paring CoAP message
2019-12-20 10:42:54 +02:00
Antti Kauppila
11b1df00b8
Coverity fix for mbed-client-cli
...
- uint64_t cast added to avoid overflow
2019-12-11 09:32:02 +02:00
Antti Yli-Tokola
4a491b99df
Update mbed-coap to version 5.1.2
...
Compiler warning cleanups.
2019-11-20 22:36:25 +02:00
Martin Kojtal
d556bf698f
Merge pull request #11821 from rajkan01/feature-baremetal-greentea-psa
...
Skip Bare Metal green tea test for PSA component
2019-11-12 11:07:16 +01:00
RAJKUMAR KANAGARAJ
f30dd1cef2
Enable the Bare Metal green tea test
...
-PSA test framework uses the RTOS threads to run test cases so added MBED_CONF_RTOS_PRESENT to all the test cases.
2019-11-06 03:15:49 -08:00
RAJKUMAR KANAGARAJ
b1731ce3c8
-New PR for PSA,Netsocket,storage components,reverted all the changes to back to original
...
-Change the #error description more precisely
-Separated the MBED_CONF_RTOS_PRESENT guarded
2019-11-06 01:59:05 -08:00
RAJKUMAR KANAGARAJ
3fc8905315
Fixed the greentea test dependency and incorporated the review comments
...
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue
-Disable metrics that are not available for bare metal
-Moved the baremetal.json inside TESTS/configs directory
2019-11-05 08:49:27 -08:00
RAJKUMAR KANAGARAJ
f402dbb2da
Bare metal greentea support
...
-Added the baremetal.json on Tests directory to enable bare-metal
-Conditional enable of greentea metrics
Note:
Run green tea with bare metal
mbed test -m target -t GCC_ARM -n tests-mbed_platform-transaction --app-config TESTS/baremetal.json
2019-11-05 08:49:27 -08:00
Martin Kojtal
f1392d6b6b
Merge pull request #11695 from jeromecoutant/PR_GREENTEA_TRACE
...
GREENTEA: init trace if trace is enabled in json
2019-10-29 15:13:31 +01:00
Martin Kojtal
02c722af42
Merge pull request #11620 from jainvikas8/ISSUE-11256
...
Fix enum type to align with psa-arch-tests
2019-10-22 09:42:13 +02:00
jeromecoutant
0d678e9299
GREENTEA: init trace if trace is enabled in json
2019-10-16 11:47:07 +02:00
Vikas Katariya
c1486eaf41
Fix enum type to align with psa-arch-tests
...
This is related to https://github.com/ARMmbed/mbed-os/issues/11256
When TARGET_PSA is enabled on Cortex-A boards, the SECURE
is redeclared. So to minimize the impact we can redeclare this in
val.h which is used only by Mbed. And `security_t` itself is used in
mbed-os\components\TARGET_PSA\TESTS, but the SECURE string is not used.
Renamed to `caller_security_t` which aligns with
https://github.com/ARM-software/psa-arch-tests
2019-10-02 16:37:58 +01:00
int_szyk
76407bc654
sn_coap_builder: remove unnecessary code.
...
Fixes Coverity issue about unused variable.
2019-09-24 11:35:52 +02:00
Yogesh Pande
246f431ed4
Delaying message id random initialization to later stage.
...
Random initialization sequence is causing start up issues in multiple platform
when done at construction phase.
The right thing is to delay the random initialization to later stage when the
message id is actually required. This provides system to do all necessary allocation
upfront without causing any random race condition at startup phase.
2019-09-13 16:17:14 +03:00
Martin Kojtal
87cdef9258
Merge pull request #11408 from SeppoTakalo/mbed_trace_nanomesh
...
Remove mbed_trace dependency to Nanomesh headers
2019-09-06 14:36:14 +02:00
Seppo Takalo
a7634a1e5a
Include ns_types.h before mbed_trace.h in Nanomesh
2019-09-06 13:05:19 +03:00
Seppo Takalo
40841453a5
Remove mbed_trace dependency to Nanomesh headers
...
This library only uses standard types from C99, and
thus does not need compiler specific tweaks from ns_types.h
2019-09-06 10:40:14 +03:00
Martin Kojtal
567479792c
Merge pull request #11392 from hugueskamba/hk-remove-minor-warnings
...
Remove minor build warnings
2019-09-05 09:59:39 +02:00
Hugues Kamba
8c22bbbbc8
Use PRIu32 to print uint32_t variable
...
As the variable underlying type size is different depending on the
toolchain used
2019-09-03 09:29:06 +01:00
Martin Kojtal
e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
...
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero
95d448b63d
attestation: Erase storage before test
...
Be robust when keys can't be opened for deletion by erasing storage and
thereby all keys.
2019-09-02 17:10:59 +01:00
Jaeden Amero
3d1b8363db
Use PSA Crypto API 1.0b3
...
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
Hugues Kamba
e65a0c0a99
Remove minor build warnings
2019-09-02 15:04:58 +01:00
Antti Yli-Tokola
5f92db3c12
Add a flag to maintain backward compatibility
...
By default CoAP will create a copy of the whole data to be passed to application and it keeps the backward compatibility.
If enabled, application must NOT free the payload when it gets the COAP_STATUS_PARSER_BLOCKWISE_MSG_RECEIVED status.
And application must call sn_coap_protocol_block_remove() instead.
2019-08-29 13:34:24 +03:00
Antti Yli-Tokola
d74326e5cc
Update changelog about the breaking change
2019-08-28 14:22:03 +03:00
Antti Yli-Tokola
2774e3f301
Update mbed-coap to version 5.0.0
...
- Reduce heap footprint by storing only single block when receiving a blockwise message.
* User is now responsible of freeing the data by calling sn_coap_protocol_block_remove() and must not free the payload separately.
- Bug fix: Request blockwise transfer if incoming payload length is too large and when it comes without block indication.
2019-08-28 11:26:55 +03:00
Jaeden Amero
e31916f36f
attestation: Remove unused status variable
2019-08-21 19:43:58 +01:00
Jaeden Amero
3e5fa80ce3
psa: Eliminate some PSA_SUCCESS redefinition warnings
...
Remove PSA_SUCCESS redefinitions in the PSA compliance test PAL.
2019-08-21 19:43:58 +01:00
Jaeden Amero
273c62516d
crypto: Remove old compliance tests
...
We'll use the new ARM-software/psa-arch-tests directly instead for PSA
Crypto API 1.0b3. This commit removes the crypto compliance tests only
for now, leaving attestation and storage tests.
2019-08-21 19:43:58 +01:00
Antti Yli-Tokola
7ba7f7e8d2
Update mbed-coap to version 4.8.1
...
- Store ACK's also into duplicate info list.
- ROM size optimization. Flash size has gone down ~1100 bytes.
**Closed issues:**
- IOTCLT-3592 - Client does not handle Duplicate ACK messages during blockwise registration correctly
2019-08-21 13:08:18 +03:00
Seppo Takalo
6ce2439c0f
Merge pull request #11086 from Tharazi97/Greentea_compile_without_serial
...
Mbed-os compile without DEVICE_SERIAL
2019-07-25 12:45:37 +03:00
int_szyk
4c13c469d9
Can compile without serial
2019-07-22 16:17:52 +02:00
David Saada
fb3559d841
PSA storage: Conform to "PSA 1.0.0" spec release
...
- Add the no confidentiality & no replay protection flags
- Add actual size parameter in PS/ITS get APIs
- Change a few size parameters from uint32_t to size_t
2019-07-14 18:50:47 +03:00
Arto Kinnunen
51d37d5da4
Merge commit '8730005927c6e12a78957c2eda92dc5a9698cdea' into nanostack_libservice_update
...
* commit '8730005927c6e12a78957c2eda92dc5a9698cdea':
Squashed 'features/frameworks/nanostack-libservice/' changes from dd98c37..9af7568
2019-07-05 10:44:37 +03:00
Kevin Bracey
5c3b15cf81
ns_list: avoid UINT_FAST8_MAX
...
Prevent compilation issues when someone has included <stdint.h> before
a header file that needs to include <ns_list.h>.
Some toolchains like ARM C 5 will not provide UINT_FAST8_MAX in C++
unless __STDC_LIMIT_MACROS is defined, and if this was not defined the
first time <stdint.h> was included, it's too late.
We can get the maximum value for our unsigned list offset by casting -1
to it, thanks to modulo arithmetic.
2019-06-11 17:13:27 +03:00
Antti Yli-Tokola
68400add4a
Update mbed-coap to version 4.8.0
...
Make sn_coap_protocol_linked_list_duplication_info_remove API to public. User might want to delete some messages from the duplicate list.
Enable support for unified client configuration.
2019-05-21 09:30:04 +03:00
Oren Cohen
fc97a75632
Remove #ifndef NO_GREENTEA from tests
2019-03-14 11:16:44 +02:00
Netanel Gonen
053e07b6dc
change the include to mbedtls/config.h
2019-03-11 19:03:08 +02:00
Nir Sonnenschein
c99f03d0ce
add mbed_lib.json to prevent inclusion in bare-metal builds
2019-03-07 18:04:59 +02:00
Nir Sonnenschein
517bb1a64a
remove sid.h as it is now supplied by PSA
2019-03-07 18:04:27 +02:00
Nir Sonnenschein
a772d9d327
add comment explaining attestation keys for test use
2019-03-07 17:50:54 +02:00
Nir Sonnenschein
4edb6dac6c
removed redundant code + added comment
...
Thanks @cmonr.
2019-03-07 12:30:57 +02:00
Netanel Gonen
2982907e37
rework for mbed-os intf for ACK tests
...
-rework test wrapper functions to simplify test main
-move greentea init before test setup code to avoid boards losing sync.
2019-03-05 17:07:34 +02:00
Nir Sonnenschein
1650a923eb
add main functions to each compliance test
...
add main function to each compliance test , moving shared code to a common file
2019-03-03 22:50:59 +02:00
Nir Sonnenschein
eae1252c29
changes to test infrastructure to adapt it to green-tea
...
changes to test infrastructure to adapt it to green-tea
Make ITS testing default
Fix IAR build issues
2019-03-03 22:47:33 +02:00
Nir Sonnenschein
b64fb53d43
[api-tests]: Updated to cb58d2c
2019-03-03 15:51:26 +02:00
Cruz Monrreal
024cae5442
Merge pull request #9835 from orenc17/no_greentea
...
Add define to skip greentea sync
2019-02-28 18:24:09 -06:00
Cruz Monrreal
b5bb1c1211
Update features/frameworks/greentea-client/source/greentea_test_env.cpp
...
Co-Authored-By: orenc17 <oren.cohen@arm.com>
2019-02-27 21:38:16 +02:00
Arto Kinnunen
16e2a85ad1
Merge commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de'
...
* commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de':
Squashed 'features/frameworks/mbed-trace/' changes from 0a4f6be..642a459
2019-02-25 14:48:18 +02:00
Oren Cohen
78ec812f3a
Add define to skip greentea sync
2019-02-25 14:16:45 +02:00
Arto Kinnunen
ab1cfc5c7e
Merge commit '14ff147a610d775c157ffc48b4e4521d0a6493f0'
...
* commit '14ff147a610d775c157ffc48b4e4521d0a6493f0':
Squashed 'features/frameworks/mbed-trace/' changes from 7a1bd34..0a4f6be
2019-02-25 13:01:32 +02:00
Arto Kinnunen
3b1ccfac0a
Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed'
...
* commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed':
Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4c358..dd98c37
2019-02-25 13:00:32 +02:00
Martin Kojtal
a3500a3040
Merge pull request #9654 from anttiylitokola/mbed-coap-to-4.7.4
...
Update mbed-coap to version 4.7.4
2019-02-15 10:58:06 +01:00
Cruz Monrreal
b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
...
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Martin Kojtal
10bb66a053
Merge pull request #9424 from SeppoTakalo/ONME-4125
...
Allows multiple network status listeners
2019-02-11 10:41:35 +01:00
Antti Yli-Tokola
8073ce20b6
Update mbed-coap to version 4.7.4
...
- Remove dependency to yotta tool
- Do not remove stored (GET) blockwise message when EMPTY ACK received. When non piggybacked response mode is used original GET request must not be removed from the stored message list.Message is needed for building the next (GET) blockwise message.
- Move definitions to sn_config.h
2019-02-11 10:37:43 +02:00
Oren Cohen
32463d64dc
Add missing mbed_lib.json for frameworks and nanostack
...
* mbed-client-randlib
* nanostack-libservice
* coap-service
* nanostack-interface
2019-02-07 09:25:14 -06:00
Seppo Takalo
43a53df505
Fix ns_list for C++03 compilers, like IAR 7
2019-02-06 15:26:06 +02:00
Brian Daniels
4a0bb5b35d
Update utest README
2019-01-28 16:35:35 -06:00
Brian Daniels
1a9df4269b
Correct example given in greentea-client readme
2019-01-28 16:35:34 -06:00
Brian Daniels
b694a34873
Remove reference to yotta and mbed-drivers in greentea-client
2019-01-28 16:35:20 -06:00
Brian Daniels
96a71ce59a
Removing references to yotta and minar within utest
2019-01-28 16:31:20 -06:00
Cruz Monrreal
66cda8a8fe
Merge pull request #9499 from bridadan/remove_yotta_modules
...
Remove unused yotta module metadata
2019-01-28 10:37:30 -06:00
Cruz Monrreal
545d229ab1
Merge pull request #9497 from ARMmbed/AnotherButler-patch-2
...
Remove yotta from README.md
2019-01-28 10:36:36 -06:00
Amanda Butler
36438a1d70
Remove outdated content from README.md
...
Remove requested outdated content, and update TOC to reflect changes.
2019-01-25 09:57:19 -06:00
Amanda Butler
8b35bbc5b5
Remove .json blob from README.md
...
Make change suggested in comments.
2019-01-24 15:54:02 -06:00
Brian Daniels
99d6145cf3
Update features/frameworks/greentea-client/README.md
...
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-01-24 15:53:01 -06:00
Brian Daniels
ee5281abef
Remove unused yotta module metadata
2019-01-24 15:30:20 -06:00
Amanda Butler
25bb0d23c5
Remove outdated text and fix spelling in README.md
...
Remove reference to yotta, and fix spelling for correct branding.
2019-01-24 15:29:09 -06:00
Amanda Butler
39851e4c18
Remove yotta from README.md
...
Remove all references to yotta.md
2019-01-24 15:25:30 -06:00
Jimmy Brisson
e201fdb6e9
Add placeholder libraries for things we probably refer to as libraries
2019-01-16 14:58:58 -06:00
Martin Kojtal
c59aa99861
Merge pull request #8882 from anttiylitokola/mbed-coap-4.7.3
...
Update mbed-coap to version 4.7.3
2018-12-03 13:44:20 +01:00
Martin Kojtal
c62f654da1
Merge pull request #8843 from miyuki/fix-cxx11
...
Fix C++11 build with Arm Compiler 6
2018-12-03 13:22:11 +01:00
Antti Yli-Tokola
fffbca64e0
Update mbed-coap to version 4.7.3
...
EMPTY response should not be stored to blockwise list.
An Empty message only contains the 4-byte header so it does not require any blockwise operations.
This will fix unneseccary message sending timeouts which leads mbed cloud client to do unnecessary
reconnections which increases the network traffic.
2018-11-27 16:47:17 +02:00
Mikhail Maltsev
5c351dc6ae
Fix C++11 build with Arm Compiler 6
...
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
does not provide
This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-11-26 12:54:51 +00:00
Antti Yli-Tokola
8d341ae0d4
Update mbed-coap to version 4.7.2
...
- Fix handling of duplicate blockwise ACK's
CoAP data buffer was not added into duplication info store when creating response for blockwise request.
This leads to case where whole bootstrap flow just timeouts if received any duplicate messages during blockwise operation.
Fixes error: IOTCLT-3188 - UDP connection fails for lost ACK sending
- Remove error trace when building reset message without options
This makes it possible to build the reset message without allocating option or getting error message.
2018-11-22 14:48:33 +02:00
Cruz Monrreal II
b327b12c75
Merge branch 'david_unity_error_code' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:14 -06:00
Cruz Monrreal II
49b940c9a7
Merge branch 'prepare_for_mbedos511' of ssh://github.com/artokin/mbed-os into rollup-b.1
2018-11-15 18:26:12 -06:00
David Saada
3995779806
Add a Unity macro to assert on platform error code difference
2018-11-15 12:14:44 +02:00
Arto Kinnunen
923ce138f5
Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511
...
* commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d':
Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
2018-11-10 20:14:25 +02:00
Arto Kinnunen
9a13e9d5e8
Merge commit '1374a5e5e6775dd6db9533075f25b3112c984b22' into mbedos511
...
* commit '1374a5e5e6775dd6db9533075f25b3112c984b22':
Squashed 'features/frameworks/mbed-trace/' changes from 9eaf0d1..7a1bd34
2018-11-09 15:59:35 +02:00
Arto Kinnunen
ce2ecd5e5b
Merge commit '5d162a08ffd383c97b49e35f3065fcd4638ac87c' as 'features/frameworks/mbed-client-randlib'
2018-11-09 15:52:44 +02:00
Arto Kinnunen
72fc5faab0
Remove mbed-client-randlib
...
Remove mbed-client-randlib and add it later as git subtree
2018-11-09 15:48:41 +02:00
Arto Kinnunen
2d10cebd00
Sync mbed-client-cli files with v0.4.0
...
Sync mbed-client-cli with master repo v0.4.0.
2018-11-08 13:21:56 +02:00
Arto Kinnunen
d7e2bd3f81
Merge commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646' into mbedos511
...
* commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646':
Squashed 'features/frameworks/mbed-trace/' changes from 6df2572..9eaf0d1
2018-11-05 14:21:35 +02:00
Arto Kinnunen
66620a2761
Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511
...
* commit '0ca91df5905111270a6ec1343be5c726c97fe571':
Squashed 'features/frameworks/nanostack-libservice/' changes from 5eb2f3f..bb56e37
2018-11-05 14:17:48 +02:00
Anna Bridge
83dada3bdc
Merge pull request #8404 from anttiylitokola/mbed_coap_4.7.1
...
Update mbed-coap to version 4.7.1
2018-10-19 15:11:31 +01:00