Commit Graph

21415 Commits (442cbba14147a72c0707d597d61fae6efccb1266)

Author SHA1 Message Date
Janos Follath 71387e33f1 Mbed TLS: Fix ECC hardware double initialization
We initialized the ECC hardware before calling
mbedtls_ecp_mul_shortcuts(). This in turn calls
mbedtls_ecp_mul_restartable(), which initializes and frees the hardware
too. This issue has been introduced by recent changes and caused some
accelerators to hang.

We move the initialization after the mbedtle_ecp_mul_shortcuts() calls
to avoid double initialization.
2018-12-07 11:18:40 +00:00
Anna Bridge 54f53e09d8
Merge pull request #8994 from c1728p9/disable_mpu
Turn off MPU on targets failing OOB
2018-12-07 11:12:22 +00:00
Juho Eskeli bc2f8c4ffd Revert "Merge pull request #8922 from juhoeskeli/wise_1570_mpu_disable"
This reverts commit f82014e1af, reversing
changes made to 6749a8a321.
2018-12-07 11:52:28 +02:00
Michal Paszta c48312ded4 Missing socket greentea tests implementation 2018-12-07 10:35:39 +01:00
Vincent Coubard 0d398bc8c8 BLE: Revert changes introduced by debugging. 2018-12-07 09:33:26 +00:00
c_jin 6ac625d474 Style Format for GD32F30x standard peripheral files 2018-12-07 17:00:10 +08:00
c_jin ca46d12053 Delete GD32F450ZI and GD323103VB which are not implemented
Delete GD32F450ZI and GD323103VB which are not implemented yet and add them later.
2018-12-07 15:30:27 +08:00
Cruz Monrreal 211c662b6d
Merge pull request #8980 from kjbracey-arm/iar8_memap
memap.py: Cope with IAR 8 linker map
2018-12-06 21:27:22 -06:00
Cruz Monrreal ea4a8e4f81
Merge pull request #8867 from bcostm/fix_trng_clock_setting
STM32L4: fix trng clock setting
2018-12-06 21:27:02 -06:00
Cruz Monrreal 035e8e0b77
Merge pull request #8964 from kfnta/parser_empty_tests
Correct behavior of PSA code generator
2018-12-06 21:25:42 -06:00
Cruz Monrreal 73db5da89d
Merge pull request #8981 from donatieng/cordio_nordic_memory_optimizations
Cordio Nordic memory optimizations
2018-12-06 21:24:34 -06:00
Cruz Monrreal 243b9dfdcf
Merge pull request #8982 from bridadan/fix_duplicate_macros
Ensure macros and parameters with the same name are not repeated.
2018-12-06 21:23:21 -06:00
Vincent Coubard 1c71713e1b BLE: Fix recursion in ble::advertising_data_status_t raw constructor. 2018-12-07 00:05:02 +00:00
Vincent Coubard 698447b622 BLE: Fix address type allowed to create a periodic sync. 2018-12-07 00:04:29 +00:00
Vincent Coubard df95a1f8bd BLE: Allow null value for periodic interval in advertising report event. 2018-12-07 00:03:50 +00:00
Qinghao Shi f8edab12f4 fix uninitialized handler pointer in ethernet driver 2018-12-06 23:38:28 +00:00
Amanda Butler 446c428645
Edit CellularContext.h
Edit file for complete sentences and correct commas.
2018-12-06 16:42:59 -06:00
Amanda Butler 411320ad8b
Edit CellularDevice.h
Edit file for complete sentences, consistent tense and correct commas.
2018-12-06 16:38:28 -06:00
Jenny Plunkett 4e466b7ff8 Removed "ALL" from PrettyTable import 2018-12-06 14:42:41 -06:00
Jenny Plunkett a578768c48 Apply GitHub style to exporter matrix 2018-12-06 14:42:41 -06:00
Russ Butler b217c5fe4d Turn off MPU on targets failing OOB
Turn off MPU for the UBLOX_C030 and MCU_M480 and all targets derived
from these. When the MPU is enabled on these platforms they do not
pass the pelion-enablement tests. Once the root cause is determined
and fixed the MPU can be re-enabled for these targets.
2018-12-06 13:29:56 -06:00
Amanda Butler aa4b5a5dc7
Edit PortingGuide.md
Edit file for active voice.
2018-12-06 13:24:10 -06:00
Amanda Butler 61c2599587
Edit CordioHCIDriver.h
Edit file for active voice.
2018-12-06 13:22:20 -06:00
Cruz Monrreal 78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
paul-szczepanek-arm df443c20ca copy periodic payload 2018-12-06 17:54:13 +00:00
Brian Daniels fa4ead048d Config parameters override macros 2018-12-06 11:19:24 -06:00
Brian Daniels b8cdfc5369 Adding unit test for macro config 2018-12-06 10:36:49 -06:00
Brian Daniels 5957ffd306 Ensure macros and parameters with the same name are not repeated.
This covers the case when a macro is set with the same name as a
parameter. Previously, the macro would be repeated on the command line,
which causes certain toolchains to break (ex. IAR assembler). Now the
config system will override the parameter's value with the macro's
value.
2018-12-06 10:31:38 -06:00
Oren Cohen 935f2bdfbc Correct behavior of PSA code generator
* Don't generate files if a test does not contain additional partitions
2018-12-06 18:17:09 +02:00
paul-szczepanek-arm 22a117a6e4 always set filter policy 2018-12-06 15:43:45 +00:00
Oren Cohen c4c21d2d1f Ignore PSA secure targets 2018-12-06 17:43:34 +02:00
paul-szczepanek-arm 5735456487 fix swapped errors 2018-12-06 15:05:35 +00:00
paul-szczepanek-arm 58c7c3868e check return value of DmSyncStart 2018-12-06 15:04:23 +00:00
paul-szczepanek-arm d372f16bc4 fix return value 2018-12-06 15:04:00 +00:00
c_jin 881561ac5e Error resolve, bug fix and 2 new targets information add
1. Resolve the Error: L6218E: Undefined symbol flash_get_erase_value
2. Bug fix (ADC, USART, etc.)
3. Modify the wrong name (TATGET_GigaDevice-->TARGET_GigaDevice)
4. Add new targets (GD32-F450ZI and GD32-E103VB) support to target.json
5. Add INITIAL_SP macro for GD32-F450ZI and GD32-E103VB
2018-12-06 19:43:20 +08:00
Vincent Coubard c83dccf65c BLE: Set advertising random address when appropriate. 2018-12-06 11:25:50 +00:00
Vincent Coubard 0543442cc3 BLE: Fix conversion of advertising type
Previously, we were passing the event_properties as defined by the Bluetooth spec which is not what DmAdvConfig expect as the advertising type passed to DmAdvConfig is Cordio tailored (and incomplete).
2018-12-06 11:23:45 +00:00
Vincent Coubard d9d4a214b8 BLE: Revert change in stack setup initialisation.
While good this change breaks some old application that were adding GATT services before the initialisation of BLE.

This patch revert temporarily this change for now
2018-12-06 11:21:43 +00:00
Martin Kojtal 8301325481
Merge pull request #8935 from kfnta/crypto_partition_fix
Fix PSA crypto partition and tests
2018-12-06 11:34:45 +01:00
Vincent Coubard e3d8b28483
Update features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.h
Fix doxygen as suggested by @pan-

Co-Authored-By: donatieng <donatien.garnier@arm.com>
2018-12-06 10:19:57 +00:00
Oren Cohen cb58b34581 Prebuilt images 2018-12-06 11:33:35 +02:00
Oren Cohen 2e19868ff9 Prepare postbuild for prebuilt images 2018-12-06 09:35:50 +02:00
Oren Cohen 2df2fc7d29
Fix PSA-HAL, TRNG, TLS tests 2018-12-06 01:22:50 +02:00
Donatien Garnier 4485531173 Update Porting Guide with memory pool changes 2018-12-05 19:24:44 +00:00
Donatien Garnier 7e6efc2571 Cordio: Update CY8C63XX Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier f9b236184a Cordio: Update CYW4343X Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier 218bf3f80c Cordio: Update ODIN-W2 Driver to use default memory pool 2018-12-05 19:24:44 +00:00
Donatien Garnier 2978cd8404 Cordio: Make allocating too much memory for pool a warning, not a fatal assert 2018-12-05 19:24:44 +00:00
Donatien Garnier 101c5697e5 Cordio Nordic LL: Readjust memory pool requirements for NRF52840 2018-12-05 19:24:44 +00:00
Donatien Garnier c99f2497c3 Cordio Nordic LL: Optimize memory for smaller targets 2018-12-05 19:24:44 +00:00