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

1087 Commits

Author SHA1 Message Date
d1db946188 Merge pull request #6344 from haukepetersen/opt_pm_misc
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
af1e492552 drivers/flashpage: added addr-to-page function 2017-01-24 09:41:56 +01:00
smlng
80a44ddfcc drivers/cc110x: add xtimer as module dependency 2017-01-23 14:01:32 +01:00
Peter Kietzmann
72aa1569f9 Merge pull request #6231 from haukepetersen/rm_devenums_pwm
drivers/pwm: removed deprecated PWM_x defines
2017-01-23 10:12:11 +01:00
Kees Bakker
a0a76d66d2 drivers: Add driver for BME280 2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56 drivers: added driver for accessing sd_cards over spi 2017-01-20 18:11:26 +01:00
kYc0o
ee741a4296 drivers/xbee: add UL to constants for 8 and 16 bit compatibility 2017-01-20 14:22:19 +01:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Peter Kietzmann
f119a2e77b Merge pull request #4419 from thomaseichinger/pr/min_invasive
drivers/at86rf2xx: code size optimisations
2017-01-19 17:48:24 +01:00
Oleg Hahm
693636690c Merge pull request #6399 from OlegHahm/timex_constants
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
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