Commit Graph

30014 Commits (d0e572225c7940e3a0a8d09d8d241390e4923f26)

Author SHA1 Message Date
Martin Kojtal ddf06fcc80
Merge pull request #12876 from artokin/update_802_15_4_rf_driver
802.15.4 STM S2LP driver update
2020-05-04 11:02:33 +02:00
Chun-Chieh Li 405ee472a6 DeviceKey: Fix test code with key size change in generate_root_of_trust() 2020-05-04 09:11:42 +08:00
Chun-Chieh Li bde1f56399 KVStore: Fix buffer overrun when device key size doesn't match
This change fixes buffer overrun when injected device key is 32-byte but read as 16-byte.
2020-05-04 09:11:38 +08:00
Kyle Kearney d058586c48 Remove CYW943012P6EVB_01 target 2020-04-30 11:12:00 -07:00
Kyle Kearney 96f9915fa0 Remove CY8CPROTO_063_BLE target 2020-04-30 11:12:00 -07:00
Kyle Kearney af39f0512a Cypress: Fix non-compliant ADC range
The ADC range was previously 0-VBGR*2 (0 - 2.4 V). Change the reference
so that the ADC range is 0 - VDDA, to bring it in line with the documented
behavior of the mbed hal.
2020-04-30 11:12:00 -07:00
Kyle Kearney a63fe7d801 Disable QSPIF on CY8CPROTO_062S3_4343W
This target uses the QSPI interface hardware in XIP mode to allow
memory-mapped access to the WiFi interface firmware. This is
incompatible with the MMIO mode upon which QSPIFBlockDevice relies
to send specific commands over the QSPI bus.
2020-04-30 11:12:00 -07:00
Martin Kojtal af4c8a94f3
Merge pull request #12757 from dgreen-arm/test-remerge
Update Mbed OS with Mbed Crypto merged into Mbed TLS
2020-04-30 16:06:32 +02:00
Martin Kojtal 930ef84662
Merge pull request #12823 from SeppoTakalo/generate_devicekey
Allow Devicekey::generate_root_of_trust() to define key size.
2020-04-30 15:59:07 +02:00
George Beckstein 5087b6da4e Moved GENERIC_H745I_CM* targets into parent target folder 2020-04-30 09:27:26 -04:00
George Beckstein 5dcc49d9f5 Change structure so custom targets may define their own linker scripts 2020-04-30 09:24:02 -04:00
jeromecoutant 1877b68869 STM32H745 : creation of GENERIC target
Goal is to enable compilation in CI
2020-04-30 09:24:02 -04:00
jeromecoutant 38801157ac STM32H745 restructuration 2020-04-30 09:24:02 -04:00
George Beckstein ecaa5fe793 Add BSP initialization hook to system initialization code 2020-04-30 09:24:02 -04:00
George Beckstein decc6d335f Added common system files from H747 targets 2020-04-30 09:24:02 -04:00
George Beckstein a1bb4b1d0a Add and configure support for IAR toolchain 2020-04-30 09:24:02 -04:00
George Beckstein fab7de62e7 Add and configure support for ARM_STD toolchain 2020-04-30 09:24:02 -04:00
George Beckstein 88a6d37a07 Add target files for STM32H745-based targets 2020-04-30 09:24:01 -04:00
Hugues Kamba ce1c51ea51 ST Boards: Remove uARM tooolchain support
For NUCLEO_F401RE, NUCLEO_F411RE, NUCLEO_F303RE, and DISCO_L475VG_IOT01A:
* Ensure the scatter files for the ARM toolchain use 2 region memory model.
  The scatter files changes affects the following boards:
    * NUCLEO_F401RE, STEVAL_3DP001V1 (stm32f401xe.sct)
    * NUCLEO_F411RE, MTS_MDOT_F411RE, MTS_DRAGONFLY_F411RE, MTB_MTS_DRAGONFLY, SAKURAIO_EVB_01 (stm32f411re.sct)
    * NUCLEO_F303RE, NUCLEO_F303ZE (stm32f303xe.sct)
    * DISCO_L475VG_IOT01A, MTB_STM_L475 (stm32l475xx.sct)
* Remove the TOOLCHAIN_ARM_MICRO directories.
* Remove release_version as not necessary and as the targets can also run
  Mbed OS 6.
* Remove uARM support for all FAMILY_STM32 targets.
2020-04-30 14:17:39 +01:00
Martin Kojtal 08a09200a6
Merge pull request #12864 from MarceloSalazar/platform_cleanup3
Remove unsupported targets
2020-04-30 14:56:36 +02:00
Martin Kojtal 6d8d024eba
Merge pull request #12839 from sword-huang/master
Nuvoton: netsocket correction of judgment errors
2020-04-30 14:54:07 +02:00
Martin Kojtal 32ea606add
Merge pull request #12889 from hugueskamba/hk_stdio_config
Convert newlines on all terminal (tty) devices by default
2020-04-30 14:53:41 +02:00
Martin Kojtal 0df2188f3e
Merge pull request #12761 from kjbracey-arm/callback_trivial
Callback: Trivial default
2020-04-30 14:50:40 +02:00
Kevin Bracey fd933b4c72 mbed_chrono: restore asserts
Now that we've got a workaround for ARMC6, asserts can be restored.
2020-04-30 14:14:25 +03:00
Kevin Bracey ff2a928091 Work around ARM C 6 constexpr assert
ARMC6's assert macro does not work in C++14 constexpr context as it should.
By defining __DO_NOT_LINK_PROMISE_WITH_ASSERT, we deactivate the
extension that breaks it (having `__promise` inside `assert` - see the
compiler manual).

The extension does not appear to be useful - we have no code using
ARMC6's `__promise` directly, and putting a `__promise` inside the
assert does not appear to affect code generation in my tests.
2020-04-30 14:14:25 +03:00
Kevin Bracey f35667fcd4 SDBlockDevice: Convert to Chrono 2020-04-30 13:39:40 +03:00
Jaeden Amero 6f6a92c1eb musca_b1: Add TF-M compatibility
Make the MUSCA_B1 target TF-M compatible by doing the following:
    - Add flash, region definitions, and preprocessed image macros from
      TF-M (at version 6e7be077eabe "Core: Add lifecycle API")
    - Update the MUSCA_B1 linker script to create a flash image
      compatible with TF-M.
    - Update the tfm/bin_utils/assemble.py signing script to work with
      preprocessed image macros rather than flat C pre-processor defines

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-30 11:36:09 +01:00
Devaraj Ranganna 0ad1a988ec musca_a1: Add TF-M compatibility
Make the MUSCA_A1 target TF-M compatible by doing the following:
    - Add flash, region definitions, and preprocessed image macros from
      TF-M (at version 6e7be077eabe "Core: Add lifecycle API")
    - Update the MUSCA_A1 linker script to create a flash image
      compatible with TF-M.
    - Update the tfm/bin_utils/assemble.py signing script to work with
      preprocessed image macros rather than flat C pre-processor defines

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-30 11:35:05 +01:00
Kevin Bracey cd6e7bb4cf USB: Convert to Chrono 2020-04-30 13:33:15 +03:00
Jaeden Amero 803d295d75 psa: Include region_defs.h where needed
We are moving to flash_layout.h and region_defs.h being more closely
aligned with TF-M's version. As such, some of the Mbed PSA
implementation needs to additionally include region_defs.h.
2020-04-30 11:32:33 +01:00
Jaeden Amero 808da40695 musca: Use the default baud rate
Avoid surprising users. Use the Mbed OS default baud rate. Applications
that want to see TF-M debug prints can both enable and set their baud
rate at the application level. Mbed OS should not turn on TF-M debug
prints nor surprise the user with a non-default baud rate.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-30 11:32:10 +01:00
Kevin Bracey 89f67b2985 NFC: Convert to Chrono 2020-04-30 13:28:29 +03:00
Darryl Green 7fbc143b05 Fix assertation ordering in tests
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:29 +01:00
Darryl Green 1a6a8495ef Define mbedtls_ecc_group_to_psa inline for NS world
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:26 +01:00
Darryl Green 0d16ca4d8a Remove references to mbed-crypto
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:20 +01:00
Darryl Green d64c9e53c8 Move Mbed Crypto Greentea tests to Mbed TLS
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:15 +01:00
Darryl Green 53260ebd77 Use updated ECC curve macros
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:10 +01:00
Darryl Green fc07e5ba93 Update Mbed TLS to latest version
As Mbed Crypto has been remerged into Mbed TLS, remove Mbed Crypto
at the same time.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:05 +01:00
Darryl Green b91fe62c96 Adjust Mbed TLS importer and config script
Mbed Crypto has been remerged back into Mbed TLS. Update the
Mbed TLS importer script with the relevant parts of the
Mbed Crypto importer.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:27:54 +01:00
Kevin Bracey 08fa26bdda nsapi_dns: Convert to Chrono 2020-04-30 13:04:31 +03:00
Hugues Kamba 5cb7bd5cca Convert newlines on all terminal (tty) devices by default
Applications can reduce their ROM usage by replacing
"\r\n" by "\n".
2020-04-30 10:56:27 +01:00
Martin Kojtal d1ae0d570c
Merge pull request #12425 from kjbracey-arm/chrono
C++ Chrono support
2020-04-30 11:41:43 +02:00
Marcelo Salazar 84b596db06 Fix pin config for LPC1768 2020-04-30 09:56:37 +01:00
Marcelo Salazar 81a92e3cb5 Re-enable K82F target 2020-04-30 09:56:37 +01:00
Marcelo Salazar 4d8a720e21 Remove EFM32PG12 targets 2020-04-30 09:56:37 +01:00
Marcelo Salazar 84bad91489 Remove NRF51_DONGLE target 2020-04-30 09:56:37 +01:00
Marcelo Salazar 3b4a04b797 Remove HI2110 based targets 2020-04-30 09:56:37 +01:00
Marcelo Salazar c2645ef423 Remove NINA targets 2020-04-30 09:56:37 +01:00
Marcelo Salazar d7d4589597 Remove SSCI824 config 2020-04-30 09:56:37 +01:00
Marcelo Salazar 6899f6903c Remove TY51822R3 target 2020-04-30 09:56:37 +01:00