Skip to content
Commit fb2e9cfc authored by Lingkai Dong's avatar Lingkai Dong Committed by Jaeden Amero
Browse files

Add mcu-driver-hal and mcu-driver-reference-platforms-for-arm



The only Arm target currently supported by MCU-Driver-HAL is AN547_MPS3
(Corstone-300).

To build,

    cmake -S . -B _build -GNinja -D VARIANT=FVP
    cmake --build _build

To run,

    # replace <path-to> and <your-choice>
    <path-to>/FVP_Corstone_SSE-300_Ethos-U55 -a _build/_deps/mdh-arm-build/mdh_arm/examples/<your-choice>/*.elf

Temporary workarounds:
* For now, only mcu-driver-reference-platforms-for-arm.git is fetched
  because it pulls in MCU-Driver-HAL as a git submodule. Once the HAL
  migrates away from git submodules, MCU-Driver-HAL should be fetched
  directly and target-specific implementations should be fetched
  according to build target.
* As we do not have proper CMake toolchain files or an MCU selection
  mechanism in place, configurations are hardcoded inside MCU-Driver-HAL
  for now, its subdirectory is added before the top-level IoTSDK project
  is declared.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent 72ee9f84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment