Subversion Repositories ESP8266_P1_Meter

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 raymond 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
[env:esp32-s3-devkitc1-n4r2]
12
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
13
board = esp32-s3-devkitc1-n4r2
14
framework = arduino
15
board_build.partitions = partitions.csv
16
build_flags =
17
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/AsyncTCP/src
18
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/ESPAsyncWebServer/src
19
lib_deps = 
20
    ESP32Async/AsyncTCP
21
    ESP32Async/ESPAsyncWebServer
22
lib_ignore = ESPAsyncTCP ArduinoJson WebServer
23
 
24
lib_extra_dirs = 
25
    ../..
26
 
27
 
28
[env:esp32dev]
29
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
30
board = esp32dev
31
framework = arduino
32
build_flags =
33
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/AsyncTCP/src
34
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/ESPAsyncWebServer/src
35
lib_deps = 
36
    ESP32Async/ESPAsyncWebServer
37
    ESP32Async/AsyncTCP
38
lib_extra_dirs = 
39
    ../..
40
 
41
lib_ignore = ESPAsyncTCP ArduinoJson WebServer
42
 
43
 
44
[env:esp8266]
45
platform = espressif8266
46
framework = arduino
47
board = d1_mini
48
build_flags =
49
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/AsyncTCP/src
50
    -I$PROJECT_LIBDEPS_DIR/$PIOENV/ESPAsyncWebServer/src
51
lib_deps =  
52
  ESP32Async/ESPAsyncTCP
53
  ESP32Async/ESPAsyncWebServer
54
 
55
lib_extra_dirs = 
56
    ../..