periphmraa: set pin capabilities
Peripheral Manager provides mutual exclusion between pins
multiple functionalities. This feature in MRAA is redundant for
this platform.
Once the API to retrieve pin functionality from PIO is available
use it to update each pins capabilities.
@@ -782,7 +782,8 @@ mraa_peripheralman_plat_init()
//Updating GPIO bus structure
for (; i < gpios_count; i++) {
b->pins[i].name = gpios[i];
- b->pins[i].capabilities = (mraa_pincapabilities_t){ 1, 1, 0, 0, 0, 0, 0, 0 };
+ //Retrieve this information from PIO once the API is available
+ b->pins[i].capabilities = (mraa_pincapabilities_t){ 1, 1, 1, 1, 1, 1, 1, 1 };
b->pins[i].gpio.pinmap = i;
}
