pull/1/head
US1GHQ 2021-07-05 23:36:12 +03:00
parent 24cfb8c0bc
commit 05caf02a04
3 changed files with 22 additions and 15 deletions

View File

@ -31,9 +31,9 @@ lib_deps =
build_flags = build_flags =
-Wl,--gc-sections,--relax -Wl,--gc-sections,--relax
-D 'KISS_PROTOCOL' -D 'KISS_PROTOCOL'
-D 'CALLSIGN="N0CALL-0"' -D 'CALLSIGN="1k2"'
-D 'DIGI_PATH="ECHO"' -D 'DIGI_PATH="WIDE1-1"'
-D 'FIXED_BEACON_EN' ; -D 'FIXED_BEACON_EN'
-D 'LATIDUDE_PRESET="0000.00N"' -D 'LATIDUDE_PRESET="0000.00N"'
-D 'LONGITUDE_PRESET="00000.00E"' -D 'LONGITUDE_PRESET="00000.00E"'
-D 'APRS_SYMBOL_TABLE="/"' -D 'APRS_SYMBOL_TABLE="/"'
@ -45,8 +45,8 @@ build_flags =
-D 'SHOW_RX_TIME=10000' -D 'SHOW_RX_TIME=10000'
-D 'TXFREQ=433.775' -D 'TXFREQ=433.775'
-D 'SPEED_1200' ; comment out to set 300baud -D 'SPEED_1200' ; comment out to set 300baud
-D 'TXdbmW=17' -D 'TXdbmW=20'
-D 'ENABLE_OLED' ; -D 'ENABLE_OLED'
-D 'ENABLE_LED_SIGNALING' -D 'ENABLE_LED_SIGNALING'
-D 'NETWORK_TNC_PORT=8001' -D 'NETWORK_TNC_PORT=8001'
-D 'MAX_TIME_TO_NEXT_TX=360000L' -D 'MAX_TIME_TO_NEXT_TX=360000L'
@ -60,7 +60,7 @@ board = ttgo-t-beam
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D T_BEAM_V1_0 -D T_BEAM_V1_0
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH -D ENABLE_BLUETOOTH
[env:ttgo-t-beam-v0.7] [env:ttgo-t-beam-v0.7]
@ -68,7 +68,8 @@ platform = espressif32 @ 3.0.0
board = ttgo-t-beam board = ttgo-t-beam
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D T_BEAM_V0_7 -D T_BEAM_V0_7
[env:ttgo-lora32-v2.1] [env:ttgo-lora32-v2.1]
@ -76,7 +77,8 @@ platform = espressif32 @ 3.2.1
board = ttgo-lora32-v21 board = ttgo-lora32-v21
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D LORA32_21 -D LORA32_21
[env:ttgo-lora32-v2] [env:ttgo-lora32-v2]
@ -84,7 +86,8 @@ platform = espressif32 @ 3.2.1
board = ttgo-lora32-v2 board = ttgo-lora32-v2
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D LORA32_2 -D LORA32_2
[env:ttgo-lora32-v1] [env:ttgo-lora32-v1]
@ -92,7 +95,8 @@ platform = espressif32 @ 3.2.1
board = ttgo-lora32-v1 board = ttgo-lora32-v1
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D LORA32_1 -D LORA32_1
[env:Heltec-WiFi-v1] [env:Heltec-WiFi-v1]
@ -100,7 +104,8 @@ platform = espressif32 @ 3.2.1
board = heltec_wifi_kit_32 board = heltec_wifi_kit_32
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D HELTEC_V1 -D HELTEC_V1
[env:Heltec-WiFi-v2] [env:Heltec-WiFi-v2]
@ -109,7 +114,8 @@ board = heltec_wifi_kit_32_v2
board_build.f_cpu = 80000000L board_build.f_cpu = 80000000L
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D HELTEC_V2 -D HELTEC_V2
[env:Esp32-Dev-v1] [env:Esp32-Dev-v1]
@ -119,7 +125,8 @@ board = esp32dev
;board_build.f_cpu = 80000000L ;board_build.f_cpu = 80000000L
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
-D ENABLE_WIFI ; -D ENABLE_WIFI
-D ENABLE_BLUETOOTH
-D ESP32_DEV_V1 -D ESP32_DEV_V1
[env:ttgo-t-beam-v1.0-development] [env:ttgo-t-beam-v1.0-development]

View File

@ -784,7 +784,7 @@ void setup(){
SerialBT.setPin(BLUETOOTH_PIN); SerialBT.setPin(BLUETOOTH_PIN);
#endif #endif
#ifdef ENABLE_BLUETOOTH #ifdef ENABLE_BLUETOOTH
SerialBT.begin(String("TTGO LORA APRS ") + Tcall); SerialBT.begin(String("LORA APRS ") + Tcall);
writedisplaytext("LoRa-APRS","","Init:","BT OK!","",""); writedisplaytext("LoRa-APRS","","Init:","BT OK!","","");
#endif #endif
} }

View File

@ -11,7 +11,7 @@ try:
build_no = int(f.readline()) + 1 build_no = int(f.readline()) + 1
except: except:
print('Starting build number from 1..') print('Starting build number from 1..')
build_no = 53 build_no = 143
with open(FILENAME_BUILDNO, 'w+') as f: with open(FILENAME_BUILDNO, 'w+') as f:
f.write(str(build_no)) f.write(str(build_no))
print('Build number: {}'.format(build_no)) print('Build number: {}'.format(build_no))