Commit Graph

32198 Commits (feature-bluetooth-unit-test)

Author SHA1 Message Date
jeromecoutant 7ab7933d12 STM32 / CMAKE / mbedtls : correct CMakeLists.txt files 2021-01-15 11:46:26 +01:00
jeromecoutant e6ec31108e CMAKE / M33 : DOMAIN_NS issue 2021-01-15 11:28:46 +01:00
Martin Kojtal aef93ca7c9
Merge pull request #14020 from pea-pod/stm-spi-more-bits
Add SPI bitwidths to ST targets where supported
2021-01-15 10:01:28 +00:00
Dustin Crossman ef6284cad5 Added process to reinitialize qspi if qspi_init is called twice without free. 2021-01-14 12:59:01 -08:00
Dustin Crossman 95a5d60b65 Implement qspi_frequency for Cypress Mbed HAL. 2021-01-14 12:58:50 -08:00
Hugues Kamba 9985392c09 CMake: Add support for LoRaWAN Greentea test
The LoRaWAN Greentea test can now be built with CMake.
2021-01-14 17:35:16 +00:00
Hugues Kamba 5616537c3a CMake: Add MbedTLS dependency to LoRaWAN library
This way applications that need LoRaWAN do need to also add MbedTLS
2021-01-14 17:32:00 +00:00
Martin Kojtal 2e905a0060
Merge pull request #14104 from hugueskamba/hk_cmake_fix_STM32F413xH_sysclock_listing
CMake: Fix the listing of system_clock.c for STM32F413xH
2021-01-14 17:16:34 +00:00
Martin Kojtal 82f3126ab8
Merge pull request #14049 from jeromecoutant/PR_L072_LORA
DISCO_L072CZ_LRWAN1: enable LORA by default
2021-01-14 17:16:19 +00:00
Martin Kojtal 830f82c5cc
Merge pull request #14109 from paul-szczepanek-arm/master
Remove deprecated connectivity examples
2021-01-14 17:09:57 +00:00
George Psimenos e6c43bd943
Use length constant instead of literal
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
2021-01-14 13:20:36 +00:00
Devaraj Ranganna 61009ba05a tests: Limit PSA crypto tests to Arm-v7M targets
The PSA crypto tests in
connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp are only
supported for Arm-v7M PSA targets. For Arm-v8M PSA targets, crypto
regression tests provided by TF-M are used. Refer to
https://github.com/ARMmbed/mbed-os-tf-m-regression-tests for more
information.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:56:04 +00:00
Devaraj Ranganna 9186fe57b2 tests: Fix test_crypto_asymmetric_encrypt_decrypt
The test `test_crypto_asymmetric_encrypt_decrypt` was incorrectly
setting the key usage flags. The key usage is updated to support both
encryption and decryption.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2021-01-14 11:52:36 +00:00
George Psimenos 3b665dd29e Use named namespace & improvements 2021-01-14 09:32:39 +00:00
jeromecoutant 61d00d858f STM32G4: dual bank FLASH detection 2021-01-13 16:45:03 +01:00
jeromecoutant eb627788ca STM32G4: TRNG enabled
+ some cleanup/optimisation in SetSysClock
2021-01-13 16:44:57 +01:00
Hugues Kamba 24132695e3 These targets have a different memory layout,
they have two RAMs at two distinct locations:

RAM1 (address: MBED_RAM_START, size: MBED_RAM_SIZE):
* stack
* heap
* some part of static memory

RAM2 (address: MBED_IRAM2_START, size: MBED_IRAM2_SIZE):
* remaining part of static memory starting at MBED_IRAM2_START
* crash report
* vector
2021-01-13 12:46:35 +00:00
Mika Leppänen 1e3d32ad41 Corrected nanostack coverity warnings 2021-01-13 13:05:51 +02:00
pennam df4e397004 STM32H7: disable uSD transceiver 2021-01-13 11:13:15 +01:00
George Psimenos 7a81783285 Remove const suffix 2021-01-13 08:37:33 +00:00
George Psimenos 3664ce9b39 Replace macros 2021-01-13 08:37:33 +00:00
George Psimenos a32b81f7b6 Rename FLASH_SECTOR_SIZE macro to avoid conflicts 2021-01-13 08:37:33 +00:00
Stefan Staub c3dca94b78 Update for Arduino Pinnames 2021-01-12 22:43:42 +01:00
Hugues Kamba e86ce22ad3 Travis: Remove make.py test for events and littlefs
The removed tests were building applications from the content of their
respective README files. The events test was building with the full profile twice.
The first time with the repository as is; and the second time after deleting
some directories (to simulate the baremetal profile).
The littlefs test was building once with the full profile.

Testing make.py is no longer required as it is no longer supported.
There is already test coverage for APIs in the removed tests.
2021-01-12 18:13:51 +00:00
Martin Kojtal 2255408f45
Merge pull request #14089 from hugueskamba/hk_cmake_greentea_filesystem
CMake: Add support for Filesystem Greentea tests
2021-01-12 15:17:28 +00:00
Martin Kojtal 8fb31d7ec3
Merge pull request #14008 from MultiTechSystems/mtqn-cpsms
Add proper power save mode command format for MTS_DRAGONFLY_L471
2021-01-12 15:16:01 +00:00
adbridge c9a3375042 one final whitespace change! 2021-01-12 14:38:37 +00:00
adbridge 27689ef2b3 Further whitespace fixes 2021-01-12 13:29:26 +00:00
adbridge 1746ed0bc0 Fix whitespace to stop astyle complaining 2021-01-12 12:54:56 +00:00
Hugues Kamba f00aeea70f Apollo3: Fix heap size formula and stack start address in scatter file
The heapsize was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.

The stack start address should be the top of the RAM which is also fixed.
2021-01-12 11:31:50 +00:00
Hugues Kamba 61f2097223 CMake: Add support for Filesystem Greentea tests
The Filesystem Greentea tests can now be built with CMake
2021-01-12 10:59:58 +00:00
Hugues Kamba edab3140e2 CMake: Add support for NFC Greentea test
The NFC Greentea test can now be built with CMake
2021-01-12 10:57:27 +00:00
jeromecoutant e0217ad9f7 DISCO_L072CZ_LRWAN1: enable LORAWAN by default 2021-01-12 11:42:07 +01:00
jeromecoutant c3664d2339 LORA: update test 2021-01-12 11:42:06 +01:00
jeromecoutant 80aa710a48 LORA-DRIVER: add pins in json configuration 2021-01-12 11:42:04 +01:00
Martin Kojtal 265aa4cc92
Merge pull request #14103 from hugueskamba/hk_cmake_greentea_netsocket_network
CMake: Add support for netsocket/network Greentea tests
2021-01-12 10:40:20 +00:00
Martin Kojtal 74ac9b9b28
Merge pull request #14120 from jeromecoutant/DEV_CMAKE_F4
STM32F439 : correct cmake compilation
2021-01-12 08:28:10 +00:00
Martin Kojtal 025be19d3d
Merge pull request #14090 from hugueskamba/hk_cmake_greentea_blockdevice
CMake: Add support for Blockdevice Greentea tests
2021-01-12 08:22:55 +00:00
Martin Kojtal 36a2a808a8
Merge pull request #14130 from hugueskamba/hk_heap_size_fix_nrf52840
NRF52840: Fix heap size formula in scatter files
2021-01-12 08:22:31 +00:00
Ahmet Alincak 2ca990eb53 Use MBED_ALIGN and remove mbed.h from header 2021-01-11 22:53:36 +03:00
jeromecoutant 61059d45e4 STM32F439 : correct cmake compilation 2021-01-11 18:07:58 +01:00
Hugues Kamba 088ce195b6 CMake: Add support for netsocket/network Greentea tests
The netsocket/network Greentea tests can now be built with CMake
2021-01-11 16:34:07 +00:00
Hugues Kamba 51bd84ef7d CMake: Add support for CORDIO Greentea tests
The Cordio Greentea tests can now be built with CMake.
2021-01-11 16:30:29 +00:00
Hugues Kamba 1a90deb608 CMake: Fix the listing of system_clock.c for STM32F413xH
Each variant now has its own system_clock.c file.
Therefore ensure the correct one is added for each variant.
Also reduce the number of CMakeLists.txt file as each
variant does not have significant number of files.
2021-01-11 16:17:46 +00:00
Martin Kojtal 15de1aae18
Merge pull request #14101 from rajkan01/add_cmake_greentea_netsocket
CMake: Add CMake support for netsocket greentea test
2021-01-11 15:38:55 +00:00
pea-pod e1c754b179 Add SPI bitwidths to ST targets where supported 2021-01-11 07:53:07 -06:00
Martin Kojtal 4e34abbbf1
Merge pull request #14062 from dustin-crossman/pr/dec_asset_update
Cypress Asset Update
2021-01-11 13:40:26 +00:00
Martin Kojtal 53776fec43
Merge pull request #14125 from pan-/fix-sm-key-generation
BLE: Fix Security Manager key generation
2021-01-11 13:39:19 +00:00
Martin Kojtal 549f887ce0
Merge pull request #14131 from hugueskamba/hk_heap_size_fix_arm_ssg
MUSCA_B1: Fix heap size formula in scatter files
2021-01-11 13:39:11 +00:00
Martin Kojtal 331cebe5eb
Merge pull request #14133 from hugueskamba/hk_heap_size_fix_stm
STM: Fix heap size formula in scatter files
2021-01-11 13:38:37 +00:00