Browse Source

boards: pic32-clicker: Add support for GPIO peripheral

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
master
Francois Berder 6 years ago
parent
commit
847c126fbe
  1. 1
      boards/pic32-clicker/Makefile.features
  2. 1
      boards/pic32-clicker/clicker.c
  3. 2
      boards/pic32-clicker/include/board.h
  4. 2
      boards/pic32-clicker/include/periph_conf.h
  5. 2
      cpu/mips_pic32mx/include/periph_cpu.h

1
boards/pic32-clicker/Makefile.features

@ -1,4 +1,5 @@
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart

1
boards/pic32-clicker/clicker.c

@ -12,7 +12,6 @@
#include "periph/uart.h"
#include "bitarithm.h"
#include "board.h"
#include "periph_conf.h"
extern void dummy(void);

2
boards/pic32-clicker/include/board.h

@ -28,6 +28,8 @@
#ifndef _BOARD_H_
#define _BOARD_H_
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif

2
boards/pic32-clicker/include/periph_conf.h

@ -23,6 +23,8 @@
#ifndef _PERIPH_CONF_H_
#define _PERIPH_CONF_H_
#include "periph_cpu.h"
#ifdef __cplusplus
extern "C" {
#endif

2
cpu/mips_pic32mx/include/periph_cpu.h

@ -8,7 +8,7 @@
*
*/
/* This file must exist to get timer code to build */
#include "periph_cpu_common.h"
#ifdef __cplusplus
extern "C" {

Loading…
Cancel
Save