Skip to content

Commit d80c5a9

Browse files
authored
Merge pull request #473 from analogdevicesinc/rgetz-codespell
codespell: Fix various spelling mistakes with codespell
2 parents 10662b2 + bb7814b commit d80c5a9

23 files changed

+30
-27
lines changed

.codespell-whitelist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SOM
2+
som
3+
mitre

CI/travis/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ upload_file_to_swdownloads() {
241241
local LATE=${branch}_latest_${LIBNAME}${LDIST}${EXT}
242242
local GLOB=${DEPLOY_TO}/${branch}_${LIBNAME}-*
243243

244-
echo attemting to deploy "$FROM" to "$TO"
244+
echo attempting to deploy "$FROM" to "$TO"
245245
echo and "${branch}_${LIBNAME}${LDIST}${EXT}"
246246
ssh -V
247247

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
message(STATUS "cmake verison: ${CMAKE_VERSION}")
1+
message(STATUS "cmake version: ${CMAKE_VERSION}")
22
cmake_minimum_required(VERSION 2.8.7)
33
project(libiio C)
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Library for interfacing with Linux IIO devices
44

55
libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.
66

7-
Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. The library is released under the GNU Lesser General Public License (LGPL), version 2.1 or (at your option) any later version, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions). The examples and test applications (sometimes refered to as the iio-utils) are released seperately under the GNU General Public License (GPL) version 2.0 (at your option) any later version.
7+
Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. The library is released under the GNU Lesser General Public License (LGPL), version 2.1 or (at your option) any later version, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions). The examples and test applications (sometimes referred to as the iio-utils) are released separately under the GNU General Public License (GPL) version 2.0 (at your option) any later version.
88

99
Library License : [![Library License](https://img.shields.io/badge/license-LGPL2+-blue.svg)](https://github.com/analogdevicesinc/libiio/blob/master/COPYING.txt)
1010
Tests/Examples License : [![Application License](https://img.shields.io/badge/license-GPL2+-blue.svg)](https://github.com/analogdevicesinc/libiio/blob/master/COPYING_GPL.txt)

README_BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Cmake Options | Default | Description |
5252
`ENABLE_PACKAGING` | OFF | Create .deb/.rpm/.tar.gz via 'make package' |
5353
`INSTALL_UDEV_RULE` | ON | Install a udev rule for detection of USB devices |
5454

55-
Which backends the library supports is dependant on the build system, but can be overridden.
55+
Which backends the library supports is dependent on the build system, but can be overridden.
5656
(If cmake finds libusb, it will use it, unless turned off manually)
5757

5858
Cmake Options | Depends on | Description |

channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ char * iio_channel_get_xml(const struct iio_channel *chn, size_t *length)
321321

322322
/* NULL char should be left, and that is it */
323323
if (len != 1) {
324-
IIO_ERROR("Internal libIIO error: iio_channel_get_xml str length isssue\n");
324+
IIO_ERROR("Internal libIIO error: iio_channel_get_xml str length issue\n");
325325
free(str);
326326
return NULL;
327327
}

context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ char * iio_context_create_xml(const struct iio_context *ctx)
134134
}
135135

136136
if (len != 1) {
137-
IIO_ERROR("Internal libIIO error: iio_context_create_xml str length isssue\n");
137+
IIO_ERROR("Internal libIIO error: iio_context_create_xml str length issue\n");
138138
free(str);
139139
return NULL;
140140
}

device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ char * iio_device_get_xml(const struct iio_device *dev, size_t *length)
228228
*length = ptr - str;
229229

230230
if (len != 1) {
231-
IIO_ERROR("Internal libIIO error: iio_device_get_xml str length isssue\n");
231+
IIO_ERROR("Internal libIIO error: iio_device_get_xml str length issue\n");
232232
free(str);
233233
return NULL;
234234
}

examples/ad9361-iiostream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int main (int argc, char **argv)
285285
p_end = iio_buffer_end(txbuf);
286286
for (p_dat = (char *)iio_buffer_first(txbuf, tx0_i); p_dat < p_end; p_dat += p_inc) {
287287
// Example: fill with zeros
288-
// 12-bit sample needs to be MSB alligned so shift by 4
288+
// 12-bit sample needs to be MSB aligned so shift by 4
289289
// https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/basic_iq_datafiles#binary_format
290290
((int16_t*)p_dat)[0] = 0 << 4; // Real (I)
291291
((int16_t*)p_dat)[1] = 0 << 4; // Imag (Q)

examples/ad9371-iiostream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ int main (__notused int argc, __notused char **argv)
286286
p_end = iio_buffer_end(txbuf);
287287
for (p_dat = iio_buffer_first(txbuf, tx0_i); p_dat < p_end; p_dat += p_inc) {
288288
// Example: fill with zeros
289-
// 14-bit sample needs to be MSB alligned so shift by 2
289+
// 14-bit sample needs to be MSB aligned so shift by 2
290290
// https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/basic_iq_datafiles#binary_format
291291
((int16_t*)p_dat)[0] = 0 << 2; // Real (I)
292292
((int16_t*)p_dat)[1] = 0 << 2; // Imag (Q)

0 commit comments

Comments
 (0)