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:
commit
b9a29acc92
@ -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 */
|
||||
/** @} */
|
||||
45
boards/wsn430-v1_3b/include/board.h
Normal file
45
boards/wsn430-v1_3b/include/board.h
Normal 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 */
|
||||
/** @} */
|
||||
48
boards/wsn430-v1_4/include/board.h
Normal file
48
boards/wsn430-v1_4/include/board.h
Normal 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 */
|
||||
/** @} */
|
||||
Loading…
x
Reference in New Issue
Block a user