Skip to content

Commit cb423bc

Browse files
authored
Merge pull request #471 from 446564/rak-usr-btn
move rak usr btn to companions
2 parents 8378701 + ad2e015 commit cb423bc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

variants/rak4631/platformio.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ board_check = true
66
build_flags = ${nrf52840_base.build_flags}
77
-I variants/rak4631
88
-D RAK_4631
9-
-D PIN_USER_BTN=9
10-
-D PIN_USER_BTN_ANA=31
119
-D PIN_BOARD_SCL=14
1210
-D PIN_BOARD_SDA=13
1311
-D PIN_OLED_RESET=-1
@@ -84,6 +82,8 @@ build_src_filter = ${rak4631.build_src_filter}
8482
extends = rak4631
8583
build_flags =
8684
${rak4631.build_flags}
85+
-D PIN_USER_BTN=9
86+
-D PIN_USER_BTN_ANA=31
8787
-D DISPLAY_CLASS=SSD1306Display
8888
-D MAX_CONTACTS=100
8989
-D MAX_GROUP_CHANNELS=8
@@ -100,6 +100,8 @@ lib_deps =
100100
extends = rak4631
101101
build_flags =
102102
${rak4631.build_flags}
103+
-D PIN_USER_BTN=9
104+
-D PIN_USER_BTN_ANA=31
103105
-D DISPLAY_CLASS=SSD1306Display
104106
-D MAX_CONTACTS=100
105107
-D MAX_GROUP_CHANNELS=8
@@ -120,6 +122,8 @@ lib_deps =
120122
extends = rak4631
121123
build_flags =
122124
${rak4631.build_flags}
125+
-D PIN_USER_BTN=9
126+
-D PIN_USER_BTN_ANA=31
123127
-D DISPLAY_CLASS=SSD1306Display
124128
-D MAX_CONTACTS=100
125129
-D MAX_GROUP_CHANNELS=8
@@ -145,6 +149,8 @@ lib_deps =
145149
extends = rak4631
146150
build_flags =
147151
${rak4631.build_flags}
152+
-D PIN_USER_BTN=9
153+
-D PIN_USER_BTN_ANA=31
148154
-D MAX_CONTACTS=100
149155
-D MAX_GROUP_CHANNELS=1
150156
; -D MESH_PACKET_LOGGING=1

0 commit comments

Comments
 (0)