kopia lustrzana https://github.com/sh123/esp32_loraprs
Allow building igate mode from platformio file
rodzic
c1a5770292
commit
a5d1193783
|
@ -18,7 +18,9 @@
|
|||
#define CFG_LOG_LEVEL DebugLogLevel::LVL_INFO
|
||||
|
||||
// select between client mode and APRS-IS gate mode
|
||||
#ifndef CFG_IS_CLIENT_MODE
|
||||
#define CFG_IS_CLIENT_MODE true // false - server mode (APRS-IS gate mode)
|
||||
#endif
|
||||
|
||||
// change pinouts if not defined through native board LORA_* definitions
|
||||
#ifndef LORA_RST
|
||||
|
|
|
@ -6,6 +6,8 @@ default_envs = esp32dev
|
|||
platform = espressif32
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = min_spiffs.csv
|
||||
upload_protocol = esptool
|
||||
lib_deps=
|
||||
hideakitai/DebugLog @ 0.6.6
|
||||
contrem/arduino-timer @ 2.3.1
|
||||
|
@ -15,5 +17,11 @@ lib_deps=
|
|||
[env:esp32dev]
|
||||
board = esp32dev
|
||||
board_build.f_cpu = 80000000L
|
||||
board_build.partitions = min_spiffs.csv
|
||||
upload_protocol = esptool
|
||||
build_flags =
|
||||
'-D CFG_IS_CLIENT_MODE=true'
|
||||
|
||||
[env:esp32dev_igate]
|
||||
board = esp32dev
|
||||
board_build.f_cpu = 240000000L
|
||||
build_flags =
|
||||
'-D CFG_IS_CLIENT_MODE=false'
|
||||
|
|
Ładowanie…
Reference in New Issue