aboutsummaryrefslogtreecommitdiff
path: root/driver_library/python
AgeCommit message (Collapse)Author
2023-08-09Add version to driver library23.08-rc1Mikael Olsson
A version has been added to the driver library so users can check if they are compatible with the driver library in use. The Python wrapper has been updated accordingly to make the version information available. Change-Id: I8affbf7068c057f7103adf14c9e4a331d547fbcc Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2023-08-09Add kernel driver version check in driver libraryMikael Olsson
The driver library will now check that it's compatible with the kernel driver in use by checking the kernel driver's version. The kernel driver version has also been made available to the library users and the Python wrapper has been updated accordingly. Change-Id: Ieae8c0bfc323f945038e7264eceeab90c833f76d Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2023-04-20Fix compiler flag passing in Python API CMake file23.05-rc1Mikael Olsson
To support cross-compilation of the driver library Swig C wrapper for the Python API, the CMake file must pass on the C and CXX flags that have been setup by the build environment so that the correct flags, include paths etc are used when building the wrapper. Change-Id: I6288016056c5a4eeef1162ea2a9afb1e3ab4b86a
2023-04-20Fix Python API CMake file ETHOS_U_DRIVER_LIB pathMikael Olsson
The ETHOS_U_DRIVER_LIB environment variable in the Python API CMake file specifies that the driver library archive will be found in a lib subdirectory in the build directory. This is incorrect as the archive will be put directly into the driver library directory and the CMake file has been updated accordingly. Change-Id: Ie296f89f7669d69f193d96d994ad8e1918e3d1eb
2023-04-20Fix license file path in Python API CMake fileMikael Olsson
The CMake file for the Python API, currently fails to copy the license file to the build directory because it incorrectly assumes that the file is in the Python API folder. The license file that should be used is in the top of the repository and the CMake file has been updated accordingly. Change-Id: Ia0131cc27abdf28d355c69a556229691901971e5
2022-10-25Added Python interface for Arm Ethos-U NPU driver library.22.11-rc1Kshitij Sisodia
Python `ethosu_driver` could be built as part of Arm Ethos-U Linux driver library CMake flow. See driver_library/python/README.md for more details. Change-Id: I177a890add5c13df9a839f4f43621f972afe5ab1 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>