Commit Graph

32586 Commits (806417853d6f4cea7b6992da657b994b00c7bd6a)

Author SHA1 Message Date
jeromecoutant 806417853d STM32WB: enable QSPI for custom boards 2021-03-08 16:51:53 +01: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
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 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
Lingkai Dong 5353b62873 Cypress: Query exact 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
Lingkai Dong ad27a3ec69 CMake: pass application name to post-build hook
Pass the exact name to the post-build hook, when an application's
or test's `CMakeLists.txt` calls `mbed_set_post_build()`. The
interface is CMake's built-in mechanism:
* `set_target_properties()` to set a property, e.g. application name
* `$<TARGET_PROPERTY:target,property>` to query a property at run time
2021-03-04 09:41:48 +00:00
Lingkai Dong 3579bb65da Force regenerate application binaries on rebuild
If a target has a post binary hook, we should force regenerate
the application binaries every time so that the hook is run on a
raw binary rather than a previous build that already went through
the post-build process once.
2021-03-04 09:41:43 +00:00
cyliangtw a3c09d0a3f Add mbed-cmsis-cortex-m into Nuvoton CMakeList 2021-03-04 11:35:14 +08:00
Rajkumar Kanagaraj 3695cefad3 CMake: Update readme for greentea test build procedure
- No longer need to create mbed_os.lib and soft link to mbed-os as new
 --mbed-os-path command-line removes such dependency and creates mbed_build.cmake
 when passing mbed-os path with that command line argument.
2021-03-03 03:58:59 -08:00
Robert Walton 905fc253b6 targets: Remove target. prefix from ARM-CM3DS-MPS2 override
This is the only target in targets.json that uses the `target.` prefix
when defining a configuration override. This looks like an error, and
causes issues with mbed-tools, so this commit removes the prefix.
2021-03-03 11:31:50 +00:00
Martin Kojtal 76b2902f48
Merge pull request #14354 from ARMmbed/feature-tf-m-1.2-integration
Update TF-M support to v1.2
2021-03-03 11:08:24 +00:00
Martin Kojtal 87cededeee
Merge pull request #14348 from harmut01/baremetal_arm_fm
Add bare metal support to ARM FM targets
2021-03-03 08:54:42 +00:00
Martin Kojtal 876032b818
Merge pull request #14338 from jeromecoutant/PR_README_CLOCK
STM32: update readme with clock information
2021-03-03 08:54:26 +00:00
Martin Kojtal 53f87aada1
Merge pull request #14363 from harmut01/baremetal_si
Add bare metal support to Silicon Labs targets
2021-03-03 08:53:10 +00:00
Lingkai Dong 074b0ba00c Fix CMake include path for the minimal-printf test 2021-03-02 17:27:50 +00:00
Martin Kojtal 71de6e24af
Merge pull request #14321 from ARMmbed/0xc0170-fix-removing-stale-label
Mergify: remove stale label when PR is merged
2021-03-02 16:47:08 +00:00
Martin Kojtal a9766519cf
Merge pull request #14345 from harmut01/baremetal_toshiba
Add bare metal support to Toshiba targets
2021-03-02 16:44:29 +00:00
Martin Kojtal 1e3834325f
Merge pull request #14303 from ycsin/master
Add STM32F103xE SOC support
2021-03-02 16:43:38 +00:00
Harrison Mutai ee5946c990 Add bare metal support to EFM32 targets
Modify scatter files to add heap load region, and remove hard coded
values. Add supported c libs and bare metal profile to `targets.json`
configurations. Affects the following targets: EFM32GG_STK3700,
TB_SENSE_12, and EFM32GG11_STK3701.
2021-03-02 10:29:47 +00:00
Harrison Mutai 5b1c704622 Remove uARM dependencies for EFM32FF targets 2021-03-02 10:25:41 +00:00
Martin Kojtal 5614af0f1b
Merge pull request #14349 from harmut01/baremetal_nordic
Add bare metal support to Nordic targets
2021-03-02 09:41:41 +00:00
Martin Kojtal f78c24135c
Merge pull request #14325 from AGlass0fMilk/ep-atlas-reg-init
EP Atlas Target Updates
2021-03-02 09:41:28 +00:00
Martin Kojtal 44e9e3ca80
Merge pull request #14324 from hugueskamba/hk_fix_psoc6_post_build_script
PSOC6: Catch possible error in post build script
2021-03-02 09:40:57 +00:00
Martin Kojtal e2a5f8f8ba
Merge pull request #14291 from harmut01/baremetal_freescale
Add bare metal support to freescale targets
2021-03-02 09:40:17 +00:00
Martin Kojtal 03b9d5a357
Merge pull request #14271 from ladislas/ladislas/feature/add-editorconfig
Add .editorconfig file
2021-03-02 09:39:24 +00:00
Harrison Mutai 191bd023eb Remove erroneous object file reference in IRAM1 definition 2021-03-01 16:27:24 +00:00
Harrison Mutai c55210fdc4 Correct vector table and ram size definitions 2021-03-01 15:30:31 +00:00
Martin Kojtal c5bfa7e471
Merge pull request #14340 from chrJost/master
STM32L5: enable USBDEVICE
2021-03-01 15:28:44 +00:00
Martin Kojtal 1f28e6e7dd
Merge pull request #14334 from hugueskamba/hk_cmake_remove_app_target_post_build_calls
CMake: Remove references of APP_TARGET
2021-03-01 14:59:02 +00:00
Martin Kojtal fbafcf2b0d
Merge pull request #14355 from ladislas/feature/ladislas/cmake-map-per-target
CMake - Configure memory map per target to allow multiple add_executable
2021-03-01 12:55:36 +00:00
Ladislas de Toldi fd7ea7305f
Configure memory map per target to allow multiple add_executable 2021-02-27 13:16:03 +01:00
Lingkai Dong 62c8379d8d TARGET_TFM_V1_0: compatibility with Mbed TLS 2.24.0
Mbed TLS 2.24.0 requires a few new macros and an inline function in
the PSA Crypto header. This PR adds them to make sure the TF-M v1.0
target (specifically CYTFM_064B0S2_4343W) continues to compile with
the new Mbed TLS.

Note: Support for older versions of TF-M than v1.2 will be dropped,
so existing TF-M targets should migrate to TF-M v1.2 as soon as
possible.
2021-02-25 15:40:57 +00:00
George Beckstein d00699c70f Add subtarget_init files to cmake 2021-02-25 10:34:42 -05:00
Ladislas de Toldi b23a8eb1c3
Add .editorconfig file 2021-02-25 16:26:34 +01:00