forked from analogdevicesinc/no-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove submodule since it is no longer used. Remove all tinyiiod dependencies. Signed-off-by: Antoniu Miclaus <[email protected]>
- Loading branch information
Showing
128 changed files
with
202 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
/***************************************************************************//** | ||
* @file iio.c | ||
* @brief Implementation of iio. | ||
* This module implements read/write ops, required by libtinyiiod and further | ||
* calls show/store functions, corresponding to device/channel/attribute. | ||
* @author Cristian Pop ([email protected]) | ||
* @author Mihail Chindris ([email protected]) | ||
******************************************************************************** | ||
|
@@ -1299,8 +1297,6 @@ static int iio_refill_buffer(struct iiod_ctx *ctx, const char *device) | |
/** | ||
* @brief Read chunk of data from RAM to pbuf. Call | ||
* "iio_transfer_dev_to_mem()" first. | ||
* This function is probably called multiple times by libtinyiiod after a | ||
* "iio_transfer_dev_to_mem" call, since we can only read "bytes_count" bytes. | ||
* @param device - String containing device name. | ||
* @param pbuf - Buffer where value is stored. | ||
* @param offset - Offset to the remaining data after reading n chunks. | ||
|
@@ -1344,9 +1340,6 @@ static int iio_read_buffer(struct iiod_ctx *ctx, const char *device, char *buf, | |
|
||
/** | ||
* @brief Write chunk of data into RAM. | ||
* This function is probably called multiple times by libtinyiiod before a | ||
* "iio_transfer_mem_to_dev" call, since we can only write "bytes_count" bytes | ||
* at a time. | ||
* @param device - String containing device name. | ||
* @param buf - Values to write. | ||
* @param offset - Offset in memory after the nth chunk of data. | ||
|
@@ -1841,8 +1834,7 @@ static int32_t iio_init_trigs(struct iio_desc *desc, | |
} | ||
|
||
/** | ||
* @brief Set communication ops and read/write ops that will be called | ||
* from "libtinyiiod". | ||
* @brief Set communication ops and read/write ops | ||
* @param desc - iio descriptor. | ||
* @param init_param - appropriate init param. | ||
* @return 0 in case of success or negative value otherwise. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/***************************************************************************//** | ||
* @file iiod.c | ||
* @brief Nonblockin implementation of libtinyiiod. | ||
* Based on https://github.com/analogdevicesinc/libtinyiiod | ||
* @brief Nonblockin implementation of iiod. | ||
* @author Mihail Chindris ([email protected]) | ||
******************************************************************************** | ||
* Copyright 2022(c) Analog Devices, Inc. | ||
|
Submodule libtinyiiod
deleted from
440e42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TINYIIOD ?= n | ||
IIOD ?= n | ||
include ../../tools/scripts/generic_variables.mk | ||
|
||
include src.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TINYIIOD ?= n | ||
IIOD ?= n | ||
include ../../tools/scripts/generic_variables.mk | ||
|
||
include src.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TINYIIOD ?= n | ||
IIOD ?= n | ||
include ../../tools/scripts/generic_variables.mk | ||
|
||
include src.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"aducm3029": { | ||
"iio_uart": { | ||
"flags" : "TINYIIOD=y" | ||
"flags" : "IIOD=y" | ||
}, | ||
"iio_wifi": { | ||
"flags" : "TINYIIOD=y NETWORKING=y" | ||
"flags" : "IIOD=y NETWORKING=y" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,5 +19,5 @@ SRC_DIRS += $(PLATFORM_DRIVERS) | |
SRC_DIRS += $(NO-OS)/util | ||
SRC_DIRS += $(INCLUDE) | ||
|
||
TINYIIOD=y | ||
IIOD=y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"xilinx": { | ||
"iio": { | ||
"flags" : "TINYIIOD=y", | ||
"flags" : "IIOD=y", | ||
"hardware" : ["ad7134_fmc_zed"] | ||
}, | ||
"uart": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"flags" : "" | ||
}, | ||
"iio_capacitive_length_demo": { | ||
"flags" : "TINYIIOD=y" | ||
"flags" : "IIOD=y" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TINYIIOD ?= n | ||
IIOD ?= n | ||
include ../../tools/scripts/generic_variables.mk | ||
|
||
include src.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TINYIIOD = y | ||
IIOD = y | ||
QUAD_MXFE = n | ||
|
||
include ../../tools/scripts/generic_variables.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.