kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
Merge branch 'analogic-devel' (pull request #36) into devel
commit
1ea3bdd0ee
|
@ -30,3 +30,6 @@
|
|||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
.pio
|
||||
.vscode
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <WiFi.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include <ESPAsyncWebServer.h>
|
||||
|
||||
#include <WebSockets.h>
|
||||
#include <SPIFFS.h>
|
||||
//#include <U8x8lib.h>
|
||||
//#include <U8g2lib.h>
|
||||
|
@ -22,6 +22,13 @@
|
|||
#include "geteph.h"
|
||||
#include "rs92gps.h"
|
||||
|
||||
#ifdef TTGO_V2
|
||||
// platformio currently fails to build with board v2 so ve override v1 pins instead
|
||||
#define OLED_SDA 4
|
||||
#define OLED_SCL 15
|
||||
#define OLED_RST 16
|
||||
#endif
|
||||
|
||||
int e;
|
||||
|
||||
enum MainState { ST_DECODER, ST_SPECTRUM, ST_WIFISCAN, ST_UPDATE, ST_TOUCHCALIB };
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
|
||||
"dependencies":
|
||||
[
|
||||
{
|
||||
"owner": "olikraus",
|
||||
"name": "U8g2",
|
||||
"version": "^2.28.8"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
src_dir = RX_FSK
|
||||
lib_dir = libraries
|
||||
data_dir = RX_FSK/data
|
||||
|
||||
[extra]
|
||||
lib_deps_builtin =
|
||||
SondeLib
|
||||
SX1278FSK
|
||||
fonts
|
||||
lib_deps_external =
|
||||
olikraus/U8g2 @ ^2.28.8
|
||||
AXP202X_Library
|
||||
links2004/WebSockets @ ^2.3.1
|
||||
stevemarple/MicroNMEA @ ^2.0.3
|
||||
nkawu/TFT 22 ILI9225 @ ^1.4.4
|
||||
me-no-dev/ESP Async WebServer @ ^1.2.3
|
||||
|
||||
[env:ttgo-lora32-v1]
|
||||
platform = espressif32
|
||||
board = ttgo-lora32-v1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
lib_deps =
|
||||
${extra.lib_deps_builtin}
|
||||
${extra.lib_deps_external}
|
||||
|
||||
[env:ttgo-lora32-v2]
|
||||
platform = espressif32
|
||||
# platformio currently fails to build with board v2 so ve override v1 pins instead
|
||||
build_flags = -D TTGO_V2
|
||||
board = ttgo-lora32-v1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
lib_deps =
|
||||
${extra.lib_deps_builtin}
|
||||
${extra.lib_deps_external}
|
Ładowanie…
Reference in New Issue