Skip to content

Commit

Permalink
drivers/at86rf231: refactoring of the at86rf231 radio driver
Browse files Browse the repository at this point in the history
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
  • Loading branch information
thomaseichinger committed Oct 30, 2014
1 parent fea597b commit 4c112c6
Show file tree
Hide file tree
Showing 18 changed files with 1,631 additions and 147 deletions.
7 changes: 5 additions & 2 deletions Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ ifneq (,$(filter cc2420,$(USEMODULE)))
endif

ifneq (,$(filter at86rf231,$(USEMODULE)))
USEMODULE += transceiver
USEMODULE += netdev_802154
USEMODULE += ieee802154
USEMODULE += vtimer
endif

ifneq (,$(filter vtimer,$(USEMODULE)))
Expand All @@ -95,6 +94,10 @@ ifneq (,$(filter ccn_lite,$(USEMODULE)))
USEMODULE += crypto
endif

ifneq (,$(filter netdev_802154,$(USEMODULE)))
USEMODULE += netdev_base
endif

ifneq (,$(filter rgbled,$(USEMODULE)))
USEMODULE += color
endif
Expand Down
4 changes: 3 additions & 1 deletion boards/iot-lab_M3/Makefile.dep
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
USEMODULE += at86rf231
USEMODULE += transceiver
ifeq (,$(filter netdev_base,$(USEMODULE)))
USEMODULE += transceiver
endif
endif
1 change: 1 addition & 0 deletions core/include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ typedef struct {
uint16_t id; /**< unique node identifier */
uint8_t radio_address; /**< address for radio communication */
uint8_t radio_channel; /**< current frequency */
uint16_t radio_pan_id; /**< PAN id for radio communication */
char name[CONFIG_NAME_LEN]; /**< name of the node */
} config_t;

Expand Down
3 changes: 3 additions & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ endif
ifneq (,$(filter mq3,$(USEMODULE)))
DIRS += mq3
endif
ifneq (,$(filter netdev_802154,$(USEMODULE)))
DIRS += netdev/802154
endif

include $(RIOTBASE)/Makefile.base
Loading

0 comments on commit 4c112c6

Please sign in to comment.