Skip to content
Snippets Groups Projects
Unverified Commit d97340cd authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

boards/msbiot: Added/updated configuration for the cc110x transceiver

 - Adjusted `#define`s to match the naming convention of `cc110x_params.h`
 - Enable the `cc110x` module if `netdev_default` or `gnrc_netdev_default` is
   used
parent a6f9a865
No related branches found
No related tags found
No related merge requests found
# add driver for CC1101 sub-gigahertz transceiver as default netdev
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
USEMODULE += cc110x
endif
......@@ -32,11 +32,11 @@ extern "C" {
* @name Configure connected CC1101 (radio) device
* @{
*/
#define CC110X_SPI SPI_DEV(0)
#define CC110X_CS GPIO_PIN(PORT_B, 12)
#define CC110X_GDO0 GPIO_PIN(PORT_C, 4)
#define CC110X_GDO1 GPIO_PIN(PORT_A, 6)
#define CC110X_GDO2 GPIO_PIN(PORT_C, 5)
#define CC110X_PARAM_SPI SPI_DEV(0)
#define CC110X_PARAM_CS GPIO_PIN(PORT_B, 12)
#define CC110X_PARAM_GDO0 GPIO_PIN(PORT_C, 4)
#define CC110X_PARAM_GDO1 GPIO_PIN(PORT_A, 6)
#define CC110X_PARAM_GDO2 GPIO_PIN(PORT_C, 5)
/** @} */
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment