File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ build_flags = ${esp82xx_2_6_x.build_flags} -DARDUINO_ESP8266_RELEA
56
56
57
57
58
58
[core_2_6_2_packages]
59
- platform = espressif8266
59
+ platform = espressif8266@2.3.1
60
60
platform_packages =
61
61
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git# 2.6.2
62
62
build_flags = ${esp82xx_2_6_x.build_flags}
Original file line number Diff line number Diff line change 12
12
# - project source code
13
13
# - frameworks
14
14
# - dependent libraries
15
- env . Append ( CPPDEFINES = [
15
+ cppdefines = [
16
16
"PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703" ,
17
17
"ESPEASY_MCVE_BUILD"
18
18
# ,"NO_HTTP_UPDATER"
19
19
# ,("WEBSERVER_RULES_DEBUG", "0")
20
- ])
20
+ ]
21
+
21
22
if os .path .isfile ('src/Custom.h' ):
22
- env [ 'CPPDEFINES' ] .append ("USE_CUSTOM_H" )
23
+ cppdefines .append ("USE_CUSTOM_H" )
23
24
else :
24
- env [ 'CPPDEFINES' ] .extend ([
25
+ cppdefines .extend ([
25
26
"USES_P001" , # Switch
26
27
"USE_SETTINGS_ARCHIVE"
27
28
])
28
29
30
+ env .Append (CPPDEFINES = cppdefines )
31
+
29
32
print (env ['CPPDEFINES' ])
You can’t perform that action at this time.
0 commit comments