summaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2023-01-25 10:32:35 -0600
committerjoeycastillo <joeycastillo@utexas.edu>2023-01-25 10:32:35 -0600
commite32f1d1926f2573c3540624a6a20f86f4954aa08 (patch)
tree9d157ddca7fabc8371e2bf7b249e0626a32843dd /boards
parente512b731bb1c8f20624ecf89c4721ad948fb455c (diff)
downloadSensor-Watch-e32f1d1926f2573c3540624a6a20f86f4954aa08.tar.gz
Sensor-Watch-e32f1d1926f2573c3540624a6a20f86f4954aa08.tar.bz2
Sensor-Watch-e32f1d1926f2573c3540624a6a20f86f4954aa08.zip
rename definition for special edition boards
Diffstat (limited to 'boards')
-rw-r--r--boards/OSO-FEAL-A1-00/pins.h2
-rw-r--r--boards/OSO-SWAT-A1-02/pins.h2
-rw-r--r--boards/OSO-SWAT-A1-04/pins.h2
-rw-r--r--boards/OSO-SWAT-A1-05/pins.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/boards/OSO-FEAL-A1-00/pins.h b/boards/OSO-FEAL-A1-00/pins.h
index e8cd280a..7249f989 100644
--- a/boards/OSO-FEAL-A1-00/pins.h
+++ b/boards/OSO-FEAL-A1-00/pins.h
@@ -23,7 +23,7 @@
#define WATCH_RED_TCC_CHANNEL 0
#define WATCH_RED_TCC_PINMUX PINMUX_PA04E_TCC0_WO0
-#ifdef WATCH_SWAP_LED_PINS
+#ifdef WATCH_IS_BLUE_BOARD
#define GREEN GPIO(GPIO_PORTB, 22)
#define WATCH_GREEN_TCC_CHANNEL 2
#define WATCH_GREEN_TCC_PINMUX PINMUX_PB22F_TCC0_WO2
diff --git a/boards/OSO-SWAT-A1-02/pins.h b/boards/OSO-SWAT-A1-02/pins.h
index 8caaf198..1711be25 100644
--- a/boards/OSO-SWAT-A1-02/pins.h
+++ b/boards/OSO-SWAT-A1-02/pins.h
@@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
-#ifdef WATCH_SWAP_LED_PINS
+#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3
diff --git a/boards/OSO-SWAT-A1-04/pins.h b/boards/OSO-SWAT-A1-04/pins.h
index 89e1f586..2b851d95 100644
--- a/boards/OSO-SWAT-A1-04/pins.h
+++ b/boards/OSO-SWAT-A1-04/pins.h
@@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
-#ifdef WATCH_SWAP_LED_PINS
+#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3
diff --git a/boards/OSO-SWAT-A1-05/pins.h b/boards/OSO-SWAT-A1-05/pins.h
index fc25ba63..7d31b266 100644
--- a/boards/OSO-SWAT-A1-05/pins.h
+++ b/boards/OSO-SWAT-A1-05/pins.h
@@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
-#ifdef WATCH_SWAP_LED_PINS
+#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3