Thomas Eichinger
467b255c03
drivers/at86rf2xx: code size optimizations
...
These changes try to reduce code size of the at86rf2xx
driver by reducing code duplication and simplification.
2017-01-19 08:04:08 -08:00
Martine Lenders
7599a81fd6
Merge pull request #6314 from haukepetersen/add_uuid
...
sys: add uuid module for central ID/addr generation
2017-01-19 14:12:09 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Peter Kietzmann
b92ce8ae2a
Merge pull request #6369 from OlegHahm/at86rf2xx_rssi_base_value
...
at86rf2xx: different types have RSSI base values
2017-01-19 11:44:41 +01:00
Hauke Petersen
88636b6919
drivers/cc2420: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
84246d1687
drivers/cc110x: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
4105011867
drivers/enc28j60: used uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
81e8afd19e
drivers/at86rf2xx: use uuid module for addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
8624456efe
drivers/w5100: use uuid_get() for HW addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
55c4477038
periph/pm: minor doc clarification
2017-01-19 11:07:59 +01:00
Peter Kietzmann
616d35e96f
Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
...
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
Oleg Hahm
c04c5cb9f9
at86rf2xx: different types have RSSI base values
2017-01-18 23:20:21 +01:00
Oleg Hahm
80d3176499
Merge pull request #6355 from OlegHahm/at86rf2xx_ext_nocca
...
at86rf2xx: remove CCA check
2017-01-18 23:13:57 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Hauke Petersen
c95abbe45a
drivers/lsm303dlhc: added default params.h file
2017-01-18 15:34:29 +01:00
Hauke Petersen
e53c4ed515
drivers/lps331ap: added default params.h file
2017-01-18 15:34:02 +01:00
Hauke Petersen
4c505d5270
drivers/l3g4200d: added default params.h file
2017-01-18 15:33:39 +01:00
Hauke Petersen
81d27683c2
drivers/isl29020: added default params.h file
2017-01-18 15:33:20 +01:00
Hauke Petersen
c37de8de4c
drivers/lis3dh: added default params.h file
2017-01-18 15:32:57 +01:00
Hauke Petersen
cf507c4f07
drivers/mma8x5x: remodeld driver
...
- renambed to mma8x5x to reflect the versatility
- cleaned up the interface
- fixed value computation for non 12-bit devices of the family
- added default configuration with mma8x5x_params.h
2017-01-18 10:51:15 +01:00
Hauke Petersen
3f259eaaf9
drivers/pwm: removed deprecated PWM_x defines
2017-01-18 10:11:50 +01:00
Peter Kietzmann
322de6627f
Merge pull request #6373 from miri64/cc110x/fix/proto-only-for-gnrc_netif
...
cc110x: only handle NETOPT_PROTO if gnrc_netif module is present
2017-01-18 10:04:24 +01:00
Peter Kietzmann
6ac2ec1b83
Merge pull request #6385 from haukepetersen/opt_drivers_saulconfigmove
...
drivers: move SAUL config to _params.h + minor fixes
2017-01-18 09:01:52 +01:00
Peter Kietzmann
7c252eddae
Merge pull request #4642 from haukepetersen/opt_hdc1000
...
drivers/hdc1000: remodeled driver + SAUL integration
2017-01-17 16:02:03 +01:00
Hauke Petersen
5f30c7a593
drivers/si70xx: check connection during init()
2017-01-17 11:48:41 +01:00
Hauke Petersen
9ad5d48065
drivers/si70xx: move SAUL config to params.h
2017-01-17 11:35:24 +01:00
Hauke Petersen
13942225eb
drivers/jc42: move SAUL config to params.h
2017-01-17 11:34:55 +01:00
Hauke Petersen
232b8eb2a5
drivers/bmp180: move SAUL config to params.h
2017-01-17 11:34:16 +01:00
Hauke Petersen
976cf30281
drivers/hdc1000: remodeled driver
...
- cleaned up interface
- made read functions return phyical values
- made resolution configurable at initialization time
- added default parameter configuration file
- added SAUL support for the driver
2017-01-17 10:48:22 +01:00
Martine Lenders
456ae68fbe
Merge pull request #6340 from gebart/pr/warn-fixes
...
sys+cpu: Some warning fixes
2017-01-16 17:18:29 +01:00
Hauke Petersen
296ca11a23
drivers/periph: removed GPIO from dev_enums.h
2017-01-16 09:31:24 +01:00
Joakim Nohlgård
a08a70a3fa
drivers/at86rf2xx: Fix -Wsign-compare warning, add missing parentheses
2017-01-16 08:55:08 +01:00
Martine Lenders
7f7f08bf50
cc110x: only handle NETOPT_PROTO if gnrc_netif module is present
...
The cc110x_t::proto field is only present when the `gnrc_netif` module
is present. Handling its corresponding `NETOPT_PROTO` value leads to a
compile error when trying to compile without GNRC.
2017-01-15 20:36:53 +01:00
Oleg Hahm
3999d08f8c
Merge pull request #6363 from LudwigKnuepfer/pr/fix-pn532-doxygengroup
...
doc: drivers/pn532: add missing ingroup
2017-01-15 15:54:34 +01:00
03d0f138b4
drivers/jc42 fix temperature parameter signedness
2017-01-15 13:10:37 +01:00
ad874fb694
drivers/jc42: Add i2c periph requirement
2017-01-15 13:10:37 +01:00
9a55556644
Removes not needed includes
2017-01-15 13:10:37 +01:00
3545073f49
drivers/jc42: More formatting fixes
2017-01-15 13:10:37 +01:00
01092dd7ca
drivers/jc42 Minor formatting
2017-01-15 13:10:36 +01:00
0f22e13ccb
drivers/jc42: Add JEDEC JC42.4 temperature sensors
...
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Ludwig Knüpfer
ced11d5744
doc: drivers/pn532: add missing ingroup
2017-01-14 19:49:26 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Oleg Hahm
7068869b42
at86rf2xx: remove CCA check
...
Rationale: the datasheet states that "It is not recommended to manually
initiate an CCA measurement when using the Extended Operating Mode."
Since the driver for now only supports the extended operating mode, it
should not provide this feature.
2017-01-14 11:27:09 +01:00
Peter Kietzmann
9d44d6b09e
Merge pull request #5573 from lebrush/pn532
...
Implementation of PN532 NFC reader
2017-01-14 10:21:25 +01:00
Peter Kietzmann
4f02c4d9c4
Merge pull request #6284 from aabadie/fix_si70xx_saul
...
drivers/si70xx: fix saul auto initialization
2017-01-13 16:21:52 +01:00
Victor Arino
d8d8d55e72
drivers/pn532: add NFC reader PN532 driver
2017-01-13 14:47:19 +01:00
Hauke Petersen
6270283033
Merge pull request #6160 from kaspar030/introduce_new_power_management
...
Introduce new power management
2017-01-12 17:31:49 +01:00
Peter Kietzmann
96817f406f
Merge pull request #6322 from aabadie/bmp180_cleanup
...
drivers/bmp180: saul driver cleanup
2017-01-12 14:54:12 +01:00
6150e2753a
drivers: periph: pm: introduce new power management API
2017-01-12 11:24:15 +01:00
Francisco Acosta
b05d0b2748
Merge pull request #5870 from PeterKietzmann/boards_z1_driver_init
...
drivers/cc2420: improve z1 init and send routine
2017-01-11 15:17:26 +01:00
47b83b7412
drivers/bmp180: saul driver cleanup
2017-01-11 09:24:40 +01:00
48ea21447b
drivers/si70xx: fix saul auto initialization
2017-01-11 09:14:28 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Francisco Acosta
865d4c0e87
Merge pull request #6235 from haukepetersen/opt_driver_xbee
...
drivers/xbee: ported to netdev2
2017-01-10 14:31:01 +01:00
Hauke Petersen
36317c56f3
cpu/nrf51: ported nrmin radio driver to netdev2
2017-01-10 11:54:16 +01:00
Hauke Petersen
83d206e2b0
drivers/xbee: adapted to netdev2
2017-01-10 11:47:31 +01:00
Hauke Petersen
47f245a13d
drivers/at86rf2xx: fix buffer-less SPI transfer
2017-01-09 17:47:37 +01:00
Hauke Petersen
ae1bf7e493
Merge pull request #6200 from kaspar030/refactor_synchronous_uart
...
sys: refactor synchronous uart
2016-12-19 09:44:40 +01:00
Francisco Acosta
22322214c5
Merge pull request #6193 from aabadie/bmp180_saul
...
drivers/bmp180: move bmp180 driver to saul auto init using the correct way
2016-12-16 17:05:39 +01:00
26835f4f2c
drivers/bmp180: move bmp180 to saul auto init the correct way
2016-12-16 15:24:34 +01:00
9dea130a9e
drivers: ethos: make use of isrpipe module
2016-12-16 09:48:09 +01:00
Hauke Petersen
6ab089e63e
drivers/pwm: remove PWM_NUMOF guard
...
as we do not build the periph drivers selectable currently,
the guard is triggered even for boards that do not have any
PWM defined and don't want to use it...
2016-12-15 12:18:39 +01:00
Hauke Petersen
41f453066c
drivers: added interface for writing flash pages
2016-11-30 16:51:09 +01:00
Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
PeterKietzmann
6d4011a325
drivers/cc2420:improve send performance
2016-11-29 09:03:23 +01:00
Joakim Nohlgård
63e91151cd
xtimer: Add tick conversion
2016-11-28 11:00:42 +01:00
Martine Lenders
32c19d63e3
netdev2: make doc for driver more precise
...
When working on #6121 I noticed that the documentation of the `netdev2`
driver part is not really precise. This fixes that.
2016-11-22 14:57:26 +01:00
Peter Kietzmann
9c7d9eb06f
Merge pull request #6141 from haukepetersen/opt_bh1750fvi_namedreturnvalues
...
drivers/bh1750fvi: added names to return values
2016-11-21 08:23:24 +01:00
Peter Kietzmann
711415360f
Merge pull request #5433 from OTAkeys/pr/mma8x5x
...
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
Hauke Petersen
40116c7c66
drivers/bh1750fvi: added names to return values
2016-11-17 22:57:56 +01:00
Hauke Petersen
efb7e8a3ba
drivers/w5100: set src addr to known state
2016-11-16 17:46:04 +01:00
Vincent Dupont
b9b838f1dc
mma8652: add support for all mma8x5x accelerometers
2016-11-16 14:14:07 +01:00
Hauke Petersen
bf9f1268f2
drivers/w5100: adapted to netdev2 API changes
2016-11-16 09:50:36 +01:00
Thomas Eichinger
103c426cdc
drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception
...
First start calculating the CRC in hardware when receiving a frame.
Then, other than the at86rf2xx transceivers the cc2420 don't consider the
CRC_OK flag when reporting a successful packet reception. This change
introduces a check for this bit and drops the packet else by flushing
the RX FIFO.
2016-11-08 23:28:09 -08:00
Thomas Eichinger
b57ce103a3
drivers/cc2420: adapt FIFO access to recent msp430 SPI changes
...
When redoing the SPI driver for the msp430 platforms an assert
statement was introduced to prohibit SPI access without any
buffers. Since in the existing code the FIFO pointer is incremented
through a dummy read this results in triggering aforementioned
assert.
2016-11-07 11:09:45 -08:00
Thomas Eichinger
66db33b662
drivers/at86rf2xx: prevent a possible race condition after state change
...
It was pointed out that after a state change to RX_AACK_ON reading back
the state to confirm the transition can fail due to an imidiate change
into BUSY_RX_AACK between the successful change on the transceiver and
querying the state.
For this we exclude the readback of the state for transitions to
RX_AACK_ON.
2016-11-04 09:52:35 -07:00
Thomas Eichinger
4ebbda844c
drivers/at86rf2xx: improve precondition checks on state transition
...
The rational behind this change is the following:
If the transceiver is in any *_BUSY state when `at86rf2xx_set_state()`
gets called this would bypass the `(state == old_state)` check and
unneeded state transitions could be triggered.
2016-11-01 07:16:19 -07:00
Hauke Petersen
52fdf4c886
drivers/xbee: use named UART return values
2016-10-28 10:32:00 +02:00
Hauke Petersen
314549059c
periph/uart: added names for return values
2016-10-28 10:31:59 +02:00
Martine Lenders
9e97b0a028
Merge pull request #5977 from miri64/ieee802154/enh/centralize-default-values
...
ieee802154: centralize default values
2016-10-26 16:39:44 +02:00
Martine Lenders
eb4ec4b35f
Merge pull request #5961 from yschroeder/pullreq/at86rf2xx_compile_fix
...
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-26 15:59:59 +02:00
Martine Lenders
20e1fce5b7
ieee802154: centralize default values
2016-10-26 15:32:12 +02:00
Hauke Petersen
d7dbac7c61
drivers: added driver for W5100 Ethernet chips
2016-10-26 08:36:58 +02:00
Hauke Petersen
a3d1b5f839
drivers: added driver for LPD8808 LED strips
2016-10-25 18:32:52 +02:00
smlng
68c30b30e5
at86rf2xx: move netstat increment after possible error return
2016-10-21 21:57:32 +02:00
Yannic Schröder
c7d73e24c1
at86rf2xx: fix warnings when building with -Wextra -pedantic
2016-10-18 10:21:54 +02:00
Hauke Petersen
08610ee84f
drivers/periph_common: added spi_transfer_byte()
2016-10-17 16:58:26 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Martine Lenders
15c4ceae04
netdev2_ieee802154: cleanup flag definitions
2016-09-30 13:09:27 +02:00
Martine Lenders
9f29e56020
netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag
2016-09-30 13:09:26 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
smlng
fc9e1d9024
kw2xrf: set tx_power in gnrc_netdev_t
...
without this patch, tx_power is directly set on the device but not in
gnrc_netdev_t. Thus, calling ifconfig in shell shows tx_power always
at 0dBm, never showing the correct, current value. Additionally, it
verifies that given tx_power to be set is in valid range.
2016-09-16 10:52:53 +02:00
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Martine Lenders
5552b92023
Merge pull request #5831 from mali/timer
...
drivers/timer: fix copy/paste error
2016-09-08 22:22:38 +02:00
Laurent Navet
f30c4ade2c
drivers/timer: fix copy/paste error
2016-09-07 21:59:25 +02:00
Martine Lenders
e04933b2b5
Merge pull request #5808 from makomi/dht
...
drivers/dht: fix variableScope (cppcheck)
2016-09-05 09:53:06 +02:00
Matthias Kolja Miehl
3733bb7c14
drivers/dht: fix variableScope
2016-09-05 02:15:51 +02:00
Martine Lenders
0b59372eb0
at86rf2xx: document operation mode concerns for
2016-09-02 22:48:47 +02:00
3aa1ffb5fb
drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init
2016-09-02 10:42:09 +02:00
Mathias Tausig
48083a7c10
at86rf2xx: Add at86rf2xx_get_random to at86rf2xx_internal
...
Works for at86rf233 and at86rf231 chips
2016-09-02 09:54:39 +02:00
Matthias Kolja Miehl
75ab341089
drivers: mag3110: fix typo in header description
2016-08-20 02:28:09 +02:00
Martine Lenders
cf11a0dab7
Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
...
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
Martine Lenders
e710164f09
netdev2: function parameter type changes
...
`len` and `count` are both values that should never go `< 0`, so instead of
having to test this (in theory) every time the function is called (regardless
of by assert or if its unnecessary code), I propose to change it to `size_t`.
As a bonus I made the type of recv's buf parameter generic - no reason for it to
be a char and it might lead to unnecessary static casting requirements
2016-08-03 09:51:18 +02:00
Joakim Nohlgård
bc9e5b218b
periph/gpio: Clean up Doxygen text
2016-07-30 08:06:19 +02:00
Johann Fischer
14f0d1ce89
netopt.h: add new options to set the CCA and test modes
...
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
20cb96f4df
drivers: add dependency to xtimer to bmp180
2016-07-25 15:32:09 +02:00
847e6c6494
drivers/bmp180: add a delay before accessing calibration registers
2016-07-25 15:30:39 +02:00
d3fb1d9883
drivers/bmp180: implementation cleanup
2016-07-25 11:52:15 +02:00
Bas Stottelaar
0902ccb2e0
drivers: si70xx: adapt for SAUL
2016-07-22 18:22:13 +02:00
c239ec351a
Merge pull request #5666 from aabadie/bmp180_deps
...
drivers/bmp180: add dependency to periph_i2c
2016-07-22 09:47:28 +02:00
144ab431e7
drivers/bmp180: add dependency to periph_i2c
2016-07-20 10:47:05 +02:00
Bas Stottelaar
bcd73105bd
drivers: l3g4200d: fix saul doxygen group
2016-07-19 23:50:04 +02:00
kYc0o
91410f5259
Merge pull request #5626 from aabadie/default_channel
...
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Oleg Hahm
29fd3a1098
Merge pull request #5641 from lebrush/encx24j600-fixes
...
drivers/encx24j600: minor fixes
2016-07-18 08:38:28 +02:00
271cbc26b8
drivers/cc2420 & cpu/cc2538: adding support for default channel configuration
2016-07-14 17:50:50 +02:00
87ca058417
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-14 17:44:42 +02:00
75168936f6
drivers/cc110x: fix typo in macro definition.
2016-07-14 17:22:03 +02:00
Victor Arino
50eee7fa8a
drivers/encx24j600: minor fixes
2016-07-14 16:44:39 +02:00
f0640ee4d8
Update lsm303dlhc.c
2016-07-13 11:30:42 +02:00
Joakim Nohlgård
4798cd66d9
drivers/nvram: Add const to write source buffer declaration
2016-07-12 08:03:16 +02:00
kYc0o
374f4a1981
drivers/include: add cc2420 doxygen doc
2016-07-06 20:23:23 +02:00
kYc0o
62d8b9a268
drivers/cc2420: factorise/reorganise overall code
2016-07-06 20:23:23 +02:00
Hauke Petersen
abc6b5ccdf
drivers: added support for CC2420 radio
2016-07-06 18:14:48 +02:00
Michel Rottleuthner
822007fa67
drivers/dht: fix fake parsing error with DHT22
2016-07-05 15:10:49 +02:00
Andreas "Paul" Pauli
87cb266a1b
Merge pull request #5437 from miri64/doc/enh/netdev-rx-fig
...
doc: add operational flow figure for netdev
2016-06-16 19:33:37 +02:00
Martine Lenders
af2e169db1
netdev2: doc: update doc text for operational flow figure
2016-06-15 23:26:23 +02:00
Laurent Navet
96ebff9174
drivers/uart: fix typos
2016-06-14 22:54:25 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
82243b86fc
drivers: netdev2: remove extra event_callback argument
2016-06-02 11:11:40 +02:00
4a595d7b19
drivers/bmp180: add saul adaptation
2016-06-01 11:15:01 +02:00
Aaron Sowry
63a87fb639
Implement NETOPT_ACK_REQ configuration option.
...
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
PeterKietzmann
ed470e11f8
drivers/kw2xrf: improve default short address
2016-05-31 13:12:57 +02:00
Joakim Nohlgård
407e10d5b3
drivers/si70xx: Use Doxygen group drivers_sensors
2016-05-26 12:53:51 +02:00
Joakim Nohlgård
e215c9270e
drivers/lis3mdl: Change doxygen grouping to sensor drivers
2016-05-26 12:47:42 +02:00
Peter Kietzmann
e08733d2d1
Merge pull request #5234 from thomaseichinger/pr/phr_length_mask
...
drivers/at86rf2xx: mask frame length according to data sheet
2016-05-20 15:14:55 +02:00
Thomas Eichinger
5a45c31bcb
drivers/at86rf2xx: remove unused functions
...
These two functions are not used anymore and can be omitted.
2016-05-20 15:05:27 +02:00
Peter Kietzmann
e55c8394ae
Merge pull request #5327 from authmillenon/netdev2_ieee802154/enh/assert-instead
...
netdev2_ieee802154: replace overflow checks with asserts
2016-05-18 12:04:00 +02:00
Oleg Hahm
814be0655f
doc: minor fixes of typos in periph documentation
2016-05-03 23:37:22 +02:00
Oleg Hahm
e110d412a3
at86rf2xx_netdev: debug output is wrong
2016-04-28 11:35:13 +02:00
Yonezawa-T2
3e70191aee
Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
...
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Martine Lenders
315dea3e7c
netdev2_ieee802154: replace overflow checks with asserts
2016-04-21 00:45:50 +02:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
cedf7d8455
Merge pull request #5227 from authmillenon/at86rf2xx/fix/set
...
at86rf2xx: fix option setting
2016-04-20 17:33:44 +02:00
Martine Lenders
0fa5b81e6a
netdev2_ieee802154: fix channel setting
2016-04-20 16:35:30 +02:00
Martine Lenders
7b78775185
at86rf2xx: fix option setting
2016-04-20 16:35:29 +02:00
kYc0o
724276e913
Merge pull request #4734 from Yonezawa-T2/xbee_resp_timeout
...
xbee: add timeout for AT command response (fixes #4731 )
2016-04-19 13:34:21 +02:00
Yonezawa-T2
4042239b04
xbee: add timeout for AT command response ( fixes #4731 )
2016-04-19 11:19:25 +09:00
Yonezawa-T2
eb7cc30494
xbee: enriched debug output
2016-04-19 11:17:13 +09:00
Yonezawa-T2
15ecee46ee
xbee: add packet filtering to emulate non-transitive network.
...
When debugging multihop wireless network, it is useful to emulate non-transitive
network, that is, node A can communicate with B and B can communicate with C,
but A cannot communicate with C directly.
If `XBEE_DENIED_ADDRESSES`, which is an array of XBee long addresses, is
defined, packets from those addresses are dropped silently.
Example:
CFLAGS += "-DXBEE_DENIED_ADDRESSES={ 0x02, 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0x02, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }"
2016-04-19 11:17:13 +09:00
Yonezawa-T2
a6ae7c8091
xbee: fixed that _set_addr
destructed given address.
...
`_set_addr` is called from `xbee_init` with lower bytes of the long address.
If `_set_addr` destructs the given address, the long address is also destructed.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
66dd84eff2
xbee: disable short address when the address length is set to 8
...
XBee sends short address even for `API_ID_TX_LONG_ADDR` if short address is
enabled. This results in check sum error of ICMPv6 since the IP address is
computed based on long address on the sender side while it is computed based on
short address on the receiver side.
2016-04-19 11:17:13 +09:00
Yonezawa-T2
67c3ab8fdd
xbee: changed default channel from 0x1A to 0x17 to support XBee-PRO
...
XBee supports channels 0x0B-0x1A while XBee-PRO supports only 0x0C-0x17.
2016-04-19 11:17:12 +09:00
Yonezawa-T2
8481d85ead
xbee: fixed RSSI header parsing
2016-04-19 11:17:12 +09:00
Yonezawa-T2
bea5eacea2
xbee: fixed broadcast header
...
Destination address is at tx_buf[5] and tx_buf[6] rather than tx_buf[4] and
tx_buf[5].
Broadcast header is overridden by following code mistakenly.
2016-04-18 10:21:15 +09:00
Yonezawa-T2
4f864b0ec8
xbee: fixed missing unlocks
2016-04-18 10:20:52 +09:00
Hauke Petersen
25935bf95f
drivers/Makefile.dep: fixed FEATURE_REQ assignments
2016-04-13 16:47:00 +02:00
kYc0o
e6d15f2d36
Merge pull request #5224 from haukepetersen/fix_periph_undef
...
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-13 16:39:59 +02:00
Bas Stottelaar
cf5e4c8fb6
drivers: si70xx: bugfixes + test improvements
2016-04-13 13:27:09 +02:00
Hauke Petersen
df574d6f2d
Merge pull request #5231 from malosek/si70xx_driver_fix
...
drivers: si70xx: fixed left shift compiler warning for 16bit platforms
2016-04-13 13:13:24 +02:00
Hauke Petersen
5fe57b4659
Merge pull request #4725 from kaspar030/ethos_br_hack
...
simplified border router setup
2016-04-12 17:39:07 +02:00
Hauke Petersen
3ae9fd9536
Merge pull request #5255 from kaspar030/fix_encx24j600
...
drivers: misc fixes for encx24j600
2016-04-11 17:34:41 +02:00
7c9703b85b
drivers: ethos: add missing tsrb dependency
2016-04-11 17:03:28 +02:00
27833444a0
drivers: ethos: make internal function static
2016-04-11 17:03:28 +02:00
d33423b5e6
drivers: ethos: fix cast of length parameter
2016-04-11 17:03:28 +02:00
2cd2194763
drivers: ethos: fix static const declarations
2016-04-11 17:03:28 +02:00
e4a92a697c
drivers: ethos: add missing irq.h include
2016-04-11 17:03:28 +02:00
Oleg Hahm
70a2d68a8a
Merge pull request #5289 from cgundogan/pr/at86rf2xx_netdev/fix
...
at86rf2xx_netdev: fix broken pending_tx handling
2016-04-11 15:03:41 +02:00
Cenk Gündoğan
9b01c6dbce
at86rf2xx_netdev: use DEBUG instead of printf
2016-04-11 13:15:39 +02:00
Cenk Gündoğan
f570576976
at86rf2xx_netdev: fix broken pending_tx handling
2016-04-11 13:15:39 +02:00
Hauke Petersen
7c02c616bd
Merge pull request #4863 from gebart/pr/saul-adc
...
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
malo
b9705c8727
drivers: si70xx: fixed si70xx_measure return value calculation on 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-09 22:12:44 +02:00
Martine Lenders
1c45c503b8
netdev2: fix event_callback references
2016-04-09 13:22:19 +02:00
Oleg Hahm
e2cb553d05
Merge pull request #5261 from OlegHahm/at86rf2xx_pending_TX
...
at86rf2xx: introduce pending TX counter
2016-04-08 13:08:39 +02:00
Oleg Hahm
252baecef7
at86rf2xx: introduce pending TX counter
...
This counter is necessary for the current concept to tell the driver when to return to idle after sending.
2016-04-08 11:32:40 +02:00
Joakim Nohlgård
50b48c28eb
sys/saul: Add analog inputs to SAUL via periph/adc
2016-04-08 10:18:12 +02:00
Joakim Nohlgård
1f645cf436
drivers/saul: Fix typo in documentation
2016-04-08 10:17:23 +02:00
1ac0ab6905
drivers: encx24j600: prefix constants
2016-04-06 22:53:47 +02:00
d9d5d88b26
drivers: encx24j600.c: compile fixes
2016-04-06 22:53:27 +02:00
Hauke Petersen
6bebc9d588
make: moved driver deps to drivers/Makefile.deps
2016-04-06 15:39:34 +02:00
René Kijewski
f7428393b2
Merge pull request #5245 from OlegHahm/at86rf2xx_netstats_ifdef
...
at86rf2xx: fix netstats_l2 ifdef
2016-04-05 12:09:06 +02:00
Oleg Hahm
e0b475b25a
at86rf2xx: fix netstats_l2 ifdef
2016-04-04 18:34:01 +02:00
Oleg Hahm
32606382a1
drivers 802154: always memset cpuid before setting
2016-04-04 18:20:19 +02:00
Oleg Hahm
416b9759e2
drivers 802154: use memset for eui64 padding
2016-04-04 16:53:21 +02:00
Martine Lenders
4d46a5f91e
Merge pull request #5242 from OlegHahm/eliminate_ieee802154_literals
...
ieee802154: replace literals for lengths by macros
2016-04-04 16:37:08 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
Oleg Hahm
6f58862fec
driver: assure required buffer size
...
The cpuid buffer is also used as a temporary buffer to store the EUI-64 of the transceiver, so we need to make sure that it is always big enough.
May be padded with zeroes for smaller CPUIDs.
2016-04-03 22:38:13 +02:00
Oleg Hahm
aa043a50bf
drivers encx24j600: introduce netstats
...
This driver was missing netstats completely so far.
2016-04-03 18:05:07 +02:00
Oleg Hahm
4ba73928ac
drivers enc28j60: correctly initialize netstats
...
Driver's netstats should be initialize in init, not isr...
2016-04-03 18:04:32 +02:00
Thomas Eichinger
e5e67b3870
drivers/at86rf2xx: mask frame length according to data sheet
...
After some discussion on the devel mailing list about smuggeling in corrupted frames by e.g. SDRs I'd propose we mask the length field according to the datasheet again. It was done before in at86rf2xx_get_length but this funtion did get used anymore along the way.
2016-04-02 12:29:22 -03:00
malo
86eb928642
drivers: si70xx: fixed left shift compiler warning for 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-04-02 00:54:04 +02:00
Hauke Petersen
af8f4040ac
drivers/xbee: fixed missing newline in DEBUG
2016-04-01 11:48:35 +02:00
Hauke Petersen
9a4df61005
drivers/periph: fixed UNDEF values to UINT_MAX
2016-04-01 10:57:26 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Oleg Hahm
4f17d2bd9c
Merge pull request #5211 from kaspar030/ethos_fixes
...
drivers: ethos: misc fixes
2016-03-31 00:43:55 +02:00
a833d838b9
drivers: ethos: don't error if recv buffer is larger than needed
2016-03-30 23:47:07 +02:00
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