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
Martin Kojtal
18634009c5
Merge pull request #6993 from deepikabhavnani/cpu_test_fix
...
CPU Stats test - Increased wait time to allow device to sleep
2018-05-24 09:38:46 +02: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
863259e48b
Merge pull request #6960 from hasnainvirk/msg_flags
...
LoRaWAN: Message flags correction
2018-05-23 22:22:53 -05:00
deepikabhavnani
ea356a6e8c
Increased wait time to allow device to sleep
...
With small wait time at the start, chances are that device does not
enter sleep and idle time is zero. Increasing wait time to make sure
device goes to sleep.
2018-05-23 15:06:17 -05: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
Cruz Monrreal
a404a9379e
Merge pull request #6862 from jamesbeyond/fastmodel_support
...
Fastmodels support: add FVP_MPS2 targets to mbed os
2018-05-23 14:47:23 -05:00
Senthil Ramakrishnan
92e0cbfaef
Doxygen fixes
2018-05-23 13:27:57 -05:00
Senthil Ramakrishnan
5ef6728c08
Splitting MBED_ERROR macros to support ones with/without error value argument
2018-05-23 12:21:28 -05:00
Senthil Ramakrishnan
693a6c40bb
Refactor error reporting
2018-05-23 12:21:11 -05:00
Senthil Ramakrishnan
d4fe75731d
Adding mbed prefixes to all macros and functions to avoid namespace conflicts
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
147d9cac4e
Test application/cases optimization for some low memory targets, macro changes and test fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
f9c25612ae
Fix test failures when trap errors are enabled and other fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
cbfc06577b
Fixes to align with naming conventions
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
92df68b1ea
Changed variable names for registers to avoid namespace conflicts, build fixes, macros and other fixes
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
530e9d323f
Changed variable names for registers to avoid namespace conflicts and rtos disabled build fixes
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
2e28dd95e1
Change set_error/set_error_fatal to warning/error, add itm support and other changes
2018-05-23 12:21:08 -05:00
Senthil Ramakrishnan
7c6c718f75
Fixed entity reporting and comments
2018-05-23 12:21:08 -05:00
Senthil Ramakrishnan
839fef0ad1
Added more tests for error log and error reporting, updated doxygen comments
2018-05-23 12:21:07 -05:00
Senthil Ramakrishnan
9041b475c6
Error handling/logging implementation and tests
2018-05-23 12:21:07 -05:00
Donatien Garnier
f08ac2e9b2
Merge pull request #52 from pan-/fix-privacy-nrf52
...
Fix privacy nrf52
2018-05-23 11:50:28 -05:00
Donatien Garnier
fa9ab03a31
Merge pull request #51 from pan-/fix-iar-compilation
...
BLE: Fix wrong macro name for IAR
2018-05-23 11:49:42 -05:00
Vincent Coubard
db4d14c89d
BLE NRF52: Fix advertising filtering when no bonds are present.
2018-05-23 17:27:18 +01:00
Vincent Coubard
ef208912a6
BLE NRF52: Report correct own address type for connection
...
The function that gets the address doesn't work when privacy is enabled; report own address as private resolvable.
2018-05-23 17:27:18 +01:00
Vincent Coubard
30dac7cd8c
BLE NRF52: Fix identity address flag in connection request.
2018-05-23 17:27:07 +01:00
Vincent Coubard
1ba5a112f4
BLE: Fix wrong macro name for IAR
2018-05-23 17:11:26 +01:00