Commit Graph

32633 Commits (c0a8e41719a1384dd2a0b31975ffcb41b5d4b39b)

Author SHA1 Message Date
Martino Facchin c0a8e41719 CYW43XXX: Add generic transport layer 2021-03-11 15:43:28 +01:00
Martin Kojtal 8a19e3ecfc
Merge pull request #14362 from LDong-Arm/cypress_signing_fix
Fix imgtool import for CYTFM_064B0S2_4343W signing
2021-03-11 11:13:56 +00:00
Martin Kojtal 1712f66795
Merge pull request #14402 from ladislas/ladislas/feature/unittests-fix-sys-stat-issue
Fix sys/stat.h issue for unit tests on macOS
2021-03-11 11:05:40 +00:00
Martin Kojtal 0ef2024a1d
Merge pull request #14401 from LDong-Arm/m33_link_fix
Workaround for Cortex-M33 Arm toochain linking
2021-03-11 11:05:10 +00:00
Martin Kojtal ea4aed2d95
Merge pull request #14372 from harmut01/baremetal_samsung
S1SBP6A: Add bare metal support
2021-03-11 11:04:46 +00:00
Martin Kojtal 3742e3485b
Merge pull request #14407 from LDong-Arm/malloc_wrapper_fix
Add integer overflow check to the malloc wrappers
2021-03-11 10:23:49 +00:00
Martin Kojtal 5326e30961
Merge pull request #14293 from jeromecoutant/PR_CMAKE_ALIGN
STM32L4 : align CMakeLists.txt with all STM32
2021-03-11 08:56:06 +00:00
Martin Kojtal 0ef41d3687
Merge pull request #14347 from harmut01/baremetal_ambiq
Add bare metal support to Ambiq targets
2021-03-11 08:55:43 +00:00
Martin Kojtal 6bbd68cb42
Merge pull request #14393 from LDong-Arm/readme_post_build_update
Doc update: post build now supported on TF-M targets
2021-03-11 08:55:35 +00:00
Lingkai Dong 4450464fc8 Add integer overflow check to the malloc wrappers
Add a check that the combined size of the buffer to allocate and
alloc_info_t does not exceed the maximum integer value representable
by size_t.
2021-03-10 09:47:15 +00:00
Ladislas de Toldi 6335775c58
Fix sys/stat.h issue for unit tests on macOS 2021-03-10 10:41:31 +01:00
Martin Kojtal 0e89f9d6d9
Merge pull request #14337 from jeromecoutant/PR_STM32L1_1102
STM32L1 update drivers version to CUBE V1.10.2
2021-03-09 17:37:58 +00:00
Lingkai Dong 6dc85e0386 Workaround for Cortex-M33 Arm toochain linking
Binaries generated for Cortex-M33 targets (e.g. Musca S1/B1) using
the Arm toolchain + CMake is unable to run, unless we instruct the
linker to not use floating points.

Note: This is a temporary workaround, because
* Ideally, the Arm linker should be able to auto detect the
  architecture support from the input object files, but it's not
  always the case. We already have a similar workaround for Cortex-M4.
* The full option to use should be `--cpu=Cortex-M33.no_dsp.no_fp`
  but `no_dsp` currently conflicts with CMake's compilation tests
  (no option to disable DSP in the test objects before linking).
2021-03-09 17:35:48 +00:00
Martin Kojtal 5f9fbfe9f6
Merge pull request #14301 from harmut01/baremetal_renesas
Add bare metal support to Renesas targets
2021-03-09 17:31:43 +00:00
Martin Kojtal 7a707de9d7
Merge pull request #14387 from mark-psl/master
Update serial_api.c - Issue #14353 - Setting BufferedSerial pin to NC throws runtime assertion
2021-03-09 17:29:45 +00:00
Martin Kojtal c8d4b90267
Merge pull request #14392 from jeromecoutant/PR_WB_QSPI
STM32WB: enable QSPI for custom boards
2021-03-09 17:29:34 +00:00
Martin Kojtal 866855df5c
Merge pull request #14367 from JojoS62/fix-nd6-queueing-typo
fix typo: replace underscore by hyphen in lwipstack/mbed_lib.json
2021-03-09 14:32:32 +00:00
Martin Kojtal e1f3cc1761
Merge pull request #14391 from LDong-Arm/musca_s1_tfm_s
Update secure binaries with platform init fix for ARM_MUSCA_S1
2021-03-09 14:32:06 +00:00
jeromecoutant 1eb16d1f25 STM32 : gpio_reset_at_init disabled with MBED_DEBUG 2021-03-09 12:33:25 +01:00
jeromecoutant 898439930a STM32L1 : license header alignment 2021-03-09 12:33:25 +01:00
jeromecoutant 30c843ede7 STM32L1 : STM32Cube_FW 1.10.2 2021-03-09 12:33:16 +01:00
jeromecoutant 6b57fd48a8 STM32L1 : targets restructuration
- alignment with other STM32 families
2021-03-09 12:32:42 +01:00
jeromecoutant 95ebb3d7b6 STM32L1 : directory restructuring 2021-03-09 12:32:42 +01:00
Martin Kojtal 682a5eab83
Merge pull request #14390 from UbiJCC/patch-1
Add extern "C" around am_hal_secure_ota.h functions
2021-03-09 10:57:50 +00:00
Lingkai Dong 31cc82dabb "Updated secure binaries for [(ARM_MUSCA_S1, ARMCLANG)]"
This brings in the platform init fix:

    https://github.com/ARMmbed/trusted-firmware-m/pull/15
2021-03-09 10:22:58 +00:00
Lingkai Dong 26abe5656b CMake README: post build now supported on TF-M targets 2021-03-08 16:38:00 +00:00
jeromecoutant 806417853d STM32WB: enable QSPI for custom boards 2021-03-08 16:51:53 +01:00
Martin Kojtal 98143e48cf
Merge pull request #14323 from artokin/update_from_feature_wisun
Bring in MIMXRT1050_EVK changes from feature-wisun branch
2021-03-08 15:39:40 +00:00
Martin Kojtal d7aded63c9
Merge pull request #14373 from harmut01/baremetal_nuvoton
Add bare metal support to Nuvoton targets
2021-03-08 13:48:31 +00:00
Martin Kojtal 31a60a9b47
Merge pull request #14374 from rwalton-arm/dev/rwalton-arm/cm3ds-mps2-target-config
targets: Remove target. prefix from ARM-CM3DS-MPS2 override
2021-03-08 13:48:06 +00:00
Martin Kojtal 278ff00496
Merge pull request #14361 from LDong-Arm/musca_post_binary_hooks
CMake: support signing TF-M targets with post binary hooks
2021-03-08 13:12:55 +00:00
Martin Kojtal e37f7a67f2
Merge pull request #14351 from ladislas/ladislas/stm32f7/use_callbacks
STM32 - Add if !defined check for USE_HAL_XXX_REGISTER_CALLBACKS
2021-03-08 11:08:45 +00:00
Martin Kojtal a3b9aee9c9
Merge pull request #14386 from harmut01/freescale_refactor
Freescale: Remove IAR from list of supported toolchains
2021-03-08 09:34:28 +00:00
UbiJCC 9074be5821
Add extern "C" around am_hal_secure_ota.h functions 2021-03-06 13:50:20 -05:00
mark-psl 2dc73149ec Update serial_api.c 2021-03-05 11:57:00 -05:00
harmut01 4afd24cf65 Freescale: Remove IAR from list of supported toolchains
Having IAR with the supported_c_libs parameter missing a setting for a
IAR causes build failures during CI. Since IAR is no longer supported by
Mbed remove IAR as a supported toolchain to remove this inconsistency.
2021-03-05 16:20:22 +00:00
Lingkai Dong 3e19778597 CMake: Enable post binary hook for ARM_MUSCA_B1 2021-03-05 16:16:26 +00:00
Lingkai Dong 816f81d018 CMake: Enable post binary hook for ARM_MUSCA_S1 2021-03-05 16:16:26 +00:00
Lingkai Dong f225791fee CMake: Support signing and merging TF-M binaries
This commit adds post binary hook support for TF-M targets.

To apply this hook to a TF-M target, do the following in the target's
`CMakeLists.txt`:
* include `mbed_set_post_build_tfm.cmake`
* call `mbed_post_build_tfm_sign_image()`, passing
  - Mbed OS target name
  - TF-M target name
  - path containing the target's bootloader, layout files and signing
    keys
  - path to the secure binary
  - path to the non-secure binary (i.e. the "raw" Mbed application)
2021-03-05 16:16:26 +00:00
Lingkai Dong 4e45b0a4eb Copy signing keys into each Musca target's path
The signing keys were previously imported from trusted-firmware-m
and located in mbed-os/tools/targets/musca_* (path for Mbed CLI 1).
This PR copie them into each target's directory as per the
convention of the new tools. Keys in the old path remain untouched
for backward compatibility, but they will be eventually removed
once we stop supporting Mbed CLI 1.
2021-03-05 16:16:26 +00:00
Martin Kojtal ae432b24a2
Merge pull request #14378 from LDong-Arm/post_build_rework
CMake: Pass application/test name to post build operation
2021-03-05 15:49:53 +00:00
Harrison Mutai 7eb2122f63 Add bare metal support to Nuvoton targets
Modify `targets.json` to configure bare metal for the following targets:
NUMAKER_IOT_M252, NUMAKER_IOT_M263A, NUMAKER_IOT_M487, NUMAKER_PFM_M487,
NUMAKER_PFM_NUC472. Add target link interface between nuvoton library
and mbed-cmsis-cortex-m.
2021-03-05 14:50:20 +00:00
Harrison Mutai 46fb822d02 Remove uARM dependencies from Nuvoton targets 2021-03-05 14:48:17 +00:00
Martin Kojtal 8a1ce92317
Merge pull request #14368 from LDong-Arm/minimal_printf_cmake_fix
Fix CMake include path for the minimal-printf test
2021-03-05 14:22:09 +00:00
Martin Kojtal 3fb5ed718c
Merge pull request #14376 from OpenNuvoton/nvt_cmake
CMake: Add mbed-cmsis-cortex-m into Nuvoton target
2021-03-05 14:04:05 +00:00
Martin Kojtal ed8aabdd33
Merge pull request #14380 from harmut01/cmake_target_refactor
CMake: Refactor target MCU_STM32F103xE library name
2021-03-05 14:03:53 +00:00
Martin Kojtal 586f8893f2
Merge pull request #14375 from rajkan01/update_greentea_build_procedure
CMake: Update readme for greentea test build procedure
2021-03-05 13:16:40 +00:00
Harrison Mutai 2e9745899e Rename Samsung ARM toolchain from ARMC6 to ARM 2021-03-05 09:45:28 +00:00
Harrison Mutai da73b4bf8d CMake: Refactor target MCU_STM32F103xE library name 2021-03-04 15:37:47 +00:00
Lingkai Dong 848341112e NXP: Query precise application names in post build
This removes the need to use "glob" a file extension, and uses
precise application names.
2021-03-04 10:28:22 +00:00