IIO firmware for the AD4110

Dependencies:   tempsensors sdp_k1_sdram

Revision:
0:6ca37a8f8ba9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/sdram_sdpk1.c	Wed Jul 27 17:04:15 2022 +0530
@@ -0,0 +1,31 @@
+/***************************************************************************//**
+ *   @file    sdram_sdpk1.c
+ *   @brief   SDP-K1 SDRAM interafaces
+********************************************************************************
+ * Copyright (c) 2022 Analog Devices, Inc.
+ * All rights reserved.
+ *
+ * This software is proprietary to Analog Devices, Inc. and its licensors.
+ * By using this software you agree to the terms of the associated
+ * Analog Devices Software License Agreement.
+*******************************************************************************/
+
+/******************************************************************************/
+/***************************** Include Files **********************************/
+/******************************************************************************/
+
+#include "sdp_k1_sdram.h"
+#include "no_os_error.h"
+
+/******************************************************************************/
+/************************ Functions Definitions *******************************/
+/******************************************************************************/
+
+int32_t sdram_init(void)
+{
+	if (SDP_SDRAM_Init() != SDRAM_OK) {
+		return -EIO;
+	}
+
+	return SUCCESS;
+}