Przemyslaw Stekiel
2b7d7a822b
tests-mbedmicro-rtos-mbed-systimer: execute sleep/deepsleep test cases only when SLEEP support is enabled.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
58afcc2904
Disable SLEEP support for MAX32630FTHR and KW41Z platforms.
...
These platforms are not consistent with the new sleep standards.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
1df54efc61
ARM_CM3DS_MPS2: add protection to lp_ticker.c.
...
Compile this file only when DEVICE_LOWPOWERTIMER is defined.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
f226ae2fc9
tests-mbed_hal-sleep: decrease delay when testing if us ticker is disabled in deep-sleep mode.
...
This is done because of possible limitations of lowpower ticker freq/width.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
996374e4dc
tests-mbed_hal-sleep: fix formatting.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
7f56bb0c23
tests-mbed_hal-sleep: remove unused variable.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
20a9da5b73
tests-mbed_hal-sleep: use lp ticker data while testing deepsleep.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
160c75d099
tests-mbed_hal-sleep: add lp/us ticker overflow handling.
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
3cd3defbba
Disable boards which does not fulfil new sleep standards.
...
These boards will be re-enabled when sleep driver for them is ready.
Note:
This operation is done by removing "SLEEP" feature from target's "device_has" list (in targets.json config file).
For NRF52_DK removing of "SLEEP" feature causes some timing issues which have influence on tests. In order to successfully disable this board we need to disable also related features like "USTICKER", "LOWPOERTIMER" and slightly modify ticker tests, so they will not be executed if usticker support is not available (by default all targets support us ticker).
2018-05-25 12:04:32 -05:00
Przemyslaw Stekiel
b2d3338ad7
Add test and test header to Sleep HAL API.
2018-05-25 12:03:37 -05:00
Przemyslaw Stekiel
be98bc003e
Add Sleep test specification to sleep_api.h.
2018-05-25 12:03:37 -05:00
Martin Kojtal
b7682183b8
Sleep: add time requirements for sleep
...
Sleep - within 10us
Deepsleep - within 10ms
Note about mbed boards with interface, moved to lpc176x, as they are target related,
should be documented in the target documentation.
The tests will come as separate PR, to conform to this updates to sleep API.
2018-05-25 12:03:37 -05:00
Cruz Monrreal
c0895cb832
Merge pull request #6910 from hasnainvirk/metadata
...
LoRaWAN: Adding acquisition of metadata, backoff and a cancel_send() API
2018-05-25 11:11:50 -05:00
Cruz Monrreal
5371c10735
Merge pull request #6708 from scartmell-arm/feature-hal-hardware-crc
...
Add Hardware CRC HAL API specification
2018-05-25 10:38:41 -05:00
Martin Kojtal
7031ab1c1f
Merge pull request #7015 from SeppoTakalo/fix_odin
...
Fix build for MBT_ODIN_W2 and MBED_CONNECT_ODIN when using WiFi
2018-05-25 16:29:54 +02:00
Cruz Monrreal
61eb0e170d
Merge pull request #7012 from ARMmbed/AnotherButler-patch-1
...
Enable DeviceKey class reference for Doxygen
2018-05-25 08:25:17 -05:00
Cruz Monrreal
a348b4583d
Merge pull request #7000 from kfnta/uvisor_depr
...
Add warning about FEATURE_UVISOR being deprecated
2018-05-25 08:24:26 -05: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
Seppo Takalo
f989f6838b
Fix build for MBT_ODIN_W2 and MBED_CONNECT_ODIN when using WiFi
...
Odin WiFi driver was only supplied for EVK board.
These all are just the same module, so using the main target name
that all inherit.
2018-05-25 10:54:09 +03:00
Cruz Monrreal
25fb8e3cf0
Picking a deprecation warning and moving forward
2018-05-24 19:49:35 -05:00
Amanda Butler
44dc8624d5
Enable DeviceKey class reference for Doxygen
...
Add conditional, so Doxygen renders properly.
2018-05-24 18:59:12 -05: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
Cruz Monrreal
2eac96eb04
Merge pull request #6433 from cmonr/python3-in-travisci
...
Enabl-able Python 3 tools testing in Travis CI
2018-05-24 15:08:45 -05:00
Cruz Monrreal
5ce26b1306
Merge pull request #6927 from AriParkkila/cellular-debug
...
Cellular: AT debugging improved
2018-05-24 12:35:06 -05:00
Amanda Butler
824466d18c
Copy edit crc_api.h
...
Copy edit file, mostly for American spelling and consistent tense across files.
2018-05-24 17:53:36 +01:00
Steven Cartmell
804d050a18
HAL CRC: Add additional STM32 targets
2018-05-24 17:53:35 +01:00
Steven Cartmell
a92ac70e82
HAL CRC: Move STM32 implementation to common folder and add targets
2018-05-24 17:51:50 +01:00
Steven Cartmell
6b5dabe08b
HAL CRC: Use HAL polynomial enum instead of STM32 enum
2018-05-24 17:51:50 +01:00
Steven Cartmell
acbf41e673
HAL CRC: Basic implementation for STM32F0
2018-05-24 17:51:50 +01:00
Steven Cartmell
5e98eea1a0
HAL CRC: Add additional thread safety notes to the API
2018-05-24 17:51:49 +01:00
Steven Cartmell
d53ffb7022
HAL CRC: Fix inverted CRC mode selection
2018-05-24 17:51:49 +01:00
Steven Cartmell
eb202a29c1
HAL CRC: Update function documentation with new config parameter
2018-05-24 17:51:49 +01:00
Steven Cartmell
df6051d14f
HAL CRC: Add DEVICE_CRC macro to doxygen files
2018-05-24 17:51:49 +01:00
Steven Cartmell
738d92a79f
HAL CRC: K64F: Set output width based on input width, not the polynomial
2018-05-24 17:51:49 +01:00
Steven Cartmell
1da75e5e85
HAL CRC: Fix code to match coding conventions
2018-05-24 17:51:49 +01:00
Steven Cartmell
f006002dec
Add support for final_xor for K64F Hardware CRC
2018-05-24 17:51:49 +01:00
Steven Cartmell
8e14b5977b
HAL CRC: Add bit width parameter to crc_config_t
2018-05-24 17:51:49 +01:00
Steven Cartmell
e1ca2b32fc
Add CRC configuration options to HAL API
2018-05-24 17:51:49 +01:00
Steven Cartmell
167d3f9a1e
HAL CRC: Return early when calling compute with null or 0 size buffer
2018-05-24 17:51:48 +01:00
Steven Cartmell
df93c0151c
Remove support for 7/8 bit CRC polynomials for K64F
2018-05-24 17:51:48 +01:00
Steven Cartmell
5847f0c975
Fix CRC class coding conventions
2018-05-24 17:51:48 +01:00
Steven Cartmell
fd8b974d47
Add K64F Hardware CRC reference implementation
...
- Add support for all currently defined polynomials
- Add 'CRC' flag to targets.json for K64F profile
2018-05-24 17:51:48 +01:00
Steven Cartmell
e0d98bfe2c
Adapt MbedCRC class to support Hardware CRC
...
- Move CRC polynomial enum into HAL layer, so it's accessible from platform
implementations
- Add enum to CRC class to indicate which mode the CRC class should use:
HARDWARE, TABLE, or BITWISE
- Add calls to HAL Hardware CRC API to each of the compute functions when the
class is in HARDWARE mode.
- Add missing constructor call to template constructor, and remove const from
delegating constructor.
2018-05-24 17:50:12 +01:00
Steven Cartmell
bad3aa0b6b
Add Hardware CRC HAL API specification headers
...
Define the HAL API header for the Hardware CRC module. This set of functions
allows hardware acceleration of a subset of CRC algorithms for supported
platforms by providing access to the hardware CRC module of certain platforms.
The API is defined as four separate functions:
- hal_crc_is_supported(polynomial)
Indicates to the caller if the specific CRC polynomial is supported.
- hal_crc_compute_partial_start(const uint32_t polynomial)
Initializes the hardware CRC module with the given polynomial.
- hal_crc_compute_partial(*data, size)
Writes an array of bytes to the CRC module to be appended to the calculation
- hal_crc_get_result()
Applies the final transformations to the data and returns the result to the
caller.
2018-05-24 17:50:12 +01:00
Cruz Monrreal
527f9a12fd
Merge pull request #6983 from SenRamakri/sen_ErrorHandling_Push2
...
Standardized Error Handling and Error Codes
2018-05-24 10:57:00 -05:00
Cruz Monrreal
791620c428
Merge pull request #6932 from paul-szczepanek-arm/security-manager-dev
...
BLE privacy, signing, persistent security database
2018-05-24 10:07:06 -05:00
Cruz Monrreal
06180e89f7
Merge pull request #6642 from yossi2le/yossi-device-key-driver
...
Device key implementation
2018-05-24 10:06:14 -05: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
Hasnain Virk
9973eb3e79
Stability improvements & CRYPTO_ERROR addition
...
General stability improvements are performed.
A flag is added if a Class C RX2 window is open.
We shouldn't open it again if its already opened.
TX_CRYPTO_ERROR is renamed to CRYPTO_ERROR.
Keeping TX_CRYPTO_ERROR for backwards compatibility.
2018-05-24 15:59:07 +03:00