Semjon Kerner
5b0152f4f7
drivers/netdev_ieee802154: drop NETOPT_MAX_PKT_SIZE
2018-10-16 13:28:03 +02:00
Semjon Kerner
2728065be4
drivers/netdev_ieee802154: support NETOPT_MAX_PKT_SIZE
2018-10-16 13:27:21 +02:00
e9a6ebc409
cpu: drivers/eeprom: refactor periph_eeprom implementation
2018-10-16 10:39:10 +02:00
Gunar Schorcht
7fde6fc258
Merge pull request #6712 from aabadie/driver_vcnl4010
...
drivers/vcnl4010: initial implementation
2018-10-15 16:12:45 +02:00
f2c1355560
drivers/adxl345: move scale factor macro to internal implem
2018-10-15 15:00:04 +02:00
Leandro Lanzieri
7a39f03986
drivers/adxl345: Fix byte swap on reading function
2018-10-15 14:57:55 +02:00
Oleg Artamonov
acda8c8828
drivers/adxl345: macros cleanup
2018-10-15 14:57:55 +02:00
Oleg Artamonov
631c16fdb1
drivers/adxl345: fix range values
2018-10-15 14:57:55 +02:00
Oleg Artamonov
de5f38d134
drivers/adxl345: fix scale factor calc
2018-10-15 14:57:55 +02:00
Oleg Artamonov
fb65067d3a
drivers/adxl345: fix ADXL345 driver
2018-10-15 14:57:55 +02:00
Peter Kietzmann
b2c791c6cb
Merge pull request #10135 from miri64/cpu/enh/periph-gpio-irq-closing-endif
...
cpu, periph_gpio: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-15 13:41:02 +02:00
1ca44cf072
drivers/vcnl40x0: initial implementation
2018-10-15 11:44:10 +02:00
9cedd7e244
drivers/saul: add proximity sensor type
2018-10-15 11:44:04 +02:00
Kevin "Bear Puncher" Weiss
33aa604dd7
Merge pull request #10145 from gschorcht/drivers_hd44780_fix
...
drivers/hd44780: fix compilation errors
2018-10-12 09:51:15 +02:00
Hauke Petersen
5f50db07e8
misc: use correct hauke.petersen@fu email address
2018-10-11 12:20:37 +02:00
Gunar Schorcht
11be2035dd
drivers/hd44780: fix compilation errors
2018-10-11 08:21:28 +02:00
Martine Lenders
0598d5bcf1
periph_gpio: comment IRQ #endif correctly
2018-10-09 15:11:45 +02:00
Martine Lenders
a95957e513
Merge pull request #9992 from haukepetersen/fix_periph_gpiofeaturesscope
...
periph/gpio: fix scope of GPIO_IRQ submodule
2018-10-09 15:10:39 +02:00
0c53bebe1b
Merge pull request #10094 from silkeh/enable-bme280-doc
...
drivers/bmx280: improve documentation
2018-10-04 10:56:16 +02:00
Martine Lenders
aba75be827
netdev: fix return value and precondition doc
...
While reviewing #9942 I noticed that the documentation on the netdev
driver API is unclear and in some cases outright contradicting itself:
> ```
> @return number of bytes used from @p value
> @return `< 0` on error, 0 on success
> ```
IMHO this is unacceptable for such a central API where communication
This fixes a few things and also clarifies preconditions:
- Specifies negative `errno`s clearly so all drivers return the same
when required
- Re-iterates parameter preconditions and special cases within the
parameter documentation itself (might also help towards #9805?)
- Fixes contradictions within return value documentation
- Adds missing parameter documentation on `init()`.
2018-10-03 16:09:42 +02:00
Silke Hofstra
2fb2776012
drivers/bmx280: improve documentation
...
- Add minimal usage instructions
- Ensure that the `bme_280_read_humidity` function (only available on
the BME280) is included in the documentation.
- Fix a typo
2018-10-01 21:28:11 +02:00
Hauke Petersen
38750f1e30
drivers/l3g4200d: fix typo in src file header
2018-09-26 11:00:48 +02:00
6dfc07b076
drivers/sx127x: remove useless rx timeout setter
2018-09-25 22:22:13 +02:00
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Vincent Dupont
1f2985dfc6
Merge pull request #9952 from OTAkeys/at_fix_buffer_memset
...
at driver: allow using same buffer for command and response in at_send_cmd_get_lines()
2018-09-24 17:33:58 +02:00
Joakim Nohlgård
c4016fcf3b
Merge pull request #9978 from haukepetersen/fix_periph_gpiofeaturescopeanddoc
...
periph/gpio: fix doc of `periph_gpio_irq` submodule
2018-09-21 13:15:19 +02:00
1c2dd28c90
Merge pull request #9937 from dylad/fix_mutex_tsl2561
...
drivers/tsl2561: add missing acquire∕release functions
2018-09-21 10:28:42 +02:00
Hauke Petersen
bd66184eb2
periph/gpio: re-add irq functions to doxygen
2018-09-21 08:31:09 +02:00
Hauke Petersen
abc11c8e23
periph/gpio: fix scope of GPIO_IRQ submodule
...
Move the gpio_irq_enable() and gpio_irq_disable() functions
into the scope of the PERIPH_GPIO_IRQ submodule.
2018-09-21 08:30:29 +02:00
Semjon Kerner
b24de4a22a
drivers/srf04: initial driver implementation
2018-09-20 15:18:49 +02:00
semjonkerner
83711b4819
drivers/Makefile.dep: order modules alphabetically
2018-09-20 11:00:21 +02:00
semjonkerner
603c04e2cc
drivers/Makefile.dep: delete duplicate srf02 module
2018-09-20 11:00:21 +02:00
Leandro Lanzieri
5cc7b6711f
drivers/sx127x: add preliminar multi interrupt pin support
...
drivers/sx127x: add option to use or not multi dio
2018-09-18 14:02:31 +02:00
Toon Stegen
021ab9764a
at driver: fix at_send_cmd_get_lines bug
...
When reusing the same buffer for the at command and response, no command
would be sent because the buffer was cleared. This is fixed by only
clearing the buffer after the command has been sent.
2018-09-18 12:16:09 +02:00
761987ef0d
ethos: Add drop frame case to recv function
...
The ethos driver does not drop the received frame if the recv function
is called with NULL buffer and with a length. This commit fixes that.
2018-09-18 11:20:29 +02:00
dylad
014884264f
drivers/tsl2561: add missing acquire∕release functions
2018-09-14 14:10:08 +02:00
smlng
a9e848f648
periph/rtt: add missing std header
...
The periph/rtt.h uses `uintX_t` typedefs but misses the required
standard header file, namely `stdint.h`, which is added here.
2018-09-07 14:54:23 +02:00
smlng
f35e4786f3
drivers/enc28j60: always set memory bank, if valid
...
Simplify handling of memory banks, ie. remove check if current bank
is target bank and set it explicitly every time.
2018-09-05 13:26:08 +02:00
smlng
4759f691fc
drivers/enc28j60: cleanup
...
Simplify usage of params via MACROs and copy params struct instead
of (re)assigning values to driver struct. Overall code cleanup.
2018-09-05 13:26:08 +02:00
Joakim Nohlgård
ace717ee27
drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ
2018-08-29 08:53:20 +02:00
bee9a210bc
Merge pull request #9844 from gebart/pr/features-fixup
...
drivers: Add missing dependencies
2018-08-27 12:50:03 +02:00
9f8386c215
drivers*: add saul doc group to related drivers
2018-08-27 11:32:20 +02:00
Joakim Nohlgård
bf851482b2
drivers: dep: Add missing xbee periph deps
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
deacf9c4a7
drivers: dep: Add missing srf08 periph_i2c dep
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
2d7c43f223
drivers: dep: Add missing srf02 deps
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
00f5177d78
drivers: dep: Add missing pcd8544 periph deps
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
af6db2fe28
drivers: dep: Add missing nvram_spi periph_spi dep
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
4a7a5cf5e3
drivers: dep: Add missing nrf24l01p deps
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
9ad69eaba9
drivers: dep: Add missing mq3 periph_adc dep
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
1858d40594
drivers: dep: Add missing lsm303dlhc periph_i2c dep
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
3be0913434
drivers: dep: Add missing lps331ap periph_i2c dep
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
9c25768540
drivers: dep: Remove reference to deleted lm75a driver
2018-08-26 08:10:13 +02:00
Joakim Nohlgård
00017f3f41
drivers: dep: Add missing lc709203f periph dep
2018-08-26 08:10:11 +02:00
Joakim Nohlgård
e35884c048
drivers: dep: Add missing kw2xrf periph_gpio dep
2018-08-26 08:10:07 +02:00
Joakim Nohlgård
eaa6fb381c
drivers: dep: Add missing isl29125 periph_i2c dep
2018-08-26 08:10:05 +02:00
Joakim Nohlgård
7b5dae8d3d
drivers: dep: Add missing isl29020 periph_i2c dep
2018-08-26 08:10:03 +02:00
Joakim Nohlgård
658f751f56
drivers: dep: Add missing ina220 periph_i2c dep
2018-08-26 08:09:58 +02:00
Joakim Nohlgård
dfc05cc545
drivers: dep: Add missing hih6130 periph_i2c dep
2018-08-26 08:09:56 +02:00
Joakim Nohlgård
bd8630518b
drivers: dep: Add missing adt7310 periph_spi dep
2018-08-26 08:09:52 +02:00
Martine Lenders
0f91735280
Merge pull request #9129 from OTAkeys/pr/mtd_spi_nor_4byte
...
mtd_spi_nor: add 4-byte address flash support
2018-08-24 22:22:52 +02:00
608e92e0be
drivers/ata8520e: small improvements
...
- move ata8520e_status from public interface to private implementation
- add useful references to the datasheet
2018-08-24 15:47:24 +02:00
Hauke Petersen
c2184f3454
boards/cpu/drivers/sys: use generic stdio_ if
2018-08-22 10:54:25 +02:00
463b04aa74
Merge pull request #7067 from dylad/adxl345_fix
...
drivers/adxl345: fixes & cleanup
2018-08-22 10:23:46 +02:00
d94d1854ec
Merge pull request #9234 from kYc0o/move_eeprom_to_periph
...
drivers/periph_common/eeprom: move EEPROM definitions to periph_cpu.
2018-08-21 10:25:44 +02:00
Francisco Acosta
861fbe9a11
Merge pull request #9510 from Josar/pr/at86rf2xx_rssi
...
at86rf2xx: correct rssi
2018-08-20 14:52:06 +02:00
7425ac92aa
Merge pull request #9581 from bergzand/pr/at86rf2xx/flag_refactor
...
at86rf2xx: Move flags from netdev to radio
2018-08-17 10:51:23 +02:00
Francisco Acosta
71d3c14354
drivers/periph_common/eeprom: remove the now unnecessary cpu.h include
2018-08-15 15:27:03 +02:00
Francisco Acosta
a22d7ad5cd
drivers: prepare for moving EEPROM definitions
...
IMHO and I think it's more logical, EEPROM definitions don't belong
to cpu_conf.h but to periph_conf.h, thus I moved all of them to that
place.
2018-08-15 14:53:56 +02:00
Joakim Nohlgård
1652e5ae24
sht1x: Fix Wimplicit-fallthrough warning
2018-08-14 10:05:15 +02:00
Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
...
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error
RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
MichelRottleuthner
6bc069e3bd
Merge pull request #9386 from Hyungsin/forupstream_hdc1000
...
drivers/hdc1000: change renew_interval to a parameter
2018-08-07 17:32:03 +02:00
Hyungsin
e0d3f5b552
drivers/at86rf2xx: add smart idle listening feature
2018-08-06 13:56:42 -07:00
Hyungsin
88895bbed9
drivers/hdc1000: change renew_interval to a parameter
2018-08-06 12:33:53 -07:00
Martine Lenders
81bad0d6e8
mtd_sdcard: fix printf format strings
2018-08-06 12:19:44 +02:00
dylad
d114e2852c
drivers/adxl345: fixes & cleanup
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-08-03 11:12:25 +02:00
Martine Lenders
7f04742e0b
Merge pull request #9687 from cladmi/pr/llvm/sx127/wformat
...
sx127x: fix -Wformat llvm warning
2018-08-02 18:35:29 +02:00
Gaëtan Harter
6ba37a902d
drivers/sx127x: Fix -Wformat llvm warning
...
Fixed warning
format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:25:27 +02:00
smlng
a3dc63b16c
drivers/mma7660: adapt to new I2C API
2018-08-02 15:52:58 +02:00
Michael Andersen
e354824bcf
drivers/mma7760: Add initial support
2018-08-02 15:52:58 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
...
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
39304987c3
Merge pull request #9668 from gschorcht/sdcard_spi
...
driver/sdcard_spi: fix of issue #9667
2018-08-01 22:16:55 +02:00
Gunar Schorcht
bd4661bc19
drivers/sdcard_spi: fix of #9667
2018-08-01 20:41:30 +02:00
Martine Lenders
af30e08351
Merge pull request #8378 from Icaltary/sx127x_get_rx_state
...
drivers/sx127x: return correct state when device is receiving
2018-08-01 17:34:41 +02:00
Peter Kietzmann
e897826cc7
Merge pull request #9616 from bergzand/pr/at86rf2xx/always_set_channel
...
at86rf2xx: Always set channel on device
2018-07-31 18:33:44 +02:00
Josarn
4482c9851a
at86rf2xx: correct rssi
...
AT86RF231 MAN. p.89 8.3.2 Reading RSSI
AT86RF232 MAN. p.88 8.3.2 Reading RSSI
AT86RF233 MAN. p.99 8.4.2 Reading RSSI
"It is not recommended reading the RSSI value when using the Extended Operating Modes, use ED instead"
2018-07-26 13:37:23 +02:00
smlng
76d3a4e30a
driver/srf08: remove leftover doc
...
Remove doc for params and return values which are not used
anymore after I2C API rework.
2018-07-25 12:01:40 +02:00
smlng
2db2ce2dc7
doc: rename sections in i2c.h
2018-07-25 12:01:40 +02:00
Joakim Nohlgård
3994c51b31
drivers/hih6130: adapt to new i2c API
2018-07-25 12:01:40 +02:00
Vincent Dupont
034d7f0b8f
adcxx1c: adapt to new i2c API
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
906a19779e
drivers/lc709203f: adapt to new i2c API
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
2e6ff0f197
drivers/ds1307: remove unused clock param
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
1362289daf
drivers/ds1307: adapt to new i2c API
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
df52d6b1b8
drivers/bh1750fvi: remove unused clock param
2018-07-25 12:01:40 +02:00
Michel Rottleuthner
27f8924bed
drivers/bh1750fvi: adapt to new i2c API
2018-07-25 12:01:39 +02:00
a82f4e1778
drivers/lis3mdl: adapt to new i2c API
2018-07-25 12:01:39 +02:00
fc17eb4c55
drivers/isl29020: adapt to new I2C api
2018-07-25 12:01:39 +02:00
0b78a1bec5
drivers/isl29020: rework driver API and params definition
2018-07-25 12:01:39 +02:00
Matthew Blue
c3363587be
drivers/ads101x: update I2C API
2018-07-25 12:01:39 +02:00
Michel Rottleuthner
d48747f194
drivers/jc42: adapt to new i2c API
2018-07-25 12:01:39 +02:00
smlng
41f4ac6dce
drivers/bmx055: use i2c_acquire and _release
...
add missing i2c_acquire and i2c_release calls to properly guard
i2c read and write operations.
2018-07-25 12:01:39 +02:00
smlng
b24bf4bcc8
drivers/bmx055: adapt to new i2c api
2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae
*/ads101x: copyright notice update
2018-07-25 12:01:39 +02:00
779de1e3d2
drivers/io1_xplained: adapt to at30tse75x new init api
2018-07-25 12:01:39 +02:00
smlng
11356f602f
driver: fix cppcheck error in pn532
...
cppcheck reported 'duplicateBranch' error in 2 if-else
statements, b/c they are empty when running static-tests.
2018-07-25 12:01:39 +02:00
f113f93ca8
drivers/mag3110: adapt to new I2C api
2018-07-25 12:01:39 +02:00
2afd84f9ca
drivers/mag3110: use new driver params scheme
2018-07-25 12:01:39 +02:00
Michel Rottleuthner
dd852a2b53
drivers/pn532: adapt to new i2c API
2018-07-25 12:01:39 +02:00
3ff45726a8
drivers/mpu9150: adapt to new I2C api
2018-07-25 12:01:39 +02:00
2449655ba7
drivers/tsl2561: adapt to new I2C api
2018-07-25 12:01:39 +02:00
e78739a9a3
drivers: add tsl2561 dependencies
2018-07-25 12:01:39 +02:00
95a4d8d4e7
drivers/tsl2561: rework API for consistency
2018-07-25 12:01:39 +02:00
d92b4c6759
drivers/tsl2561: use new driver params scheme
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
21bd356d8d
drivers/fxos8700: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Hyungsin
f2a05ec8bc
drivers/tmp006: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Hyungsin
79430a208a
drivers/hdc1000: adapt to new i2c API
2018-07-25 12:01:38 +02:00
Joakim Nohlgård
34bddca083
drivers/ina220: adapt to new I2C api
2018-07-25 12:01:38 +02:00
Michel Rottleuthner
8173aff6ec
drivers/isl29125: adapt to new i2c API
2018-07-25 12:01:38 +02:00
MrKevinWeiss
d0f86d0611
drivers/srf02: Update to new i2c API
2018-07-25 12:01:38 +02:00
MrKevinWeiss
89bd96e1b0
drivers/srf08: Turn debug off and cleanup
2018-07-25 12:01:38 +02:00
MrKevinWeiss
0c0ae1855d
drivers/srf08: cleanup and fixes for new api
2018-07-25 12:01:38 +02:00
MrKevinWeiss
98f6fd49a8
drivers/srf08: port to new api
2018-07-25 12:01:38 +02:00
Michel Rottleuthner
e5976ad497
drivers/isl29125: update parameter definition scheme
2018-07-25 12:01:38 +02:00
3f34e32617
drivers/hts221: adapt the i2c api return codes
2018-07-25 12:01:38 +02:00
Bas Stottelaar
a8a9283f7a
drivers: si70xx: adapt to new I2C api.
2018-07-25 12:01:38 +02:00
Bas Stottelaar
76b1200460
drivers: bmx280: adapt to new I2C api.
2018-07-25 12:01:38 +02:00
78c5b46eac
drivers/tcs37727: adapt to new I2C api
2018-07-25 12:01:38 +02:00
a85fbd2c75
sys/auto_init: update tcs37727 auto_init
2018-07-25 12:01:38 +02:00
a48a90f234
drivers/tcs37727: use new driver params scheme
2018-07-25 12:01:38 +02:00
219277e884
drivers/l3g4200d: adapt to new I2C api
2018-07-25 12:01:38 +02:00
2ace1a2dfe
drivers/l3g4200d: rework driver API and params definition
2018-07-25 12:01:38 +02:00
ec25c1f7b0
drivers/lsm303dlhc: adapt to new I2C api
2018-07-25 12:01:38 +02:00
d81cf561b0
drivers/lsm303dlhc: rework driver API and params definition
2018-07-25 12:01:38 +02:00
d1a19db350
drivers/lps331ap: adapt to new I2C api
2018-07-25 12:01:38 +02:00
71d8b80512
drivers/lps331ap: rework driver API and params definition
2018-07-25 12:01:38 +02:00
a2d1558922
drivers/bmp180: adapt to new I2C api
2018-07-25 12:01:38 +02:00
7a12293eb1
drivers/at30tse75x: adapt to new I2C api
2018-07-25 12:01:38 +02:00
21e728123d
drivers/mpl3115a2: adapt to new i2c API
2018-07-25 12:01:38 +02:00
b93245f489
drivers/veml6070: adapt to new I2C api
2018-07-25 12:01:38 +02:00
bad10174f5
drivers/lsm6dsl: adapt the i2c api return codes
2018-07-25 12:01:38 +02:00
f60b9570af
drivers/si114x: adapt to new i2c api
2018-07-25 12:01:38 +02:00
dylad
ef8ed2620c
periph_common/i2c: introduce new ret codes scheme
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011
periph/i2c: Add 10 bit addressing magic number definition
2018-07-25 12:01:34 +02:00
Vincent Dupont
cc9836d792
drivers/mma8x5x: adapt to new i2c API
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd
periph/i2c: Editorial changes to i2c.h
2018-07-25 12:01:34 +02:00
01509b294f
drivers/periph_i2c: i2c_init should return void
2018-07-25 12:01:34 +02:00
016c3e465b
drivers/hts221: remove useless i2c_init call
...
This is automatically called by the periph_init function
2018-07-25 12:01:34 +02:00
c85e84bbde
drivers/periph_common: init i2c only if module is loaded
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52
periph/i2c: Editorial doc changes
2018-07-25 12:01:34 +02:00
dylad
cfc826012f
drivers/adxl345: update driver to the new I2C API
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
c2eb316039
drivers/i2c: improve common i2c driver
...
- fix reag/write regs function (NOSTART/NOSTOP flags missing)
- use ret variable name instead of err (cosmetic)
- split PERIPH_I2C_NEED_READ/WRITE_REGS to simplify cpu side implementation
2018-07-25 12:01:34 +02:00
406d180dc2
drivers/hts221: adapt to new I2C API
2018-07-25 12:01:34 +02:00
b866bdb9d9
drivers/lsm6dsl: adapt to new I2C API
2018-07-25 12:01:34 +02:00
d8e0745c06
drivers/periph_i2c: fix build issue with return code type
2018-07-25 12:01:34 +02:00
dylad
39cb0e2bdb
periph_common/i2c: fix ret code handling
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
6f25886d77
drivers/periph/i2c: fixes issues in API
...
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
7fccd21dad
periph/i2c: fix unspotted typos
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
4a24ce8212
drivers/i2c: add default fallback wrappers
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
e11a37df03
drivers/i2c: modify I2C API
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
dylad
496175b361
periph/i2c: add default fallback wrappers I2C functions
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d
drivers/periph: introduced new I2C interface
2018-07-25 12:01:34 +02:00
Hauke Petersen
5e1467e747
drivers/periph_common: included I2C initialization
2018-07-25 12:01:34 +02:00
b025362a7a
at86rf2xx: Always set channel on device
...
This removes the check if the current configured channel equals the new
channel. This check prevents the at86rf2xx channel to be configured
after a reset which causes the radio to be non-functional after a
NETOPT_STATE_RESET.
2018-07-20 12:15:29 +02:00
Martine Lenders
e986562631
lis3mdl: fix default params
...
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
Peter Kietzmann
93fcb245c2
Merge pull request #9113 from enzingerm/master
...
w5100: fixed RX interrupt handling
2018-07-19 13:59:53 +02:00
Peter Kietzmann
063c54ac3d
Merge pull request #9077 from gschorcht/enc28j60-improve
...
enc28j60: improvements to fix #9043
2018-07-17 19:45:18 +02:00
Gunar Schorcht
738c1161c0
enc28j60: improvements to fix #9043
2018-07-17 19:19:15 +02:00
Peter Kietzmann
ab5771bbf8
Merge pull request #9587 from bergzand/pr/kw2xrf/fix_ack_req
...
kw2xrf: Fix ack flag handling
2018-07-17 18:43:26 +02:00
1dd4a46c90
Merge pull request #9584 from PeterKietzmann/pr_cc2420_max_pkt_size
...
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 14:12:10 +02:00
b21c4f6f98
kw2xrf: fix NETOPT_AUTOACK getter and setter
...
Missing getter for NETOPT_AUTOACK and getter should return the size of
the variable (should not propagate to the netdev_ieee802154_get
function
2018-07-17 13:58:58 +02:00
4b723859f3
kw2xrf: use ACK_REQ flag for ACK check on TX
2018-07-17 13:57:30 +02:00
Peter Kietzmann
2bc48c3953
Merge pull request #9577 from bergzand/pr/netdev/rem_default_tell_opts
...
drivers/radios: remove default event reporting flags
2018-07-17 13:47:33 +02:00
PeterKietzmann
838b18e8f9
drivers/cc2420: add netopt NETOPT_MAX_PACKET_SIZE
2018-07-17 12:00:12 +02:00
d9d99f9e24
at86rf2xx: Move flags from netdev to radio
...
The flags from the ieee802154 struct are only used in the radio code.
there is no advantage of having them in the netdev_ieee802154_t struct
if the flags are defined differently per radio driver.
2018-07-17 11:15:12 +02:00
Vincent Dupont
21867b2867
drivers/at: ad poweron/off functions
2018-07-17 10:02:36 +02:00
aecbad960a
netdev: Initialize sequence number to random value
2018-07-16 15:36:30 +02:00
71fac036e5
mrf24j40: Remove default event report settings
2018-07-16 14:43:45 +02:00
be7c4f7f28
kw2xrf: Remove default event report settings
2018-07-16 14:43:28 +02:00
965cece510
cc2420: Remove default event report settings
2018-07-16 14:43:12 +02:00
173136a270
at86rf2xx: Remove default event report settings
2018-07-16 14:40:51 +02:00
Peter Kietzmann
fd8ef789b7
Merge pull request #9531 from bergzand/pr/netdev/reset_refactor
...
netdev_ieee802154: Add and use common reset function
2018-07-13 12:01:14 +02:00
517f4d37cc
mrf24j40: Fix netdev recv implementation
...
The mrf24j40 driver should return the frame length when both buf is NULL
and len is zero and drop the packet when len is nonzero and buf is NULL.
This commit fixes that behaviour
2018-07-12 15:54:31 +02:00
91bd1a38ba
mrf24j40: use netdev reset function
2018-07-11 09:39:18 +02:00
71e5ce9a68
kw2xrf: use netdev reset function
2018-07-11 09:39:17 +02:00
327295a1e1
cc2420: use netdev reset function
2018-07-11 09:39:17 +02:00
c04cb23cbc
at86rf2xx: Use netdev reset function
2018-07-11 09:39:12 +02:00
Vincent Dupont
071614bf04
Merge pull request #8543 from OTAkeys/pr/rtt_clean_up
...
periph_rtt: remove RTT_NUMOF guard and init from periph_common
2018-07-10 15:00:53 +02:00
123b275b23
netdev: Add common ieee802154 reset function
...
Resets flags, sequence number and protocol.
2018-07-10 14:27:52 +02:00
Josarn
86b4dd43b0
at86rfr2xx: NETOPT_CSMA_RETRIES parenthesis
...
Reorder parenthesis to improve readability.
2018-07-06 16:50:50 +02:00
Josarn
5d69406d47
at86rfr2xx: uncrustified
2018-07-06 13:20:03 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
...
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Michel Rottleuthner
41d103ad10
drivers/pn532: fix wrong buffer type
2018-06-29 16:48:59 +02:00
Joakim Nohlgård
904c583038
Merge pull request #8697 from aabadie/pr/drivers/params/lis3dh
...
drivers/lis3dh: apply unified driver params scheme + cleanup
2018-06-28 10:52:48 +02:00
6e6716a1a6
Merge pull request #9317 from maribu/sht1x
...
drivers/sht11: Major refactoring
2018-06-27 10:10:39 +02:00
Marian Buschsieweke
b91359b05b
drivers/sht1x: Added SAUL integration
2018-06-27 08:58:05 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
...
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
board can overwrite default settings by #defining SHT1X_PARAM_CLK and
SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
temperature result (and use that information to calculate the correct
temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
...
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
Hyungsin
0c5c3d9b77
driver/pir: add pir-based occupancy sensing
2018-06-26 13:46:37 -07:00
Vincent Dupont
3393888cea
drivers/at: add URC registering and parsing feature
2018-06-26 10:03:10 -07:00
42c4460daf
Merge pull request #9325 from aabadie/pr/saul/tvoc_ppb
...
drivers/saul :sys/phydat: add definitions for TVOC sensor type and PPB unit
2018-06-25 12:20:11 +02:00
Hyungsin
1b7345535c
drivers/pulse_counter: make gpio_mode configurable
2018-06-19 14:50:37 -07:00
ceb9710b3e
drivers/at: make OK and ERROR replies configurable
2018-06-13 09:49:13 +02:00
a08e9919a9
drivers: fix doxygen grouping
2018-06-11 19:10:40 +02:00
698fbf98cc
drivers/saul: add definitions TVOC sensor type
2018-06-11 15:46:21 +02:00
Hauke Petersen
203a5ecfb4
drivers/Make.dep: add servo dependencies
2018-06-07 11:11:39 +02:00
ad31664f48
Merge pull request #9185 from OTAkeys/pr/add_at_parser_eol
...
driver/at: add option to keep EOL character in readline, and make EOL configurable
2018-05-29 19:57:12 +02:00
Vincent Dupont
3f620d582d
at: make receive EOL configurable
2018-05-29 17:30:55 +02:00
Vincent Dupont
3f94bd20f4
drivers/at: add option to keep CR char
2018-05-29 17:30:55 +02:00
Marian Buschsieweke
ee33bd167a
drivers/cc110x: Made address format in debug output consistent
2018-05-29 15:57:30 +02:00
Marian Buschsieweke
2f3d811e99
drivers: Improved debug output in cc110x
2018-05-28 20:27:15 +02:00
Marian Buschsieweke
30c79a66d0
drivers: Replaced magic numbers in cc110x
...
Replaced magic undocumented numbers in the code by human readable preprocessor
macros.
2018-05-24 19:28:46 +02:00
Marian Buschsieweke
cbff3e6d3a
drivers: Implemented missing function in cc110x
...
Function cc110x_state_to_text is defined and (with ENABLE_DEBUG) referenced,
but implemented. This commit adds the missing implementation.
2018-05-24 19:17:59 +02:00
Marian Buschsieweke
b4f70be9ef
drivers: Fixed struct documentation for cc110x
2018-05-24 19:16:52 +02:00
9fa58af73b
drivers/periph: add API for internal MCU EEPROM
2018-05-24 14:07:55 +02:00
d6eddde5e1
drivers/periph: fix doxygen groups in implementation
2018-05-24 09:11:43 +02:00
Vincent Dupont
84874e61d3
Merge pull request #7084 from kaspar030/add_at_parser
...
drivers: initial commit of generic AT parser module
2018-05-23 17:33:05 +02:00
0199f36bb3
drivers: at: many improvements
2018-05-23 16:08:28 +02:00
Vincent Dupont
7340e77328
drivers/at: add at_send_cmd_wait_prompt and at_send_bytes
2018-05-23 16:08:28 +02:00
Vincent Dupont
ee29b76c89
drivers/at: make EOL char configurable
2018-05-23 16:08:28 +02:00
9c9fad6da5
drivers: initial commit of generic AT parser module
2018-05-23 16:08:28 +02:00
de783eed78
boards/nucleo-f411re: rename to marketing name
2018-05-22 21:52:41 +02:00
Marian Buschsieweke
a6f9a86597
drivers/cc110x: Moved cc110x_params.h from boards to driver
...
- Replaced magic numbers in the CC110X configuration of the MSBA2
with SPI_DEV(x) and GPIO_PIN(x, y) macros
- Adjusted implementation of `cc110x_params.h` to match the code of `at86rf2xx`
- Made MSBA2's CC110X parameters the default configuration
2018-05-21 22:59:46 +02:00
Marinus Enzinger
9bd15141a3
[w5100] Fixed RX interrupt handling
2018-05-17 18:13:23 +02:00
Vincent Dupont
53b3d1af78
mtd_spi_nor: add 4-byte address flash support
2018-05-14 15:05:24 +02:00
1f436e2486
Merge pull request #8965 from aabadie/pr/drivers/io1_xplained_enh_sd
...
drivers/io1_xplained: improve driver and add support for the sdcard and light sensor
2018-05-14 09:00:47 +02:00
372aadd626
Merge pull request #8978 from Hyungsin/forupstream_fxos8700
...
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-14 08:45:58 +02:00
Hyungsin
beaf08bcb2
drivers: add driver for FXOS8700 3-axis accelerometer/magnetometer
2018-05-12 17:51:58 -07:00
Gunar Schorcht
af226d4fec
enc28j60: fix compilation with l2 stats enabled
2018-05-07 13:42:03 +02:00
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
...
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
Joakim Nohlgård
fef0be8c4c
pulse_counter: Editorial changes to docs
2018-04-28 15:37:41 +02:00
734256aab6
drivers/io1_xplained: add support for light sensor
2018-04-17 11:06:01 +02:00
438aa09148
drivers/io1_xplained: add support for sdcard
2018-04-17 10:49:45 +02:00
4ceb309927
drivers/io1_xplained: refactor implementation
...
- directly use underlying drivers api (gpio, at30tse75x)
- use debug instead of log + rework messages
2018-04-17 10:48:48 +02:00
Dylan Laduranty
ff5817c569
Merge pull request #8926 from aabadie/pr/drivers/sx127x_fixes
...
drivers/sx127x: various improvements
2018-04-16 16:10:27 +02:00
0815ef185c
drivers/io1_xplained: fix gpio params initializer
2018-04-16 15:57:36 +02:00
fbea4f9b40
Merge pull request #8026 from miri64/cc1100/fix/netopt-max-pkt-size-width
...
cc110x: fix netdev get/set according to `netopt_t` doc
2018-04-16 12:10:19 +02:00
Matthew Blue
96a7029f5f
drivers/ads101x: Makefile support
2018-04-13 11:38:49 -04:00
Matthew Blue
073d45aa4d
drivers/ads101x: initial support
2018-04-13 11:38:49 -04:00
1d8984dc13
drivers/my9221: make local functions "static"
2018-04-13 12:18:28 +02:00
Martine Lenders
247b1a0d8f
cc110x: fix netdev get/set according to netopt_t
doc
2018-04-13 00:29:26 +02:00
1bee32c75f
drivers/sx127x: refactor error management
2018-04-12 10:00:24 +02:00
7365e41337
drivers/sx127x: fix device init sequence order
2018-04-11 17:52:57 +02:00
cc2bf0ba27
drivers/sx127x: improve debug messages
2018-04-11 17:52:03 +02:00
2f533a169d
drivers/sx127x: use rx chain calibration only with sx1276
2018-04-11 17:51:11 +02:00
e55cec1fba
drivers/sx127x: reorder radio init steps
2018-04-11 16:16:53 +02:00
Hauke Petersen
3b6c8f25de
sys/net: added generic BLE defines
2018-04-06 11:18:53 +02:00
Hauke Petersen
4e715e8221
drivers/netdev: added BLE adaption for netdev
2018-04-06 11:18:53 +02:00
Martine Lenders
76edd4eb1e
Merge pull request #8198 from bergzand/wip/netdev_layered
...
netdev: Initial implementation of a more layered approach to netdev
2018-03-28 12:23:27 +02:00
8a63b88623
netdev_layer: initial import of layered netdev API
2018-03-28 11:19:09 +02:00
983bbba028
Merge pull request #8805 from miri64/ethos/fix/uart-dependency
...
ethos: add periph_uart as dependency
2018-03-27 21:18:43 +02:00
Gaëtan Harter
21a9958323
Merge pull request #8822 from aabadie/pr/make_curly
...
make: replace curly braces with parenthesis
2018-03-27 15:44:36 +02:00