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

915 Commits

Author SHA1 Message Date
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Oleg Hahm
34d2940afb Merge pull request #5185 from OlegHahm/netdev_setup_params
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4 xbee: fix naming inconsistency 2016-03-28 20:22:20 +02:00
e64cffa359 drivers: cc110x: compile fix 2016-03-26 20:53:13 +01:00
Martine Lenders
69b63b7c5a cc110x: generate IID from hardware address 2016-03-26 19:16:05 +01:00
Martine Lenders
536255696e cc110x: take whole CPU ID for hardware address generation 2016-03-26 19:15:43 +01:00
Oleg Hahm
26b3263f8a netdev2: moved ethernet header into subdir 2016-03-25 15:10:07 +01:00
Hauke Petersen
2510fe03f5 Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Martine Lenders
5bfc9e43fb at86rf2xx: port to netdev2 2016-03-23 17:45:16 +01:00
Peter Kietzmann
ad149dcd68 Merge pull request #4804 from haukepetersen/opt_srf02_impltrigger
driver/srf02: expose trigger and read to API
2016-03-23 07:50:35 +01:00
941bdbbc56 drivers/bmp180: initial implementation 2016-03-22 19:51:03 +01:00
Hauke Petersen
c86a06d585 drivers/srf02: fixed missing i2c_release in init() 2016-03-22 17:07:04 +01:00
Hauke Petersen
ff2ff5d008 drivers/srf02: expose trigger and read to API 2016-03-22 17:07:04 +01:00
Hauke Petersen
b68b14b49b Merge pull request #4666 from haukepetersen/opt_driver_dhtsaul
drivers/dht: added support for SAUL
2016-03-22 11:06:16 +01:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Cenk Gündoğan
2b3fc6d3b3 drivers/mma8652: add saul driver 2016-03-21 16:16:11 +01:00
Cenk Gündoğan
e6de2924ad drivers: mma8652: add mma8652_params_t for initialization 2016-03-21 16:16:11 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Hauke Petersen
08ce2a5090 drivers/dht: adapted to GPIO changes 2016-03-17 14:55:31 +01:00
Hauke Petersen
e51d634aeb drivers: adapted gpio_init(_x)() calls 2016-03-17 14:55:30 +01:00
Hauke Petersen
2515a3f9ef drivers/gpio: changed the way the mode is configured
- joined pushpull and dir into one single mode parameter
- with this enabled the configuration of open-drain mode
2016-03-17 14:37:24 +01:00
Hauke Petersen
7c86467ef0 drivers/dht: added SAUL support 2016-03-17 10:39:42 +01:00
Hauke Petersen
d1d7192d93 drivers/saul: added default NOTSUP function 2016-03-17 10:29:34 +01:00
Oleg Hahm
1fe7c4b17b led: move header into include directory 2016-03-16 16:09:45 +01:00
Hauke Petersen
fd082a8503 drivers: added LED control header 2016-03-15 19:02:15 +01:00
Hauke Petersen
272f12dfb8 Merge pull request #5045 from haukepetersen/opt_boards_leddefines
boards: unified LED macros
2016-03-15 19:01:05 +01:00
Hauke Petersen
53b42424ff drivers/lm75a: removed LED_xx_yy calls 2016-03-15 18:37:54 +01:00
Martine Lenders
1caf0bcc8a Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6 gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4 2016-03-15 17:11:22 +01:00
Hauke Petersen
1a8a73af63 drivers/ethos: adapted to changed UART cb type 2016-03-15 14:24:32 +01:00
Hauke Petersen
368d96ccd1 drivers/xbee: adapted to changed uart cb type 2016-03-15 11:59:08 +01:00
Hauke Petersen
2d2126e909 drivers/uart: use uint8_t for data in cb signature 2016-03-15 10:57:44 +01:00
Hauke Petersen
40ae604c3b drivers/dac: reworked DAC driver interface 2016-03-14 20:13:24 +01:00
Hauke Petersen
9bcfec9032 drivers/mq3: adapted to ADC driver changes 2016-03-14 13:06:24 +01:00
Hauke Petersen
58a8884acf drivers/periph: remodeled the ADC periph interface 2016-03-14 10:38:42 +01:00
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
Kévin Roussel
8bfd856abe Implemented the NETOPT_CCA_THRESHOLD option for AT86RF231 2015-11-30 13:15:14 +01:00
Martine Lenders
507b4381d2 Merge pull request #4335 from authmillenon/gnrc_netdev2/enh/namescheme
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 14:16:42 +01:00
Martine Lenders
3c00cec299 gnrc_netdev2: harmonize naming scheme to rest of GNRC 2015-11-27 13:03:37 +01:00
Peter Kietzmann
25fd90b741 Merge pull request #4350 from RBartz/fix_tcs37727_driver
drivers/tcs37727: fixed ATIME setup in init function
2015-11-27 09:38:05 +01:00
Hauke Petersen
f0b0db8f06 drivers: various doxygen fixes
- fixed group naming scheme to 'drivers_xx'
- introduced a group for actuators (analog to the sensors)
- added missing doxygen to ltc4150 driver
2015-11-23 12:15:50 +01:00
Ruediger Bartz
d188293b15 drivers/tcs37727: fixed ATIME setup in init function 2015-11-20 11:41:52 +01:00
Hauke Petersen
aee4e564c0 drivers/cc110x: moved includes
let the driver follow the same structure than other drivers
for now: keeping 'private' includes in a local include folder
2015-11-20 10:32:43 +01:00
Hauke Petersen
421e69030a Merge pull request #4315 from haukepetersen/doc_periph_fixes
doc: various fixes related to 'periph'
2015-11-19 22:59:26 +01:00
Hauke Petersen
4e94d97da7 drivers/at86rf2xx: added default params definition 2015-11-19 16:17:20 +01:00
Hauke Petersen
95086da431 doc/drivers/sys: fixed all refs to drivers_periph_xx 2015-11-19 16:09:25 +01:00
Hauke Petersen
77b790375f drivers/periph: some doxygen fixes
- added todos to periph module description
- repaired group names (e.g. s/driver_xx/drivers_xx/)
2015-11-19 15:57:36 +01:00
Hauke Petersen
cb6f3e9566 drivers/l3g4200d: fixed initialization 2015-11-18 16:34:50 +01:00
Oleg Hahm
a5b7c5d4e8 Revert "at86rf2xx: cancel receiving when preparing for TX"
This reverts commit 5aeeabf4a9.
2015-11-12 12:10:16 +01:00
Oleg Hahm
b978510188 802154 drivers: set first bit to 0 in 16 bit addr
The first bit is required to be 0 for short addresses when used with 6LoWPAN  by https://tools.ietf.org/html/rfc4944#section-12.
2015-11-03 11:06:54 +09:00