1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

Merge pull request #8438 from miri64/boards/enh/wsn430-netdev-default

boards: define default radio for wsn430 boards
This commit is contained in:
Peter Kietzmann 2018-05-30 11:05:23 +02:00 committed by GitHub
commit b9a29acc92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 96 additions and 3 deletions

View File

@ -21,8 +21,8 @@
*
*/
#ifndef BOARD_H
#define BOARD_H
#ifndef BOARD_COMMON_H
#define BOARD_COMMON_H
#include "cpu.h"
@ -73,5 +73,5 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
#endif /* BOARD_COMMON_H */
/** @} */

View File

@ -0,0 +1,45 @@
/*
* Copyright (C) 2018 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup boards_wsn430-v1_3b WSN430 v1.3b
* @ingroup boards
* @brief Support for the Senslab WSN430 v1.3b board
*
* @{
*
* @file
* @brief Board specific definitions for the Senslab WSN430 v1.3b board
*
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Define the interface to the CC1101 radio
* @{
*/
#define CC110X_PARAM_CS (GPIO_PIN(P4, 2))
#define CC110X_PARAM_GDO0 (GPIO_PIN(P1, 3))
#define CC110X_PARAM_GDO1 (GPIO_PIN(P5, 2))
#define CC110X_PARAM_GDO2 (GPIO_PIN(P1, 4))
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -0,0 +1,48 @@
/*
* Copyright (C) 2018 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup boards_wsn430-v1_4 WSN430 v1.4
* @ingroup boards
* @brief Support for the Senslab WSN430 v1.4 board
*
* @{
*
* @file
* @brief Board specific definitions for the Senslab WSN430 v1.4 board
*
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Define the interface to the CC2420 radio
* @{
*/
#define CC2420_PARAMS_PIN_CS (GPIO_PIN(P4, 2))
#define CC2420_PARAMS_PIN_FIFO (GPIO_PIN(P1, 3))
#define CC2420_PARAMS_PIN_FIFOP (GPIO_PIN(P1, 4))
#define CC2420_PARAMS_PIN_CCA (GPIO_PIN(P1, 6))
#define CC2420_PARAMS_PIN_SFD (GPIO_PIN(P1, 5))
#define CC2420_PARAMS_PIN_VREFEN (GPIO_PIN(P3, 0))
#define CC2420_PARAMS_PIN_RESET (GPIO_PIN(P1, 7))
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* BOARD_H */
/** @} */