Age | Commit message (Collapse) | Author |
|
Cleaning up HAL sources by removing unnecessary redirections
with function pointers. The "platform packages" under HAL are
now streamlined enough to not need any major HAL wrapping (as
was the case before).
This allows us to have a very thin HAL layer that sits on top
of the platform and compnent packs. Also helps in getting rid
of "hal platform" pointer being passed around in the code to
use any HAL functionality.
Change-Id: I04b2057f972aad7a5cfb4a396bcdf147c9f9ef1c
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
All ML related work for image classification seperated out and accessed via new Runner
Further work to improve profiling integration to be done in follow up ticket: MLECO-3154
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I0fe0550c932241a2d335a560ecb7abc329c934e9
|
|
Further to the HAL refactoring done in previous commits,
this CR simpifies HAL by removing data_acq and data_psn
"modules". The associated function pointers have been
removed.
Change-Id: I04c194c08dfe0aff98ce4e0f0f056bac254c137d
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
Attempting to have timer functionality contained within
the platform drivers "package" as it should (in line with
the refactoring work done so far under HAL). This will
ensure that we don't need two timer implementations under
HAL "profiles" and therefore, this whole directory can be
removed.
This change also addressed issue with the applicatio level
Profiler code knowing about how the PMU has been set up by
the platform code. This link has been removed completely.
This will make it much easier to add/amend the Ethos-U PMU
event counters types and give each platform the capability
of populating their relvant counters. The application level
Profiler doesn't know which metrics it is displaying but
just calculates and maintains statistics for whatever PMU
counters it receives from the HAL level.
A fix for timing adapter issue introduced in the last CR
is also included.
Change-Id: Ia46e03a06e7b8e42b9ed2ba8f2af2dcd2229c110
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
Moving away from CMake description of targets and generation of
platform header files (for memory addresses and IRQ numbers).
Instead these headers are part of the repository under their
respective platform-driver packages under HAL sources.
Change-Id: I9bd3e68eb17385f8b93eb3d8d76b212ce0e1a6d5
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
Dcoumentation updates in line with recent refactoring and some
minor update to the HAL's NPU component.
Change-Id: Iadb34dbcdedf7259f786c42bd8fcf2d950a51410
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
* Pathlib used in Python scripts over os
* Bug fix for build_default.py
* Minor code style updates
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I5fc2e582a84443c3fb79250eb711b960d63ed8fd
|
|
Corrections and improvements in the build graph (documentation).
Change-Id: Ic7f9afe587978f835a88109c21a4145b91daf45d
|
|
Update to the build graph image in documentation for changes
made in commit c22e80e (MLECO-2919).
Change-Id: I16a5c4b11979d13010454d2f827e4ed3ca6cf5c3
|
|
Ubuntu 18.04 (or older) users
Change-Id: If7bb02f44f8bb7b84b7b7a620e69429a7b5fbb60
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Change-Id: I771089443a6cdb4135570fcdd6e321a8f68fcf4a
|
|
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I0f6bf4f891ced4b0da1802546ccf345383af1d93
|
|
Change-Id: Ib42829b61e840a47086898d6f8941f0e92f2f8fe
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
* LCD module component created (removed from individual
platform packs).
* retarget.c moved out into its own component that wraps
the uart module. It also have the native stub for
GetLine => paved the way for removing data_acq module
from profiles.
* shortened names for components' dir for npu and ta
* remove peripheral_memmap and peripheral_irqs headers
from platform_drivers.h. There should be no need for
these to be included in the top level now. These should
be private headers.
* cmsis_device moved in as a component.
* Pyenv created by set_up_default_resource.py will also
install packages that CMake's source generator needs.
TODO's:
* Remove timer from profiles (MLECO-3096)
Change-Id: I9d6ea2f4f291788f40a16ed507019563c8d7f205
|
|
Change-Id: I24cd544780f46fcec8f154b440f7bb959c20a459
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Tried to clarify location of axf file and need to change directory at a specific step
Added note on changing permissions to AVH guide and added link to AVH guide in
quickstart.md as well as recommending a VNC viewer if using AVH
Change-Id: I653f0ac3ae52a6fc1c44e28024b9513af89c6db6
Signed-off-by: Liam Barry <liam.barry@arm.com>
|
|
Change-Id: I958aa912d135241743c95a4ece81bb6deee22006
|
|
* Add missing CMake setting used for building driver
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I2aae67d6780f88e661f9a54177943553b0f0dd4c
|
|
* Use UART component from Ethos-U core-platform
* Components as cmake project
Change-Id: I053f3a59800abc20216e6a4df8555db357e3f21d
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
* Core-platform now a depdenency for timing adapter
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I54f3773bdf91083fa1513be15372fcf2231bea2c
|
|
Change-Id: Ie33c564e877dd27eb3b6d9fe22226dde3eb25323
|
|
Revived & renamed irqs.c as handlers.c
Removed reset handler and associated functions
Switched to including it as a PUBLIC source
Change-Id: Iccbd7061efcf9a1cfa9fac0fdbc2ab073d9f6150
Signed-off-by: Liam Barry <liam.barry@arm.com>
|
|
Removing git as a requirement for the checks performed for downloaded
resources. Another minor change is renaming of RTE_components.h to
RTE_Components.h as per the convention.
Change-Id: If93f80f2f5dfa6a3f143259904c33b3b6d3a6e7c
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
Check could have been bypassed if the script path provided as
an argument was incorrect. Also, a minor update in the CMake
function to fix the path.
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Change-Id: Id3cd4027843783e3ed8700eac503e7ba3f09ad04
|
|
Adding basic support to allow applications to build with semihosting
support. Default state is always disabled.
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Change-Id: I1d34c3a246560aaffcb34eee801e1a87d887d559
|
|
MLECO-2949: Platform drivers should own NPU and TA init
Change-Id: I13606a0197f137816bae803eb9d7d46c358b5fb8
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Change-Id: I12777c3818463c11d6351db0b4961a2bc0b00b18
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Change-Id: I2036332cffee94f1a3b69b391586d0a2f6c9db55
|
|
* RTE_components header to include corresponding Arm Cortex-M system header
* remove custom CMSIS implementation from repo
* use templates within CMSIS repo instead
* update cmake to use header and source files within CMSIS repo
Change-Id: I3534dae97b93c07a5056471b1d1dedbc78f00aa7
|
|
guidance to add custom platform.
Signed-off-by: alexander <alexander.efremov@arm.com>
Change-Id: Ib2eb2b7460c0ee8161403e5b135cd8b5cd854334
|
|
Reducing dependency on cmsis-device sources as these will
be removed under MLECO-2944. Also, starting to refactor
to allow HAL to drop NPU and TA init routines - this will
happen in future CRs.
Added platform driver for native, and subsequent patches
will attempt to get rid of the HAL "profile" specific
sources and allow platform stub implementations at a level
below HAL. This will allow platforms drivers to only
override the range of functions that they actually want to
implement and will fall back on stubs for the rest. In this
CR only "utils" have been removed.
Change-Id: I09b4a28e20847a07a956c818c6f47c74aab89063
|
|
Change-Id: I013cb638483d4b774f2729ba02b6863c5ff7a99a
|
|
CPU_PROFILE_ENABLED was moved to profiler sub-project build.
Signed-off-by: alexander <alexander.efremov@arm.com>
Change-Id: I8191c83c7ae0f618769449d7d25fe58876cbcf05
|
|
* TensorFlow CMake uses Arm Ethos-U NPU driver lib path
* armclang DWARF level config flag removed
* uses and mentions of DWARF level removed
* TensorFlow uses Arm Cortex-M generic target
* removed Arm Cortex-M custom target makefile and dir
Change-Id: Ie0d3edb5473462ef8552f8b9f832190de5e99a7c
|
|
Signed-off-by: Michael Levit michaell@emza-vs.com
Change-Id: If59b6bc63375c3f1172505684d75097ff526e32e
(cherry picked from commit fba4e3a12b50d0ebb3804c6bf22cf688fcdaeee8)
|
|
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Change-Id: I076c3431e8106ff9430e66727607438c36d1acbc
|
|
* No longer copy the source image
* Boxes are drawn directly to LCD rather than on source image
* Change c style casts to static casts
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: Ib8e926cb1a87bc2c40424eb5aace40170c526f1d
|
|
* Adding troubleshooting for cloning errors
Change-Id: Ib57353900064c68c30ecb2141602081180c50c99
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
* set CMP0123 policy to remove warning
* remove parentheses to avoid assert is always true warning
Change-Id: Ifcdf089183d750d7b00b345f5c4115c82d897def
|
|
* Add ImageUtils
* Move image related code from UseCaseCommonUtils to ImageUtils
* Move NMS related code to ImageUtils
* Delete test specific ImageUtils and use new ImageUtils
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: Icbf5dd9c6a941b0126ecdf69a0c9d9969f22729f
|
|
Profiler is a stand alone static lib that will depend on
log and hal targets.
Change-Id: Ibbff289c6760982f54ae278d95a054e73db018c8
|
|
And further optimisations of extendability for platform build
steps. Added a list for excluded use-cases.
Change-Id: I5a9398bbeb595a5bf2ea39b81623e4f20238f948
Signed-off-by: alexander <alexander.efremov@arm.com>
|
|
MLECO-2930: logging macros were extracted from hal.h and used separately around the code.
MLECO-2931: arm_math lib introduced, cmsis-dsp removed from top level linkage.
MLECO-2915: platform related post-build steps.
Change-Id: Id718884e22f262a5c070ded3f3f5d4b048820147
Signed-off-by: alexander <alexander.efremov@arm.com>
|
|
Change-Id: Ic14e93a50fb7b3f3cfd9497bac1280794cc0fc15
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Added QSPI_SRAM_BASE for Secure region.
Updated UART and other peripherals affected by change in reserved region
Updated names of some base addresses in cmake and template files
Error in TRM swapping individual for combined GPIO IRQs reported
Follow-up - Marked region in TRM not covered in CMake
Change-Id: I046e740053477fe3a51bc171a2b7e28f4a9f0523
Signed-off-by: Liam Barry <liam.barry@arm.com>
|
|
Change-Id: I182bfa55b5ae743d6f0b9f5c766b746202a7968d
Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
|
|
Signed-off-by: Michael Levit michaell@emza-vs.com
Change-Id: I7958b05b5dbe9a785e0f8a241b716c17a9ca976f
|
|
Replaced overloaded PresentInferenceresults with single function and removed
logic to handle arguments which are no longer passed.
Change-Id: I745271638fcf78b7121c2a4b95844b752643bac2
Signed-off-by: Liam Barry <liam.barry@arm.com>
|
|
Issues identified with Armclang 6.15; bumping up the minimum
version required to Armclang 6.16.
Change-Id: I33ec21f04e0c954919cacaf6f3c4d99ef8f517cc
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
|
|
Added tests for recently added Softmax function in
PlatformMath module.
Change-Id: Iacf1f4eaf33a92e1d42275000765e7152d17176b
|