diff --git a/include/arm/raspberry_pi_b.h b/include/arm/raspberry_pi.h similarity index 79% rename from include/arm/raspberry_pi_b.h rename to include/arm/raspberry_pi.h index e82b365..32e3f50 100644 --- a/include/arm/raspberry_pi_b.h +++ b/include/arm/raspberry_pi.h @@ -1,5 +1,6 @@ /* * Author: Thomas Ingleby + * Author: Michael Ring * Copyright (c) 2014 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining @@ -30,10 +31,14 @@ extern "C" { #include "mraa_internal.h" -#define MRAA_RASPBERRY_PI_B 27 +#define MRAA_RASPBERRY_PI_B_REV_1_PINCOUNT 27 +#define MRAA_RASPBERRY_PI_AB_REV_2_PINCOUNT 35 +#define MRAA_RASPBERRY_PI2_B_REV_1_PINCOUNT 41 +#define MRAA_RASPBERRY_PI_AB_PLUS_PINCOUNT 41 +#define MRAA_RASPBERRY_PI_COMPUTE_MODULE_PINCOUNT 41 -mraa_board_t* -mraa_raspberry_pi_b(); +mraa_board_t * + mraa_raspberry_pi(); #ifdef __cplusplus }