Skip to content
  1. May 22, 2025
  2. Apr 29, 2025
    • Mikael's avatar
      Make inference process output printing conditional · 317dbd7a
      Mikael authored
      
      
      Printing the inference output in the inference process is a costly
      operation because it converts the data to a base64 string and calculates
      a checksum for it. Printing the output can be good for debugging but to
      avoid unwanted performance impact, the feature has been put behind a
      build flag that is disabled by default.
      
      Change-Id: I556249f39a3a206b28f778a32830fd83e8941c71
      Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
      25.05-rc1
      317dbd7a
  3. Apr 04, 2025
    • Jonny Svärd's avatar
      tflite_micro: Disable more warnings · 87c64dca
      Jonny Svärd authored
      
      
      As TensorFlow Lite Micro is a third party library, declare include
      directories as SYSTEM directories, to avoid warnings from applications
      and libs that use the header files.
      
      Add more compiler options to disable warnings when building the target.
      
      Change-Id: I15054d064fecd870de09629df7211ebe1359cd7a
      Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
      87c64dca
  4. Mar 24, 2025
    • Jonny Svärd's avatar
      Misc updates to ethosu_log · e791a3fc
      Jonny Svärd authored
      
      
      Replace empty log macros with calls to a new LOG_COMMON_NOP macro, with
      the intention of avoiding unused variable/parameter warnings where the
      variables/parameters are currently only used for logging. The if check
      will normally be optimized away.
      
      Change formatting of error messages, prepend the file name and line
      instead of appending it, to allow for newlines in error messages.
      
      Add a check for __FILE_NAME__ macro and use that instead of strrchr
      function, when available.
      
      Change-Id: I88a868c04b9db112fcec2d6209f9943c85925be7
      Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
      e791a3fc
  5. Mar 21, 2025
    • Jonny Svärd's avatar
      Separate application and core driver logging · 19e0ee00
      Jonny Svärd authored
      
      
      Introduce a new CORE_LOG_SEVERITY variable to set the log level desired
      for core software/core platform applications. Separating it from the
      ETHOSU_LOG_SEVERITY setting that now only affect the core_driver log
      level. Add a new CORE_LOG_ENABLE variable that allows all logs
      (including the unconditional LOG macro) to be turned off. Note however
      that it will not affect printf and similar calls, but only logs going
      through the ethosu_log library.
      
      Sync the ethosu_log library with changes from the intended standalone
      copy in core_driver.
      
      Change-Id: I92a1254a2dd224f6403318f983c63236ea7d6aa8
      Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
      19e0ee00
  6. Mar 14, 2025
  7. Jan 24, 2025
  8. Jan 16, 2025
  9. Jan 14, 2025
  10. Jan 13, 2025
  11. Dec 16, 2024
  12. Dec 04, 2024
  13. Nov 27, 2024
  14. Nov 11, 2024
  15. Nov 08, 2024
  16. Oct 23, 2024
    • Jonny Svärd's avatar
      Cache optimizations · aaf4f641
      Jonny Svärd authored
      
      
      Remove cache invalidation calls from the inference_process library as
      they are not needed.
      
      Fix the clean function to actually clean/flush the tensor arena after
      copying the IFM data and nothing else, to ensure cache coherency before
      invoking an inference on the NPU.
      
      Change-Id: Ida7f4474c86ca3a24c15e1cb8abe84440b60fdc3
      Signed-off-by: Jonny Svärd's avatarJonny Svärd <jonny.svaerd@arm.com>
      aaf4f641
  17. Oct 21, 2024
  18. Oct 17, 2024
  19. Oct 07, 2024
  20. Sep 26, 2024
  21. Sep 16, 2024
  22. Jul 19, 2024
  23. Jun 20, 2024
  24. Jun 13, 2024
  25. Jun 04, 2024
  26. May 31, 2024
  27. May 20, 2024
  28. May 15, 2024
    • Mikael's avatar
      Change to use uint32_t in Arm profiler for ticks · 939d0b7c
      Mikael authored
      
      
      Currently the profiler uses signed 32-bit integers to hold the start and
      end tick values. This is not appropriate because the tick values will
      never be negative and the current ticks are returned as an unsigned
      32-bit integer value.
      
      To address this, the start and end ticks will now be stored as unsigned
      32-bit integers instead.
      
      Change-Id: I6358f3fde7c034c5e40409a9d3f7a576ff4897ce
      Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
      24.05-rc1
      939d0b7c
  29. May 13, 2024
    • Rajasekaran Kalidoss's avatar
      Change CMSIS Device file paths for CMSIS 6 · f922fd1a
      Rajasekaran Kalidoss authored
      
      
      This patch adds support for building with CMSIS_6 in addition to
      CMSIS_5. A cmake flag(CMSIS_VER) with default value of 5 has been added.
      This can be overridden in the cmake command line. CMSIS Device
      component is no longer part of CMSIS_6 and is part of Cortex_DFP repo.
      This patch also has the file path changes required to include CMSIS
      Device from Cortex_DFP.
      
      Change-Id: I148ab6b384d725ca83e75ac08e15c58809f25ac1
      Signed-off-by: Rajasekaran Kalidoss's avatarRajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
      f922fd1a
  30. Apr 24, 2024
    • Mikael's avatar
      Add VIRTIO macros to custom OpenAMP CMake file · def78636
      Mikael authored
      
      
      The OpenAMP library has been changed to required the build system to
      define the VIRTIO_DRIVER_SUPPORT and VIRTIO_DEVICE_SUPPORT macros to
      know what code to include and will fail to build if these macros are not
      defined.
      
      As a custom CMake file is used to build OpenAMP rather than using the
      one provided by the library, the library currently fails to build
      because the custom CMake file does not define the required macros.
      
      To resolve this, the custom CMake file now defines the missing macros.
      
      Change-Id: Iae0d40a7604b6eccead2adb157487ad1c57024a3
      Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
      def78636
  31. Mar 15, 2024
  32. Mar 06, 2024
    • Måns Nilsson's avatar
      Update TFLM build configuration · f309c200
      Måns Nilsson authored
      
      
      - Renames build flags (TFLU_*->TFLM_*).
      - Fix generator expressions in add_compile_definitions.
      - Adds new build flag TFLM_OPTIMIZE_KERNELS_FOR. This is a new flag in
        TFLM, which is currently needed for CMSIS-NN Transpose conv.
        Since TFLM's own build files are not used it need to be set explicitly
        here.
      
      Change-Id: I8ff01caabfc1c5d2fcc3fa36fcbd153525d93258
      Signed-off-by: default avatarMåns Nilsson <mans.nilsson@arm.com>
      f309c200
  33. Dec 15, 2023
  34. Nov 08, 2023
  35. Oct 24, 2023
  36. Aug 07, 2023
    • Mikael's avatar
      Fix parser not always null-terminating model desc · 74c514a5
      Mikael authored
      
      
      The inference parser copies the description from the model using
      strncpy, which will only add a null-terminator if the source string is
      shorter than the destination. Otherwise, if the bytes copied are not
      null-terminated, the destination is left without one.
      
      To ensure that the description is always null-terminated, the last byte
      of the description is now always overwritten with one.
      
      Change-Id: I49c23acd12d661e1f5c37088dba2e37935f25fa5
      Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
      3 tags
      74c514a5
  37. Jun 20, 2023
  38. Jun 13, 2023
Loading