This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 8a3579cab8c6244d061fbd9da6956369e0996e0e
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Thu May 23 12:40:16 2024 +0200

    hw/drivers: Add cirruslogic mcu-drivers repo
    
    Currently only files for CS47L63 can be taken to build
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/drivers/audio/cirruslogic-mcu-drivers/pkg.yml   | 48 ++++++++++++++++++++++
 .../audio/cirruslogic-mcu-drivers/syscfg.yml       | 23 +++++++++++
 2 files changed, 71 insertions(+)

diff --git a/hw/drivers/audio/cirruslogic-mcu-drivers/pkg.yml 
b/hw/drivers/audio/cirruslogic-mcu-drivers/pkg.yml
new file mode 100644
index 000000000..0f640cc5c
--- /dev/null
+++ b/hw/drivers/audio/cirruslogic-mcu-drivers/pkg.yml
@@ -0,0 +1,48 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+pkg.name: hw/drivers/audio/cirruslogic-mcu-drivers
+pkg.description: MCU Driver Software Development Kit (SDK)
+pkg.keywords:
+    - audio
+
+pkg.type: sdk
+
+pkg.include_dirs:
+    - "@cirruslogic-mcu-drivers/."
+    - "@cirruslogic-mcu-drivers/common/platform_bsp"
+    - "@cirruslogic-mcu-drivers/common"
+
+pkg.source_files.MCU_DRIVERS_CS47L63:
+    - "@cirruslogic-mcu-drivers/cs47l63/cs47l63.c"
+    - "@cirruslogic-mcu-drivers/common/regmap.c"
+
+pkg.include_dirs.MCU_DRIVERS_CS47L63:
+    - "@cirruslogic-mcu-drivers/cs47l63"
+    - "@cirruslogic-mcu-drivers/cs47l63/config"
+    - "@cirruslogic-mcu-drivers/cs47l63/bsp"
+
+pkg.cflags:
+
+repository.cirruslogic-mcu-drivers:
+    type: github
+    vers: 39956e6302595f790494d5b7dff46f1a56b63124-commit
+    branch: master
+    user: CirrusLogic
+    repo: mcu-drivers
diff --git a/hw/drivers/audio/cirruslogic-mcu-drivers/syscfg.yml 
b/hw/drivers/audio/cirruslogic-mcu-drivers/syscfg.yml
new file mode 100644
index 000000000..a5ad1a16a
--- /dev/null
+++ b/hw/drivers/audio/cirruslogic-mcu-drivers/syscfg.yml
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+syscfg.defs:
+    MCU_DRIVERS_CS47L63:
+        description: >
+            Include CS47L63 SDK driver in build.
+        value:

Reply via email to