This website requires JavaScript.
30bbb88685
mraa.c/x86.c: use exact match in strncmp() to avoid surprises
Alex Tereschenko
2017-06-17 16:46:07 +02:00
e0052acfa7
mock tests cmake cfg: use PYTHON_DEFAULT_INTERP instead of _EXECUTABLE
Alex Tereschenko
2017-06-13 21:58:03 +02:00
3731f88c4f
python3 cmake cfg: correct typo in defines
Alex Tereschenko
2017-06-13 21:30:25 +02:00
869f76c5c5
python: only add python dir if we have the prerequisites
Brendan Le Foll
2017-06-13 16:48:37 +02:00
e1778c811d
tests: add USEPYTHON3TESTS to explicitly use python3 for tests
Brendan Le Foll
2017-06-13 16:33:47 +02:00
09f8b3ac7b
tests: Remove checks for mraa.py python module
Brendan Le Foll
2017-06-12 14:12:57 +02:00
32196d10e9
joule: align SPI bus numbering with reality
Alex Tereschenko
2017-06-15 20:49:18 +02:00
000746c20d
build config: fix parameter configuration for docker-compose
Nicolas Oliver
2017-06-06 12:44:26 -03:00
4109b8b454
aio: Update documentation to mention 0 indexed
Brendan Le Foll
2017-06-06 15:56:14 +02:00
c36e4add5a
examples: make main loops finite to ensure proper cleanup
Alex Tereschenko
2017-06-05 18:22:29 +02:00
32340f6819
examples: misc static code analysis fixes
Alex Tereschenko
2017-06-05 16:53:58 +02:00
bb3584fcdb
mraa_internal_types.h, aio.c, beaglebone.c:
Nick Crast
2017-05-31 11:58:14 -04:00
ff03b2de1d
beaglebone.c Beaglebone should now work with newer kernels
Nick Crast
2017-05-30 12:24:20 -04:00
79da382832
travis: migrate travis plans to run in a Docker container
Nicolas Oliver
2017-05-23 16:23:56 -03:00
131ff46a0d
tests/CMakeLists.txt: Fix trying to run tests even if no python interpreter is available
Brendan Le Foll
2017-05-31 15:53:56 +02:00
f927bffb16
tests/mock: make all mock tests executable
Brendan Le Foll
2017-05-31 15:52:07 +02:00
8133de0cc0
mraa-uart.c: Remove impossible condition with a fprintf
Brendan Le Foll
2017-05-31 12:12:15 +02:00
ecb53c8501
raspberry_pi.c: Remove max spi freq by adding replace func
Brendan Le Foll
2017-05-30 19:44:00 +02:00
1d37d3b162
tests/CMakeLists.txt: Clean up cmake tests to work with python 2&3
Brendan Le Foll
2017-05-30 19:29:05 +02:00
722b83b95c
intel_edison_fab_c.c: fix unused variables
Alex Tereschenko
2017-05-20 15:02:36 +02:00
822160b7de
uart.c: fix potential use of uninitialized variable
Alex Tereschenko
2017-05-20 13:47:26 +02:00
98e755d147
pwm.c: remove surplus variable assignment
Alex Tereschenko
2017-05-20 13:46:42 +02:00
2980e211db
doxy2swig.py: remove/explain 'do-nothing' blocks
Alex Tereschenko
2017-05-20 13:37:01 +02:00
69f7d09103
mraa.c: remove surplus variables, correct memory allocations
Alex Tereschenko
2017-05-20 13:17:05 +02:00
56d5666ae9
mraa-uart: add a tool for testing, using and debugging UARTs using MRAA
Tapani Utriainen
2017-05-19 21:31:39 +08:00
a6f2464bb1
uart: add a function to query current UART settings
Tapani Utriainen
2017-05-19 21:28:30 +08:00
d6edf76680
mraa: add accessor functions to return counts of spi, pwm, gpio and adcs
Tapani Utriainen
2017-05-19 22:13:46 +08:00
b7e8d96945
mraa: add a function that returns the number of uarts available
Tapani Utriainen
2017-05-18 20:56:04 +08:00
04c5593cef
uart.c: add function to return baudrate as an integer from a speed_t
Tapani Utriainen
2017-05-18 13:52:54 +08:00
818ae995c2
uart.c: fix return value for invalid baudrates in uint2speed
Tapani Utriainen
2017-05-18 13:54:17 +08:00
47c21e0b6c
jsonplatform.c: fix automated and manual code analysis findings
Alex Tereschenko
2017-05-18 20:33:09 +02:00
816be65ba0
gpio.c,aio.c,iio.c: misc fixes of static code analysis findings
Alex Tereschenko
2017-05-17 20:28:41 +02:00
b73fdff00d
examples: be more defensive and replace strcmp() with strncmp()
Alex Tereschenko
2017-05-17 19:45:05 +02:00
398b851144
mraa.c: be more defensive and replace strcmp() with strncmp()
Alex Tereschenko
2017-05-17 19:27:57 +02:00
5ef3f3ea29
mraa.c: add a by-name lookup function also for UARTs
Tapani Utriainen
2017-05-16 20:14:04 +08:00
9479843cde
mraa.c: make lookup functions more robust with null pointer checks
Tapani Utriainen
2017-05-16 20:09:50 +08:00
dc1255ad75
mraa.c: fix style of lookup functions
Tapani Utriainen
2017-05-16 19:57:33 +08:00
9545a2e320
stability: replace strcpy with strncpy to avoid potential overflows
Alex Tereschenko
2017-05-13 18:08:52 +02:00
0654183b9a
stability: replace sprintf with snprintf to avoid potential overflows
Alex Tereschenko
2017-05-13 18:08:00 +02:00
918e2b18e2
spi.c: fix potential null pointer dereference
Alex Tereschenko
2017-05-13 17:05:09 +02:00
e7b0a3e809
uart: add a null pointer check before dereferencing plat->adv_func
Tapani Utriainen
2017-05-11 18:42:04 +08:00
8ddbcde84e
mraa: Update to v.1.7.0
Brendan Le Foll
2017-05-12 05:16:20 -07:00
a0332b14b5
Revert "x86.c: add NUC5i7RYB to the list of known NUC5 platforms"
Brendan Le Foll
2017-05-12 01:22:51 -07:00
def0a6aed1
up.c: Fixed pin name size on up board
Nicola Lunghi
2017-05-03 13:56:13 +01:00
9d65d6e0f0
master/README.md: Add 96Boards option/link to ARM supported boards.
Robert Wolff
2017-05-08 13:50:22 -06:00
4b08887c54
minnow_max.md: Added the Minnow Turbot, replaced broken links
Mark van der Pol
2017-04-13 20:29:42 -07:00
e0a0dac47b
uart: add tcsendbreak support
Jon Trulson
2017-05-03 12:14:36 -06:00
6d5b2c0642
.travis.yml: remove Node.js 0.10 and 0.12 - no longer supported
Alex Tereschenko
2017-05-06 14:44:48 +02:00
075a7b1225
JS examples: refactor for clarity and consistent style
Kas Perch
2017-02-23 00:57:19 -06:00
43d9f6c400
readme.md: minor formatting and content changes
Mihai Tudor Panu
2017-05-05 16:48:31 -07:00
1379c1fe33
types.hpp: Added Platform type for PIO
Noel Eck
2017-05-04 11:10:08 -07:00
80335b18b6
peripheralman: i2c_read_bytes_data returns length of read bytes
Sanrio Alvares
2017-05-03 09:16:49 -07:00
be2bd63223
docs/96Boards.md: Created and populate 96boards.md
Robert Wolff
2017-05-02 11:25:26 -07:00
35e17ee25a
periphmraa: fix pwm calls to PIO
Sanrio Alvares
2017-04-28 14:55:31 -07:00
ef2fddc1e1
periphmraa: fix pwm init sequence
Sanrio Alvares
2017-04-28 10:54:58 -07:00
ce0edf0f62
periphmraa: set pin capabilities
Sanrio Alvares
2017-04-26 14:37:16 -07:00
038a7c542a
building.md: Small updates to format for AT
Noel Eck
2017-04-24 16:24:18 -07:00
aeb293a163
Peripheralman: Update peripheralman API docs
Noel Eck
2017-04-24 16:04:33 -07:00
87fda62759
peripheralman.c: Allocate pwm context for spi
Noel Eck
2017-04-17 11:55:02 -07:00
3e19a58710
pio: Remove pio headers from MRAA
Noel Eck
2017-04-17 11:50:25 -07:00
380d2cf638
CMakeLists.txt: Find AT-specific jni.h
Noel Eck
2017-04-11 14:50:03 -07:00
1d200840f4
src/CMakeLists.txt: Use AndroidThings find_package
Noel Eck
2017-04-11 01:42:22 -07:00
34b4d4a97b
Periphmraa: Bypass version check if version is 0.0
Vineela Tummalapalli
2017-04-10 16:33:34 -07:00
913eaf2440
periphmraa: Create IndexLookup functions for GPIO, I2C, SPI, PWM
Vineela Tummalapalli
2017-04-06 17:38:44 -07:00
7bc069a8fd
periphmraa: Fix compilation errors in PWM
Sanrio Alvares
2017-03-30 03:16:44 -07:00
beaba463f7
peripheralman.c: Added PWM
Sanrio Alvares
2017-03-20 09:00:29 -07:00
567a92fde5
periphmraa: Added explicit casts for (implicit) casts that were causing errors in periphmraa build, in the wrapper code
Stefan Andritoiu
2017-03-14 20:42:16 +02:00
4270e7a743
periphmraa: Corrected typo in documentation
Stefan Andritoiu
2017-03-14 20:40:30 +02:00
a2ee056c7d
peripheralman.c: Updating GPIO, SPI, I2C bus structures for all the available buses
Vineela Tummalapalli
2017-02-17 13:50:56 -08:00
e607beedda
periphmraa: Rename B* -> A*
Sanrio Alvares
2017-02-07 03:03:37 -08:00
c4555bc4e5
peripheralman: Update APIs in accordance with Android Things
Sanrio Alvares
2017-02-02 05:53:59 -08:00
1cec6705d1
peripheralman.c: Updating the mraa_i2c_bus_t structure for all the available i2c busses
Vineela Tummalapalli
2017-02-01 17:06:23 -08:00
9a306fc1f5
peripheralman.c: Fix Gpio pin map value to be valid
Vineela Tummalapalli
2017-01-31 18:03:34 -08:00
8a1c58bc7f
peripheralman: Remove stray source files from pmraa
Brendan Le Foll
2017-01-20 08:29:18 +00:00
76850eb0f4
peripheralman.c: Added UART
Brendan Le Foll
2017-01-05 15:03:20 +00:00
0ec90a3138
peripheralman.c: Added SPI & I2C
Brendan Le Foll
2017-01-05 13:17:16 +00:00
60ca81a3e1
android-things: Possibly working gpio
Brendan Le Foll
2016-12-28 13:46:01 +00:00
533517a864
mraa.c: Fix elif without statement
Brendan Le Foll
2016-12-23 17:45:30 +00:00
69fcd861a7
android-things: Peripheralmanager target build
Brendan Le Foll
2016-12-23 15:50:56 +00:00
4c7616fe91
android-things: Prep for peripheralmanager support
Brendan Le Foll
2016-12-23 15:29:25 +00:00
d7fb6c5af9
travis.yml: use TRAVIS_BUILD_DIR for node-gyp path
Mihai Tudor Panu
2017-04-20 11:23:54 -07:00
9cb0440955
imraa: match version number in imraa.c with imraa.conf
Mihai Tudor Panu
2017-04-13 13:51:30 -07:00
2f51627d18
x86.c: add NUC5i7RYB to the list of known NUC5 platforms
Mihai Tudor Panu
2017-04-13 13:23:44 -07:00
05d4a917e5
joule: Update the documentation on SPI
Arun Ravindran
2017-04-19 11:52:01 +03:00
0d6700fe50
mraa: Update to v1.6.1
Brendan Le Foll
2017-04-06 23:55:12 +02:00
791fe0c05a
de-nano-soc: renamed platform to avoid ambiguity
Mihai Tudor Panu
2017-04-06 13:38:34 -07:00
ecc64da418
rpi3: Adding detection of raspberrypi3
g-vidal
2017-03-03 10:49:08 +01:00
6d004ca80d
mraa.c: mraa_deinit make plat pointer NULL after freeing it
Brendan Le Foll
2017-04-06 20:40:17 +02:00
f911e0620e
mraa: Update to v1.6.0
Brendan Le Foll
2017-04-02 20:17:53 +02:00
bf548a3377
Android.mk: Remove defunct Android.mk file
Brendan Le Foll
2017-04-02 20:06:49 +02:00
cac8f7a47a
common.h: Added destructor attribute for deinit
Noel Eck
2017-03-29 22:06:42 -07:00
65f7d2a250
mraa.c: Fix for various small memory leaks
Noel Eck
2017-03-29 22:04:25 -07:00
b937c521f6
Doxyfile.in: Use relative paths in generated docs
Noel Eck
2017-03-28 11:48:46 -07:00
48fe5cebbb
de10-nano: minor readme update and added to types.hpp
Mihai Tudor Panu
2017-03-23 16:02:16 -07:00
d2bbfe376d
java: bypass version check for packages that don't have version specified
Stefan Andritoiu
2017-03-24 16:33:22 +02:00
a3f5db1d84
up.c: Removed dead code in up.c
Nicola Lunghi
2017-03-24 14:36:30 +00:00
2a1590fdf1
platform_checks.py: Disable check on non edison platforms
Lunghi@Emutex
2017-03-23 16:01:58 +00:00
5e34a5cd3b
intel_joule: Update doc with correct PIN behavior
Arun Ravindran
2017-03-20 11:13:23 +02:00
6f4b333a31
docs(readme): add note about not supporting Node.js 7
Andrew Koroluk
2017-03-05 17:13:22 -05:00
dd19634889
joule: Fixing descripencies in gpio numbers
Arun Ravindran
2017-03-15 11:56:25 +02:00