Jaeden Amero
4eb4b32910
psa: Update crypto service for PSA Crypto 1.0b3
2019-08-29 14:55:21 +01:00
Martin Kojtal
98c0fd06be
Merge pull request #11343 from OpenNuvoton/nuvoton_esp8266_power_pin
...
ESP8266: Support power pin in custom wiring
2019-08-29 10:09:52 +02:00
Martin Kojtal
56a8227c54
Merge pull request #11304 from AnttiKauppila/esp8266_fix
...
RSSI getter fixed for ESP8266
2019-08-29 08:49:24 +02:00
Martin Kojtal
a884c7c090
Merge pull request #11302 from desmond-blue/feature-config-esp8266-baud-rate
...
Enable json overriding ESP8266 default baud rate
2019-08-29 08:37:50 +02:00
Kyle Kearney
1facc76d22
Specify QSPI frequency for more Cypress targets
...
Provide values for CY8CKIT_062S2_43012 and CYW943012P6EVB_01
2019-08-28 17:56:27 -07:00
Chun-Chieh Li
650e2e593c
ESP8266: Support power on/off in custom wiring
...
In custom wiring, there can be a power pin to power on/off the modem. This
commit supports it and allows for the following configurations:
- power pin name
- power pin polarity
- power on/off delay time
2019-08-27 17:57:06 +08:00
Jarkko Paso
45d1c68814
S2-LP: Sync with development repository
2019-08-27 11:42:08 +03:00
Antti Kauppila
2bdf3bbf23
astyle fixes
2019-08-26 09:56:18 +03:00
Desmond Chen
77d403b20a
Enable json overriding ESP8266 default baud rate
2019-08-26 11:38:30 +08:00
Jaeden Amero
0758d23f00
crypto: Make service parameter names match API
...
Make the service implementation use the same names as the API as
declared in the crypto.h header. This improves readability and
maintainability of the service.
2019-08-23 17:16:10 +01:00
Jaeden Amero
b0c83501a4
crypto: Make IPC declaration order follow crypto.h
...
Order the IPC functions in the same order as the functions are listed in
crypto.h for improved readability.
2019-08-23 17:16:10 +01:00
Jaeden Amero
dafbf27340
crypto: Fix "refence count" typo
...
Rename the reference count variable to something shorter and avoid using
the mispelling "refence".
2019-08-23 17:16:10 +01:00
Jaeden Amero
97447677ba
crypto: Remove duplicate PSA_CRYPTO_INIT
...
PSA_CRYPTO_INIT is defined as a service identifier. We don't need to
redefine it as a secure function. There is only one function under this
service identifier, so no secure function definitions are necessary to
differentiate between.
2019-08-23 17:16:10 +01:00
Jaeden Amero
dda4c47a4b
crypto: Match styles of crypto struct headers
...
Make crypto_struct_ipc.h (for use with PSA Crypto clients) match style
with the file it is based on, crypto_struct.h (from Mbed Crypto). This
helps to keep the file diff minimal so it's easy to see the meaningful
(non-style) changes.
2019-08-23 17:16:10 +01:00
Antti Kauppila
a074721d18
RSSI getter fixed for ESP8266
2019-08-23 12:28:04 +03:00
Jaeden Amero
273c62516d
crypto: Remove old compliance tests
...
We'll use the new ARM-software/psa-arch-tests directly instead for PSA
Crypto API 1.0b3. This commit removes the crypto compliance tests only
for now, leaving attestation and storage tests.
2019-08-21 19:43:58 +01:00
Michal Paszta
5a9183c549
storage: fix potential memory corruption and check return values
2019-08-21 09:26:35 +03:00
Martin Kojtal
a5a2036c65
Merge pull request #11224 from AnttiKauppila/Coverity_fixes
...
Coverity issues fixed
2019-08-20 09:40:20 +02:00
Martin Kojtal
101ae73b87
Merge pull request #11063 from linlingao/f_cc3220sf_launchxl
...
Add CC3220SF_Launchxl to Mbed OS
2019-08-19 12:08:11 +02:00
Antti Kauppila
84063bf222
Coverity issues fixed
2019-08-14 16:22:05 +03:00
Pavel Slama
4974c86b54
astyle fix bracket
2019-08-13 21:48:18 +02:00
Pavel Slama
7b0a8f23a2
atyle format
2019-08-13 21:42:10 +02:00
Hugues Kamba
27e4ca18cf
Fix inclusion of test related directories by build tool
2019-08-09 10:20:48 +01:00
Seppo Takalo
7d7416558a
Merge pull request #11073 from ARMmbed/feature-public-headers
...
Feature public headers
2019-08-07 16:04:45 +03:00
Michal Paszta
73b122b2c4
Coverity and compilation warnings fixes
2019-08-07 10:30:52 +03:00
Pavel Slama
7ff5a45a24
replace wait with rtos sleep
2019-08-06 15:57:16 +02:00
Michal Paszta
1fe59b70e3
Bring back SPIF module-specific debug logs
...
The logs are switched off by default and can be enabled with a
module-specific compile switch in mbed_app.json.
Logs brought back from PR #10501
2019-08-06 10:53:36 +03:00
Hugues Kamba
bfa1b4dd84
Drivers/Events/RTOS Public and internal APIs cleanup ( #10955 )
...
Separate drivers, events, and rtos internal APIs from public APIs.
* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.
Release Notes
This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Filip Jagodzinski
5ee22d0c24
Test: FPGA shield: Fix GPIO-IRQ test_utils.h
...
Include the gpio_irq_api header to fix build failures.
2019-07-25 11:04:16 +02:00
Filip Jagodzinski
5e17eddf12
Test: FPGA shield: Update the GPIO-IRQ API tests
...
Use the gpio_irq_pinmap() for GPIO-IRQ testing.
2019-07-25 11:04:10 +02:00
Seppo Takalo
c5c745804d
Merge pull request #11038 from fkjagodzinski/fpga_test-gpio
...
Extend the GPIO HAL API tests
2019-07-24 15:12:32 +03:00
Seppo Takalo
3a96f436ea
Merge pull request #10847 from davidsaada/david_ps_add_sec_flags
...
PSA storage: Conform to "PSA 1.0.0" spec release
2019-07-23 12:05:22 +03:00
Lin Gao
e74fbcd79e
Add CC3220SF_Launchxl to Mbed OS
2019-07-17 13:19:32 -05:00
Seppo Takalo
987533859a
Merge pull request #10104 from kjbracey-arm/sleep_api
...
Sleep rework, RTOS API for bare metal, wait deprecations
2019-07-17 14:37:53 +03:00
Seppo Takalo
5b6034d0a9
Merge pull request #11028 from c1728p9/fpga_warnings
...
Fix FPGA CI Test Shield warnings
2019-07-17 14:32:43 +03:00
Seppo Takalo
0425ffda9b
Merge pull request #11026 from c1728p9/skip_peripherals
...
Add a restricted peripheral list
2019-07-17 14:32:08 +03:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Kevin Bracey
fc8e8f67c6
Deprecate wait/wait_ms APIs
2019-07-15 10:13:50 +03:00
David Saada
fb3559d841
PSA storage: Conform to "PSA 1.0.0" spec release
...
- Add the no confidentiality & no replay protection flags
- Add actual size parameter in PS/ITS get APIs
- Change a few size parameters from uint32_t to size_t
2019-07-14 18:50:47 +03:00
Filip Jagodzinski
74be850126
Test: FPGA shield: Extend the GPIO HAL API tests
2019-07-12 14:01:57 +02:00
Russ Butler
87c6a74a21
Fix FPGA CI Test Shield warnings
...
Fix warnings due to unused variables, comparison between signed and
unsigned. This patch also re-enables I2C asserts that were disabled
during early development.
2019-07-11 16:16:34 +01:00
Russ Butler
57d75538da
Add a restricted peripheral list
...
Allow peripherals to be excluded from testing.
2019-07-11 16:08:33 +01:00
Filip Jagodzinski
ed41994a3a
Test: HAL: serial: Add DEVICE_SERIAL_FC guards
...
Fix undefined references to serial_set_flow_control.
2019-07-09 13:21:42 +02:00
Arto Kinnunen
492d10cb3e
Merge pull request #10967 from mtomczykmobica/IOTCORE-1251
...
ESP8266: fix driver's support AT firmware version
2019-07-08 11:49:05 +03:00
Marcin Tomczyk
9ae4463ccc
Need to change ESP8266 driver's support AT firmware version. Only AT version 1.6 0r above support AT+CWCOUNTRY command. Command AT+CWLAP format is different for version 1.6 and above
2019-07-05 10:07:29 +02:00
Martin Kojtal
b55344c50b
Merge pull request #10944 from maciejbocianski/i2c_fpga_test_update
...
Update I2CTester for fpga-ci-test-shield
2019-07-04 08:46:27 +01:00
Maciej Bocianski
a6353b0c92
I2CTester: fix dosc
2019-07-03 10:26:41 +02:00
Maciej Bocianski
b65d93e5ef
I2CTester: add address mismatch statistics
2019-07-03 10:05:53 +02:00
Maciej Bocianski
fb589319bf
I2CTester: upgrade checksum calculation
2019-07-02 20:00:31 +02:00
Martin Kojtal
149d53cc89
Merge pull request #10619 from jamesbeyond/fm-iap
...
Fastmodel: enable flashIAP and kvstore
2019-07-02 14:23:00 +01:00
Martin Kojtal
23037b9d6b
Merge pull request #10921 from jeromecoutant/PR_STMOD
...
STMOD_CELLULAR: readme file additional information
2019-07-02 12:40:32 +01:00
Martin Kojtal
1aad06b394
Merge pull request #10829 from devran01/feature_trusted-firmware-m_e7efdc6
...
PSA: TFM import
2019-07-01 14:35:54 +01:00
jeromecoutant
dc72c9b1a4
STMOD_CELLULAR: Read me update to describe test procedure
2019-06-28 17:09:46 +02:00
jeromecoutant
a7fced3b68
STMOD_CELLULAR: print cleanup
2019-06-28 17:09:43 +02:00
Martin Kojtal
85c477c1dc
Merge pull request #10609 from kjbracey-arm/us_ticker_optimise
...
wait_us optimization
2019-06-28 14:29:00 +01:00
Kevin Bracey
c5b9779858
Remote "static" from MBED_FORCEINLINE
...
Static keyword causes problems when trying to use force-inlined
functions from normal inlined functions. This is not legal:
static inline void forced() { }
inline void normal() { forced(); }
You cannot reference internal-linkage things from external-linkage
inline functions.
Removal of the static implies that in C there would need to be a
non-inline definition in case anyone calls it non-inlined, but if the
force attribute is doing its job, that should not happen.
Only significant in-tree user of the MBED_FORCEINLINE macro is
the atomic operations - making this change permits atomic operations
from non-static inline functions.
2019-06-27 16:12:30 +03:00
Devaraj Ranganna
6e899b3cc9
TF-M patch/workaround related to (TF-M issue #T240)
...
- Link to bug tracking: https://developer.trustedfirmware.org/T240
The issue is fixed by TF-M team. However they autogenerate region details
(code, ro, rw, zi and stack ) using linker scripts and in mbed-os we
also autogenerate region details but using mix of service definition in
json file and other template files.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:58:19 +01:00
Devaraj Ranganna
9a5110561a
TF-M patch: Remove secure_fw/core/tfm_func_api.c which is required only
...
when TFM_PSA_API is not set
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:23:26 +01:00
Devaraj Ranganna
cb748c5608
TF-M patch: Change #if TFM_PSA_API to #ifdef TFM_PSA_API to avoid
...
compiler errors as mbed-cli only generates "-D" macros only for
"macros" defined in targets.json
TF-M task link: https://developer.trustedfirmware.org/T396
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-26 14:23:26 +01:00
Devaraj Ranganna
cb8f2c07a1
1. Include MBEDTLS_CONFIG_FILE before evaluating MBEDTLS_PSA_CRYPTO_C
...
2. Remove macro MBEDTLS_PSA_CRYPTO_C from PSA targets
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-24 14:33:04 +01:00
Martin Kojtal
f2a7408334
Merge pull request #10866 from LMESTM/component_cellular_stmod
...
Adding stmod_cellular component
2019-06-24 12:16:29 +01:00
Laurent Meunier
1e06ad0155
Astyle fixes
2019-06-20 10:12:31 +02:00
Anna Bridge
61881e81fd
Merge pull request #10756 from martinichka/feature-correct-trace-level-storage-spif
...
Cleaned up trace log SPIF Block Device
2019-06-19 12:29:39 +01:00
Laurent Meunier
fe2b2a7172
Adding stmod_cellular component
...
stmod_cellular component library adds up support for cellular modem that
are connected to the STMOD+ connector.
Currently supported modems are BG96 and UG96.
2019-06-19 11:05:37 +02:00
Martin Kojtal
180356130f
Merge pull request #10779 from martinichka/feature-spif-bigger-16m
...
Add support for SPIF of size bigger than 16Mbyte
2019-06-14 07:38:34 +01:00
Christopher Haster
b0d36ebfc1
Remove mbed.h includes from I2CEEBlockDevice
2019-06-13 11:33:14 -05:00
Martin Kojtal
4625221f1e
Merge pull request #10746 from davidsaada/david_fix_ps_flags
...
PSA protected storage: Add encrypt & RB protect flags by default to set.
2019-06-09 18:17:19 +01:00
Martin Kojtal
48d23722fe
Merge pull request #10672 from c1728p9/fix_typos
...
Fix typos in the FPGA CI Test Shield component
2019-06-09 18:05:52 +01:00
Marten Lootsma
8a328ddc86
Changed to one more info to debug
2019-06-08 08:17:56 +02:00
Marten Lootsma
e0ad71554b
Fixed astyle error and removed duplicated comment
2019-06-08 07:32:10 +02:00
Qinghao Shi
7a1aafaf40
FastModel: change FVP_MPS2_M3 to FVP_MPS2 enable the MPS2 Family
2019-06-06 18:54:58 +01:00
Qinghao Shi
2e4329192e
FastModel: enable FLASHIAP componment
2019-06-06 18:52:30 +01:00
Michael Schwarcz
910a402ce6
TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T241
(cherry picked from commit da01e3411f
)
(cherry picked from commit 280715f9b7
)
2019-06-06 16:08:34 +01:00
Michael Schwarcz
35938a4071
TF-M patch: Fix service handles not cleared issue (TF-M issue #230 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T230
(cherry picked from commit 0c23e86989
)
(cherry picked from commit 9c1e080e39
)
2019-06-06 16:08:33 +01:00
Michael Schwarcz
795e6418d0
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
(cherry picked from commit 5d41a2aeae
)
2019-06-06 16:08:33 +01:00
Marten Lootsma
aed0d054d7
Added support for SPIF of size bigger than 16Mbyte
...
- checks if size is bigger than 16Mbyte
- changes to 4 byte address mode of neccessary
2019-06-06 16:01:40 +02:00
Michael Schwarcz
11bff3f3cb
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
(cherry picked from commit 185d2865da
)
(cherry picked from commit fb068d2cb4
)
2019-06-06 14:49:41 +01:00
Devaraj Ranganna
b0fe59df00
[trusted-firmware-m]: Updated to e7efdc6
2019-06-06 14:47:00 +01:00
Marten Lootsma
ed36cc4e06
Add trace logging with size of block device
2019-06-04 16:03:56 +02:00
Marten Lootsma
5484f585a6
Cleaned up SPIF trace log.
...
- Test most SPIF log to DEBUG level.
- Removed DEBUG/ERROR/INFO tags.
- Removed not needed line endings.
2019-06-04 16:03:56 +02:00
David Saada
dcd2c292af
PSA protected storage: Add encrypt & RB protect flags by default to set.
2019-06-03 16:32:55 +03:00
Martin Kojtal
62698b903c
Merge pull request #10660 from mprse/fpga_ts_add_sckl_stats
...
Add SCLK and SIN stats to SPIMasterTester
2019-06-03 08:49:39 +01:00
Martin Kojtal
4f6035e6b1
Merge pull request #10501 from davidsaada/david_spif_driver_unlog
...
Remove excessive info and debug prints in SPIF driver
2019-06-03 08:33:19 +01:00
Martin Kojtal
34b4564371
Merge pull request #10680 from artokin/allow_compilation_withoout_nanostack
...
Add compilation flags to rf_configuration
2019-05-31 12:34:37 +01:00
Christopher Haster
51dd44337b
Add 'components/storage/blockdevice/COMPONENT_I2CEE/' from commit 'd92806c11e0e05280c08db0b3ed6459b2d8dea2c'
...
git-subtree-dir: components/storage/blockdevice/COMPONENT_I2CEE
git-subtree-mainline: 9cc1caa031
git-subtree-split: d92806c11e
2019-05-29 19:34:16 -05:00
Martin Kojtal
cc491812a8
Merge pull request #10427 from kjbracey-arm/new_standards
...
Set compilers to C++14 and C11
2019-05-28 20:34:00 +01:00
Martin Kojtal
8fc2a3c92a
Merge pull request #10675 from 0xc0170/update-mbedtls-2.18.0-rc1
...
Update mbedtls 2.18.0 rc1
2019-05-28 20:24:18 +01:00
Arto Kinnunen
5e23fbaa83
Add compilation flags to rf_configuration
...
Add flags to allow compilation without nanostack.
2019-05-27 17:06:59 +03:00
Martin Kojtal
303d0f0c0c
SPE: fix inject entropy macro
...
Use new TLS macro
2019-05-27 11:50:09 +01:00
Przemyslaw Stekiel
87902a8e76
Add SCLK and SIN stats to SPIMasterTester.
...
It has been found that there is a problem with the new K66F SPI driver when clock polarity is high.
After setting clock polarity to high SCLK line is still low. When transmission starts and CS is asserted (in case of manual CS handling) SCLK signal is invalid (low). After first transfer SCLK idle state becomes high.
SPI implementation on FPGA test shield is resistant on this bug and transmission is successful. The problem has been found on two boards communication test where transmission fails.
The idea is to add support to the FPGA test shield to catch such errors and verify this in the test.
2019-05-27 09:48:33 +02:00
Russ Butler
424c4d9feb
Fix typos in the FPGA CI Test Shield component
...
Fix some typos.
2019-05-26 13:29:14 -05:00
Kevin Bracey
7ec1663dd7
FPGA_CI_TEST_SHIELD: C++11 fix
2019-05-24 16:26:15 +03:00
Martin Kojtal
a4738fa9a8
Merge pull request #10540 from c1728p9/fpga_ci_test_shield
...
Check in files for the FPGA CI Test Shield
2019-05-24 12:56:35 +01:00
Russ Butler
e2312c4ff4
Bring in more changes from FPGA repo
...
Bring in updates the the FPGA CI Test Shield repo.
2019-05-23 19:17:32 -05:00
Martin Kojtal
b2abfc3529
Merge pull request #10624 from artokin/prepare_for_mbedos513
...
Nanostack release for Mbed OS 5.13
2019-05-23 11:16:56 +01:00
Martin Kojtal
0560ecc558
Merge pull request #10478 from chrissnow/Dataflash-Erase_Size
...
DataFlash: Change erase size to pages to reduce memory usage.
2019-05-21 14:46:32 +01:00
Arto Kinnunen
f03e51a23d
Sync 802.15.4 RF drivers from master repos
...
-Sync STM S2LP with v0.0.6 in master repo
-Sync Atmel with v3.0.8 in master repo
-Sync MCR20A with v1.0.6 in master repo
2019-05-20 15:27:25 +03:00