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

64 Commits

Author SHA1 Message Date
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
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
Joakim Gebart
2eea4d138e at86rf231: Make local buffer static. 2015-01-23 19:46:26 +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
f2396971e1 drivers/at86rf231: fix reading of rssi value 2015-01-12 16:40:21 +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
Thomas Eichinger
a9379881cf pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
Oleg Hahm
c92effaead debug: removed superfluous additional debug flag 2014-12-03 22:59:14 +01:00
Thomas Eichinger
9b2b49c95d drivers/at86rf21: add and improve debug messages 2014-11-13 15:00:46 +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
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
Thomas Eichinger
e6bcef4216 drivers/at86rf231: fix two cppcheck findings 2014-10-31 13:48:51 +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
BytesGalore
f94623ae0f drivers: add extern "C" to header files 2014-10-21 15:30:03 +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
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
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
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
Thomas Eichinger
c28aebf105 at86rf231: handle rx tx state changes correctly 2014-08-21 17:53:38 +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
Ludwig Ortmann
b63b3b9512 drivers/at86rf231: add transceiver/pid includes 2014-08-12 17:21:42 +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
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
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
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
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
Alaeddine Weslati
2427029c1c added missing Licence in at86rf231 driver files. 2014-05-14 10:43:50 +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
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
f28054d844 Fix at86rf231 driver 2014-02-24 16:13:03 +01:00
Thomas Eichinger
17b624e0a4 Merge pull request #681 from OlegHahm/at86rf231_fixes
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8 fix includes and shell commands for at86rf231 2014-02-11 17:15:03 +01:00
Martin
6bd7576cda fix made transceiver_pid extern for at86rf231 2014-02-10 08:47:55 +01:00