Commit Graph

23643 Commits (10c6a277d34e757c1b8d4829343ae20ed6936036)

Author SHA1 Message Date
Michael Schwarcz 20d7f817df Fix astyle 2019-03-03 10:55:46 +02:00
Michael Schwarcz 98efb44ea8 Remove another psa_identity 2019-03-03 10:55:46 +02:00
Michael Schwarcz ef76ec83ee Generate psa_manifest/sid.h 2019-03-03 10:55:46 +02:00
Oren Cohen 798e3c393a Call tfm_panic for SPM_PANIC 2019-03-03 10:55:45 +02:00
Michael Schwarcz faf5fcf795 Fix typo 2019-03-03 10:55:45 +02:00
Oren Cohen 0e74e09e56 Set default PSA client header for single v7 targets 2019-03-03 10:55:45 +02:00
Oren Cohen 737a3cc350 Advance to PSA-FF 1.0 2019-03-03 10:55:45 +02:00
Oren Cohen a1bd657594 Test partition modification 2019-03-03 10:55:44 +02:00
Oren Cohen bd9a738473 Move SPM_PANIC to psa/service.h 2019-03-03 10:55:44 +02:00
Oren Cohen 306a51f6c0 Update psa_get() to return psa_status_t 2019-03-03 10:55:44 +02:00
Michael Schwarcz 3edcf455a6 mbed-crypto sanity tests enable run without greentea 2019-03-03 10:55:43 +02:00
Michael Schwarcz f9fbd6ae82 Align PSA SPM tests to TF-M 2019-03-03 10:55:42 +02:00
Oren Cohen 483b23c318 Fix SPM warnings 2019-03-03 10:54:55 +02:00
Oren Cohen 68d91fb277 Remove osDelay from smoke test 2019-03-03 10:54:55 +02:00
Oren Cohen 5e4649bae8 Remove obsolete test 2019-03-03 10:54:54 +02:00
Oren Cohen dfbc7b6b7a Adapt partitons 2019-03-03 10:54:54 +02:00
Oren Cohen aad114aa55 Genrerate SPM data 2019-03-03 10:54:54 +02:00
Oren Cohen 21d09b4156 Unify flags 2019-03-03 10:54:53 +02:00
Oren Cohen a65baf55c6 Update psa_wait() and client_id 2019-03-03 10:54:53 +02:00
Cruz Monrreal ca06f94c67
Merge pull request #9906 from paul-szczepanek-arm/fix-doxygen
DOCS: fix doxygen not being generated for BLE classes
2019-03-01 23:22:27 -06:00
Cruz Monrreal 4043623805
Merge pull request #9864 from paul-szczepanek-arm/cordio-host-upgrade
BLE: Cordio host upgrade
2019-03-01 18:54:51 -06:00
Cruz Monrreal c9192b9029
Merge pull request #9067 from kegilbert/socket-stats-name-conform
Move socket-stats-enable config to socket-stats-enabled
2019-03-01 16:56:23 -06:00
kegilbert 194fa129fb Update recently added previous macro name uses in tests 2019-03-01 13:53:47 -06:00
Senthil Ramakrishnan 45c727ee6f Workaround(recommended by compiler team) for FVP_MPS2 targets to use ARM Compiler 6 2019-03-01 13:40:42 -06:00
kegilbert 8cef1904c5 Move socket-stats-enable to socket-stats-enabled.
This conforms with the other stats config option names
2019-03-01 13:31:33 -06:00
Senthil Ramakrishnan e1e4456c47 Fixes for exporters failing with wrong compiler settings 2019-03-01 13:21:33 -06:00
Vincent Coubard b21e1d23d5 BLE - Register the Att call handler whenever the GATT_SERVER is available. 2019-03-01 18:33:22 +00:00
Vincent Coubard 77511c3983 BLE - Call SecInit unconditionally as it is required by low HCI level driver
That module handles random number incomming from the controller. Overhead is low (less than 150 bytes of flash).
2019-03-01 18:32:19 +00:00
Vincent Coubard 2f98901050 BLE - Avoid calling v2 API in GenericGap::reset_ if not required. 2019-03-01 18:31:06 +00:00
Martin Kojtal 7c9a71846e
Merge pull request #9469 from kjbracey-arm/spi_muxing
SPI upgrade - per-peripheral mutex and GPIO-based SSEL
2019-03-01 18:38:27 +01:00
paul-szczepanek-arm 675262bbbe put macros in to enabled all ble modules for doxygen 2019-03-01 16:50:12 +00:00
Martin Kojtal 10f2c05318
Merge pull request #9898 from jarvte/connect_disconnect_fix
Cellular: fix connect-disconnect sequence called many times
2019-03-01 17:34:30 +01:00
Martin Kojtal f559d03ae2
Merge pull request #9766 from deepikabhavnani/uarm_fixes
Update Toolchain Arm Micro scatter files
2019-03-01 16:54:27 +01:00
paul-szczepanek-arm 61b063129d MBED_WEAK in random spot removed 2019-03-01 15:05:59 +00:00
paul-szczepanek-arm f740985627 remove define that trips up IAR 2019-03-01 14:46:43 +00:00
Martin Kojtal 596b9f740e
Merge pull request #9797 from ARMmbed/fh_enable
API to temporarily enable/disable FileHandles
2019-03-01 14:26:18 +01:00
Teppo Järvelin 0905f01438 Cellular: Removed API get_connection_status() from CellularNetwork
This was left accidentally after refactoring.
It wasn't giving correct states after refactoring.
CellularContext::get_connection_status should be used instead.
2019-03-01 14:51:05 +02:00
Teppo Järvelin ec73c8a9c7 Cellular: fix connect-disconnect sequence called many times
Fix syncing back to at mode after ppp disconnect.
Fix AT_CellularContext flags and states to allow new connect after disconnect.
Fix that state machine is not reseted in disconnect is it's running (might be
running because of another context or new connect already started).
2019-03-01 14:47:41 +02:00
Kevin Bracey b12be6bb80 Rename SPI_COUNT to DEVICE_SPI_COUNT
Avoid collision with some HALs that already define SPI_COUNT.
2019-03-01 14:37:04 +02:00
Kevin Bracey df7e3367f7 Cope with HALs not defining SPIName 2019-03-01 14:33:34 +02:00
Kevin Bracey c368021e37 SPIFBlockDevice.h: include SingletonPtr.h
SPIFBlockDevice was using SingletonPtr without an include,
and only getting it via SPI.h.

Spotted while changing SPI to not use SingletonPtr - now
abandoned, but still this shouldn't have been relying on it.
2019-03-01 14:33:33 +02:00
Kevin Bracey 5e059b7d1d SPI upgrade - per-peripheral mutex and GPIO-based SSEL
This commit takes some of the work done on the SPI class from #8445, and
refines it, to provide the per-peripheral mutex functionality.

This also implements GPIO-based SSEL, which exposes a new
select()/deselect() API for users to group transfers, and should work on
every platform (unlike the HAL-based SSEL). This requires users to use a
new constructor to avoid backwards compatibility issues.

To activate the per-peripheral mutex, the HAL must define SPI_COUNT and
provide spi_get_peripheral_name().  (In #8445 this is a reworked
spi_get_module, but the name is changed here to avoid a collision with
existing HALs - this commit is designed to work without wider HAL
changes).

Fixes: #9149
2019-03-01 14:33:33 +02:00
paul-szczepanek-arm 34ef17370b fix signing permissions 2019-03-01 11:58:52 +00:00
paul-szczepanek-arm e247852043 reinstate fixes 2019-03-01 11:23:28 +00:00
Martin Kojtal 857cd9fba1
Merge pull request #9845 from jarlamsa/stm_spi_peripheral_name
Add spi_get_peripheral_name() to stm_spi
2019-03-01 12:15:04 +01:00
Michael Schwarcz 276ef91bb6 wait_us using wait_ns 2019-03-01 11:11:19 +00:00
paul-szczepanek-arm 0c855780d1 remove duplicate headers 2019-03-01 10:59:44 +00:00
paul-szczepanek-arm 64e70e8ca0 cordio controller change from library to source 2019-03-01 10:59:44 +00:00
paul-szczepanek-arm a3c1345d45 these consts are not in fact const 2019-03-01 10:59:42 +00:00
paul-szczepanek-arm fdb10908cc fix warning of no return 2019-03-01 10:59:42 +00:00