kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
testing on S3 board
rodzic
27d342ae0e
commit
2a2c812d73
|
@ -12,7 +12,9 @@
|
||||||
#include <MicroNMEA.h>
|
#include <MicroNMEA.h>
|
||||||
#include <Ticker.h>
|
#include <Ticker.h>
|
||||||
#include "esp_heap_caps.h"
|
#include "esp_heap_caps.h"
|
||||||
#include "soc/rtc_wdt.h"
|
/////This makes problems on the S3
|
||||||
|
////https://github.com/espressif/esp-idf/issues/8038
|
||||||
|
/////#include "soc/rtc_wdt.h"
|
||||||
|
|
||||||
#include "src/SX1278FSK.h"
|
#include "src/SX1278FSK.h"
|
||||||
#include "src/Sonde.h"
|
#include "src/Sonde.h"
|
||||||
|
|
|
@ -7,6 +7,12 @@
|
||||||
#include "Display.h"
|
#include "Display.h"
|
||||||
#include "Sonde.h"
|
#include "Sonde.h"
|
||||||
|
|
||||||
|
// Tricks for S3?
|
||||||
|
// TODO: Check SPI port
|
||||||
|
#ifndef VSPI
|
||||||
|
#define VSPI 2
|
||||||
|
#endif
|
||||||
|
|
||||||
int readLine(Stream &stream, char *buffer, int maxlen);
|
int readLine(Stream &stream, char *buffer, int maxlen);
|
||||||
|
|
||||||
extern const char *version_name;
|
extern const char *version_name;
|
||||||
|
|
|
@ -21,13 +21,15 @@ lib_deps_external =
|
||||||
AXP202X_Library
|
AXP202X_Library
|
||||||
stevemarple/MicroNMEA @ ^2.0.5
|
stevemarple/MicroNMEA @ ^2.0.5
|
||||||
me-no-dev/ESP Async WebServer @ ^1.2.3
|
me-no-dev/ESP Async WebServer @ ^1.2.3
|
||||||
https://github.com/moononournation/Arduino_GFX#v1.1.5
|
https://github.com/moononournation/Arduino_GFX
|
||||||
https://github.com/dx168b/async-mqtt-client
|
https://github.com/dx168b/async-mqtt-client
|
||||||
|
|
||||||
[env:ttgo-lora32]
|
[env:ttgo-lora32]
|
||||||
platform = https://github.com/platformio/platform-espressif32.git#v3.3.2
|
#platform = https://github.com/platformio/platform-espressif32.git#v3.3.2
|
||||||
|
platform = https://github.com/platformio/platform-espressif32.git
|
||||||
#platform = https://github.com/platformio/platform-espressif32.git#v4.4.0
|
#platform = https://github.com/platformio/platform-espressif32.git#v4.4.0
|
||||||
board = ttgo-lora32-v1
|
#board = ttgo-lora32-v1
|
||||||
|
board = heltec_wifi_lora_32_V3
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
@ -44,5 +46,5 @@ lib_ignore = Time
|
||||||
; - pio run --target=uploadfonts (uploads fonts.bin created during the first pio run)
|
; - pio run --target=uploadfonts (uploads fonts.bin created during the first pio run)
|
||||||
; Then everything should be "back to normal"
|
; Then everything should be "back to normal"
|
||||||
;
|
;
|
||||||
extra_scripts = post:scripts/makefontpartition.py
|
;extra_scripts = post:scripts/makefontpartition.py
|
||||||
;board_build.partitions = partition-fonts.csv
|
;board_build.partitions = partition-fonts.csv
|
||||||
|
|
Ładowanie…
Reference in New Issue