Commit Graph

32256 Commits (e6565a4486428c28dbfdc01a0cccce51fba6994c)

Author SHA1 Message Date
Marc Emmers 11573a9264 Add iter_reference_t to iterator header 2021-01-16 20:02:24 +01:00
Marc Emmers c38df18dcc Fix endif comment 2021-01-16 20:02:24 +01:00
Marc Emmers 2f0bfd605e Adds basic span implementation 2021-01-16 20:02:24 +01:00
Hugues Kamba 0ac503312a CMake: Add support for Arm's MPS2 targets 2021-01-15 16:32:43 +00:00
Hugues Kamba 470cc1a1a6 CMake: Add support for Arm's CM3DS_MPS2 target 2021-01-15 16:32:43 +00:00
Martin Kojtal eff0d4c8b9
Merge pull request #14032 from jeromecoutant/PR_RESET_GPIO
STM32: RESET GPIO during init is configurable
2021-01-15 15:49:11 +00:00
jeromecoutant 1bbceb48f0 STM32 / CMAKE / targets : correct CMakeLists.txt files 2021-01-15 15:11:16 +01:00
Rajkumar Kanagaraj a29e3cd5d8 f_mount() (http://www.elm-chan.org/fsw/ff/00index_e.html - third party libary) API is called from both mount() and unmount() Mbed OS APIs.
f_mount() is doing both initializing (via find_volume() -> disk_initialize() where disk_initialize api calls Mbed OS init() function)
underlying block device and register filesystem but in case of "unmount" calls this f_mount is doing deregister filesystem
and missed to a deinitializing block device. So added the Mbed OS "deint()" call in unmount API to deinitialize block device
as f_mount API doesn't have a way to call deinit().
2021-01-15 04:05:25 -08:00
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