Skip to content

Commit

Permalink
Merge "Add RPI3B+ support and remove IMX6UL"
Browse files Browse the repository at this point in the history
  • Loading branch information
mangini authored and Gerrit Code Review committed Aug 15, 2018
2 parents 1e2151c + b1e803e commit 22fa25f
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@SuppressWarnings("WeakerAccess")
public class BoardDefaults {
private static final String DEVICE_RPI3 = "rpi3";
private static final String DEVICE_IMX6UL_PICO = "imx6ul_pico";
private static final String DEVICE_RPI3BP = "rpi3bp";
private static final String DEVICE_IMX7D_PICO = "imx7d_pico";

/**
Expand All @@ -30,9 +30,8 @@ public class BoardDefaults {
public static String getGPIOForPairing() {
switch (Build.DEVICE) {
case DEVICE_RPI3:
case DEVICE_RPI3BP:
return "BCM21";
case DEVICE_IMX6UL_PICO:
return "GPIO2_IO03";
case DEVICE_IMX7D_PICO:
return "GPIO6_IO14";
default:
Expand All @@ -46,9 +45,8 @@ public static String getGPIOForPairing() {
public static String getGPIOForDisconnectAllBTDevices() {
switch (Build.DEVICE) {
case DEVICE_RPI3:
case DEVICE_RPI3BP:
return "BCM20";
case DEVICE_IMX6UL_PICO:
return "GPIO4_IO22";
case DEVICE_IMX7D_PICO:
return "GPIO6_IO15";
default:
Expand Down

0 comments on commit 22fa25f

Please sign in to comment.