Skip to content

Commit c9c4618

Browse files
authored
Add missing keywords (#1084)
A blacklist is available at the end of keywords.txt I decided to blacklist all the LINUX keywords. I guess people could use the Arduino IDE to edit the sketch for the raspberry pi gateway, but I'm not sure we should encourage that. I'll add gitler support for auto-detecting missing keywords in a separate PR.
1 parent 7a33082 commit c9c4618

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

keywords.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ MY_BAUD_RATE LITERAL1
3737
MY_CRITICAL_SECTION LITERAL1
3838
MY_RX_MESSAGE_BUFFER_SIZE LITERAL1
3939
MY_RX_MESSAGE_BUFFER_FEATURE LITERAL1
40+
MY_DISABLED_SERIAL LITERAL1
41+
MY_SPLASH_SCREEN_DISABLED LITERAL1
42+
MY_INDICATION_HANDLER LITERAL1
43+
MY_DISABLE_RAM_ROUTING_TABLE_FEATURE LITERAL1
4044

4145
# transport
4246
AUTO LITERAL1
@@ -51,15 +55,18 @@ MY_CORE_COMPATIBILITY_CHECK LITERAL1
5155
MY_TRANSPORT_SANITY_CHECK LITERAL1
5256
MY_TRANSPORT_SANITY_CHECK_INTERVAL LITERAL1
5357
MY_TRANSPORT_WAIT_READY_MS LITERAL1
58+
MY_TRANSPORT_UPLINK_CHECK_DISABLED LITERAL1
5459
MY_REPEATER_FEATURE LITERAL1
5560
MY_PASSIVE_NODE LITERAL1
61+
MY_SIGNAL_REPORT_ENABLED LITERAL1
5662

5763
# debug
5864
MY_DEBUG LITERAL1
5965
MY_DEBUGDEVICE LITERAL1
6066
MY_DEBUG_OTA LITERAL1
6167
MY_DEBUG_OTA_DISABLE_ACK LITERAL1
6268
MY_SPECIAL_DEBUG LITERAL1
69+
MY_DEBUG_VERBOSE_GATEWAY LITERAL1
6370

6471
# OTA
6572
MY_OTA_FIRMWARE_FEATURE LITERAL1
@@ -77,10 +84,12 @@ MY_INCLUSION_MODE_FEATURE LITERAL1
7784
MY_INCLUSION_BUTTON_FEATURE LITERAL1
7885
MY_INCLUSION_MODE_BUTTON_PIN LITERAL1
7986
MY_INCLUSION_MODE_DURATION LITERAL1
87+
MY_INCLUSION_LED_PIN LITERAL1
8088
MY_OTA_LOG_RECEIVER_FEATURE LITERAL1
8189
MY_OTA_LOG_SENDER_FEATURE LITERAL1
8290
MY_DEBUG_OTA LITERAL1
8391
MY_DEBUG_OTA_DISABLE_ACK LITERAL1
92+
MY_OTA_USE_I2C_EEPROM LITERAL1
8493

8594
# Signing
8695
MY_DEBUG_VERBOSE_SIGNING LITERAL1
@@ -121,6 +130,7 @@ MY_RF24_PA_LEVEL LITERAL1
121130
MY_RF24_CHANNEL LITERAL1
122131
MY_RF24_DATARATE LITERAL1
123132
MY_RF24_BASE_RADIO_ID LITERAL1
133+
MY_RF24_POWER_PIN LITERAL1
124134

125135
# NRF5
126136
MY_RADIO_NRF5_ESB LITERAL1
@@ -132,6 +142,8 @@ MY_NRF5_ESB_ENABLE_ENCRYPTION LITERAL1
132142
MY_NRF5_ESB_MODE LITERAL1
133143
MY_NRF5_ESB_PA_LEVEL LITERAL1
134144
MY_NRF5_ESB_RX_BUFFER_SIZE LITERAL1
145+
MY_NRF5_ESB_REVERSE_ACK_RX LITERAL1
146+
MY_NRF5_ESB_REVERSE_ACK_TX LITERAL1
135147

136148
# RFM95
137149
MY_RADIO_RFM95 LITERAL1
@@ -148,6 +160,8 @@ MY_RFM95_ATC_TARGET_RSSI LITERAL1
148160
MY_RFM95_ATC_MODE_DISABLED LITERAL1
149161
MY_RFM95_ATC_TARGET_RSSI_DBM LITERAL1
150162
MY_RFM95_MAX_POWER_LEVEL_DBM LITERAL1
163+
MY_RFM95_POWER_PIN LITERAL1
164+
MY_RFM95_TCXO LITERAL1
151165

152166
# RFM69
153167
MY_RADIO_RFM69 LITERAL1
@@ -174,6 +188,8 @@ MY_RFM69_BITRATE_MSB LITERAL1
174188
MY_RFM69_BITRATE_LSB LITERAL1
175189
MY_RFM69_CSMA_ADD_DELAY_BASE LITERAL1
176190
MY_RFM69_CSMA_ADD_DELAY_COUNT LITERAL1
191+
MY_RFM69_POWER_PIN LITERAL1
192+
MY_RFM69_MODEM_CONFIGURATION LITERAL1
177193

178194
# RS485
179195
MY_RS485 LITERAL1
@@ -194,6 +210,7 @@ MY_MQTT_SUBSCRIBE_TOPIC_PREFIX LITERAL1
194210
MY_MQTT_PUBLISH_TOPIC_PREFIX LITERAL1
195211
MY_MQTT_CLIENT_ID LITERAL1
196212
MY_GATEWAY_MQTT_CLIENT LITERAL1
213+
MY_MQTT_CLIENT_PUBLISH_RETAIN LITERAL1
197214

198215
# Ethernet
199216
MY_PORT LITERAL1
@@ -215,3 +232,15 @@ MY_ESP8266_PASSWORD LITERAL1
215232
MY_ESP8266_BSSID LITERAL1
216233
MY_ESP8266_HOSTNAME LITERAL1
217234
MY_ESP8266_SERIAL_MODE LITERAL1
235+
236+
# Blacklist - autodefines that are used internally and should not be highlighted, hence commented.
237+
# MY_SIGNING_FEATURE
238+
# MY_ENCRYPTION_FEATURE
239+
# MY_LOCK_DEVICE
240+
# MY_LINUX_SERIAL_PORT
241+
# MY_LINUX_SERIAL_IS_PTY
242+
# MY_LINUX_SERIAL_GROUPNAME
243+
# MY_LINUX_SERIAL_PTY
244+
# MY_LINUX_IS_SERIAL_PTY
245+
# MY_GATEWAY_LINUX
246+

0 commit comments

Comments
 (0)