Commit Graph

29947 Commits (tools-release-test-cov-patterns)

Author SHA1 Message Date
Jaeden Amero fcf427ac11 psa: Remove S-mode only code
Remove all PSA S-mode only code, as it is unused. Only PSA S targets
would use the code, and we've removed those targets in a previous
commit.

Ensure all tests for S-mode code we are deleting is also removed, even
if that code would run in NS-mode. Keep any tests that also test our PSA
emulation support (for single v7-M targets).

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:13 +01:00
Jaeden Amero 6b3a9cb4fa psa: Remove v8-M S targets
Remove PSA v8-M S target binaries will be built outside of Mbed OS and
added in as binaries which NS targets consume. Mbed OS no longer
implements PSA for v8-M targets, so there is no reason for it to build
PSA S targets.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:09 +01:00
Devaraj Ranganna 493a043528 psa: Remove PSA targets not supported in TF-M
Mbed OS depends on TF-M to implement PSA. Any targets that need to
provide PSA must be supported by TF-M. The following targets are removed
from Mbed OS as they don't yet have TF-M support. We can re-add these
targets to Mbed OS when they have TF-M support in the official upstream
TF-M repository hosted at trustedfirmware.org.

These PSA targets no longer have a PSA implementation and are removed:
- LPC55S69
- LPC55S69_NS
- LPC55S69_S
- NU_PFM_M2351_NS
- NU_PFM_M2351_S
- HANI_IOT

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:43:01 +01:00
Jaeden Amero af1ea31546 psa: Add copyright and #! to tfm tool
Add a copyright header and a shebang to the Mbed OS TrustedFirmware-M
tooling.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:43:01 +01:00
Teemu Takaluoma e254ce9975 Update mbed-coap to version 5.1.5
BLOCK2 code-branch was missing handling for duplicate packets. As part of the fix, added also
a call to update the duplicate package data via a new function
sn_coap_protocol_update_duplicate_package_data_all.

The new implementation handles all CoAP messages, not just those with COAP_MSG_TYPE_ACKNOWLEDGEMENT.
2020-04-27 11:11:43 +03:00
Arto Kinnunen f39da5ebaf Remove unnecessary casts from stagger/RTT API 2020-04-27 10:22:25 +03:00
Kevin Bracey b614bd3113 Durations don't always zero init
In a couple of places I assumed that durations and time_points always
zero-initialised. This is incorrect - they act as if they were their
representation, so integer durations only zero-init when static.

You can zero init (like integers) by having `{}` initialisation.
2020-04-27 10:19:08 +03:00
Kevin Bracey 58388b7e5e Out-of-line LowPowerTimeout etc, lock
To match Timer etc, make LowPowerTimer et al out-of-line.

Correct LowPowerTimeout to not lock deep sleep.
2020-04-27 10:19:08 +03:00
Kevin Bracey 8e3e19837a More Chrono test fixes
* Timer test - handle removal of Timer(ticker_data_t *)
* Timer test - use Chrono, don't test deprecated methods
* Kernel tick count test - TEST_ASSERT_WITHIN -> TEST_ASSERT_INT_WITHIN
* Mutex test - fix up Chrono changes
* SysTimer test - adapt to SysTimer Chrono changes
* Thread test - use Chrono
* SysTimer - devirtualize destructor
2020-04-27 10:19:08 +03:00
Kevin Bracey e5e45d83e7 Chrono test fixes
* Remove ambiguity in single-parameter Queue::put and get
* Fix type problems in RTC test - add missing include
* Don't attempt to use TimerEvent default constructor
* Remove references to Timer::read_duration
2020-04-27 10:19:08 +03:00
Rajkumar Kanagaraj a10dafdda8 Fix the CI build issue 2020-04-27 10:19:08 +03:00
Rajkumar Kanagaraj c71c980ccd Fix the CI build and unit test issue 2020-04-27 10:19:08 +03:00
Kevin Bracey 5601a207cc Fix and update tests to use Chronos APIs 2020-04-27 10:19:08 +03:00
Kevin Bracey b17355f588 mstd_mutex: Add missing Chrono bits 2020-04-27 10:19:08 +03:00
Kevin Bracey f0ee31f119 Add RealTimeClock 2020-04-27 10:19:08 +03:00
Kevin Bracey 0eff3340d2 Add Chrono support to Event/EventQueue 2020-04-27 10:19:08 +03:00
Kevin Bracey 8f490f6f24 Use Chrono in LowPowerTickerWrapper 2020-04-27 10:19:08 +03:00
Kevin Bracey a88622527f Add mbed_chrono.h for handy extensions 2020-04-27 10:19:08 +03:00
Kevin Bracey 34428f9d4c Add Chrono support to Ticker et al 2020-04-27 10:19:08 +03:00
Kevin Bracey b9aa69a376 Add HighResClock and LowPowerClock 2020-04-27 10:19:08 +03:00
Kevin Bracey 4575ad3f23 Add Chrono support to Queue,MemoryPool,Mail 2020-04-27 10:19:08 +03:00
Kevin Bracey f6e8ecadec Add Chrono support to EventFlags 2020-04-27 10:19:08 +03:00
Kevin Bracey 4f2fa53b37 Thread: minor space optimisation 2020-04-27 10:19:08 +03:00
Kevin Bracey 2c4e59012f Add Chrono support to Mutex 2020-04-27 10:19:08 +03:00
Kevin Bracey 53cfe0f610 Add Chrono support to Semaphore 2020-04-27 10:19:08 +03:00
Kevin Bracey 0223d92f7e Add Chrono support to ThisThread 2020-04-27 10:19:08 +03:00
Kevin Bracey fdc697ee85 Add Chrono and predicate support to ConditionVariable 2020-04-27 10:19:08 +03:00
Kevin Bracey f4e0ea2c75 Add Chrono support to Kernel and SysTimer 2020-04-27 10:19:08 +03:00
Kevin Bracey 4ee7d24adc Add Chrono clock design document 2020-04-27 10:19:08 +03:00
Chun-Chieh Li e7dd4057c3 M453: Support bare metal
Relevant modifications to make TOOLCHAIN_* directories clear:
1. Remove TOOLCHAIN_ARM_STD
2. Rename TOOLCHAIN_ARM_MICRO to TOOLCHAIN_ARM
2020-04-27 11:24:13 +08:00
Chun-Chieh Li 226d86b304 NANO130: Support bare metal
Relevant modifications to make TOOLCHAIN_* directories clear:
1. Remove TOOLCHAIN_ARM_STD
2. Rename TOOLCHAIN_ARM_MICRO to TOOLCHAIN_ARM
2020-04-27 11:24:13 +08:00
Chun-Chieh Li 530a5cfe7c M453: Make memory specification configurable 2020-04-27 11:24:12 +08:00
Chun-Chieh Li 188c6d9a4a NANO130: Make memory specification configurable 2020-04-27 11:24:11 +08:00
Martin Kojtal ca0161af22
m480_eth: fix alignment
Previous commit was wrong (github does not show tabs properly)
2020-04-24 14:18:55 +01:00
Martin Kojtal 60c58a62a4
nuc472_eth: fix alignment
Previous commit was incorrect (github does not show tabs..)
2020-04-24 14:17:23 +01:00
Martin Kojtal 36dada2e5f
nuc472_eth: fix alignment 2020-04-24 14:16:21 +01:00
Martin Kojtal bc497a1742
m480_eth: Fix styling
remove tabs
2020-04-24 14:14:28 +01:00
Martin Kojtal fe9f311a6d
Merge pull request #12855 from rajkan01/signal_greentea_test
Bare metal: Enable signals greentea test
2020-04-24 12:04:03 +02:00
jeromecoutant bc4bc05908 STM32 warning remove 2020-04-24 10:57:45 +02:00
Martin Kojtal 906999a61c
Merge pull request #12850 from kyle-cypress/pr/general-filesystem-init
Fix intermittent sync fail in tests-filesystem-general_filesystem
2020-04-24 10:11:59 +02:00
Martin Kojtal 4b5f34a1ea
Merge pull request #12844 from amq/patch-3
Add invalid data case to tdbstore ram init
2020-04-24 10:11:28 +02:00
Martin Kojtal e2c01fae47
Merge pull request #12852 from anttiylitokola/master
Update mbed-coap to version 5.1.4
2020-04-24 09:14:07 +02:00
Qinghao Shi ce88f0ea28 TEST: add log compare test for nfc examples 2020-04-23 20:33:02 +01:00
jeromecoutant 227af65ef1 STM32F7: CubeDriver V1.15.0 to V1.16.0
https://github.com/STMicroelectronics/STM32CubeF7
2020-04-23 18:02:15 +02:00
jeromecoutant 8d542142da STM32F7: directory restructuration 2020-04-23 18:02:06 +02:00
Rajkumar Kanagaraj 784369a3de Bare metal: Enable signals greentea test 2020-04-23 12:38:02 +01:00
Antti Yli-Tokola 267d3bc797 Update mbed-coap to version 5.1.4
Add also 4.13 (Request Entity Too Large) responses to duplicate info list.

Add client library configurations for DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED.

Increased the default timeouts of DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED to 300 seconds.
These two are critical parameters for low-bandwidth high-latency networks. The defaults should be more geared towards such networks that are likely to have issues with transmissions.
The increased defaults can increase the runtime HEAP usage when there is a lot of duplicates or retransmissions.
2020-04-23 13:14:50 +03:00
Arto Kinnunen 329c5d8538 Add unittests for added methods
Add unit tests for added methods:
 -get_rtt_estimate_to_address
 -get_stagger_estimate_to_address
2020-04-23 11:58:51 +03:00
Martin Kojtal ecf4008046
Merge pull request #12825 from kjbracey-arm/linkinline
Turn on ARM linker --inline
2020-04-23 08:24:37 +02:00
Martin Kojtal 4021b1a6ed
Merge pull request #12846 from 0xc0170/revert_s2lp_target
Revert "Remove MTB_STM_S2LP target"
2020-04-23 08:13:46 +02:00