Age | Commit message (Collapse) | Author |
|
Add new ETHOSU_LOG_ENABLE variable in the CMakeLists.txt to toggle
logging completely off, or else by the desired severity level.
Turning off the logging will also disable the LOG() macro.
Change-Id: I313a97fb1569000ae22637734ef4a60eedc56f70
Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
|
|
Change-Id: Iebbf8243fe97cc9195920e1ba3f4b35005e7c01a
|
|
A continuation of the spring clean/refactor work. Create a
better separation between driver and device(s).
A short summary of what this commit contains:
- Split device and driver
- Simplify and hide the internal device interface
- Remove (broken) abort inference functionality
- Refactoring of structure
- Optimizations and bugfixes
Change-Id: I8988bc5f163f9ea62add2a933e4f100a82cc8d35
|
|
Made a separate header file for logging specific content.
Cleaned up logging messages.
Change-Id: Id329b40977156ca5b954b3a222effaedbc6b2a2c
|
|
These changes mostly focus on creating a better structure
for the driver. Creating a better separation between driver
and device(s).
A short summary of what this commit contains:
- Move driver specific defines from device to driver
- Prefix device functions with ethosu_dev
- Remove device specific register access' from driver
- Remove device specific debug/dump functions
- Add function prototypes for weak functions
- Remove legacy ARM_NPU_STUB support
- Rename ethosu_device.c to ethosu_device_u55.c
- Remove redundant irq handler prototype
- Remove (deprecated) hardcoded instance ethosu_drv
- Simplify versioning API
Split driver version and hardware version/information so
that driver version can be queried without a driver instance.
- Improve and simplify logging
Make warning the new default severity level to print and
reduce severity levels to:
err
warning
info
debug
- Add severity prefix to log lines. Error messages print file
and line number, debug messages print function by default.
- Clarify some log messages
- Small optimizations and bugfixes
Change-Id: I2dfbfc3a40d7eca133c82f187f422325e1e6d314
|
|
Using a cpu without proper interrupt handling is not really usefull in
this context, so remove that option.
Change-Id: Ie94fd9025c918eef72272e14ad5b0a95ea7dc4a4
|
|
Storing PMU counters in shadow variables, in case the PMU was powered
off or soft reset.
Change-Id: I64ccf3fb6195f9be2d8315891ec612bb75404885
|
|
Change-Id: I44d6220ac488d2e67c0b6a8b005c8da0b9a67011
|
|
Change-Id: Ia984092db29cc5f1294ecdcf5c2b6b744c6d32b2
|
|
The driver can log at one of the following levels: 0=emerg,
1=alert, 2=crit, 3=err, 4=warning, 5=notice, 6=info, 7=debug.
The logs at or below the set level are printed whereas
the higher level logs are not printed.
Change-Id: I05a498d4c8c78112207187d9dceaa2386b138c5d
|
|
Make ethosu_config.h define default macro's (with default
values) unless the user overrides them.
For CMake users, the macros can be defined on cmd line by
specifying CMAKE_C_FLAGS for cmake, like:
cmake ... -DCMAKE_C_FLAGS='-DFOO=1 -DBAR=2'
Change-Id: I20fd3e07fdcfb7cba58da7198fd986f8821902bb
|
|
Change-Id: I2e72d26699e07b12b42832b59e23b3083c59d1d8
|
|
Rename CMake log variable. Make logging default off.
Remove CMake setting compile features.
Remove FPGA flag around soft reset.
Change-Id: Ia1f1c314ad19e9e05c59efe1a16d5670f6ec0f69
|
|
Moving PMU files from ethosu_pmu to include and src.
Adding extern "C" to PMU header.
Removing CMake generated file.
Updating default path to CMSIS.
Removing timing adapter.
Change-Id: I4834c5361c14efe629c5cb36a17013d02cc765c8
|
|
Change-Id: I541862775031c21e6483f26446a29dfe452382ab
|