Martine Lenders
c5dc5b2d24
Merge pull request #5208 from kaspar030/fix_ethos_compile
...
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
036e7f248d
drivers: ethos: fix compile errors
2016-03-30 17:09:58 +02:00
Peter Kietzmann
3fa8a267b3
Merge pull request #5155 from OlegHahm/diskio_cleanup
...
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28
doc diskio: RIOTized style and added doxygen
2016-03-30 12:54:51 +02:00
Oleg Hahm
7bce5a9ef8
Merge pull request #5189 from OlegHahm/cc110x_fix_typo
...
cc110x: fix typo
2016-03-30 01:17:39 +02:00
Oleg Hahm
86a83f8f86
cc110x: use CPP check instead of runtime check
2016-03-29 22:51:53 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67
netstats: netapi_get and shell command
2016-03-29 22:29:58 +02:00
Rene Herthel
44ee645373
drivers/lis3mdl: Initial create of lis3mdl
2016-03-29 21:02:18 +02:00
Oleg Hahm
0ed54f0d4e
cc110x: fix typo (missing semicolon)
2016-03-29 20:11:35 +02:00
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
Oleg Hahm
b40f1742f1
at86rf2xx: remove superfluous mask
2015-11-03 11:06:21 +09:00
Oleg Hahm
6bf7c8ef5f
at86rf2xx: added protocol setter
2015-10-31 19:52:48 +09:00
Hauke Petersen
82afb07f16
drivers/xbee: adapted to UART interface changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
634ae1541b
drivers/periph: remodeled UART driver interface
2015-10-27 14:59:37 +01:00
Hauke Petersen
06743ba29e
drivers/periph/gpio: fixed includes
2015-10-27 13:29:37 +01:00
Peter Kietzmann
e539db10ee
Merge pull request #4104 from gebart/pr/drop-timer-reset
...
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Peter Kietzmann
835c2db5a5
Merge pull request #3135 from jfischer-phytec-iot/pr@tcs37727
...
Driver for TCS3772 Color Light-to-Digital Converter
2015-10-23 10:05:31 +02:00
Johann F
c6cec830f9
drivers/tcs37727: initial commit for tcs37727 driver
...
The driver supports lux and ct calculation and autogain funktion.
2015-10-22 12:05:19 +02:00
Hauke Petersen
7a91be7c93
drivers: added dependencies for srf08
2015-10-22 11:06:38 +02:00
Peter Kietzmann
2aa8c9f4a1
Merge pull request #4127 from haukepetersen/opt_makedep_dri
...
make: moved driver deps to drivers/Makefile.dep
2015-10-22 11:03:19 +02:00
Peter Kietzmann
97dc546be1
Merge pull request #4131 from gebart/pr/periph-timer-doxyfix
...
periph/timer: Fix Doxygen module grouping
2015-10-22 10:57:58 +02:00
Peter Kietzmann
020d708683
Merge pull request #4112 from dkm/patch-1
...
servo ctor fix
2015-10-21 17:24:59 +02:00
Joakim Nohlgård
4c6e8769f6
periph/timer: Fix Doxygen module grouping
2015-10-21 16:53:55 +02:00
Hauke Petersen
0399995305
make: moved driver deps to drivers/Makefile.dep
2015-10-21 15:18:12 +02:00
Marc Poulhiès
0464892aee
drivers/servo: fix initialization
...
The pwm to initialize must be read from arguments.
2015-10-20 21:41:35 +02:00
Hauke Petersen
9591d2049b
drivers/i2c: removed init_slave for now
2015-10-20 16:57:39 +02:00
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
2015-10-17 20:11:03 +02:00
Joakim Nohlgård
7b5ed7c055
Merge pull request #3867 from daniel-k/pr/at86rf2xx_sleep_mode
...
at86rf2xx: implement sleep mode
2015-10-13 18:27:27 +02:00
Thomas Eichinger
2b29abed8e
Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
...
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 16:05:19 +02:00
daniel-k
502786b9f7
at86rf2xx: implement sleep mode
2015-10-13 15:06:52 +02:00
Thomas Eichinger
0db6246582
Merge pull request #4078 from daniel-k/pr/at86rf2xx_detect_broadcast
...
at86rf2xx: detect broadcast and set NETIF flag when receiving
2015-10-13 12:54:58 +02:00
Hauke Petersen
0ce94291ac
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 11:40:03 +02:00
daniel-k
78192ebb7e
at86rf2xx: detect broadcast and set NETIF flag when receiving
2015-10-12 18:28:05 +02:00
Thomas Eichinger
7bf121903a
Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
...
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026
netdev: add TX feedback events
2015-10-12 15:50:39 +02:00
Peter Kietzmann
10bddd5ca6
Merge pull request #3755 from daniel-k/pr/at30tse75x
...
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 13:34:21 +02:00
smlng
3ed71ae2c6
drivers/kw2x: fix packet address setting
...
- fix dst address reversed in packet header
- code and docu cleanup
- based on at86rf2xx
2015-10-02 10:11:16 +02:00
Peter Kietzmann
7770fab9e8
Merge pull request #3994 from daniel-k/pr/rtt_ticks_convert
...
periph/rtt: add macros for ticks to time conversion
2015-09-30 10:06:27 +02:00
Peter Kietzmann
d18063cbe1
Merge pull request #3929 from haukepetersen/opt_periph_i2c
...
drivers/i2c: optimized I2C periph driver interface
2015-09-30 08:58:29 +02:00
Joakim Nohlgård
7b10e59ef3
Merge pull request #3868 from daniel-k/pr/at86rf2xx_disable_clock_output
...
at86rf2xx: disable clock output
2015-09-30 07:50:41 +02:00
daniel-k
5aeeabf4a9
at86rf2xx: cancel receiving when preparing for TX
2015-09-29 17:16:39 +02:00
Oleg Hahm
4cfb8140e4
Merge pull request #3978 from LudwigOrtmann/pr/namechange
...
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Oleg Hahm
f035bced0c
doc: put network devices and sensors in subgroups
2015-09-27 18:25:43 +02:00
daniel-k
e754963c52
at86rf2xx: mask MSB in PHR for 802.15.4 compliance
2015-09-24 16:21:42 +02:00
14d0ef6c4d
drivers: add cc110x driver
2015-09-23 18:55:11 +02:00
daniel-k
e433231941
periph/rtt: add macros for ticks to time conversion
2015-09-22 16:59:05 +02:00
Hauke Petersen
a4183454e8
drivers/i2c: optimized I2C periph driver interface
...
- added SPI_DEV and SPI_UNDEF macros
- made types and speed values overritable by CPU
- moved old device enum to dev_enums.h
- reformatted a little bit to comply to 80 char line length
2015-09-22 14:43:47 +02:00
Oleg Hahm
0a54f57043
kw2xrf: short address getter and iid option
2015-09-22 11:41:05 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Oleg Hahm
312db3f0f1
make: remove superfluous nrf24l01p from Makefile
2015-09-18 06:53:24 +02:00
daniel-k
b5863c9e29
at86rf2xx: disable clock output
2015-09-16 19:00:33 +02:00
a5dd9cb29b
drivers: nrf24l01p: rename DELAY microsecond defines to *_US
2015-09-16 10:58:56 +02:00
21dfa698bc
drivers: encx24j600: switch to xtimer
2015-09-16 10:58:55 +02:00
e9301e236d
drivers: ltc4150: use xtimer
2015-09-16 10:58:52 +02:00
4bbc5ae4d2
drivers: nvram_spi: use xtimer
2015-09-16 10:58:52 +02:00
01f03a54f1
drivers: pcd8544: use xtimer
2015-09-16 10:58:52 +02:00
4445d940ea
drivers: sht11: use xtimer
2015-09-16 10:58:52 +02:00
cbd7d42e06
drivers: mpu9150: use xtimer
2015-09-16 10:58:52 +02:00
3edc40e4c5
drivers: nrf24l01p: use xtimer
2015-09-16 10:58:51 +02:00
e934063b15
srf08: use xtimer
2015-09-16 10:58:51 +02:00
c9aa280710
drivers: xbee: switch to xtimer
2015-09-16 10:58:51 +02:00
94c5512751
drivers: lm75: switch to xtimer
2015-09-16 10:58:51 +02:00
39533eb28c
drivers: hih6130: switch to xtimer
2015-09-16 10:58:51 +02:00
ada06e9d22
drivers: dht: adapt to xtimer
2015-09-16 10:58:51 +02:00
940db9dad5
drivers: ng_at86rf2xx: use xtimer instead of hwtimer
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
400c95aa6b
drivers/periph_common/spi: reuse trans_bytes for loop counter
2015-09-15 09:47:13 +02:00
Martine Lenders
93f555ef69
Merge pull request #3782 from OlegHahm/RIOT_assert
...
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Hauke Petersen
d99aaff2fb
drivers/srf02: various optimizations
...
- switched to use xtimer
- simplified interface slightly
- optimized reading of results
- some style cleanups
- updated the documentation
2015-09-07 12:02:38 +02:00
bd698bf574
drivers: add encx24j600 ethernet driver
2015-09-04 18:49:08 +02:00
c84199ce10
sys: netdev2.h: add link up/down event types
2015-09-04 18:03:13 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00
daniel-k
6f705a5189
at86rf2xx: implement CSMA settings
2015-09-01 18:45:47 +02:00
38a3b2ea7b
sys: add improved network device API
2015-08-26 16:51:52 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
10a77b7775
drivers: add periph_common
...
This module contains shared functions for periph implementations.
2015-08-14 14:46:35 +02:00
BytesGalore
394ddb6900
drivers: renamed further remaining *NG_* macros
2015-08-12 17:21:45 +02:00
Martine Lenders
8f9e1656e1
at86rf2xx: remove ng_ prefix
2015-08-10 00:08:21 +02:00
Martine Lenders
e8d5d5576a
gnrc: piggy-back some code style changes
2015-08-07 16:53:05 +02:00
Martine Lenders
9cf5e5fb6a
ieee802154: remove ng_ prefix
2015-08-07 14:36:04 +02:00
Hauke Petersen
97a19016cf
drivers: adapted to renamed NETOPT header
2015-08-06 15:36:56 +02:00
6e3e41b729
drivers: remove cc110x
2015-08-06 12:13:18 +02:00
73c256302a
drivers: remove at86rf231
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Martine Lenders
6d9b928818
Merge pull request #3536 from cgundogan/pr/doc/todo
...
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Martine Lenders
0aef65bd76
Merge pull request #3559 from OlegHahm/channel_26_as_default
...
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Oleg Hahm
761183bfd7
ieee802.15.4: switch to 26 as default channel
...
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.
See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Joakim Gebart
abc0a3f97f
drivers/include/periph/timer.h: add dev_enums.h include until all platforms have been updated
2015-08-03 22:52:22 +02:00
Hauke Petersen
b21e21e6e1
drivers/periph: updated the timer interface a bit
...
- fixed some formatting to comments fit 80 char page width
- made tim_t overridable by the CPU
- defined TIMER_DEV() and TIMER_UNDEF macros
2015-08-03 13:56:16 +02:00
Cenk Gündoğan
4638a57e38
ng_at86rf2xx: use doxygen todo
2015-08-03 11:00:21 +02:00
Thomas Eichinger
4c4e54ad34
Merge pull request #3503 from OlegHahm/cc2420_freq_fix
...
cc2420: mask FSCTRL register for frequency access
2015-07-31 12:48:21 +02:00
Martine Lenders
93151bcf45
ng_at86rf2xx: don't ifdef type definitions
2015-07-31 00:08:03 +02:00
Hauke Petersen
360d90d0b1
driver/ng_at86rfxxx: fixed formatting in header
2015-07-30 15:02:03 +02:00
Oleg Hahm
03b7c7349a
Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
...
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Oleg Hahm
f23e7f90d2
cc2420: mask FSCTRL register for frequency access
2015-07-27 20:15:20 +02:00
Martine Lenders
89c776ce26
ng_at86rf2xx: substract maximum MAC header length for MTU getter
2015-07-22 20:27:08 +02:00
Thomas Eichinger
d10631adec
Merge pull request #3434 from gebart/pr/ng_at86rf2xx-fixes-1
...
ng_at86rf2xx: Clean up state transitions and netdev implementation
2015-07-22 17:55:58 +02:00
Joakim Gebart
93da3ce47a
drivers/ng_at86rf2xx: Go to idle state before calling TX_COMPLETE event handler
2015-07-20 19:01:53 +02:00
Joakim Gebart
0fcb514644
drivers/ng_at86rf2xx: Prevent stuck in TX_ARET_ON when doing multiple back-to-back transmissions
2015-07-20 19:01:53 +02:00
Joakim Gebart
c978c51da2
drivers/ng_at86rf2xx: Refactor set_freq implementation for 212B
...
Uses BPSK-40 for all frequencies.
2015-07-20 19:01:53 +02:00
Joakim Gebart
95a9bd9060
drivers/ng_at86rf2xx: Initialize idle_state variable on driver init
2015-07-20 19:01:53 +02:00
Joakim Gebart
234f54be65
drivers/ng_at86rf2xx: Print DEBUG message after switching to idle state
...
Reduce time spend idling in TX mode when debugging.
2015-07-20 19:01:53 +02:00
Joakim Gebart
26adc42ee6
drivers/ng_at86rf2xx: Replace some magic numbers in netdev
...
Set frame version to v1 (2006, 2011)
2015-07-20 19:01:53 +02:00
Joakim Gebart
0e1f8f1efe
drivers/ng_at86rf2xx: Clean up state transition code.
...
- Force TRX_OFF before SLEEP
- Add function to reset the state machine
- Reset state machine after hardware reset during initialization
- Get rid of redundant at86rf2xx_get_state
2015-07-20 19:01:53 +02:00
Joakim Gebart
9781ea99cc
drivers/hih6310: Initial commit of HIH6310 driver
...
Honeywell HumidIcon Digital Humidity/Temperature Sensors: HIH-6130/6131 Series
Only basic humidity and temperature measurement support is implemented.
Missing:
- Alarm interrupts
- Command mode (reconfigure i2c address, alarm levels, alarm polarity, custom ID)
2015-07-20 18:41:14 +02:00
Thomas Eichinger
c72f37a30b
Merge pull request #3174 from daniel-k/periph_rtt_conv
...
periph/rtt: add macros for time to tick conversion
2015-07-18 17:55:07 +02:00
Joakim Gebart
9292373720
at86rf231: Set AT86RF231_MIN_CHANNEL to 0 to support AT86RF212B
2015-07-14 20:23:14 +02:00
Joakim Gebart
b10e33dfc0
drivers/adt7310: Add ADT7310 temperature sensor driver
...
This is a driver for Analog Devices ADT7310 +/-0.5°C Accurate, 16-Bit
Digital SPI Temperature Sensor.
Only basic reading is supported. Interrupt and compare are not
implemented yet.
See: http://www.analog.com/en/products/analog-to-digital-converters/integrated-special-purpose-converters/integrated-temperature-sensors/adt7310.html
2015-07-09 23:39:32 +02:00
Joakim Gebart
c9bdbd1a74
lis3dh: Refactor, add INT1 handling, improve FIFO mode
2015-07-07 12:03:28 +02:00
daniel-k
bf40103a26
at86rf2xx: don't populate disabled interrupt flags to IRQ_STATUS
2015-07-01 17:16:30 +02:00
Martine Lenders
3238ccd47e
Merge pull request #3159 from authmillenon/ng_net/feat/iid
...
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
Hauke Petersen
350cfc7a2b
Merge pull request #3095 from haukepetersen/opt_gpio
...
drivers/gpio: changed periph driver interface
2015-06-15 13:57:03 +02:00
Martine Lenders
5ac2c61236
xbee: add NETCONF_OPT_IPV6_IID handler
2015-06-15 12:32:14 +02:00
Martine Lenders
d9ed439f03
ng_at86rf2xx: add NETCONF_OPT_IPV6_IID handler
2015-06-15 12:32:14 +02:00
Hauke Petersen
55e0362814
drivers/xbee: use GPIO_UNDEF instead of GPIO_NUMOF
2015-06-14 16:12:47 +02:00
Hauke Petersen
4a4ee44abc
drivers/gpio: added GPIO_UNDEF define
2015-06-14 16:12:20 +02:00
Jonas
404e7b1016
driver/kw2xrf: set HW-address according to CPUID; Correct broadcast handling
2015-06-13 22:30:04 +02:00
Hauke Petersen
2cc2d9f740
drivers: adjusted drivers to changed GPIO interface
2015-06-12 19:10:29 +02:00
Hauke Petersen
b49f11bed7
drivers/gpio: overhaul of the periph GPIO driver
...
- merged init_in and init_out
- renamed init_int to init_exti
- made datatypes overwritable
2015-06-12 19:09:32 +02:00
Hauke Petersen
6f2f716363
Merge pull request #3158 from authmillenon/xbee/enh/addr-len
...
xbee: make address length configurable
2015-06-12 14:34:21 +02:00
Martine Lenders
f4392f7661
xbee: make address length configurable
...
6LoWPAN-ND states [1] that the IPv6 address should be generated from the
EUI-64 of the interface, since it can be assumed as globally unique and
would not require duplicate address detection. Currently the xbee module is
not able to use any other address for short address with IPv6 since
NETCONF_OPT_SRC_LEN always returns 2. This patch fixes that.
[1] https://tools.ietf.org/html/rfc6775#section-5.2
2015-06-11 19:51:35 +02:00
daniel-k
80c13d109b
periph/rtt: add macros for time to tick conversion
2015-06-08 17:19:20 +02:00
Ludwig Ortmann
af5af90cba
drivers/dht: add support for DHT21
2015-06-06 17:08:47 +02:00
Hauke Petersen
f5ec1926e6
Merge pull request #3106 from gebart/pr/servo-updates
...
drivers/servo: Add test program, handle inexact frequencies
2015-06-04 12:08:06 +02:00
haukepetersen
4a19e255d7
drivers/ng_at86rf: disable ack req on bcast/mcast
2015-06-02 23:07:03 +02:00
Peter Kietzmann
6dc0e789e1
Merge pull request #3101 from gebart/pr/warning-fixes
...
Various warning fixes
2015-05-31 17:03:49 +02:00
Johann F
d317ea2d3a
drivers/hdc1000: fix hdc1000_startmeasure function
...
Change i2c_write_bytes to i2c_write_byte because it was
seriously wrong at this point.
2015-05-30 20:18:34 +02:00
Joakim Gebart
3ede02683c
drivers/servo: Handle inexact frequencies from periph_pwm
2015-05-30 12:41:07 +02:00
Joakim Gebart
1c855cb230
drivers/at86rf231: fix unused-parameter
2015-05-29 14:23:01 +02:00
Peter Kietzmann
c839e65479
Merge pull request #3025 from OlegHahm/netconf_retransmit
...
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +02:00
Ludwig Ortmann
4a05f47bcf
drivers/dht: initial import
...
Unified driver for DHT11 and DHT22.
2015-05-29 06:24:18 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Oleg Hahm
76e4c820e5
ng_netconf: ng_at86rf2xx: set retransmissions
...
Introduces a netconf option to configure the maximum amount of
retransmissions and implements this for the at86rf2xx radios.
2015-05-28 13:35:36 +02:00
Martine Lenders
e28a64f282
ng_at86rf2xx: add NETCONF_OPT_PROTO to _get
2015-05-26 15:25:37 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Oleg Hahm
9739acaf1b
Merge pull request #3032 from OlegHahm/at86rf_reset_delay
...
ng_at86rf2xx: set reset delay properly
2015-05-21 23:08:28 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Johann Fischer
b0e73b9a8c
Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
...
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
Oleg Hahm
961d302d72
ng_at86rf2xx: set reset delay properly
2015-05-19 15:08:44 +02:00
Hauke Petersen
354e5db5a8
Merge pull request #2963 from OlegHahm/fix_2962
...
at86rf2xx: fix EUI64 computation
2015-05-19 10:59:34 +02:00
Oleg Hahm
6e6f1792af
Merge pull request #2586 from OlegHahm/remove_obsolete_cc110x_rpl_warning
...
cc110x: remove warning about the transceiver mode
2015-05-19 01:34:54 +02:00
Oleg Hahm
cfc3bf5f70
ng_at86rf2xx: replace printf with DEBUG
2015-05-18 21:21:57 +02:00
Jonas
9b66477180
adapted new auto-init process to kw2xrf driver
...
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Peter Kietzmann
b3e78ddc33
Merge pull request #3016 from gebart/pr/tab-indentation
...
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
Oleg Hahm
67042901bc
xbee: remove superfluous includes
2015-05-18 15:30:25 +02:00
Oleg Hahm
92f4dec8da
xbee: use last 2 octets of EUI64 for short address
...
Dependency two CPUID and hard coded default short address are
superfluous now.
2015-05-18 15:30:25 +02:00
Oleg Hahm
c45eaf62de
ng_at86rf2xx: compute unique EUI64 from CPUID
...
The EUI64 for the at86rfxx is computed from the full CPUID by using
sliding xor.
2015-05-18 15:30:25 +02:00
895b629630
Merge pull request #2901 from kaspar030/fix_auto_init_netif
...
network: make auto_init_ng_netif less board-dependant
2015-05-18 13:09:55 +02:00
Oleg Hahm
5a5f9df898
cc110x: remove warning about the transceiver mode
...
* RPL is currently working with both transceiver modes (wake on radio
_and_ constant RX)
2015-05-18 11:41:27 +02:00
Hauke Petersen
fc52bfa164
Merge pull request #3014 from gebart/pr/ng_at86rf2xx-array-bounds
...
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
2015-05-18 10:35:14 +02:00
Hauke Petersen
7926d921df
Merge pull request #2973 from bapclenet/at86rf2xx/212b
...
at86rf2xx/915MHz fix
2015-05-18 10:13:52 +02:00
Joakim Gebart
0ae1a3d7e5
drivers/nrf24l01p: Replace tabs by spaces
2015-05-18 07:10:53 +02:00
Joakim Gebart
83065236ec
drivers/mag3110: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
9597cfd946
drivers/cc110x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
5dbeef5a95
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
...
There are only 37 entries in the array in the C file as well as in the
table in the data sheet.
Fixes the following cppcheck error:
drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c:49: error (arrayIndexOutOfBounds): Array 'dbm_to_tx_pow_868[37]' accessed at index 37, which is out of bounds.
2015-05-18 06:15:10 +02:00
a89b382297
drivers: xbee: adapt to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
3c00ff0c9b
drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
Oleg Hahm
287aa4cdbf
Merge pull request #2992 from gebart/pr/pwm-return-value
...
periph_pwm: Return actual frequency (like the docs say)
2015-05-17 13:06:08 +02:00
Ludwig Ortmann
fe4391b179
drivers/isl29125: fix group description
2015-05-16 13:56:16 +02:00
Joakim Gebart
92a743560d
drivers/periph/pwm: Update return value doxygen to match long description
2015-05-16 10:00:03 +02:00
Oleg Hahm
4d64b98f2c
Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
...
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
bapclenet
dd8cc82da0
at86rf2xx/915MHz fix
2015-05-14 09:24:47 +02:00
Jonas
3287e71d45
Initial import of tests for kw2x radio
...
squash: driver: fixed typo to pass doccheck
squash: driver: bug fixes after test
squash: adapted Makefiles for correct build behaviour
restructured, no spi interaction in isr anymore
major bugfixes and restructurization
comments addressed
introduce new netconf option, ..AUTOCCA
squash: minor bugfix and add auto-init mechanism
squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Jonas
49f09477af
Initial commit of ng_kw2xrf radio driver
...
squash: removed tab indent
2015-05-13 11:21:14 +02:00
Oleg Hahm
21dc560a19
Merge pull request #2906 from LudwigOrtmann/pr/isl29125
...
ISL29125 driver import
2015-05-13 08:42:40 +02:00
Oleg Hahm
7e4ccbbee7
Merge pull request #2959 from authmillenon/at86rf2xx/fix/offset
...
ng_at86rf2xx: fix offset error on send
2015-05-12 22:55:02 +02:00
Ludwig Ortmann
be8d62a967
drivers/isl29125: beautify indentation
2015-05-12 07:25:54 +02:00
Ludwig Ortmann
0db92da19d
drivers/isl29125: initial import
2015-05-12 07:23:41 +02:00
Oleg Hahm
69f07c601f
Merge pull request #2949 from OlegHahm/crash_panic_foobar
...
core: panic unification
2015-05-10 21:54:43 +02:00
Oleg Hahm
92b41df711
ng_at86rf2xx: use correct check for CPUID_LEN
2015-05-10 21:50:07 +02:00
Martine Lenders
e5155390d0
ng_at86rf2xx: fix offset error on send
2015-05-10 14:02:42 +02:00
Joakim Gebart
b64ca89dc4
netdev: doxygen: documentation fix for NETDEV_DEFAULT
2015-05-10 09:56:19 +02:00
Joakim Gebart
dba0c94cc2
netdev: Doxygen add missing @defgroup netdev_802154
2015-05-10 09:42:08 +02:00
Oleg Hahm
e9145fb911
Merge pull request #2939 from gebart/pr/whitespace-fixes1
...
Whitespace fixes
2015-05-09 23:46:31 +02:00
Oleg Hahm
828839316b
core: renamed crash.h to panic.h
2015-05-09 18:44:10 +02:00
Martine Lenders
ebb88ce72f
Merge pull request #2877 from bapclenet/at86rf2xx/212b
...
at86rf2xx/212b_frequency
2015-05-09 16:48:35 +02:00
bapclenet
3bce17b3e4
at86rf2xx/tx_pwr for 212B and 233
2015-05-09 13:30:52 +02:00
Joakim Gebart
453efc8ea1
drivers/include/hdc1000.h: Unix line endings
2015-05-09 09:02:57 +02:00
bapclenet
e33437958b
at86rf2xx/212b_frequency - adapt 868MHz and 915MHz frequency
2015-05-08 12:46:56 +02:00
Oleg Hahm
b48eb4ac34
at86r231: removed pointless checks
...
Checking the length for bool options is pretty pointless.
2015-05-07 20:46:56 +02:00
Oleg Hahm
6aeb8ca3d1
at86rf231: complete debug messages for getset
2015-05-07 20:46:56 +02:00
Oleg Hahm
a97ee2b0a4
at86rf231: disable SFD IRQ by default
2015-05-06 15:58:02 +02:00
Oleg Hahm
c8aff36237
netconf: added option to en/disable the SFD IRQ
...
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
Joakim Gebart
2738e9f9a8
nvram_spi: Implement generic SPI NVRAM driver.
2015-05-04 10:39:46 +02:00
Joakim Gebart
db9d3ddf48
nvram: Add generic SPI connected NVRAM interface.
2015-05-04 10:39:42 +02:00
Joakim Gebart
a982af330c
drivers: Add API for NVRAM devices with byte level erase.
2015-05-04 10:39:32 +02:00
Ludwig Ortmann
a729afa9ec
drivers/isl29020: fix return value integer error
...
Problem:
Since `i2c_read_reg` returns (signed) `int` values, the result can
be negative. However, the variable used to save the result is unsigned.
Fix:
Add and use a signed variable for return value storing.
2015-05-02 08:35:38 +02:00
Ludwig Ortmann
8ba166df6d
drivers/isl29020: fix some spelling errors
2015-05-02 08:33:15 +02:00
Hauke Petersen
3778fb3dde
drivers: added driver for PCD8544 LCD display
2015-04-30 13:46:03 +02:00
haukepetersen
6b7b241726
drivers/ng_at86rf2xx: disable debug
2015-04-29 14:20:30 +02:00
Hauke Petersen
fefac35c1c
drivers: new driver for at86rf2xx family radios
2015-04-27 18:56:59 +02:00
Hauke Petersen
b48561785e
drivers/xbee: added getter for addr_len and src_len
2015-04-23 16:30:07 +02:00
Hauke Petersen
7b29947b6d
drivers/xbee: optimized addr generation from CPUID
2015-04-23 15:52:54 +02:00
Hauke Petersen
727ddb9dc4
drivers/xbee: misc fixes to xbee driver
...
- fixed sending of with long addresses
- corrected type setting of netif hdr pktsnips
2015-04-20 18:13:17 +02:00
Hauke Petersen
ab7f1dc2cd
drivers/xbee: changed default for channel & panID
2015-04-20 18:12:40 +02:00
Peter Kietzmann
32f901a142
Merge pull request #2777 from authmillenon/xbee/feat/max_packet_size
...
xbee: add maximum packet size option
2015-04-17 09:15:16 +02:00
Martine Lenders
e4deb1e50e
xbee: add maximum packet size option
2015-04-16 18:46:16 +02:00
Hauke Petersen
bf4733fd88
drivers/periph/spi: added missing stdint.h include
2015-04-16 18:09:32 +02:00
Hauke Petersen
fa0a887dd5
drivers/xbee: declared private functions as static
2015-04-14 11:49:10 +02:00
Martine Lenders
67602bb443
Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
...
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
PeterKietzmann
9e17d1b9fd
doc/drivers/srf: edit author and copyright
2015-04-13 13:07:56 +02:00
Martine Lenders
26e72b594f
drivers.xbee: adapt driver for bc/mc flags
2015-04-03 16:05:10 +02:00
altairpearl
b47cc8d93d
drivers : Update include guards to remove leading underscores
2015-03-30 20:00:28 +05:30
Martine Lenders
7f8d680e20
Merge pull request #2695 from haukepetersen/add_driver_xbee
...
drivers: added support for Xbee S1 modules
2015-03-27 15:09:33 +01:00
Ludwig Ortmann
a126bdb1b8
Merge pull request #2704 from LudwigOrtmann/pr/at86rf231-break
...
drivers/at86rf231: fix break condition
2015-03-26 21:47:36 +01:00
Hauke Petersen
a5cf137cc4
Merge pull request #2700 from gebart/pr/lis3dh-add-missing-spi-release
...
lis3dh: Add missing spi_release in error cases.
2015-03-25 21:26:01 +01:00
Hauke Petersen
8a20f2f401
drivers: added support for Xbee modules
2015-03-24 23:19:29 +01:00
Oleg Hahm
985a6525cc
Merge pull request #2690 from Darredevil/patch-13
...
Repair header file include guards for /drivers
2015-03-24 11:04:18 -05:00
Alexandru Caciulescu
4f643532ce
drivers/lsm303dlhc: Repair header file include guards
2015-03-24 17:55:44 +02:00
Alexandru Caciulescu
efd5a071b2
drivers/lps331ap: Repair header file include guards
2015-03-24 17:55:44 +02:00
Alexandru Caciulescu
fb0e523719
drivers/l3g4200d: Repair header file include guards
2015-03-24 17:55:43 +02:00
Alexandru Caciulescu
57dd7d35a1
drivers/include/servo: Repair header file include guards
2015-03-24 17:55:43 +02:00
Alexandru Caciulescu
d31f9cbb1b
drivers/include/rgbled: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2c5164004c
drivers/include/pir: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
451bf78549
drivers/include/periph: Repair header file include guards
2015-03-24 17:55:42 +02:00
Alexandru Caciulescu
2b88c861c9
drivers/include/nrf24l01: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
78618961f0
drivers/include/mq3: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
ebaf61cc94
drivers/include/ltc4150: Repair header file include guards
2015-03-24 17:55:41 +02:00
Alexandru Caciulescu
7d68efcc38
drivers/include/lsm303dlhc: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
81787154d0
drivers/include/lps331ap: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
3d39c855c6
drivers/include/netdev: Repair header file include guards
2015-03-24 17:55:40 +02:00
Alexandru Caciulescu
a25a4d4fe5
drivers/include/cc110x_legacy: Repair header file include guards
2015-03-24 17:55:39 +02:00
Alexandru Caciulescu
3d209c3db1
drivers/mags3110: Repair header file include guards
...
removed trailing underscores
2015-03-24 17:55:39 +02:00
Alexandru Caciulescu
d7a3eeaacd
drivers/mma8652: Repair header file include guards
...
removed trailing underscores
2015-03-24 17:55:39 +02:00
Alexandru Caciulescu
2de348570d
drivers/mpl3115a2: Repair header file include guards
...
removed trailing underscores
2015-03-24 17:55:38 +02:00
Alexandru Caciulescu
69c4cd2aca
drivers/nrf24l01p: Repair header file include guards
2015-03-24 17:55:38 +02:00
Ludwig Ortmann
6391235ff2
drivers/at86rf231: fix break condition
...
The break condition could not be fulfilled because the counter was always
reset.
2015-03-24 14:50:46 +01:00
Joakim Gebart
065d70ac4d
lis3dh: Add missing spi_release in error cases.
2015-03-24 06:00:07 +01:00
Joakim Gebart
5ea9eaf386
drivers/ina220: Add driver for INA220 current and power sensor.
2015-03-19 17:22:22 +01:00
Joakim Gebart
b4e12ed9d2
at86rf231: at86rf231_set_address_long bugfix
...
The old code was never working, all of the middle address bytes were set
to 0x00 because of the bitwise AND being executed after the right shift.
2015-03-17 07:54:31 +01:00
kushalsingh007
3dbe4cd8af
Reducing the scope of variable after running static code analyser.
...
- Part of fix for issue number 480 (variableScope)
- Suppression of warnings that are not needed.
2015-03-10 22:03:18 +05:30
PeterKietzmann
dcd70c807b
drivers/isl29020: Acquire exclusive access ti I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
9c3a89edbf
drivers/l3g4200d: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
2864cce6d7
drivers/lps331ap: Acquire exclusice access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
0a9e837dba
drivers/mag3110: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
12871cc7d1
drivers/mma8652: Acquire exclusice access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
7f1d67da6f
drivers/mpl3115a2: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
bf6757fe1d
drivers/lsm303dlhc: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
35750592f2
drivers/tmp006: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
a1e8cedf6b
drivers/srf08: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
PeterKietzmann
c9deca5610
drivers/srf02: Acquire exclusive access to I2C bus
2015-03-03 18:08:38 +01:00
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
2015-02-18 13:52:48 +01:00
Fabian Nack
b913288685
drivers/mpu9150: Release I2C bus in compass error case
2015-02-14 09:24:51 +01:00
Fabian Nack
ae4616c5d8
drivers: Added MPU-9150 9-Axis motion sensor driver
2015-02-13 10:08:38 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Johann Fischer
b540def4b1
drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
...
fix doxygen warnings
change default address
2015-01-28 10:26:02 +01:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Joakim Gebart
2eea4d138e
at86rf231: Make local buffer static.
2015-01-23 19:46:26 +01:00
Hauke Petersen
19738bc61d
Merge pull request #2338 from gebart/pr/spi-cpol-cpha-docs
...
periph/spi: Update clock polarity and phase documentation for clarity.
2015-01-22 14:17:48 +01:00
Joakim Gebart
cc7acaaef0
periph/spi: Update clock polarity and phase documentation for clarity.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-22 09:03:44 +01:00
Ludwig Ortmann
42659dfa4f
Merge pull request #2335 from thomaseichinger/deprecate_radio_driver
...
drivers/radio_driver: mark as deprecated
2015-01-21 14:20:28 +01:00
Thomas Eichinger
3f3e70b7a0
drivers/radio_driver: mark as deprecated
2015-01-21 13:10:19 +01:00
Peter Kietzmann
647d0aef5f
Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
...
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
e56b821774
drivers/nrf24l01p: change API and fix initial setup
2015-01-21 09:47:18 +01:00
Joakim Gebart
ca56de8251
lis3dh: New device driver for LIS3DH accelerometer sensors.
...
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer
Manufacturer website:
http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725
Data sheet:
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf
tests/driver_lis3dh is a simple test application for testing on actual
hardware.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Peter Kietzmann
ebadbd6da3
Merge pull request #2323 from thomaseichinger/i2c_mutex
...
periph/i2c: added means to make I2C thread-safe
2015-01-20 07:57:20 +01:00
Peter Kietzmann
0c3083200d
Merge pull request #2317 from gebart/pr/spi-locking
...
drivers/periph/spi: Implement thread safety for all SPI devices
2015-01-20 07:27:49 +01:00
Joakim Gebart
c457cd954d
nrf24l01p: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
b6d94d9525
nrf24l01p: Remove superfluous delays in nrf24l01p_on, nrf24l01p_off.
...
The delays were introduced in an attempt to fix "inexplicable timing
errors", although the errors were in the SPI bus driver rather than the
nrf24l01p driver.
See also:
- https://github.com/RIOT-OS/RIOT/pull/1704
- https://github.com/RIOT-OS/RIOT/pull/2315
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:40 +01:00
Joakim Gebart
a991d7c58e
nrf24l01p: Remove redundant gpio_clear/gpio_set.
...
This change removes extra gpio_clear(dev->cs) before calling
nrf24l01p_read_reg(), nrf24l01p_write_reg(). The GPIO handling is not
necessary since nrf24l01p_{read,write}_reg() handle the CS pin
internally.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
af1ddef1fb
cc110x: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Joakim Gebart
1f577b4fee
at86rf231: Acquire exclusive access to SPI bus.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:39 +01:00
Thomas Eichinger
fe643f7077
periph/i2c: added means to make I2C thread-safe
...
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Hauke Petersen
3439247248
drivers/periph/spi: added locking mechanism
2015-01-17 15:13:51 +01:00
Joakim Gebart
c9df451379
cc110x-legacy: Comment style and spelling/grammar fixes.
...
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-15 10:56:58 +01:00
Oleg Hahm
363c12e822
Merge pull request #2283 from thomaseichinger/rf231_lqi_fix
...
drivers/at86rf231: fix reading of rssi value
2015-01-13 13:33:54 +01:00
Thomas Eichinger
f2396971e1
drivers/at86rf231: fix reading of rssi value
2015-01-12 16:40:21 +01:00
Oleg Hahm
ab191ad8a0
driver: added missing closing bracket
2015-01-12 09:54:29 +01:00
Oleg Hahm
e6c230a81f
driver: convert to UNIX line endings
2015-01-12 09:52:41 +01:00
Johann Fischer
a51c91e5be
add mag3110 magnetometer driver
2015-01-09 11:10:59 +01:00
Johann Fischer
ae10cc8af5
add mma8652 accelerometer driver
2015-01-08 11:44:32 +01:00
Peter Kietzmann
2fb2f499f9
Merge pull request #2123 from jfischer-phytec-iot/pr@mpl3115a2
...
Driver for Freescale MPL3115A2 Pressure/Altitude Sensor
2015-01-07 23:28:57 +01:00
Johann Fischer
b545f4dfe6
add driver for tmp006 thermopile sensor
2015-01-07 13:53:23 +01:00
Johann Fischer
250740bba5
add mpl3115a2 pressure sensor driver
2015-01-07 12:34:06 +01:00
Oleg Hahm
83e29bc2c6
Merge pull request #2153 from OlegHahm/driver_doc_cleanup
...
doc: eliminate driver documentation warnings
2015-01-06 19:35:46 +01:00
Oleg Hahm
1706869e91
doc: fixed several issues for cc110x documentation
2015-01-06 19:35:00 +01:00
Oleg Hahm
d3a88013f7
Merge pull request #2218 from thomaseichinger/openwsn-ng
...
pkg/openwsn: update to current openwsn version
2014-12-31 18:33:09 +01:00
Oleg Hahm
03cca0a657
at86rf231: added missing include of config header
2014-12-22 20:35:16 +01:00
Ludwig Ortmann
5e0973ca89
Merge pull request #2150 from OlegHahm/more_doc_cleanup
...
doc: More documentation cleanup
2014-12-22 11:58:59 +01:00
Thomas Eichinger
a9379881cf
pkg/openwsn: update to current openwsn version
2014-12-18 13:48:12 +01:00
PeterKietzmann
46fdcf64c1
drivers/srf08: initial import of the updated ultrasonic driver
2014-12-17 15:37:25 +01:00
Thomas Eichinger
5689a7d218
Merge pull request #1997 from Troels51/samr21-transceiver-port
...
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Ludwig Ortmann
c070afb883
periph/rtc: move struct tm note to the top
...
The remark is valid for the whole interface, not just `rtc_get_time`.
2014-12-17 09:58:54 +01:00
Ludwig Ortmann
e7f6f640f6
Merge pull request #2060 from OlegHahm/periph_rtc
...
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2
samr21: implemented transceiver via spi, gpio changes
2014-12-16 17:43:30 +01:00
Oleg Hahm
498edb1854
cc430: lpc2387: switch to new periph/rtc interface
...
Removes the old interface.
2014-12-16 17:02:44 +01:00
Hauke Petersen
f80c4a4d7e
driver/timer: adjusted doxygen for speed value
2014-12-16 16:36:36 +01:00
Hauke Petersen
f3de73fe54
driver/i2c: additional docu for pull resistors
2014-12-16 15:17:42 +01:00
PeterKietzmann
aab94e50f9
doc: extend i2c description for pull-up
2014-12-16 10:54:31 +01:00
Ludwig Ortmann
1340fadcbe
boards,drivers,examples: unset ENABLE_DEBUG
2014-12-12 14:29:06 +01:00
Oleg Hahm
d4166faccc
doc: add or move module description where missing
2014-12-11 17:29:51 +01:00
Oleg Hahm
ff86118c7a
doc: cleanup for radio_driver
2014-12-11 17:27:56 +01:00
Oleg Hahm
bc330284fa
doc: don't use defgroup and addtogroup
2014-12-11 17:27:56 +01:00
Oleg Hahm
11d0a22ad7
doc: remove superfluous and erroneous @file params
2014-12-11 17:27:54 +01:00
Ludwig Ortmann
e850078769
Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type
...
vtimer: set custom msg_t.type with vtimer_set_msg
2014-12-09 11:12:52 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
PeterKietzmann
a84419e321
doc: fix drivers/srf08 documentation
2014-12-08 13:38:51 +01:00
PeterKietzmann
522b7d470e
doc: fix drivers/srf02 documentation
2014-12-08 13:38:44 +01:00
Martine Lenders
c63d029653
netdev: Fix netdev/default.h
2014-12-06 18:03:49 +01:00
Oleg Hahm
2eaf35bcf9
doc: fixed doxygen for lm75a temperature sensor
2014-12-06 17:32:00 +01:00
Oleg Hahm
67a2b37ff8
cc110x: cleanup cc110x_legacy_csma driver
...
Remove unused radio_t struct and fixed documentation.
2014-12-05 20:33:10 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
Ludwig Ortmann
e82f6dce79
doc: periph/dac: fix typo
2014-12-04 11:14:26 +01:00
Ludwig Ortmann
da43a5e7a4
doc: periph: various fixes and cleanup
...
- unify file/module @brief
- distinct @file section more visibly in source
- provide missing @brief's
- move module details/notes from file to module sections
- provide missing macro definition for building
2014-12-04 10:28:45 +01:00
Oleg Hahm
c92effaead
debug: removed superfluous additional debug flag
2014-12-03 22:59:14 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Fabian Nack
57e54e254d
drivers - netdev: extend netdev_state_t enum
2014-12-01 16:50:54 +01:00
Oleg Hahm
d92e9af91c
doc: fixed broken param descriptions
2014-11-30 22:34:50 +01:00
Oleg Hahm
df9c09d946
doc: fixed typos and other misspellings
2014-11-30 21:32:12 +01:00
Oleg Hahm
d3d68c876f
doc: use @brief for single defines
2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884
doc: added missing closing doxygen brackets
2014-11-30 21:16:41 +01:00
Hinnerk van Bruinehsen
e7d0a7664f
lint: fix possible nullptr deref in *pwr
2014-11-28 01:07:33 +01:00
Hauke Petersen
f1fda21ab7
Merge pull request #2018 from brummer-simon/devel-dac_driver
...
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
PeterKietzmann
d8a26d5aa6
Initial import of nrf24l01p lowlevel functions
2014-11-26 13:50:29 +01:00
Ludwig Ortmann
685acd8a54
Merge pull request #2070 from jfischer-phytec-iot/wip@hdc1000
...
Sensor Driver for HDC1000
2014-11-26 10:32:17 +01:00
Simon Brummer
5a4b966d9c
Basic DAC Driver, implementation on stm32f4discovery
2014-11-25 22:37:32 +01:00
Johann F
1a69a1eae8
add hdc1000 sensor driver
2014-11-24 13:15:58 +01:00
Ludwig Ortmann
b940f6b982
drivers/cc2420: use DEBUG_ENABLED instead of DEBUG
...
compare https://github.com/RIOT-OS/RIOT/issues/2067
2014-11-21 18:31:09 +01:00
Martine Lenders
8ee3edcb13
netdev: Add protocol to header list nodes
2014-11-21 12:37:48 +01:00
PeterKietzmann
f207b114e4
Initial import of the updated srf02 driver with general i2c interface
2014-11-21 09:21:27 +01:00
Ludwig Ortmann
fb75b65df7
periph/rtt: fix documentation
...
Fix some typos, grammar and style.
2014-11-19 17:04:20 +01:00
Hinnerk van Bruinehsen
c2a30f1e49
lint: remove unusedStructMember supressions
2014-11-19 11:22:49 +01:00
Thomas Eichinger
9b2b49c95d
drivers/at86rf21: add and improve debug messages
2014-11-13 15:00:46 +01:00
René Kijewski
9a15a6def5
make: easify {sys,drivers}/Makefile
...
Currently you need to add every new sys and driver module into the
respective Makefile. This requires rebasing if another module was merged
in the meantime.
This PR allows you to omit the entry to {sys,drivers}/Makefile, if the
subfolder has the same name as the module name, which should be sensible
in most cases.
2014-11-11 09:26:37 +01:00
Hauke Petersen
1ae08f8437
drivers/periph/rtt: added overflow callback
2014-11-07 12:14:37 +01:00
Thomas Eichinger
6bbc4ca226
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 11:28:22 +01:00
Hauke Petersen
da64a7f438
drivers: added L3G4200D gyroscope driver
2014-11-06 10:36:41 +01:00
Oleg Hahm
0fed329774
Merge pull request #1941 from OlegHahm/ieee802154_use_enums
...
Ieee802154: use enums for frame type
2014-11-06 08:03:53 +01:00
Oleg Hahm
32543afdd0
ieee802154: make use of frame_type enum all over
2014-11-06 08:02:27 +01:00
Oleg Hahm
f777f23a89
Merge pull request #1934 from thomaseichinger/at86rf231_robustnes
...
drivers/at86rf231: improve deployment by default example
2014-11-05 19:59:11 +01:00
Thomas Eichinger
88fce936e9
lsm303dlhc: initial import of lsm303dlhc driver
...
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Thomas Eichinger
c16c2509e8
drivers/at86rf231: frame_type has to be set by upper layers
2014-11-04 15:12:45 +01:00
Thomas Eichinger
5b8231737b
drivers/at86rf231: print raw packet when DEBUG_ENABLED
2014-11-04 15:11:54 +01:00
Thomas Eichinger
9bdd4cebbc
drivers/at86rf231: change to PLL_ON to change address
2014-11-04 15:10:18 +01:00
Martine Lenders
038beb0f99
netdev: clarify documentation of netdev_driver_t::get_option()
2014-11-03 16:01:20 +01:00
Hinnerk van Bruinehsen
d28c588652
Merge pull request #1920 from thomaseichinger/at86_fix
...
drivers/at86rf231: fix two cppcheck findings
2014-11-01 18:23:35 +01:00
Thomas Eichinger
e6bcef4216
drivers/at86rf231: fix two cppcheck findings
2014-10-31 13:48:51 +01:00
Ludwig Ortmann
2c697bd8a4
drivers/mq3: add extern "C" to header
2014-10-31 12:30:03 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547
lint: fix redundantAssignment warnings
...
SQUASH ME: redundantAssignment (remove FAT stuff)
SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Thomas Eichinger
9e2cfdc4da
netdev/802154: suppress cppcheck warnings in 802154.h
...
Suppress cppcheck warnings of class unusedStructMember because
this interface is not used yet. Remove these comments once it
is used.
2014-10-30 22:35:00 +01:00
Thomas Eichinger
dfb1b56fad
drivers/at86rf231: refactoring of the at86rf231 radio driver
...
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Thomas Eichinger
44dcd0e631
Merge pull request #1817 from haukepetersen/add_driver_lps331ap
...
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Hauke Petersen
7b666eb2a9
drivers: added LPS331AP pressure sensor driver
2014-10-30 20:24:44 +01:00
Oleg Hahm
313d5b4e56
doc: added and fixed some copyright boilerplates
2014-10-30 19:30:14 +01:00
Hauke Petersen
5bd6155ca6
drivers/mq3: added driver for alcohol sensor
2014-10-30 14:05:29 +01:00
Ludwig Ortmann
245df3f028
cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
...
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
57daf9d7d2
drivers/cc110x: fix duplicate length member
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
e7eda3b54a
drivers/cc110x: remove unused FEUERWARE_CPU_MSP430 include
2014-10-28 18:04:26 +01:00
Fabian Nack
169a4d6815
drivers - cc110x_legacy_csma: add missing license
2014-10-28 16:18:59 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Ludwig Ortmann
035dbce58d
drivers/adc_legacy: add copyright, author
2014-10-27 16:33:49 +01:00
Ludwig Ortmann
c59dd9787f
drivers: mark adc.h as legacy
2014-10-25 17:04:29 +02:00
Ludwig Ortmann
7476ce8abf
doc: mark legacy adc API as deprecated
2014-10-25 16:36:10 +02:00
Ludwig Ortmann
5523ec67f3
doc: make peripheral interfaces modules
...
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
Fabian Nack
310d468659
drivers - cc110x_legacy: add missing license
2014-10-24 09:55:57 +02:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
BytesGalore
469f28bf5c
added missing extern "C"
guards
2014-10-22 07:50:48 +02:00
BytesGalore
f94623ae0f
drivers: add extern "C"
to header files
2014-10-21 15:30:03 +02:00
Ludwig Ortmann
b3266fee1a
drivers/periph/gpio: fix #ifdef instead of #if
2014-10-18 07:40:27 +02:00
Hauke Petersen
8c3a207a3f
Merge pull request #1770 from fnack/spi_extension
...
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Fabian Nack
be5f175623
drivers - spi: extended low-level spi driver interface
2014-10-16 17:10:11 +02:00
Martine Lenders
d9026054b7
periph.cpuid: Add central documentation for CPUID_ID_LEN
2014-10-16 14:39:56 +02:00
Hauke Petersen
0f7e8b2f9f
drivers: added driver for ISL29020 light sensor
2014-10-15 14:54:04 +02:00
Hauke Petersen
45b466d786
drivers: added low-level I2C driver interface
2014-10-15 14:50:08 +02:00
Thomas Eichinger
c27e250de4
at86rf231: replace vtimer_usleep by hwtimer_wait
...
This fixes a bug where the callback to unlock the thread, put to sleep by
`vtimer_usleep` wouldn't be woken up due to overhead. Using hwtimer_wait
works for now, but this section will be replaced a driver refactor anyway.
2014-10-10 11:41:36 +02:00
Martine Lenders
264785852e
nativenet: Supply net_dev_t support for nativenet
2014-10-09 09:40:58 +02:00
Martine Lenders
0c7783806f
netdev: Provide maximum value of netdev_opt_t for further definitions
2014-10-07 22:47:54 +02:00
Thomas Eichinger
2f27388d04
sys/transceiver: cleanup and fix for cc2420 and at86rf231
...
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
a686e909aa
examples/default: fix handling of 802.15.4 devices
2014-10-07 10:32:58 +02:00
Martine Lenders
65e0bd5536
drivers: Provide basic interface for all network devices
2014-10-01 23:22:54 +02:00
Ludwig Ortmann
cd2ea516b7
drivers/periph/gpio: increase possible gpio number
2014-10-01 18:42:34 +02:00
Hauke Petersen
4b815582d7
drivers/at86rf231: rework and clean-up
...
- moved all board specific code to low-level driver calls
- moved some functions from the board dir into at86rf231.c
- added doxygen headers
2014-09-30 11:19:23 +02:00
Ludwig Ortmann
e75dd40eea
drivers: import PIR motion sensor driver
...
Includes an application for manual testing.
2014-09-26 18:07:46 +02:00
Oleg Hahm
66904fbabb
drivers: fixed German influenced typo
2014-09-17 15:21:15 +02:00
Thomas Eichinger
adb4c15b65
drivers/at86rf231: handle channel out of range more conveniently
2014-09-16 10:52:59 +02:00
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Hinnerk van Bruinehsen
26d3a94dff
drivers-lm75a: use sizeof array instead of reg_size
2014-09-12 11:49:23 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Thomas Eichinger
b5bdf2620b
Merge pull request #960 from thomaseichinger/rtc_interface
...
periph_drivers: Proposal for a low-level RTT driver interface
2014-08-21 22:15:07 +02:00
Thomas Eichinger
d9b7ee4c6b
periph:rtc: add missing argument for callback
2014-08-21 22:01:17 +02:00
Thomas Eichinger
c5ed71e54f
periph_driver: introduce a RTT interface
2014-08-21 21:59:42 +02:00
Hauke Petersen
280624b440
Merge pull request #939 from mehlis/random-driver
...
random: added a random driver interface
2014-08-21 19:28:25 +02:00
Christian Mehlis
f3cf4267ab
periph: added a random-data driver interface
2014-08-21 19:16:24 +02:00
René Kijewski
639dae4a1d
Merge pull request #1575 from Kijewski/use-sched_active_pid
...
all over the place: use sched_active_pid
2014-08-21 19:09:40 +02:00
Thomas Eichinger
0ea5f94754
Merge pull request #1363 from thomaseichinger/thirdparty_boards_import
...
board: cpu: initial import of iot-lab_M3
2014-08-21 18:47:07 +02:00
Thomas Eichinger
b904bc3495
Implement a minimal RTC interface
2014-08-21 18:42:30 +02:00
Thomas Eichinger
c28aebf105
at86rf231: handle rx tx state changes correctly
2014-08-21 17:53:38 +02:00
Thomas Eichinger
e59bc2eb9d
iot-lab_M3: refactor at86rf231 driver
2014-08-21 17:53:37 +02:00
Thomas Eichinger
d50f43e9f5
at86rf231: introduce variable to keep internal driver state
...
The at86rf231 radio transceiver provides one IRQ (TRX_END) signaling
end of transmission or reception but no way to distinguish between
these.
2014-08-21 17:53:37 +02:00
Thomas Eichinger
aaa2c2e8ba
boards: initial import of iot-lab_M3
2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c
cpu: initial import of stm32f1
2014-08-21 17:53:37 +02:00
René Kijewski
2cb4166c3e
all over the place: use sched_active_pid
...
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.
`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
Hauke Petersen
aa3e40c9b1
drivers: improved the low-level GPIO driver IF
...
- removed UNDEFINED value from device enum
- changed most functions to void return value
- add parameter for interrupt callback
2014-08-15 12:23:32 +02:00
Ludwig Ortmann
b63b3b9512
drivers/at86rf231: add transceiver/pid includes
2014-08-12 17:21:42 +02:00
Hauke Petersen
8a80b2add8
drivers: improvements to UART driver interface
...
- removed UNDEFINED value from device enum
- added argument for callbacks
- add power[on|off] functions
- removed tx_end() function in favor of cb return value
2014-08-08 17:39:34 +02:00
Oleg Hahm
0ad7b170ed
make kernel_pid_t comparisons consistent
2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918
core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
...
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
4b1a2f32eb
net: fix kernel_pid_t checks
...
KERNEL_PID_NULL is a negative number. If kernel_pid_t variables are
initialized to this value, one have to check for lt/gte 0.
2014-08-07 16:31:27 +02:00
Hauke Petersen
3f4aa04260
drivers: updated low-level PWM driver interface
2014-08-07 14:47:24 +02:00
Martine Lenders
5053a521d9
driver_periph: minor documentation fix
2014-08-06 15:06:06 +02:00
René Kijewski
2b91605f58
Merge pull request #1535 from LudwigOrtmann/transceiver_volatile
...
sys/transceiver: make transceiver_pid volatile
2014-08-05 19:39:43 +02:00
Ludwig Ortmann
c883c33d83
doc: fix flashrom doxygen
2014-08-05 18:52:26 +02:00
Oleg Hahm
1623b68ae3
Merge pull request #1311 from haukepetersen/add_driver_spi_if
...
drivers: Initial import of SPI low-level driver IF
2014-08-04 15:34:36 +02:00
Ludwig Ortmann
47ca52cb8d
SQUASHME: clean out extern kernel_pid_t transceiver_pid redefinitions
2014-08-02 14:29:07 +02:00
Oleg Hahm
4e2640f9de
Merge pull request #1375 from OlegHahm/radio_packet_length
...
Radio packet length
2014-08-01 18:20:34 +02:00
Oleg Hahm
53433a1344
cc2420: use radio_packet_length_t
2014-08-01 17:06:30 +02:00
Oleg Hahm
5098273d2a
cc110x_ng: use radio_packet_length_t
2014-08-01 17:05:41 +02:00
Oleg Hahm
78237c3fba
cc110x: use radio_packet_length_t
2014-08-01 17:04:35 +02:00
Oleg Hahm
fa3d976958
at86rf231: use radio_packet_length_t
2014-08-01 17:04:29 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Martine Lenders
7516c94dd8
Merge pull request #854 from authmillenon/cpu-id
...
drivers/cpu: add function to get CPU id/serial number
2014-07-31 23:23:21 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Oleg Hahm
937cc51d66
Merge pull request #1516 from cgundogan/remove_tabs_drivers
...
converting tabs to spaces in drivers (#1439 )
2014-07-31 23:04:53 +02:00
Ludwig Ortmann
5fdce06b3b
doc: use lgplv2.1-short license header instead of lgplv2-short-v1
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2
doc: use lgplv2.1-short license header instead of lgplv2-short-v2
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46
doc: fix comment indentation
2014-07-31 22:57:19 +02:00
Cenk Gündoğan
c0f80c7f75
converting tabs to spaces in drivers ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:49:35 +02:00
Martin Lenders
3a6adcc92c
Implement CPU serial number getter.
2014-07-31 19:51:14 +02:00
Hauke Petersen
10d5b5a781
drivers/servo: fixed very stupid coding error
2014-07-31 17:35:47 +02:00
Ludwig Ortmann
b3b6cff587
doc: some more author fixes
...
fix all occurences of INRIA as an author
correct Oliver Hahms authorship and indentation
2014-07-29 18:17:48 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
6fae042a60
core: remove unneeded calls to mutex_init()
2014-07-29 09:33:24 +02:00
Hauke Petersen
378c0dfc3a
drivers: some improvements to the ADC driver IF
...
- removed UNDEFINED value from device enum
- added pre-defined precision values
- added power[on|off] functions
- some minor doxygen fixes
2014-07-28 15:59:33 +02:00
Hauke Petersen
e2a8bcb832
drivers: added servo motor driver
2014-07-28 13:02:50 +02:00
Hauke Petersen
413bc42c98
[SQUASH ME] added begin_transaction, fixed doc
2014-07-25 00:00:35 +02:00
Hauke Petersen
ebf4bd98a2
[SQUASH ME] fixed signature of spi_transfer_reg()
2014-07-24 22:55:17 +02:00
Hauke Petersen
f1865f034d
[SQUASH ME] removed UNDEFINED from device list
2014-07-24 21:40:01 +02:00
Hauke Petersen
fdbfe36d68
[SQUASH ME] added fixed speed values
2014-07-24 21:37:01 +02:00
Hauke Petersen
4513eb7f77
driver: updated SPI driver interface
2014-07-24 21:37:01 +02:00
Hauke Petersen
d7fe933fe6
drivers: fixes to the SPI low-level interface
2014-07-24 21:37:01 +02:00
Hauke Petersen
e5ae56323e
drivers: Initial import of SPI low-level driver IF
2014-07-24 21:37:01 +02:00
Martin Lenders
1528857feb
Make filenames in periph documentation unique
...
This makes the filenames in the documentation of low-lever peripheral
drivers unique, so doxygen stops complaining about duplicates.
2014-07-18 14:59:46 +02:00
Simon Gene Gottlieb
519ed7163c
board/flash: changing flashrom_write signature
...
→ changing all flashrom_write() function to the same signature
→ adding const keyword to signature
2014-07-14 02:11:38 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
Kévin Roussel
a5a468a52b
drivers/cc2420: fix logical error in cc2420_do_send function
...
Do the correct test in cc2420_do_send() function when analyzing
the result of cc2420_load_tx_buf()
2014-07-08 16:29:17 +02:00
Kévin Roussel
165e5ee52f
Extend CC2420 driver to comply with interfaces described in 'radio_driver.h'
2014-07-08 11:46:13 +02:00
Hauke Petersen
133a106133
driver - gpio: small adjustments
2014-07-04 10:28:40 +02:00
Hauke Petersen
b2fad213d7
drivers - gpio: expanded gpio driver interface
...
- added functions for en|disabling a pins interrupt
2014-07-03 21:51:37 +02:00
Hauke Petersen
5d20053f74
drivers: added set_absolute to timer interface
2014-06-24 18:46:06 +02:00
Oleg Hahm
cfe5adbe30
Merge pull request #1316 from haukepetersen/add_driver_rgbled
...
drivers: added rgbled driver
2014-06-23 00:41:16 +02:00
Oleg Hahm
32394f1e1d
Merge pull request #1310 from phiros/avsextrem_allow_use_of_cc110x_ng_driver
...
cc110x_ng: build cc110x_spi for avsextrem (bugfix)
2014-06-22 17:11:57 +02:00
Hauke Petersen
749d6a7446
Merge pull request #1318 from haukepetersen/msba2_pwm
...
cpu: added low-level PWM driver for the lpc2387
2014-06-22 13:07:48 +02:00
Philipp Rosenkranz
42b7992e77
cc110x_ng: build cc110x_spi for all boards except chronos
2014-06-22 12:57:22 +02:00
René Kijewski
467b41ad49
make: easifier usage of module subdirectories
...
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:
```make
DIRS = …
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```
This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Hauke Petersen
854d3fe258
drivers: some adjustments to low-level pwm driver
...
- adjusted doxygen and boilerplate
- changed return values for start and stop functions
2014-06-11 20:37:21 +02:00
Hauke Petersen
9e0653afbb
drivers: added rgbled driver
2014-06-11 20:17:44 +02:00
Kévin Roussel
7ab53506c6
Merge pull request #1239 from rousselk/radio-API-again
...
Add a missing constant in 'radio_tx_status_t' enum
2014-05-27 11:47:55 +02:00
Kévin Roussel
5eb83c7c18
Add a missing constant in 'radio_tx_status_t' enum
2014-05-27 10:43:53 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Oleg Hahm
c8d474eae4
documentation: unified descriptive text for drivers
2014-05-24 16:06:05 +02:00
Kévin Roussel
e9ff3e6cf8
Merge pull request #1211 from rousselk/complete-radio_driver_h
...
Completing low-level radio driver definition.
2014-05-22 10:22:08 +02:00
Kévin Roussel
2a02203067
Complete the definition of low-level radio driver API
2014-05-21 11:41:10 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
8038e96d09
Merge pull request #1119 from Kijewski/error_old-style-definition
...
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
Alaeddine Weslati
2427029c1c
added missing Licence in at86rf231 driver files.
2014-05-14 10:43:50 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Hauke Petersen
7b96e488ff
drivers: fixes to the low-level GPIO driver
...
- fixed doxygen comments
- added GPIO_UNDEFINED value
- added return values to all functions
2014-05-05 21:29:35 +02:00
Oleg Hahm
66712c0af4
Merge pull request #1073 from Kijewski/rtc-sys_time
...
drivers: fix includes in rtc.h for MSP430
2014-04-30 10:29:48 +02:00
René Kijewski
97448be17e
drivers: fix includes in rtc.h for MSP430
...
The comment and the actual guard in `rtc.h` did not match.
If (as in "implication") the MCU is an MSP, then `sys/time.h` must be
included, to have `time_t`, `struct timeval`, …
Including the header file in any case should be safe, so I dropped the
guard altogether.
2014-04-29 01:02:42 +02:00
Kévin Roussel
25236618c3
Proposal for common 802.15.4 radio driver API definition.
2014-04-24 10:05:24 +02:00
René Kijewski
542a2e5d9d
Merge pull request #995 from Kijewski/issue-993
...
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
Hauke Petersen
6ddd189fb1
drivers: Initial import of low-level ADC driver interface
...
Fixed tons of spelling errors
Fixed typo in ADC_NUMOF macro
drivers: adjustment to low-level adc drvier IF
drivers: added [in|out] to doxygen @param comments
2014-04-10 15:12:31 +02:00
Hauke Petersen
bfad408ce7
drivers: Initial import of low-level UART driver interface
...
Fixed spelling
drivers: remodeled low-level uart driver interface
- added blocking mode of operation
- added UNDEFINED device for compatibility
- changed baudrate type to uint32_t
drivers: added [in|out] to param documentation
2014-04-10 15:06:52 +02:00
Hauke Petersen
324481f1bb
Initial import of low-level timer driver interface
...
Fixed spelling
drivers: adjustments to low-level timer driver IF
drivers: added [in|out] to @param documentation
drivers: fixed doxygen for tim_t typedef
2014-04-10 14:56:04 +02:00
René Kijewski
300d6b3e35
Make: exterminate 'clean' buildtarget
...
Closes #993 .
We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.
This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Kévin Roussel
7475f0b1a5
Change year of file copyright
2014-04-09 10:43:34 +02:00
Kévin Roussel
4ed4cc51fb
Fixed implementation of channel_clear() function
2014-04-09 10:38:44 +02:00
Kévin Roussel
7fe9a8db39
Completed CC2420 constants documentation (DOxygen)
2014-04-03 15:52:53 +02:00
Kévin Roussel
6c40108c9c
Added standard way to query CCA status on CC2420 transceiver (squashed)
2014-04-02 17:56:07 +02:00
Martine Lenders
f9d8f1fc75
Merge pull request #798 from Kijewski/usemodule-includes
...
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Hauke Petersen
cfc9ef459d
drivers: small fixes for low-level pwm driver IF
...
- added UNDEFINED device for compatability
- adjusted meaning of return values for init and set functions
- overdue spell fix
2014-03-26 17:58:06 +01:00
Hauke Petersen
cd27639ee3
Fixed spelling
2014-03-26 16:58:55 +01:00
Hauke Petersen
e5a8945f03
Initial import of low-level PWM driver interface
2014-03-26 16:58:55 +01:00
Hauke Petersen
4d58a1e626
Fixed spelling errors
2014-03-26 15:49:04 +01:00
Hauke Petersen
d1093fccd9
Initial import of low-level GPIO driver interface
2014-03-26 15:49:04 +01:00
Kévin Roussel
0b4a1342c7
Fixed errors in addresses/PAN setting functions
2014-03-18 10:01:17 +01:00
Kévin Roussel
cf5f9e21de
Fixed an error in CC2420 register read function
2014-03-18 10:01:16 +01:00
Ludwig Ortmann
9b61d95545
make: don't ignore failures in for loops
...
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Martin Lenders
e11d5c80da
Disable debug output for at86rf231 driver
2014-03-09 08:53:37 +00:00
Oleg Hahm
1b9aadbd48
apply channel mask when setting the channel
2014-03-08 16:13:19 +00:00
Martin Lenders
03975ba003
Make at86rf231_switch_to_rx() public to use with transceiver
2014-02-25 16:03:43 +01:00
Oleg Hahm
8c305a0335
fixed includes for at86rf231
2014-02-24 16:15:23 +01:00
Martin Lenders
e125f97a41
Fix coding conventions in cc2420 driver
2014-02-24 16:15:19 +01:00
Martin Lenders
d51816d2e0
Fix cc2420 driver
2014-02-24 16:14:28 +01:00
Martin Lenders
f28054d844
Fix at86rf231 driver
2014-02-24 16:13:03 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
René Kijewski
4a12c91d95
Fix cc110x vs cc110x_ng problems
2014-02-15 12:48:11 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
4eeeb42c4b
remove hint at non-existent example
2014-02-11 19:02:44 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
41f7ab8c91
Merge pull request #646 from BytesGalore/fix_tranceiver_pid_for_cc110x_ng
...
fix to use only transceiver_pid from transceiver.c
2014-02-11 17:09:24 +01:00
Oleg Hahm
5fed1dc018
Merge pull request #653 from BytesGalore/fix_transceiver_pid_for_cc2420
...
fix to use only transceiver_pid from transceiver.c (cc2420)
2014-02-11 17:07:13 +01:00
Oleg Hahm
60afe059e4
Merge pull request #652 from BytesGalore/fix_transceiver_pid_for_at86rf231
...
fix to use only transceiver_pid from transceiver.c (at86rf231)
2014-02-11 17:05:11 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Martin
742b49eb47
fix made transceiver_pid extern for cc2420
2014-02-10 08:53:53 +01:00
Martin
6bd7576cda
fix made transceiver_pid extern for at86rf231
2014-02-10 08:47:55 +01:00
Martin
476a7d68dc
aligned comment on external thread_pid
2014-02-10 08:43:14 +01:00
Martin
f1a906b5e2
fix to use only transceiver_pid from transceiver.c
2014-02-10 08:34:01 +01:00
Ludwig Ortmann
04b94e0e9a
replace uint16_t with radio_address_t in cc2420
...
adpot includes
2014-02-07 18:56:04 +01:00
Ludwig Ortmann
170bfb8aa5
replace uint16_t with radio_address_t in at86rf231
...
adpot includes
2014-02-07 18:56:04 +01:00
Oleg Hahm
355f6610d5
Merge pull request #482 from OlegHahm/driver_includes
...
Driver includes
2014-02-07 17:21:45 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Hauke Petersen
db048999d5
Fixed spelling errors
2014-02-04 18:47:05 +01:00
Hauke Petersen
0bdbeba85e
Initial import of low-level driver doxygen groupdef
2014-02-03 19:50:01 +01:00
Ludwig Ortmann
a3ef45db51
remove native cruft from cc110x_ng Makefile
2014-02-01 14:31:58 +01:00
Martin Lenders
cc1cfcf166
Uncircumvent radio chip's status for IEEE 802.15.4 hardware
...
Currently the cc2420 and at86rf231 hardware addresses (IEEE 802.15.4
short and long) and frequency channel are read only from a global
variable in the driver. This global variable is only set when the
user sets the address/channel though both parameters might be preset
by the hardware. This change lets the driver read this parameters
directly from the hardware.
2014-01-24 13:15:35 +01:00
Martin Lenders
eeee32363e
Fix errors in at86RF231 driver
2014-01-24 13:15:35 +01:00
Christian Mehlis
331bc7e72c
cc1100-csmaca-mac.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
5e527d418f
cc1100_phy.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
2cdfc5b585
Merge pull request #382 from OlegHahm/transceiver_return
...
transceiver return signed values for sending
2013-12-18 09:33:32 -08:00
Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Oleg Hahm
b37b21c22c
use CC1100_NOBYTE consistently (fixing #129 )
2013-12-15 14:09:35 +01:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Ludwig Ortmann
c1ea408274
move struct timeval to msp430_types.h
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
3b2b02e99a
enable building chronos board
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
ea672a4537
make sht11 includes adhere to coding conventions
2013-11-14 15:08:32 +01:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
Christian Mehlis
634a784cd2
add rtc_time function in public header
2013-10-25 11:52:10 +02:00
Oleg Hahm
c142b40a5b
network stack related includes
2013-10-16 15:24:41 +02:00
Oleg Hahm
46deefe0f8
make Makefiles proof for spaces in $PATH
2013-10-09 15:28:53 +02:00
Martin Lenders
038e03ad3e
Enforce naming convention for ieee802154
2013-09-30 13:21:54 +02:00
Martin Lenders
e843727ed4
Relocate ieee802154_frame.h
2013-09-30 13:20:46 +02:00
Oleg Hahm
5fbf73cb96
Merge pull request #206 from OlegHahm/cc110x_casting
...
fixed casting of TCP flag in cc110x driver
2013-09-27 07:58:57 -07:00
Zakaria Kasmi
4fb64f8e91
revise error messages and fixed encoding
2013-09-26 23:54:45 +02:00
Zakaria Kasmi
9f2e7c80b8
check if reading the high and the low byte are failed.
2013-09-26 23:54:43 +02:00
Zakaria Kasmi
e49318e856
SRF08 driver, new handling of failed sensor initialization.
2013-09-26 23:54:34 +02:00
Zakaria Kasmi
c7d35903e1
SRF02 driver, new handling of failed sensor initialization.
2013-09-26 23:47:49 +02:00
Zakaria Kasmi
f61785de06
LM75A driver, new handling of failed sensor initialization.
2013-09-26 23:47:49 +02:00
Zakaria Kasmi
11b34f0f0b
SRF08 driver, ranging function supports various modes.
2013-09-26 23:47:49 +02:00
Zakaria Kasmi
af48f588c9
SRF08 driver, updated rangig function getting the number of echos
2013-09-26 23:47:49 +02:00
Zakaria Kasmi
6d3a56420e
SRF08 driver, new functionality + changes.
2013-09-26 23:47:49 +02:00
Zakaria Kasmi
8e7b9cd7dd
SRF02 driver, new functionality.
2013-09-26 23:47:48 +02:00
Zakaria Kasmi
3f539ee104
Updated Makfile for the LM75A Driver
2013-09-26 23:47:48 +02:00
Zakaria Kasmi
71cab78275
Driver for the LM75A Digital temperature sensor and thermal watchdog
2013-09-26 23:47:48 +02:00
Zakaria Kasmi
4f4501f09d
small changes + coding conventions + updated files descriptions.
2013-09-26 23:47:46 +02:00
Zakaria Kasmi
2c3fce7212
Driver for the SRF08 Ultrasonic Ranger
2013-09-26 23:47:24 +02:00
Zakaria Kasmi
7084bcad22
Driver for the SRF02 Ultrasonic Ranger
2013-09-26 23:47:24 +02:00
Oleg Hahm
d937e59a91
added missing includes in cc110x_ng files
2013-09-19 12:29:57 +02:00
Oleg Hahm
3e75b3828b
fixed casting of TCP flag in cc110x driver
2013-09-17 19:52:36 +02:00
Oleg Hahm
2bfdd1fed0
added missing initialization for cc2420 abort counter
2013-08-27 00:02:35 +02:00
Oleg Hahm
b3a9b8e6ea
use debug instead of printf
2013-08-27 00:02:35 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
87f47513fb
astyle coding convention fixes
2013-08-15 19:13:00 +02:00
Alaeddine WESLATI
c8d5685b02
bugfixes related to size and buffers
2013-08-12 15:17:22 +02:00
Alaeddine WESLATI
11bb09b7f8
started adding at86rf231 driver
...
at86rf231 TX and RX
driver is using vtimer instead of hwtimer_ functions, TO CHECK
vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Oleg Hahm
39a4dc684e
fixes for #62 : eliminate unused parameter warnings
...
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
22c668529d
Merge branch 'oleg-master' into mymaster
...
Conflicts:
cpu/Makefile.include
cpu/arm_common/arm_cpu.c
2013-07-29 01:36:24 +02:00
Oleg Hahm
f7ecc704a4
fixed includes and include pathes
2013-07-29 01:24:02 +02:00
Oleg Hahm
19e4034ace
Merge branch 'thomas-mc1322x'
...
Conflicts:
Makefile.modules
core/kernel_init.c
core/thread.c
cpu/arm_common/arm_cpu.c
cpu/arm_common/syscalls.c
cpu/lpc_common/hwtimer_cpu.c
cpu/lpc_common/iap.c
sys/include/transceiver.h
sys/net/sixlowpan/sixlowip.c
sys/net/sixlowpan/sixlowmac.c
sys/net/sixlowpan/sixlowmac.h
sys/net/sixlowpan/sixlowpan.c
sys/transceiver/Makefile
sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Thomas Eichinger
4bc89bd458
added fixes for compilation for mc1322x
2013-07-24 15:50:16 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +02:00
Oliver Hahm
bf85e4902c
Merge branch 'rpl' of ssh://ukleos.org:2222/home/git/ukleos
...
Conflicts:
board/msba2-common/tools/src/control_2xxx.c
drivers/cc110x/cc1100-interface.h
projects/test_rpl/main.c
sys/include/vtimer.h
sys/net/sixlowpan/rpl/Jamfile
sys/net/sixlowpan/rpl/objective_functions.c
sys/net/sixlowpan/rpl/objective_functions.h
sys/net/sixlowpan/rpl/of0.c
sys/net/sixlowpan/rpl/of0.h
sys/net/sixlowpan/rpl/rpl.c
sys/net/sixlowpan/rpl/rpl_dodag.c
sys/net/sixlowpan/rpl/rpl_structs.h
sys/net/sixlowpan/rpl/trickle.c
sys/net/sixlowpan/sixlowmac.c
sys/vtimer/vtimer.c
2013-06-28 17:53:21 +02:00
Oliver Hahm
57cc002c67
Merge branch 'wsn430'
...
Conflicts:
core/include/queue.h
core/queue.c
cpu/msp430-common/hwtimer_cpu.c
cpu/msp430x16x/hwtimer_msp430.c
sys/lib/hashtable.c
sys/net/ieee802154/ieee802154_frame.c
sys/shell/commands/sc_cc110x_ng.c
sys/transceiver/transceiver.c
sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
d01fd9a508
final coding convention fixes
2013-06-22 17:58:19 +02:00
Oliver Hahm
e2130fbd47
coding conventions for drivers
2013-06-21 22:36:48 +02:00
Christian Mehlis
3ab669578c
do includes the right way (for riot includes)
2013-06-14 20:33:28 +02:00
Oliver Hahm
fdd1d21e8d
Merge branch 'master' into wsn430
2013-06-14 19:41:23 +02:00
Christian Mehlis
9a3c0ab6ec
add missing &
2013-06-13 10:54:22 +02:00
Christian Mehlis
4d8783e023
use out parameter for vtimer_now
2013-06-13 10:23:47 +02:00
Milan Babel
df13d9e0fc
Merge branch 'master' of github.com:overflowed/RIOT
...
Conflicts:
drivers/cc110x_ng/Makefile
2013-06-06 08:41:30 +02:00
Milan Babel
db1fc96ffe
added driver for cc2420
...
also added cc2420 to transceiver and added cc2420 shell commands
2013-06-06 08:35:17 +02:00
Milan Babel
edb34b73c0
fixes for the wsn430
...
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
2013-06-06 08:35:17 +02:00
Ludwig Ortmann
f669f9a05b
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
Makefile.dep
2013-04-08 17:43:39 +02:00
Oliver Hahm
3265910761
* renamed some struct members in cc110x driver to avoid naming conflicts with stm32f4discovery
2013-03-23 18:57:12 +01:00
Ludwig Ortmann
671cb6560f
native cc110x_ng placebo
2013-03-21 17:08:41 +01:00
Benjamin Valentin
4d73d17662
add Makefiles to sys/net
2013-03-16 17:27:27 +01:00
Stephan Arndt
adfc3306ab
WARNING: BROKEN COMMIT added not working etx_beaconing into rpl, added small vtimer debug changes, changed cc1100 default mode
2013-03-15 17:48:13 +01:00
Ludwig Ortmann
175300e58c
add native cpu doxygen documentation,
...
also fix and improve some of the existing
2013-03-13 21:56:56 +01:00
Oliver Hahm
0d06e1bc18
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
2013-03-09 23:45:56 +01:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
Oleg Hahm
2277b366b2
* removed outdated occurrences of (u|µ)kleos and FeuerWare
2013-03-07 20:51:26 +01:00
Oleg Hahm
d31ee82518
* removed legacy projects folder and Jamfiles
2013-02-27 19:08:16 +01:00
Oliver Hahm
9df46b3507
* fixed makefiles for msb-430h support
2013-02-15 22:17:42 +01:00
Oleg Hahm
0f5dcdae98
* fixed double cc110x_ng entry in drivers makefile
...
* tidied up sys directory
2013-02-08 19:10:33 +01:00
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
92281753ad
Merge branch 'stable'
...
Conflicts:
core/sched.c
sys/auto_init.c
2012-11-05 19:15:57 -05:00
Oliver Hahm
62635e20a9
[drivers cc110x]
...
* fixed typos
2012-11-05 16:06:46 -05:00
Oliver Hahm
a5238784ae
[drivers cc110x cc1100-interface]
...
* setting default radio mode to permanent RX
2012-11-05 14:56:50 -05:00
Oliver Hahm
e0deea2d78
[driver cc110x cc1100_phy]
...
* added a todo regarding WOR problem with non-full packets
2012-11-05 14:17:00 -05:00
Oliver Hahm
db9f6b3fcf
[board msba2-common tools pseudoterm]
...
* comments for preparing pseudoterm to use with node without DTR line
[drivers cc110x]
* changed default behavior to WOR mode
* fixed a bug that let CC1100 never return to WOR mode, when receiving a
packet during sending
2012-08-01 17:00:48 +02:00
Oliver Hahm
30fc52452c
[drivers cc110x]
...
* switched from swtimer to vtimer in Jamfile
2012-03-06 21:15:51 +01:00
Eric Engel
6dbec3b0ae
various changes
2012-03-02 20:22:22 +01:00
Oliver Hahm
f978260656
[drivers cc110x] [sys shell] [sys transceiver]
...
* cretaed transceiver interface for old cc1100 driver (with csma/ca)
2012-03-01 22:12:25 +01:00
Oliver Hahm
802e9edf91
Merge branch 'master' of ssh://ukleos/home/git/ukleos
2012-02-16 22:15:24 +01:00
Oliver Hahm
b051659d71
[drivers adc]
...
* added lpc2387 adc driver and generic interface
2012-02-16 22:14:47 +01:00
Oliver Hahm
0d6d3e2c43
[board msba2-common] [sys chardev_thread] [sys shell] [driver cc110x_ng] [core msg]
...
* some cosmetics and cleanups
2012-02-16 21:33:41 +01:00
Oliver
c94c03879e
[drivers cc110x_ng]
...
- fixed DBG_IGNORE bugs
[sys net destiny]
- fixed a bug where UDP sockets were not closed correctly
2012-02-09 01:20:49 +01:00
Oliver Hahm
461fac8698
[cc110x_ng transceiver]
...
* added a ignore function for debugging purposes
2012-02-08 17:14:50 +01:00
Oliver Hahm
c3d24e2057
core/
2011-12-28 11:37:05 +01:00
Oliver Hahm
7b1b145b4f
[cpu lpc2387]
...
* added mci driver
[sys shell]
* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
430bad0d69
[drivers cc110x]
...
* fixed cc110x driver (some references where broken due to renaming of spi functions from cc1100_* to cc110x_*
2011-04-06 11:09:29 +02:00
Oliver Hahm
96206b10a1
Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos
2011-03-25 11:42:33 +01:00
Oliver Hahm
bc23a41a30
* some changes to chronos (not yet finished)
2011-03-18 15:59:50 +01:00
Stephan Zeisberg
5abef6daf2
changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t"
2011-03-08 11:43:21 +01:00
Stephan Zeisberg
cbc40ce3e2
Merge branch 'master' of ssh://ukleos.org/home/git/ukleos
2011-03-08 10:55:46 +01:00
Stephan Zeisberg
6a96de0d2f
changed msg to msg_t
2011-03-08 10:54:40 +01:00
Oliver Hahm
3622d83ea9
[board msba2]
...
* fixed header guards
[drivers ltc4150]
* added joule conversion
2011-03-04 16:46:20 +01:00
Oliver Hahm
4533726214
* introduced energy profiling (yet in a very early state)
2011-01-31 18:25:20 +01:00
9e58c8bcb7
*watch: chronos watch application initial checkin
2010-12-16 18:21:24 +01:00
Oliver Hahm
d499b5d2c8
[cpu/cc430/ drivers/gpioint]
...
* refactored port interrupt handling
2010-12-15 15:48:50 +01:00
Oliver Hahm
ddcbd10a03
[RTC]
...
* added a general RTC header
* added RTC support to chronos
2010-12-13 01:29:46 +01:00
Oliver Hahm
c083928983
[board/chronos/drivers/display]
...
* cleaned up code and documentation
[drivers/cc110x_ng]
* fixed include pathes
2010-12-11 13:38:04 +01:00
Oliver Hahm
8f63b18b9f
[drivers/cc110x_ng]
...
* moved all headers to include subfolder
2010-12-11 12:24:06 +01:00
Oliver Hahm
6be1cf2a76
[board/chronos board/msb-430h board/msba2-common drivers/cc110x_ng sys/shell
...
sys/transceiver]
* renamed all occurrences of cc1100 to cc110x as in fact all driver parts should
work for cc1100 and cc110x as well
[driver/cc110x_ng]
* added some documentation
* introduced a new register function to access rxfifo (fixing the of-by-one
problem on chronos platform
2010-12-11 12:09:20 +01:00
Oliver Hahm
ec6a794143
[cc110x_ng]
...
* fuxed transceiver driver for chronos
* some more stuff
2010-12-10 18:00:31 +01:00
Oliver Hahm
830f17246c
[Chronos]
...
* changed display driver interface from uint8_t* to char*
* fixed hardware timer interrupt
* ported cc1100 driver
* added simple test application for radio
[msb430]
* fixex config and flashrom
[cc110x_ng]
* removed dependency from sysconfig
2010-12-09 13:24:24 +01:00
86a70393b4
* misc merge fixes
2010-12-06 17:15:00 +01:00
Oliver Hahm
e7372b21a9
[board config]
...
* made config optional
2010-12-06 13:19:31 +01:00
Oliver Hahm
2a1a10bd74
[board/eZ430-Chronos board/msba2 drivers/cc110x_ng]
...
* restructured interface functions for cc1100 access
2010-12-06 12:05:03 +01:00
Oliver Hahm
e1b3dcf40d
[drivers/cc110x_ng]
...
* added register interface (it is now possible to communicate with cc1100 via SPI (e.g. on MSB boards) or directly via registers like on eZ430-Chronos
2010-12-06 11:22:15 +01:00
Oliver Hahm
1eec8e170e
* introduced flashrom driver for msb430
...
* restructured some files concerning flashrom access
* added some ifdefs to shell commands
2010-12-03 22:22:58 +01:00
Oliver Hahm
fb1cb91c75
[board/msp-430-common board/msba2 core/]
...
* introduced dummy function for msp-430 config-save
* moved sysconfig from board to core
[sys/transceiver cpu/]
* moved some buffer size defines to cpu dependent parts
* some cleanups
2010-12-03 18:42:03 +01:00
Oliver Hahm
4a2c58bbba
[drivers/cc110x_ng sys/transceiver]
...
* updated interface to switch transceiver off and back to rx mode
* removed some debugging stuff
2010-12-02 15:38:28 +01:00
Oliver Hahm
69a7fb1d76
* modified cc110x_ng driver to use sysconfig
2010-12-01 17:07:05 +01:00
Oliver Hahm
b522722ec6
[sys/transceiver projects/test_cc110x_ng]
...
' fixed buffer management
' introduced a message queue
2010-11-27 19:27:05 +01:00
Oliver Hahm
f5ab5c27bb
[drivers/cc1100_ng sys/transceiver]
...
' added a monitor mode
[sys/shell projects/test_cc1100_ng]
' moved shell commands to get/set channel and address and sending a packet from
userapp to default shell command set
2010-11-27 10:50:18 +01:00
Oliver Hahm
e6752c739b
[drivers/cc110x_ng projects/test_cc110x_ng sys/transceiver]
...
* fixed length handling
* more sophisticated sending function in userapp
2010-11-26 17:06:54 +01:00
Oliver Hahm
29cb64a37e
* NOTE: simple packet exchange using cc110x_ng seems to work now
...
* added TX functions to cc110x_ng driver and transceiver module
* split up cc1100_ng functions to more files
* added address asignment and request functions to driver and transceiver module
2010-11-26 10:23:46 +01:00
Oliver Hahm
d378ee1930
* added getter and setter for the channel to transceiver
...
* receiving now seems to work...
2010-11-24 21:45:38 +01:00
Oliver Hahm
7b344c37c1
* see diff ;)
2010-11-24 14:23:32 +01:00
Oliver Hahm
4ebfaefce1
* additionally debug for transceiver receiving functions
...
* added set_channel function to cc110x_ng
2010-11-24 13:47:31 +01:00
Oliver Hahm
d950fbcf81
* CC1100_NG still not working!
...
* added some debugging stuff
* changed cc1100_ng <-> transceiver msg api
* revised test application
2010-11-24 11:20:27 +01:00
Oliver Hahm
8d5a4890e4
* revised buffer and messaging management of transceiver
...
* renamed cc1100_ng header
2010-11-23 11:37:13 +01:00
Oliver Hahm
d98545f378
* changed buffer format for cc110x_ng and transceiver
...
* added some documentation
* added support for more than one transceiver
2010-11-21 14:00:24 +01:00
Oliver Hahm
6a08a47902
* missing driver files from last commit
2010-11-19 20:12:35 +01:00
Oliver Hahm
2b498020b1
* introduced a prelimary version for the new cc1100 driver
2010-11-18 20:04:38 +01:00
Oliver Hahm
63117ed5a4
* fixed some includes
2010-11-10 16:09:29 +01:00
Oliver Hahm
37eb17417f
Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos
2010-11-09 18:49:25 +01:00
Oliver Hahm
75c0962363
* added get_interval function to ltc4150
...
* fixed date command (problem with leading zeros)
2010-11-09 18:48:45 +01:00
b1c61e446f
* misc fixes
2010-11-09 16:59:55 +01:00
Oleg
ac6d4788eb
* added ltc4150 shell command
...
* cosmetics in ltc4150 driver
2010-11-05 23:43:14 +01:00
Oleg
ec467aea80
* added global offset to temperature
2010-11-05 22:04:11 +01:00
Oliver Hahm
3b218ec24a
* changed API for rtc
...
* added drivers directory to doxygen file
* added missing include to sht11 header
* added rtc and sht11 support to default project
* added rtc to auto_init
* added rtc and sht11 support to shell
2010-11-04 18:16:39 +01:00
67f72d43ee
Merge branch 'master' of ssh://ukleos.org/home/git/ukleos
2010-11-04 16:48:14 +01:00
eff0b1980f
* API CHANGE! changed thread_create so it allocates tcb on stack, removing first argument
2010-11-04 16:47:24 +01:00
Oliver Hahm
d1bff5cb3d
Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos
2010-11-04 16:23:11 +01:00
dd45a471f6
* added prio definition
2010-11-04 14:24:06 +01:00
Oliver Hahm
6198c924e4
* decreased timing for sht11 (as fix for hwtimer_wait issue)
2010-11-04 13:59:57 +01:00
Oliver Hahm
cec06f6b83
* resolved conflict
2010-11-01 17:42:35 +01:00
Oliver Hahm
51e7277473
* removed old reference to clock module from rtc
...
* added documentation for sht11 and swtimer
Conflicts:
drivers/include/sht11.h
2010-11-01 17:38:03 +01:00
Oliver Hahm
f38f32f6cc
* added support for sht11 for msb-430-common
...
* fixed some jamfile isssues for msb-430
* fixed arch32 detection for scheduler
* changed sht11 driver to be platform independent
2010-10-29 17:32:03 +02:00
Oliver Hahm
fb4069078b
* removed old reference to clock module from rtc
...
* added documentation for sht11 and swtimer
2010-10-28 15:28:34 +02:00
1e238e4131
* massive name changes
2010-10-28 11:29:03 +02:00
f945b72067
* API CHANGE: thread_create no longer uses malloc
2010-10-25 15:40:01 +02:00
599aef2c2e
* fix permission bits
2010-09-22 15:12:17 +02:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00