diff --git a/ARM.MALIC55.pdsc b/ARM.MALIC55.pdsc new file mode 100644 index 0000000000000000000000000000000000000000..a98a18987a044f937e6db997b1795b2097440c63 --- /dev/null +++ b/ARM.MALIC55.pdsc @@ -0,0 +1,341 @@ + + + + ARM + http://www.keil.com/pack/ + support-subsystem-iot@arm.com + MALIC55 + + Pack for the MALIC55 ISP drivers. + + + + Initial release + - MALIC55 Native Driver and library + + + + + + ARM + ISP + MALI + MALIC55 + C55 + + + + + Condition for MALIC55 Native Driver + + + + + + + + + + + + + + + + + + + + + + + + + + MALIC55 Platform Hardware Access Layer + + + + + + + + + + + + + + + + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + + MALIC55 Native Driver + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + + MALIC55 Platform Hardware Access Layer + + + + + + + + + + + + + + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + MALIC55 ACamear Sensor APIs + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index d89427e719272211f270e3c00f6ac4ed3c097420..b63ca4d692656a01ef3b22f2ca1f7794ab7e7299 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,18 @@ against `isp_firmware_config` library which should provide include path for be linked with a platform adaptation driver, a sensor driver, a lens driver, and calibrations. +Find further examples of using the Mali-C55 ISP in the [IoT Reference Integration for Arm Corstone-3xx](https://github.com/FreeRTOS/iot-reference-arm-corstone3xx) +repository, under object_detection. + + +## Building the pack + +Install minimum version `v2.3.0` [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/cmsis-toolbox). +Then build the pack from the downloaded repository with the following command: +```bash +./gen_pack.sh +``` + ## Contributing diff --git a/gen_pack.sh b/gen_pack.sh new file mode 100755 index 0000000000000000000000000000000000000000..730476f520aedcaa41d367aa656da43d310d57ff --- /dev/null +++ b/gen_pack.sh @@ -0,0 +1,122 @@ +#!/usr/bin/env bash +# Copyright (c) 2024 Arm Limited. All rights reserved. +# SPDX-License-Identifier: BSD-3-Clause +# +# Version: 3.0 +# Date: 2024-01-31 +# This bash script generates a CMSIS Software Pack: +# + +set -o pipefail + +# Set version of gen pack library +# For available versions see https://github.com/Open-CMSIS-Pack/gen-pack/tags. +# Use the tag name without the prefix "v", e.g., 0.7.0 +REQUIRED_GEN_PACK_LIB="0.9.1" + +# Set default command line arguments +DEFAULT_ARGS=() + +# Pack warehouse directory - destination +# Default: ./output +# +PACK_OUTPUT=./output + +# Temporary pack build directory, +# Default: ./build +# +PACK_BUILD=./build + +# Specify directory names to be added to pack base directory +# An empty list defaults to all folders next to this script. +# Default: empty (all folders) +# +PACK_DIRS=" + software/driver/bare-metal +" + +# Specify file names to be added to pack base directory +# Default: empty +# +PACK_BASE_FILES=" + README.md + LICENSE +" + +# Specify file names to be deleted from pack build directory +# Default: empty +# +# PACK_DELETE_FILES=" +# +# " + +# Specify patches to be applied +# Default: empty +# +# PACK_PATCH_FILES=" +# +# " + +# Specify addition argument to packchk +# Default: empty +# +# PACKCHK_ARGS=() + +# Specify additional dependencies for packchk +# Default: empty +# +PACKCHK_DEPS=" + ARM.CMSIS.pdsc +" + +# Optional: restrict fallback modes for changelog generation +# Default: full +# Values: +# - full Tag annotations, release descriptions, or commit messages (in order) +# - release Tag annotations, or release descriptions (in order) +# - tag Tag annotations only +# +# PACK_CHANGELOG_MODE="" + +# +# custom pre-processing steps +# +# usage: preprocess +# The build folder +# +function preprocess() { + # add custom steps here to be executed + # before populating the pack build folder + return 0 +} + +# +# custom post-processing steps +# +# usage: postprocess +# The build folder +# +function postprocess() { + # add custom steps here to be executed + # after populating the pack build folder + # but before archiving the pack into output folder + + mv ${PACK_BUILD}/software/driver/bare-metal/* ${PACK_BUILD}/ + rm -rf ${PACK_BUILD}/software + + return 0 +} + +############ DO NOT EDIT BELOW ########### + +# Set GEN_PACK_LIB_PATH to use a specific gen-pack library root +# ... instead of bootstrap based on REQUIRED_GEN_PACK_LIB +if [[ -f "${GEN_PACK_LIB_PATH}/gen-pack" ]]; then + . "${GEN_PACK_LIB_PATH}/gen-pack" +else + . <(curl -sL "https://raw.githubusercontent.com/Open-CMSIS-Pack/gen-pack/main/bootstrap") +fi + +gen_pack "${DEFAULT_ARGS[@]}" "$@" + +exit 0