Skip to content
  1. Feb 27, 2024
  2. Feb 25, 2024
  3. Feb 21, 2024
  4. Feb 19, 2024
    • GaborAbonyi's avatar
      build-run: Add Ethos NPU ID and MAC configuration option (#48) · 32ea1a06
      GaborAbonyi authored
      
      
      * ml-eval-kit: Make ETHOSU_ARCH configurable in TensorFlow CMake
      
      This patch removes the hardcoded value of u55 in tesorflow.cmake.
      It now uses ETHOS_U_NPU_ID as input and convert it to the format
      needed by TensorFlow build.
      This also means the ETHOS_U_NPU_ID variable preserve workaround is
      no longer needed in SetupMlEmbeddedEvaluationKitLibraries.cmake as
      it is no longer overwritten in tensorflow.cmake.
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      * ml-eval-kit: Move NPU config from app to bsp
      
      These settings are independent from the applications, to reduce
      duplication, configuration of NPU is moved to bsp layer.
      Added U65 option and checks for config validity.
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      * ml-eval-kit: Move activation_buf_dram to .bss.NoInit region
      
      This is needed to place activation_buf_dram in a no init region, so
      it does not require space in flash.
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      * build-run: Add support for Ethos NPU ID and MAC cycle configuration
      
      * Add option to the build/run scripts to select different Ethos NPU
      * Add option to the buld script to select number of Ethos NPU MAC
        unit per cycle
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      * build-run: Use a shell variable to gather CMake arguments
      
      This is so some CMake arguments can be excluded more easily
      depending on the build configuration. It will remove the need
      to set default values for CMake cache variables from the scripts
      as CMake cache variables already have default values.
      
      This change allows a standard overriding of CMake cache variable
      in CMake scripts without a check to see if the user input a value
      for the cache variable.
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      * build: Unify error report format in build.sh
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      
      ---------
      
      Signed-off-by: Gabor Abonyi's avatarGabor Abonyi <gabor.abonyi@arm.com>
      32ea1a06
    • Filip Jagodzinski's avatar
      build: Resolve certificate and key paths · f79e3620
      Filip Jagodzinski authored and Devaraj Ranganna's avatar Devaraj Ranganna committed
      
      
      Since both the certificate path and the private key path are forwarded
      to CMake, the user is asked to specify them as absolute. Build process
      fails when either of these is a local path instead. Unfortunately,
      although our build script checks for existence of both files, the check
      is not done from CMake's point of view. As a result, the build error
      seen by the user is hard to understand (no known rule to make a missing
      ninja target).
      
      Resolve both AWS certificate path and AWS private key path to prevent
      the unhelpful error message from showing up, and make the build script
      more flexible by giving users option to use local paths as well as
      absolute paths for PEM files.
      
      Signed-off-by: Filip Jagodzinski's avatarFilip Jagodzinski <filip.jagodzinski@arm.com>
      f79e3620
  5. Feb 14, 2024
    • Hugues Kamba Mpiana's avatar
      integration-app: Reduce binary code size with debug experience · d333f950
      Hugues Kamba Mpiana authored and Devaraj Ranganna's avatar Devaraj Ranganna committed
      
      
      Change the optimization level for the `freertos-iot-libraries-tests`
      application to reduce code size whilst still maintaining a
      comfortable debugging experience.
      
      Arm Compiler For Embedded optimization level is set to use `-O1` and
      Arm GNU Toolchain is set to use `-Og`.
      These optimization levels are already used by the other FRI
      applications.
      
      The Arm Compiler For Embedded `-O1` optimization level results
      in a slower binary execution speed on `FVP_Corstone_SSE-310`.
      The MQTT test process loop timeout period
      (`MQTT_TEST_PROCESS_LOOP_TIMEOUT_MS`) needs therefore to be
      increased from `40000` to `54630` to pass the
      `MqttTest, MQTT_Restore_Session_Duplicate_Incoming_Publish_Qos1`
      test case.
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba Mpiana <hugues.kambampiana@arm.com>
      d333f950
  6. Feb 12, 2024
  7. Feb 11, 2024
  8. Feb 07, 2024
  9. Feb 06, 2024
  10. Feb 05, 2024
  11. Feb 02, 2024
  12. Jan 31, 2024
Loading