Skip to content

Commit

Permalink
boards/stm32*: changes for the new GPIO API
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Sep 3, 2020
1 parent 9d4ea87 commit 97e396f
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions boards/b-l072z-lrwan1/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/b-l475e-iot01a/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 2 additions & 0 deletions boards/common/blxxxpill/include/board_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#ifndef BOARD_COMMON_H
#define BOARD_COMMON_H

#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
4 changes: 2 additions & 2 deletions boards/common/nucleo64/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ static const motor_driver_config_t motor_driver_config[] = {
.motors = {
{
.pwm_channel = 0,
.gpio_enable = 0,
.gpio_enable = GPIO_UNDEF,
.gpio_dir0 = ARDUINO_PIN_15,
.gpio_dir1_or_brake = 0,
.gpio_dir1_or_brake = GPIO_UNDEF,
.gpio_dir_reverse = 0,
.gpio_enable_invert = 0,
.gpio_brake_invert = 0,
Expand Down
2 changes: 2 additions & 0 deletions boards/lobaro-lorabox/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef BOARD_H
#define BOARD_H

#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 2 additions & 0 deletions boards/maple-mini/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef BOARD_H
#define BOARD_H

#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
5 changes: 4 additions & 1 deletion boards/nz32-sc151/include/sx127x_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ static const sx127x_params_t sx127x_params[] =
.dio0_pin = GPIO_PIN(PORT_B, 0),
.dio1_pin = GPIO_PIN(PORT_B, 1),
.dio2_pin = GPIO_PIN(PORT_C, 6),
.dio3_pin = GPIO_PIN(PORT_A, 10)
.dio3_pin = GPIO_PIN(PORT_A, 10),
.dio4_pin = GPIO_UNDEF,
.dio5_pin = GPIO_UNDEF,
.paselect = SX127X_PA_RFO
}
};

Expand Down
2 changes: 2 additions & 0 deletions boards/opencm904/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef BOARD_H
#define BOARD_H

#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
1 change: 1 addition & 0 deletions boards/p-l496g-cell02/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/pyboard/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 2 additions & 0 deletions boards/stm32f030f4-demo/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#ifndef BOARD_H
#define BOARD_H

#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
1 change: 1 addition & 0 deletions boards/stm32f0discovery/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define BOARD_H

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/stm32f3discovery/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define BOARD_H

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/stm32l0538-disco/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#define BOARD_H

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/stm32l476g-disco/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions boards/ublox-c030-u201/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <stdint.h>

#include "cpu.h"
#include "periph_cpu.h"

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 97e396f

Please sign in to comment.