1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

829 Commits

Author SHA1 Message Date
Martine Lenders
8bacb0fb62 Merge pull request #5011 from dkm/pr/servo.fix
drivers/servo: fix API doc
2016-03-13 08:48:00 +01:00
Joakim Nohlgård
dc303a4f0b sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header 2016-03-11 12:04:00 +01:00
Hauke Petersen
49ac533eba drivers/spi: made conf and speed types overridable 2016-03-09 17:59:25 +01:00
Marc Poulhiès
7c0c942e8e drivers/servo: fix API doc
Parameters for servo_init/servo_set are in ms only when using default values for SERVO_RESOLUTION and SERVO_FREQUENCY.
When using non default values, user must scale values to be in the range of [0, SERVO_RESOLUTION]

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-03-09 13:28:27 +01:00
Martine Lenders
b1a9dfe384 netdev2_ieee802154: import of common IEEE802.15.4 netdev2 module 2016-03-07 21:11:05 +01:00
Hauke Petersen
af48dadb26 Merge pull request #4807 from gebart/pr/saul-lis3dh
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Martine Lenders
3fc3a695db Merge pull request #4885 from authmillenon/cc110x/fix/info
cc110x: only set info values if != NULL
2016-03-01 20:39:52 +01:00
Martine Lenders
327f7c442c Merge pull request #4816 from kaspar030/rename_genrand
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Peter Kietzmann
c8829a49b8 Merge pull request #4838 from haukepetersen/fix_periph_timerarg
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
ded39b461e sys: random: rename genrand_* to random_* 2016-02-29 21:33:17 +01:00
Peter Kietzmann
a8b6fba69c Merge pull request #4664 from haukepetersen/opt_driver_dhtinit
drivers/dht: numerous improvements
2016-02-29 16:23:31 +01:00
Hauke Petersen
2b97513637 drivers/timer: added callback argument 2016-02-29 14:40:08 +01:00
PeterKietzmann
e2cd3b1508 drivers/nrf24l01p: unified return values and fixed doc 2016-02-29 12:00:01 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
a93182ff51 drivers: ethos: fix _recv signature 2016-02-26 21:25:01 +01:00
Oleg Hahm
b27a1e8e24 kw2xrf: fix two typos 2016-02-23 23:26:44 +01:00
Martine Lenders
64ec89e9cb cc110x: only set info values if != NULL 2016-02-23 15:51:10 +01:00
Bas Stottelaar
9e50d09b60 drivers: si70xx: temperature and humidity sensor
This includes the Si7006, Si7013, Si7020 and Si7021 I2C sensors, including a
test application.
2016-02-23 07:32:40 +01:00
Martine Lenders
0018bd902b Merge pull request #4648 from authmillenon/netdev2/api/packet-info
netdev2: provide capability to pass up packet status information
2016-02-22 19:30:18 +01:00
Martine Lenders
bd8d2d3a8a cc110x: adapt for info struct 2016-02-22 15:17:05 +01:00
Martine Lenders
8db42427cb native/drivers/sys: adapt ethernet netdev2 for info struct 2016-02-22 12:37:26 +01:00
Peter Kietzmann
bf1d31a62b Merge pull request #4869 from cgundogan/pr/kw2xrf/NETOPT_STATE_RX
drivers/kw2xrf: use NETOPT_STATE_RX for rcv
2016-02-22 11:52:35 +01:00
Martine Lenders
dad883c745 netdev2: provide capability to pass up packet status information 2016-02-22 11:31:58 +01:00
Cenk Gündoğan
f0068ba446 drivers/kw2xrf: use NETOPT_STATE_RX for rcv 2016-02-21 22:57:09 +01:00
5b4b40cc1e drivers: cc110x: don't pass isr_arg on rx complete event 2016-02-21 22:01:03 +01:00
2e61f4d365 drivers: enc28j60: correctly pass on isr_arg 2016-02-21 21:55:33 +01:00
d454e83009 drivers: ethos: correctly pass on isr_arg 2016-02-21 21:55:33 +01:00
b43a1070a2 drivers: encx24j600: correctly pass on isr_arg 2016-02-21 21:54:40 +01:00
Hauke Petersen
6fca96c668 drivers/dht: simplified interface 2016-02-20 18:19:20 +01:00
Hauke Petersen
044cb3c2f9 drivers/dht: optimized driver code
- simplyfied pulse parsing code
- inlined one-time called functions
- some style fixes
2016-02-20 18:19:20 +01:00
Hauke Petersen
f5f793c3f2 drivers/dht: made pullup configurable 2016-02-20 18:19:20 +01:00
Hauke Petersen
c46bc68ac5 drivers/dht: optimized DHT driver
- added default dht_params.h file
- added dht_auto_init(void) function
- changed init function to init(dev, params)
- s/gpio/pin/ in device descriptor
- moved FEATURE_REQUIRED to drivers/Makefile.dep
2016-02-20 18:19:20 +01:00
Hauke Petersen
2b2ce92d28 Merge pull request #4846 from LudwigKnuepfer/pr/BH1750FVI-doxygen-group-fix
drivers/bh1750fvi: fix ingroup definition
2016-02-19 09:28:57 +01:00
BytesGalore
e0f9d18a92 Merge pull request #4832 from cgundogan/pr/drivers/default_channel
drivers: make default radio channel configurable at compile time
2016-02-19 09:06:39 +01:00
Peter Kietzmann
3eafe47184 Merge pull request #4836 from haukepetersen/opt_periph_gpio_type
drivers/gpio: changed default type to unsigned
2016-02-18 20:22:04 +01:00
Cenk Gündoğan
dbb01011d7 Merge pull request #4803 from cgundogan/pr/mma8652/driver_fix
drivers/mma8652: enhancements
2016-02-18 18:08:28 +01:00
Cenk Gündoğan
698191eb2b kw2xrf: wait for previous transmissions to end 2016-02-18 15:43:22 +01:00
Ludwig Knüpfer
6a54f8cf89 drivers/bh1750fvi: fix ingroup definition
This is a sensor, not a low-level peripheral driver.
2016-02-18 13:52:38 +01:00
Hauke Petersen
085cd48e3d drivers/gpio: changed default type to unsigned 2016-02-17 10:27:10 +01:00
Cenk Gündoğan
c0369f04f6 drivers: make default channel configurable at compile time 2016-02-16 13:07:17 +01:00
Joakim Nohlgård
e2f7ac78f0 Merge pull request #4040 from gebart/pr/periph-timer-init-freq
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Joakim Nohlgård
9db8d671ab Merge pull request #4757 from haukepetersen/opt_periph_random
drivers/periph: renamed random and more
2016-02-14 17:56:57 +01:00
DipSwitch
62469957ae Merge pull request #4193 from OlegHahm/cc110x_proto
cc110x: make protocol configurable
2016-02-14 16:47:04 +01:00
Hauke Petersen
b59f94593e drivers/periph: renamed random to hwrng + opts 2016-02-14 12:58:30 +01:00
Joakim Nohlgård
d1a57d040a Merge pull request #4638 from gebart/pr/periph-pwm-api-change
drivers: Optimized periph PWM interfaces
2016-02-14 08:54:47 +01:00
Joakim Nohlgård
933ee91f72 drivers/periph/timer: Change timer_init definition to support arbitrary (integer) frequencies 2016-02-13 21:29:36 +01:00
Joakim Nohlgård
2108b85d85 saul: add missing doxygen opening comment 2016-02-13 21:25:13 +01:00
Joakim Nohlgård
8d11fab8bd drivers/lis3dh: Add SAUL support 2016-02-13 21:25:07 +01:00
Hauke Petersen
d6b8336cb9 drivers/srf02: added func to reprogramm address 2016-02-12 16:40:51 +01:00
Cenk Gündoğan
37c2cddf32 drivers/mma8652: convert raw data to milli g 2016-02-12 16:25:15 +01:00
Joakim Nohlgård
f6bd9cab57 drivers/servo: adapted to PWM interface changes 2016-02-12 16:10:01 +01:00
Cenk Gündoğan
192f20eabe drivers/mma8652: set to STANDBY before configuration 2016-02-12 16:09:59 +01:00
Hauke Petersen
eff628ad9b drivers/periph/pwm: modernized PWM driver interface 2016-02-12 15:52:37 +01:00
Joakim Nohlgård
73b4804c4c drivers/srf08: Remove tautological null-pointer check 2016-02-11 15:13:36 +01:00
Joakim Nohlgård
d8deae0375 drivers/kw2xrf: Comment out unused LUT 2016-02-11 15:13:30 +01:00
Hauke Petersen
3bf85cb508 drivers: added driver for BH1750FVI light sensors 2016-02-09 16:01:32 +01:00
Hauke Petersen
f3ac84d43a drivers: s/CPUID_ID_LEN/CPUID_LEN/ 2016-02-08 11:10:59 +01:00
Hauke Petersen
cd71c7725f drivers/cpuid: s/CPUID_ID_LEN/CPUID_LEN/ + fixes 2016-02-08 11:10:59 +01:00
9e3e485ec0 drivers: net: add ethos (ethernet over serial) driver 2016-02-07 19:15:14 +01:00
Oleg Hahm
2f5683b3f7 cc110x: make protocol configurable 2016-02-05 16:12:46 +01:00
Peter Kietzmann
8225bc92cb Merge pull request #4749 from Yonezawa-T2/xbee_error_init
xbee: add error handling on initialization
2016-02-05 13:00:12 +01:00
Yonezawa-T2
9e1bc0d94d xbee: add error handling on initialization 2016-02-05 19:03:38 +09:00
Hauke Petersen
4cf9c74e2b Merge pull request #4739 from haukepetersen/fix_lsm303dlhc_saul
drivers/lsm303dlhc: normalized SAUL readings
2016-02-04 17:35:52 +01:00
Hauke Petersen
84b44f03dd Merge pull request #4740 from cgundogan/pr/saul/pull_modes
saul: make pull-up/pull-down mode configurable
2016-02-04 16:34:40 +01:00
Cenk Gündoğan
b860ad3715 saul: make pull-up/pull-down mode configurable 2016-02-04 14:57:00 +01:00
Hauke Petersen
0bde97f167 drivers/lsm303dlhc: normalized SAUL readings 2016-02-04 11:51:28 +01:00
Hauke Petersen
555c010623 drivers/gpio: added default ISR context struct 2016-01-27 17:00:23 +01:00
Marc Poulhiès
de5a7e00c6 drivers/nrf24l01p : dynamic ack and dynamic payload
Add method for enabling/disable dynamic ack and dynamic payloads on
nrf24l01+ devices.
Also add function for reseting one or more interrupts.
2016-01-26 09:59:53 +01:00
Joakim Nohlgård
9af084ec18 drivers/periph/uart: Add missing #include <stddef.h>
Required for size_t
2016-01-19 14:11:35 +01:00
Johann F
97120f1cce drivers/kw2xrf/kw2xrf.c: fix MAX_PKT_LENGTH
This patch fixes MAX_PKT_LENGTH on kw2x radio
2016-01-07 01:37:00 +01:00
Hauke Petersen
94c0cc86af Merge pull request #4504 from PeterKietzmann/extend_gpio_api
periph/gpio: extend gpio API doc
2016-01-05 12:04:22 +01:00
PeterKietzmann
4c41f7a994 periph/uart: extend uart API doc 2015-12-22 16:11:21 +01:00
PeterKietzmann
d251b604ad periph/gpio: extend gpio API doc 2015-12-22 16:10:37 +01:00
Thomas Eichinger
65124aa966 drivers/at86rf2xx: clear channels for rf23x series too 2015-12-18 13:56:18 +01:00
Yonezawa-T2
c36766a31f OSX: fix warnings/errors thrown by clang on OS X
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Daniel Krebs
bb4fe8d256 Merge pull request #3954 from daniel-k/pr/at86rf2xx_fix_lqi
at86rf2xx: fix lqi reading
2015-12-08 16:10:52 +01:00
daniel-k
a643789ab5 at86rf2xx: fix LQI reading 2015-12-08 14:46:56 +01:00
Hauke Petersen
22cc26e9d7 drivers: added driver for enc28j60 ethernet chip 2015-12-08 11:51:18 +01:00
Thomas Eichinger
10323329ce Merge pull request #4412 from DipSwitch/pr/at86rf2xx-phy-mode
at86rf2xx: Add support for channel page
2015-12-08 11:40:47 +01:00
Oleg Hahm
0250d62509 Merge pull request #4358 from OlegHahm/eliminate_pedantic_errors
Eliminate pedantic errors
2015-12-08 02:05:30 +01:00
Oleg Hahm
bcb56fd542 Merge pull request #4429 from OlegHahm/at86rf231_proto_netopt_fix
at86rf2xx: dereference NETOPT_PROTO option
2015-12-07 22:47:38 +01:00
Peter Kietzmann
27e063823f Merge pull request #4264 from jfischer-phytec-iot/fix@kw2xrf-_assemble_tx_buf
drivers/kw2xrf/kw2xrf.c: fix bug and cleanup in _assemble_tx_buf
2015-12-07 21:17:38 +01:00
Oleg Hahm
426816b9ae drivers: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
Oleg Hahm
9a11aec32e at86rf2xx: dereference NETOPT_PROTO option
netopt_t options are passed as pointers to the driver.
2015-12-07 18:48:56 +01:00
Johann Fischer
63fd7dc53a drivers/kw2xrf/kw2xrf.c: fix bug and cleanup _assemble_tx_buf
BUG: the pktbuf was released at the wrong place and
return value of _assemble_tx_buf was not verified.
2015-12-07 12:56:32 +01:00
cd471867e6 drivers: encx24j600: make use of netdev2_eth module 2015-12-07 11:40:39 +01:00
fa711ceb8d drivers: netdev2: add module for shared ethernet code 2015-12-07 11:40:39 +01:00
Joakim Nohlgård
e9f385ae1d at86rf2xx: Add support for channel page 2015-12-05 10:37:04 +01:00
Marc Poulhiès
738d05e6b1 drivers/servo: allow for overriding default parameters
This is mandatory on platforms where both settings are strongly tied (eg. lm4f120)
2015-12-03 15:13:46 +01:00
Thomas Eichinger
ef8dc7733a Merge pull request #4391 from thomaseichinger/pr/rf2xx_include_fix
drivers/at86rf2xx: don't inlcude the header in itselfs
2015-12-03 12:12:43 +01:00
Thomas Eichinger
1f2460d662 drivers/at86rf2xx: don't inlcude the header in itselfs 2015-12-03 11:15:30 +01:00
Hauke Petersen
81ed820528 drivers/pcd8544: fixed include guard 2015-12-02 11:20:02 +01:00
e53dc6f5e2 Merge pull request #3538 from haukepetersen/add_sensif_actif
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Hauke Petersen
84a094d092 drivers/lsm303dlhc: added SAUL integration 2015-11-30 20:33:55 +01:00
Hauke Petersen
5274c4e851 drivers/lps331ap: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
7a4d6227c4 drivers/l3g4200d: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
18361631a0 drivers/isl29020: added SAUL integration 2015-11-30 20:33:54 +01:00
Hauke Petersen
0390561e06 drivers: added S(ensor) A(ctuator) U(ber) L(ayer) 2015-11-30 20:33:53 +01:00
Jonas
e9f86c1126 Implemented the NETOPT_CCA_THRESHOLD option for KW2xrf 2015-11-30 13:15:25 +01:00