Skip to content

Commit 454e4e5

Browse files
Merge pull request #122 from astralaster/pio
Add platformio support.
2 parents 215d1f5 + d8318cc commit 454e4e5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

platformio.ini

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
; PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
[platformio]
12+
src_dir = video
13+
14+
[env:esp32dev]
15+
platform = espressif32
16+
board = esp32dev
17+
framework = arduino
18+
lib_deps =
19+
https://github.com/avalonbits/vdp-gl.git#1.0.3
20+
fbiego/ESP32Time@^2.0.0
21+
build_flags =
22+
-DBOARD_HAS_PSRAM
23+
-mfix-esp32-psram-cache-issue
24+
monitor_speed = 115200
25+
upload_speed = 600000

video/video.ino

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
// 05/09/2023: + New audio enhancements, improved mode change code
4545
// 12/09/2023: + Refactored
4646

47+
#include <WiFi.h>
4748
#include <HardwareSerial.h>
4849
#include <fabgl.h>
4950

0 commit comments

Comments
 (0)