Benjamin Valentin
d92e2b25ac
drivers/nrf24l01p: rename CMD_NOP -> CMD_NOOP
...
This prevents a conflict with an unrelated Atmel header file.
2019-10-17 19:20:31 +02:00
Jannes
fdd34499ac
drivers/mpu9x50: Correct read_temperature
...
Change msbiot Makefile.dep back to mpu9150
2019-10-17 14:04:43 +02:00
Jannes
2df5d6048d
driver/mpu9x50: Rename mpu9150 to mpu9x50
...
Rename all files
Rename all variables, methods and methodcalls
Rename all folders
Add to the makefiles
Add to doc
2019-10-17 12:52:18 +02:00
Kevin "Tristate Tom" Weiss
e20ffd7f7c
Merge pull request #11738 from OTAkeys/feat/add_cme_cms_error
...
driver/at: add return code for CME/CMS errors
2019-10-15 12:55:40 +02:00
Leandro Lanzieri
bfd81c1d72
Merge pull request #12431 from benpicco/mrf24j40-fix_reset
...
drivers/mrf24j40: don't loop in mrf24j40_reset_state_machine()
2019-10-14 17:21:17 +02:00
Leandro Lanzieri
0e0b6f8231
Merge pull request #12221 from benpicco/mrf24j40-init_check
...
drivers/mrf24j40: allow for basic self-test on init
2019-10-14 15:36:52 +02:00
Benjamin Valentin
38b35c513c
drivers/mrf24j40: allow for basic self-test on init
...
During production it is often desirable for devices to perform
some kind of basic self-test to isolate defects.
For this it is necessary for the initialization not to hang if a
component is faulty / not connected.
This moves an already exising self-test that was previously enabled
as a debug option to an independent compile-time configurable.
It is necessary to call this in _init() before mrf24j40_hardware_reset()
as the reset function uses xtimer_usleep() which will cause another
thread to get scheduled.
If this thread (e.g. rpl or ipv6) then tries to access the netdev, RIOT
will crash.
2019-10-14 14:50:06 +02:00
Benjamin Valentin
853bbaf5a5
drivers/mrf24j40: don't loop in mrf24j40_reset_state_machine()
...
When hooking up the mrf24j40 to a bluepill board, the driver would
always get stuck on init.
Debugging revealed that it would get stuck in the mrf24j40_reset_state_machine()
function because it expects the RFSTATE to have a special value after reset.
However, the data sheet does not mention this in section 3.1 Reset.
Waiting 192µs should be enough - the value of the RFSTATE is not specified.
The Linux driver also does not wait for the RFSTATE register.
And even without the loop, the driver is functioning fine.
2019-10-11 23:01:54 +02:00
63a6bcd513
drivers/sx127x: skip reset sequence if pin is undefined
2019-10-09 15:07:23 +02:00
Peter Kietzmann
ed75d639d5
Merge pull request #12287 from Ilmu011/kw2xrf_tmr3_acktmout
...
drivers/kw2xrf: Use TMR3 instead TMR4 to detect ACK timeout
2019-10-02 23:10:11 +08:00
Adem-Can Agdas
d74570fae3
drivers/kw2xrf: use TMR3 instead TMR4 to detect ACK timeout
2019-10-02 15:09:18 +02:00
benpicco
0778774656
Merge pull request #12260 from JannesVolkens/opt3001
...
drivers/opt3001: Initial support for the Opt3001 sensor
2019-10-02 12:11:47 +02:00
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
...
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Hauke Petersen
8a69e4ac69
drivers/lis2dh12: added I2C mode
2019-10-02 11:16:39 +02:00
Jannes
33a98100a9
drivers/opt3001: Initial support
2019-10-02 10:06:28 +02:00
Hauke Petersen
7f419f4381
periph/uart: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
0cd8bb47c8
periph/timer: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
4914e6484a
periph/spi: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
44c54c2ae0
periph/rtt: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
bf5ad17b9d
periph/rtc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
711af7cc27
periph/hwrng.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
3e9ee01103
periph/gpio: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
e71f0bb0c6
periph/flashpage: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
8ef4f0d134
periph/dac.h: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
348b337023
periph/cpuid: add doc on low power implications
2019-10-01 23:09:23 +02:00
Hauke Petersen
f361ebc0bd
periph/adc: add doc on low power implications
2019-10-01 23:09:23 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
...
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
0bb04cfd27
drivers/mrf24j40: add pseudomodules for MRF24J40MA/C/D/E
...
Microchip offers ready-to-use modules with the mrf24j40 chip.
All but the MRF24J40MA integrate an external PA/LNA, they also come
with an RF shield.
If the PA/LNA is not enabled, the signal off these modules is really
poor.
This adds pseudomodules so that the PA/LNA is automatically enabled
when the appropriate module is used.
2019-09-28 19:30:52 +02:00
Benjamin Valentin
c31e373214
shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present
...
If no LoRA module is used, there is no use in compiling in all the config options
for LoRA PHYs.
This saves about 1k of .text
2019-09-24 17:14:03 +02:00
benpicco
d5c272ed86
Merge pull request #12199 from smlng/fix_timer_returns
...
periph/timer: Fix return codes of timer API
2019-09-17 23:04:46 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
...
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
...
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Dylan Laduranty
513b767694
Merge pull request #11944 from benpicco/spi_doc-fix
...
drivers/include/periph/spi: fix documentation
2019-09-12 21:28:21 +02:00
Schorcht
f93f9b7790
drivers: support for PCA9685 PWMs
2019-09-12 19:11:52 +02:00
Francisco Molina
8bd34c4ba3
drivers/periph_common: init wdt if HAS_WDT_INIT
2019-09-12 17:45:31 +02:00
Francisco Molina
cb876297a8
drivers/periph: include periph_cpu.h in wdt.h
2019-09-12 17:45:31 +02:00
Benjamin Valentin
fa9e9064cf
periph_common/rtc: add rtc_tm_normalize()
2019-09-12 11:32:08 +02:00
Francisco Acosta
092f8e8d46
Merge pull request #8774 from OTAkeys/pr/flashpage_mtd
...
drivers: add mtd wrapper for periph_flashpage
2019-09-11 16:59:15 +02:00
Sebastian Meiling
ed5f085b30
periph/timer: always return 0 for success
...
Change documentation on return codes in periph/timer API to
return 0 on success and (-1) on error by default.
For timer_init this was already the case, but for timer_set,
timer_set_absolute, and timer_clear this is now changed
from 1 to 0 for success, while error remains (-1).
2019-09-11 13:31:13 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
...
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Vincent Dupont
7c8a3eae71
drivers/mtd: improve mtd API doc
2019-09-10 13:26:05 +02:00
Vincent Dupont
f3d2f53287
drivers: add mtd_flashpage driver
...
This is a MTD wrapper for flashpage internal flash
2019-09-10 13:26:05 +02:00
Marian Buschsieweke
bb739907a2
drivers/cc110x: Allow setting the default channel
...
This (re-)introduces the `CC110X_DEFAULT_CHANNEL` preprocessor macro to set the
default channel of the `cc110x` at compile time. The same macro has been used
in the previous version of the driver, so some users might still expect it to
work.
2019-09-10 10:04:51 +02:00
Leandro Lanzieri
563a053bc1
Merge pull request #10983 from skullbox305/driver_ph_oem
...
drivers/ph_oem: support for Atlas Scientific pH OEM sensor
2019-09-09 10:18:49 +02:00
Marian Buschsieweke
84acc746dc
drivers/cc110x: Added missing Doxygen comments
...
The current stable Doxygen release should no longer complain now
2019-09-06 09:10:38 +02:00
Marian Buschsieweke
b389a9c5fa
drivers/cc110x: Fixed broken Doxygen grouping
...
The header files of the CC110x contained two Doxygen "end of doc group" (@})
commands. This PR makes sure they are balanced again.
2019-09-06 08:53:40 +02:00
Igor Knippenberg
61d0970939
drivers/saul: Added pH
...
- added device class SAUL_SENSE_PH in saul.h
- added stringification SAUL_SENSE_PH in saul_str.c
2019-09-05 12:47:10 +02:00
Igor Knippenberg
ead03d4a08
drivers/ph_oem: Initial implementation of the pH OEM sensor
...
The Atlas Scientific pH OEM sensor is a small circuit to be embedded in
end products to measure the pH value with any commercially available pH
electrode
2019-09-05 12:47:10 +02:00
Marian Buschsieweke
3da3280930
driver/cc110x: Fixed indent/alignment in doc
...
The Doxygen documentation blocks have not been correctly aligned. This commit
fixes this.
2019-09-04 13:15:15 +02:00
fabian18
2edf153cf8
drivers/at86rf2xx: do not hang on no dev
2019-09-02 10:27:24 +02:00