Browse Source

boards: *: remove SPI_*_EN now rework is merged

patch-1
Bas Stottelaar 6 years ago
parent
commit
3b14a584b8
  1. 1
      boards/arduino-common/include/periph_conf.h
  2. 1
      boards/arduino-mega2560/include/periph_conf.h
  3. 1
      boards/avsextrem/include/periph_conf.h
  4. 1
      boards/msb-430/include/periph_conf.h
  5. 1
      boards/msb-430h/include/periph_conf.h
  6. 1
      boards/telosb/include/periph_conf.h
  7. 3
      boards/waspmote-pro/include/periph_conf.h
  8. 1
      boards/wsn430-common/include/periph_conf.h
  9. 1
      boards/z1/include/periph_conf.h
  10. 2
      cpu/atmega_common/periph/spi.c

1
boards/arduino-common/include/periph_conf.h

@ -79,7 +79,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR /* Power Reduction Register is PRR */
/** @} */

1
boards/arduino-mega2560/include/periph_conf.h

@ -96,7 +96,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR0 /* Power Reduction Register is PRR0 */
/** @} */

1
boards/avsextrem/include/periph_conf.h

@ -60,7 +60,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1)
/** @} */
#ifdef __cplusplus

1
boards/msb-430/include/periph_conf.h

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

1
boards/msb-430h/include/periph_conf.h

@ -74,7 +74,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

1
boards/telosb/include/periph_conf.h

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

3
boards/waspmote-pro/include/periph_conf.h

@ -103,8 +103,7 @@ extern "C" {
* @{
*/
#define SPI_NUMOF 1 /* set to 0 to disable SPI */
#define SPI_0_EN 1 /* remove once SPI rework is done */
#define MEGA_PRR PRR0 /* Power Reduction Resgister */
#define MEGA_PRR PRR0 /* Power Reduction Register */
/** @} */
#ifdef __cplusplus

1
boards/wsn430-common/include/periph_conf.h

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_BASE (USART_0)

1
boards/z1/include/periph_conf.h

@ -72,7 +72,6 @@ extern "C" {
* @{
*/
#define SPI_NUMOF (1U)
#define SPI_0_EN (1U)
/* SPI configuration */
#define SPI_USE_USCI

2
cpu/atmega_common/periph/spi.c

@ -41,7 +41,7 @@ void spi_init(spi_t bus)
/* power off the SPI peripheral */
MEGA_PRR |= (1 << PRSPI);
/* trigger the pin configuration */
spi_init_pins(bus);;
spi_init_pins(bus);
}
void spi_init_pins(spi_t bus)

Loading…
Cancel
Save