esphome 2024.6.0__py3-none-any.whl → 2024.6.0b2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- esphome/components/esp32/__init__.py +7 -7
- esphome/components/esp32/post_build.py.script +1 -12
- esphome/components/esp8266/post_build.py.script +1 -9
- esphome/components/gpio/one_wire/gpio_one_wire.cpp +1 -1
- esphome/components/ili9xxx/ili9xxx_display.cpp +3 -17
- esphome/components/ili9xxx/ili9xxx_display.h +1 -2
- esphome/components/mqtt/mqtt_datetime.cpp +3 -3
- esphome/components/mqtt/mqtt_datetime.h +3 -3
- esphome/components/network/__init__.py +11 -15
- esphome/components/rp2040/__init__.py +2 -16
- esphome/components/update/__init__.py +0 -2
- esphome/components/wifi/wifi_component_esp32_arduino.cpp +6 -6
- esphome/components/wifi/wifi_component_esp8266.cpp +7 -7
- esphome/components/wifi/wifi_component_esp_idf.cpp +8 -8
- esphome/const.py +1 -1
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/METADATA +1 -1
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/RECORD +21 -22
- esphome/components/rp2040/post_build.py.script +0 -23
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/LICENSE +0 -0
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/WHEEL +0 -0
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/entry_points.txt +0 -0
- {esphome-2024.6.0.dist-info → esphome-2024.6.0b2.dist-info}/top_level.txt +0 -0
@@ -96,16 +96,16 @@ def get_board(core_obj=None):
|
|
96
96
|
def get_download_types(storage_json):
|
97
97
|
return [
|
98
98
|
{
|
99
|
-
"title": "
|
99
|
+
"title": "Modern format",
|
100
100
|
"description": "For use with ESPHome Web and other tools.",
|
101
|
-
"file": "firmware
|
102
|
-
"download": f"{storage_json.name}
|
101
|
+
"file": "firmware-factory.bin",
|
102
|
+
"download": f"{storage_json.name}-factory.bin",
|
103
103
|
},
|
104
104
|
{
|
105
|
-
"title": "
|
106
|
-
"description": "For
|
107
|
-
"file": "firmware.
|
108
|
-
"download": f"{storage_json.name}.
|
105
|
+
"title": "Legacy format",
|
106
|
+
"description": "For use with ESPHome Flasher.",
|
107
|
+
"file": "firmware.bin",
|
108
|
+
"download": f"{storage_json.name}.bin",
|
109
109
|
},
|
110
110
|
]
|
111
111
|
|
@@ -17,19 +17,17 @@ from SCons.Script import ARGUMENTS
|
|
17
17
|
|
18
18
|
# Copy over the default sdkconfig.
|
19
19
|
from os import path
|
20
|
-
|
21
20
|
if path.exists("./sdkconfig.defaults"):
|
22
21
|
os.makedirs(".temp", exist_ok=True)
|
23
22
|
shutil.copy("./sdkconfig.defaults", "./.temp/sdkconfig-esp32-idf")
|
24
23
|
|
25
|
-
|
26
24
|
def esp32_create_combined_bin(source, target, env):
|
27
25
|
verbose = bool(int(ARGUMENTS.get("PIOVERBOSE", "0")))
|
28
26
|
if verbose:
|
29
27
|
print("Generating combined binary for serial flashing")
|
30
28
|
app_offset = 0x10000
|
31
29
|
|
32
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}
|
30
|
+
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}-factory.bin")
|
33
31
|
sections = env.subst(env.get("FLASH_EXTRA_IMAGES"))
|
34
32
|
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin")
|
35
33
|
chip = env.get("BOARD_MCU")
|
@@ -64,14 +62,5 @@ def esp32_create_combined_bin(source, target, env):
|
|
64
62
|
else:
|
65
63
|
subprocess.run(["esptool.py", *cmd])
|
66
64
|
|
67
|
-
|
68
|
-
def esp32_copy_ota_bin(source, target, env):
|
69
|
-
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin")
|
70
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.ota.bin")
|
71
|
-
|
72
|
-
shutil.copyfile(firmware_name, new_file_name)
|
73
|
-
|
74
|
-
|
75
65
|
# pylint: disable=E0602
|
76
66
|
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_create_combined_bin) # noqa
|
77
|
-
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp32_copy_ota_bin) # noqa
|
@@ -6,18 +6,10 @@ Import("env") # noqa
|
|
6
6
|
|
7
7
|
def esp8266_copy_factory_bin(source, target, env):
|
8
8
|
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin")
|
9
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}
|
10
|
-
|
11
|
-
shutil.copyfile(firmware_name, new_file_name)
|
12
|
-
|
13
|
-
|
14
|
-
def esp8266_copy_ota_bin(source, target, env):
|
15
|
-
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin")
|
16
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.ota.bin")
|
9
|
+
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}-factory.bin")
|
17
10
|
|
18
11
|
shutil.copyfile(firmware_name, new_file_name)
|
19
12
|
|
20
13
|
|
21
14
|
# pylint: disable=E0602
|
22
15
|
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp8266_copy_factory_bin) # noqa
|
23
|
-
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", esp8266_copy_ota_bin) # noqa
|
@@ -60,7 +60,7 @@ void HOT IRAM_ATTR GPIOOneWireBus::write_bit_(bool bit) {
|
|
60
60
|
// recovery time: t_rec: min=1µs
|
61
61
|
// ds18b20 appears to read the bus after roughly 14µs
|
62
62
|
uint32_t delay0 = bit ? 6 : 60;
|
63
|
-
uint32_t delay1 = bit ?
|
63
|
+
uint32_t delay1 = bit ? 54 : 5;
|
64
64
|
|
65
65
|
// delay A/C
|
66
66
|
delayMicroseconds(delay0);
|
@@ -34,8 +34,8 @@ void ILI9XXXDisplay::setup() {
|
|
34
34
|
ESP_LOGD(TAG, "Setting up ILI9xxx");
|
35
35
|
|
36
36
|
this->setup_pins_();
|
37
|
-
this->
|
38
|
-
this->
|
37
|
+
this->init_lcd_(this->init_sequence_);
|
38
|
+
this->init_lcd_(this->extra_init_sequence_.data());
|
39
39
|
switch (this->pixel_mode_) {
|
40
40
|
case PIXEL_MODE_16:
|
41
41
|
if (this->is_18bitdisplay_) {
|
@@ -405,7 +405,7 @@ void ILI9XXXDisplay::reset_() {
|
|
405
405
|
}
|
406
406
|
}
|
407
407
|
|
408
|
-
void ILI9XXXDisplay::
|
408
|
+
void ILI9XXXDisplay::init_lcd_(const uint8_t *addr) {
|
409
409
|
if (addr == nullptr)
|
410
410
|
return;
|
411
411
|
uint8_t cmd, x, num_args;
|
@@ -427,20 +427,6 @@ void ILI9XXXDisplay::init_lcd(const uint8_t *addr) {
|
|
427
427
|
}
|
428
428
|
}
|
429
429
|
|
430
|
-
void ILI9XXXGC9A01A::init_lcd(const uint8_t *addr) {
|
431
|
-
if (addr == nullptr)
|
432
|
-
return;
|
433
|
-
uint8_t cmd, x, num_args;
|
434
|
-
while ((cmd = *addr++) != 0) {
|
435
|
-
x = *addr++;
|
436
|
-
num_args = x & 0x7F;
|
437
|
-
this->send_command(cmd, addr, num_args);
|
438
|
-
addr += num_args;
|
439
|
-
if (x & 0x80)
|
440
|
-
delay(150); // NOLINT
|
441
|
-
}
|
442
|
-
}
|
443
|
-
|
444
430
|
// Tell the display controller where we want to draw pixels.
|
445
431
|
void ILI9XXXDisplay::set_addr_window_(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) {
|
446
432
|
x1 += this->offset_x_;
|
@@ -109,7 +109,7 @@ class ILI9XXXDisplay : public display::DisplayBuffer,
|
|
109
109
|
|
110
110
|
virtual void set_madctl();
|
111
111
|
void display_();
|
112
|
-
|
112
|
+
void init_lcd_(const uint8_t *addr);
|
113
113
|
void set_addr_window_(uint16_t x, uint16_t y, uint16_t x2, uint16_t y2);
|
114
114
|
void reset_();
|
115
115
|
|
@@ -269,7 +269,6 @@ class ILI9XXXS3BoxLite : public ILI9XXXDisplay {
|
|
269
269
|
class ILI9XXXGC9A01A : public ILI9XXXDisplay {
|
270
270
|
public:
|
271
271
|
ILI9XXXGC9A01A() : ILI9XXXDisplay(INITCMD_GC9A01A, 240, 240, true) {}
|
272
|
-
void init_lcd(const uint8_t *addr) override;
|
273
272
|
};
|
274
273
|
|
275
274
|
//----------- ILI9XXX_24_TFT display --------------
|
@@ -6,12 +6,12 @@
|
|
6
6
|
#include "mqtt_const.h"
|
7
7
|
|
8
8
|
#ifdef USE_MQTT
|
9
|
-
#ifdef
|
9
|
+
#ifdef USE_DATETIME_TIME
|
10
10
|
|
11
11
|
namespace esphome {
|
12
12
|
namespace mqtt {
|
13
13
|
|
14
|
-
static const char *const TAG = "mqtt.datetime.
|
14
|
+
static const char *const TAG = "mqtt.datetime.time";
|
15
15
|
|
16
16
|
using namespace esphome::datetime;
|
17
17
|
|
@@ -80,5 +80,5 @@ bool MQTTDateTimeComponent::publish_state(uint16_t year, uint8_t month, uint8_t
|
|
80
80
|
} // namespace mqtt
|
81
81
|
} // namespace esphome
|
82
82
|
|
83
|
-
#endif //
|
83
|
+
#endif // USE_DATETIME_TIME
|
84
84
|
#endif // USE_MQTT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
#include "esphome/core/defines.h"
|
4
4
|
|
5
5
|
#ifdef USE_MQTT
|
6
|
-
#ifdef
|
6
|
+
#ifdef USE_DATETIME_TIME
|
7
7
|
|
8
8
|
#include "esphome/components/datetime/datetime_entity.h"
|
9
9
|
#include "mqtt_component.h"
|
@@ -17,7 +17,7 @@ class MQTTDateTimeComponent : public mqtt::MQTTComponent {
|
|
17
17
|
*
|
18
18
|
* @param time The time entity.
|
19
19
|
*/
|
20
|
-
explicit MQTTDateTimeComponent(datetime::DateTimeEntity *
|
20
|
+
explicit MQTTDateTimeComponent(datetime::DateTimeEntity *time);
|
21
21
|
|
22
22
|
// ========== INTERNAL METHODS ==========
|
23
23
|
// (In most use cases you won't need these)
|
@@ -41,5 +41,5 @@ class MQTTDateTimeComponent : public mqtt::MQTTComponent {
|
|
41
41
|
} // namespace mqtt
|
42
42
|
} // namespace esphome
|
43
43
|
|
44
|
-
#endif //
|
44
|
+
#endif // USE_DATETIME_DATE
|
45
45
|
#endif // USE_MQTT
|
@@ -19,12 +19,7 @@ IPAddress = network_ns.class_("IPAddress")
|
|
19
19
|
|
20
20
|
CONFIG_SCHEMA = cv.Schema(
|
21
21
|
{
|
22
|
-
cv.SplitDefault(
|
23
|
-
CONF_ENABLE_IPV6,
|
24
|
-
esp8266=False,
|
25
|
-
esp32=False,
|
26
|
-
rp2040=False,
|
27
|
-
): cv.All(
|
22
|
+
cv.SplitDefault(CONF_ENABLE_IPV6): cv.All(
|
28
23
|
cv.boolean, cv.only_on([PLATFORM_ESP32, PLATFORM_ESP8266, PLATFORM_RP2040])
|
29
24
|
),
|
30
25
|
cv.Optional(CONF_MIN_IPV6_ADDR_COUNT, default=0): cv.positive_int,
|
@@ -33,17 +28,18 @@ CONFIG_SCHEMA = cv.Schema(
|
|
33
28
|
|
34
29
|
|
35
30
|
async def to_code(config):
|
36
|
-
if
|
37
|
-
cg.add_define("USE_NETWORK_IPV6",
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
)
|
31
|
+
if CONF_ENABLE_IPV6 in config:
|
32
|
+
cg.add_define("USE_NETWORK_IPV6", config[CONF_ENABLE_IPV6])
|
33
|
+
cg.add_define(
|
34
|
+
"USE_NETWORK_MIN_IPV6_ADDR_COUNT", config[CONF_MIN_IPV6_ADDR_COUNT]
|
35
|
+
)
|
42
36
|
if CORE.using_esp_idf:
|
43
|
-
add_idf_sdkconfig_option("CONFIG_LWIP_IPV6",
|
44
|
-
add_idf_sdkconfig_option(
|
37
|
+
add_idf_sdkconfig_option("CONFIG_LWIP_IPV6", config[CONF_ENABLE_IPV6])
|
38
|
+
add_idf_sdkconfig_option(
|
39
|
+
"CONFIG_LWIP_IPV6_AUTOCONFIG", config[CONF_ENABLE_IPV6]
|
40
|
+
)
|
45
41
|
else:
|
46
|
-
if
|
42
|
+
if config[CONF_ENABLE_IPV6]:
|
47
43
|
cg.add_build_flag("-DCONFIG_LWIP_IPV6")
|
48
44
|
cg.add_build_flag("-DCONFIG_LWIP_IPV6_AUTOCONFIG")
|
49
45
|
if CORE.is_rp2040:
|
@@ -47,16 +47,10 @@ def set_core_data(config):
|
|
47
47
|
def get_download_types(storage_json):
|
48
48
|
return [
|
49
49
|
{
|
50
|
-
"title": "UF2
|
50
|
+
"title": "UF2 format",
|
51
51
|
"description": "For copying to RP2040 over USB.",
|
52
52
|
"file": "firmware.uf2",
|
53
|
-
"download": f"{storage_json.name}.
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"title": "OTA format",
|
57
|
-
"description": "For OTA updating a device.",
|
58
|
-
"file": "firmware.ota.bin",
|
59
|
-
"download": f"{storage_json.name}.ota.bin",
|
53
|
+
"download": f"{storage_json.name}.uf2",
|
60
54
|
},
|
61
55
|
]
|
62
56
|
|
@@ -166,8 +160,6 @@ async def to_code(config):
|
|
166
160
|
cg.add_define("ESPHOME_BOARD", config[CONF_BOARD])
|
167
161
|
cg.add_define("ESPHOME_VARIANT", "RP2040")
|
168
162
|
|
169
|
-
cg.add_platformio_option("extra_scripts", ["post:post_build.py"])
|
170
|
-
|
171
163
|
conf = config[CONF_FRAMEWORK]
|
172
164
|
cg.add_platformio_option("framework", "arduino")
|
173
165
|
cg.add_build_flag("-DUSE_ARDUINO")
|
@@ -233,10 +225,4 @@ def generate_pio_files() -> bool:
|
|
233
225
|
|
234
226
|
# Called by writer.py
|
235
227
|
def copy_files() -> bool:
|
236
|
-
dir = os.path.dirname(__file__)
|
237
|
-
post_build_file = os.path.join(dir, "post_build.py.script")
|
238
|
-
copy_file_if_changed(
|
239
|
-
post_build_file,
|
240
|
-
CORE.relative_build_path("post_build.py"),
|
241
|
-
)
|
242
228
|
return generate_pio_files()
|
@@ -7,7 +7,6 @@ from esphome.const import (
|
|
7
7
|
CONF_ID,
|
8
8
|
CONF_MQTT_ID,
|
9
9
|
CONF_WEB_SERVER_ID,
|
10
|
-
DEVICE_CLASS_EMPTY,
|
11
10
|
DEVICE_CLASS_FIRMWARE,
|
12
11
|
)
|
13
12
|
from esphome.core import CORE, coroutine_with_priority
|
@@ -25,7 +24,6 @@ PerformAction = update_ns.class_("PerformAction", automation.Action)
|
|
25
24
|
IsAvailableCondition = update_ns.class_("IsAvailableCondition", automation.Condition)
|
26
25
|
|
27
26
|
DEVICE_CLASSES = [
|
28
|
-
DEVICE_CLASS_EMPTY,
|
29
27
|
DEVICE_CLASS_FIRMWARE,
|
30
28
|
]
|
31
29
|
|
@@ -694,15 +694,15 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
694
694
|
info.netmask = network::IPAddress(255, 255, 255, 0);
|
695
695
|
}
|
696
696
|
|
697
|
-
err =
|
697
|
+
err = esp_netif_dhcpc_stop(s_ap_netif);
|
698
698
|
if (err != ESP_OK && err != ESP_ERR_ESP_NETIF_DHCP_ALREADY_STOPPED) {
|
699
|
-
|
699
|
+
ESP_LOGV(TAG, "esp_netif_dhcpc_stop failed: %s", esp_err_to_name(err));
|
700
700
|
return false;
|
701
701
|
}
|
702
702
|
|
703
703
|
err = esp_netif_set_ip_info(s_ap_netif, &info);
|
704
704
|
if (err != ESP_OK) {
|
705
|
-
|
705
|
+
ESP_LOGV(TAG, "esp_netif_set_ip_info failed! %d", err);
|
706
706
|
return false;
|
707
707
|
}
|
708
708
|
|
@@ -712,20 +712,20 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
712
712
|
start_address += 99;
|
713
713
|
lease.start_ip = start_address;
|
714
714
|
ESP_LOGV(TAG, "DHCP server IP lease start: %s", start_address.str().c_str());
|
715
|
-
start_address +=
|
715
|
+
start_address += 100;
|
716
716
|
lease.end_ip = start_address;
|
717
717
|
ESP_LOGV(TAG, "DHCP server IP lease end: %s", start_address.str().c_str());
|
718
718
|
err = esp_netif_dhcps_option(s_ap_netif, ESP_NETIF_OP_SET, ESP_NETIF_REQUESTED_IP_ADDRESS, &lease, sizeof(lease));
|
719
719
|
|
720
720
|
if (err != ESP_OK) {
|
721
|
-
|
721
|
+
ESP_LOGV(TAG, "esp_netif_dhcps_option failed! %d", err);
|
722
722
|
return false;
|
723
723
|
}
|
724
724
|
|
725
725
|
err = esp_netif_dhcps_start(s_ap_netif);
|
726
726
|
|
727
727
|
if (err != ESP_OK) {
|
728
|
-
|
728
|
+
ESP_LOGV(TAG, "esp_netif_dhcps_start failed! %d", err);
|
729
729
|
return false;
|
730
730
|
}
|
731
731
|
|
@@ -716,12 +716,12 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
716
716
|
|
717
717
|
if (wifi_softap_dhcps_status() == DHCP_STARTED) {
|
718
718
|
if (!wifi_softap_dhcps_stop()) {
|
719
|
-
|
719
|
+
ESP_LOGV(TAG, "Stopping DHCP server failed!");
|
720
720
|
}
|
721
721
|
}
|
722
722
|
|
723
723
|
if (!wifi_set_ip_info(SOFTAP_IF, &info)) {
|
724
|
-
|
724
|
+
ESP_LOGV(TAG, "Setting SoftAP info failed!");
|
725
725
|
return false;
|
726
726
|
}
|
727
727
|
|
@@ -735,17 +735,17 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
735
735
|
start_address += 99;
|
736
736
|
lease.start_ip = start_address;
|
737
737
|
ESP_LOGV(TAG, "DHCP server IP lease start: %s", start_address.str().c_str());
|
738
|
-
start_address +=
|
738
|
+
start_address += 100;
|
739
739
|
lease.end_ip = start_address;
|
740
740
|
ESP_LOGV(TAG, "DHCP server IP lease end: %s", start_address.str().c_str());
|
741
741
|
if (!wifi_softap_set_dhcps_lease(&lease)) {
|
742
|
-
|
742
|
+
ESP_LOGV(TAG, "Setting SoftAP DHCP lease failed!");
|
743
743
|
return false;
|
744
744
|
}
|
745
745
|
|
746
746
|
// lease time 1440 minutes (=24 hours)
|
747
747
|
if (!wifi_softap_set_dhcps_lease_time(1440)) {
|
748
|
-
|
748
|
+
ESP_LOGV(TAG, "Setting SoftAP DHCP lease time failed!");
|
749
749
|
return false;
|
750
750
|
}
|
751
751
|
|
@@ -755,13 +755,13 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
755
755
|
uint8_t mode = 1;
|
756
756
|
// bit0, 1 enables router information from ESP8266 SoftAP DHCP server.
|
757
757
|
if (!wifi_softap_set_dhcps_offer_option(OFFER_ROUTER, &mode)) {
|
758
|
-
|
758
|
+
ESP_LOGV(TAG, "wifi_softap_set_dhcps_offer_option failed!");
|
759
759
|
return false;
|
760
760
|
}
|
761
761
|
#endif
|
762
762
|
|
763
763
|
if (!wifi_softap_dhcps_start()) {
|
764
|
-
|
764
|
+
ESP_LOGV(TAG, "Starting SoftAP DHCPS failed!");
|
765
765
|
return false;
|
766
766
|
}
|
767
767
|
|
@@ -823,15 +823,15 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
823
823
|
info.netmask = network::IPAddress(255, 255, 255, 0);
|
824
824
|
}
|
825
825
|
|
826
|
-
err =
|
826
|
+
err = esp_netif_dhcpc_stop(s_ap_netif);
|
827
827
|
if (err != ESP_OK && err != ESP_ERR_ESP_NETIF_DHCP_ALREADY_STOPPED) {
|
828
|
-
|
828
|
+
ESP_LOGV(TAG, "esp_netif_dhcpc_stop failed: %s", esp_err_to_name(err));
|
829
829
|
return false;
|
830
830
|
}
|
831
831
|
|
832
832
|
err = esp_netif_set_ip_info(s_ap_netif, &info);
|
833
833
|
if (err != ESP_OK) {
|
834
|
-
|
834
|
+
ESP_LOGV(TAG, "esp_netif_set_ip_info failed! %d", err);
|
835
835
|
return false;
|
836
836
|
}
|
837
837
|
|
@@ -841,20 +841,20 @@ bool WiFiComponent::wifi_ap_ip_config_(optional<ManualIP> manual_ip) {
|
|
841
841
|
start_address += 99;
|
842
842
|
lease.start_ip = start_address;
|
843
843
|
ESP_LOGV(TAG, "DHCP server IP lease start: %s", start_address.str().c_str());
|
844
|
-
start_address +=
|
844
|
+
start_address += 100;
|
845
845
|
lease.end_ip = start_address;
|
846
846
|
ESP_LOGV(TAG, "DHCP server IP lease end: %s", start_address.str().c_str());
|
847
847
|
err = esp_netif_dhcps_option(s_ap_netif, ESP_NETIF_OP_SET, ESP_NETIF_REQUESTED_IP_ADDRESS, &lease, sizeof(lease));
|
848
848
|
|
849
849
|
if (err != ESP_OK) {
|
850
|
-
|
850
|
+
ESP_LOGV(TAG, "esp_netif_dhcps_option failed! %d", err);
|
851
851
|
return false;
|
852
852
|
}
|
853
853
|
|
854
854
|
err = esp_netif_dhcps_start(s_ap_netif);
|
855
855
|
|
856
856
|
if (err != ESP_OK) {
|
857
|
-
|
857
|
+
ESP_LOGV(TAG, "esp_netif_dhcps_start failed! %d", err);
|
858
858
|
return false;
|
859
859
|
}
|
860
860
|
|
@@ -887,12 +887,12 @@ bool WiFiComponent::wifi_start_ap_(const WiFiAP &ap) {
|
|
887
887
|
|
888
888
|
esp_err_t err = esp_wifi_set_config(WIFI_IF_AP, &conf);
|
889
889
|
if (err != ESP_OK) {
|
890
|
-
|
890
|
+
ESP_LOGV(TAG, "esp_wifi_set_config failed! %d", err);
|
891
891
|
return false;
|
892
892
|
}
|
893
893
|
|
894
894
|
if (!this->wifi_ap_ip_config_(ap.get_manual_ip())) {
|
895
|
-
|
895
|
+
ESP_LOGV(TAG, "wifi_ap_ip_config_ failed!");
|
896
896
|
return false;
|
897
897
|
}
|
898
898
|
|
esphome/const.py
CHANGED
@@ -5,7 +5,7 @@ esphome/codegen.py,sha256=A8O0Jr8qBILHlr7NwPPeW2DSKQ9H5d85j5fOXQw0rSQ,1835
|
|
5
5
|
esphome/config.py,sha256=wztK2UmO7-hc6HFDAi6YWtrPVy5mH0diKuqpsWp4-XA,39616
|
6
6
|
esphome/config_helpers.py,sha256=O7e8KvTpA3i5yjFORNhzPSsVSHDyKmF965b09MHyDWc,3118
|
7
7
|
esphome/config_validation.py,sha256=G79LGVIh5BdpGkzuehkm7Db_llpbC2of4dKqZEpHc3A,64838
|
8
|
-
esphome/const.py,sha256=
|
8
|
+
esphome/const.py,sha256=XMsEPNZavh-_S6R8g934oXa0TJK1mb73LD8PDNMQQ5w,38843
|
9
9
|
esphome/coroutine.py,sha256=IG2kC92OrenyiRm7Qo9uC-4qU4b4-Lmj0TkMIjRG2RY,9344
|
10
10
|
esphome/cpp_generator.py,sha256=hW2EfubUiildhKXZIdV8Dr3Q9TM5oHybFwiTo5-vEUE,31203
|
11
11
|
esphome/cpp_helpers.py,sha256=KadRBBoo4QRT-VwdWFtvxv_FYjqhZTkBhfMX-JhEMwg,4803
|
@@ -713,7 +713,7 @@ esphome/components/ens210/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
713
713
|
esphome/components/ens210/ens210.cpp,sha256=ZFc51aAks8P3bCKi5EkkQaueYIf5C4i4YmDfCUJbzU0,8377
|
714
714
|
esphome/components/ens210/ens210.h,sha256=yhCaQwB3GjeBYgOLXhuLCHELyjE3IrdL2e0Llfw9HU8,1545
|
715
715
|
esphome/components/ens210/sensor.py,sha256=_ES1FNSEIwmZLNNzqUV_nGvjPx-i_j2pblAe6vg8f9M,1724
|
716
|
-
esphome/components/esp32/__init__.py,sha256=
|
716
|
+
esphome/components/esp32/__init__.py,sha256=8W7xEzB3A6nPO5pzP4rc8k4d8_8yH_H5aLJYO7yDGfo,26138
|
717
717
|
esphome/components/esp32/boards.py,sha256=BS8y4P05p-kEnRPBnWA0SbkT78BTpfpukJl6v0R3fG0,42736
|
718
718
|
esphome/components/esp32/const.py,sha256=2yxLQg3p2-S3nRL6-zsF_dICrP_6waUfY5k8EFsoyVM,966
|
719
719
|
esphome/components/esp32/core.cpp,sha256=GfidaExP8kU7ODM1S_VI9c3tQtmG2TaKwLJ-zzeSqd4,2413
|
@@ -727,7 +727,7 @@ esphome/components/esp32/gpio_esp32_c6.py,sha256=wzWUx19EdvRSv5qEGub_NP_s8En7J08
|
|
727
727
|
esphome/components/esp32/gpio_esp32_h2.py,sha256=hdX3G658RrNTSvXyd6oDIg_DnyVvCL2JqX0xTcBHr5w,1772
|
728
728
|
esphome/components/esp32/gpio_esp32_s2.py,sha256=ZRmncxNQzrAq51ZjRuAsFJ_N3ODEZ1o9bCREBzIyAQs,2038
|
729
729
|
esphome/components/esp32/gpio_esp32_s3.py,sha256=wAF2bsiFQHfh9-UOQE33JHWSEc1XYYDi5lak8DrGhsU,1771
|
730
|
-
esphome/components/esp32/post_build.py.script,sha256=
|
730
|
+
esphome/components/esp32/post_build.py.script,sha256=NaTizV-2CgWTvzDv-y0iMJiCLnkfOhWpPR7M1DP_3Zw,1938
|
731
731
|
esphome/components/esp32/preferences.cpp,sha256=6mrR6ziH2dnBcMKPD5RwYYB16tkAy0w75x_mRy4wQCY,6294
|
732
732
|
esphome/components/esp32/preferences.h,sha256=9HIy-BOgjOXJiEgOizZ_Qb8-l6K4eb3VSPW8Y8ffuWM,165
|
733
733
|
esphome/components/esp32_ble/__init__.py,sha256=liKpEyuliwDH_sSIWNitd3l2DP51SF12o2a7MIkWhFI,2889
|
@@ -806,7 +806,7 @@ esphome/components/esp8266/core.h,sha256=Gt8v8q9LxxHbKjf445vOk1iYXnRYCl4VogI7sdU
|
|
806
806
|
esphome/components/esp8266/gpio.cpp,sha256=Qu136PM1HLzVVOIkqap-BRBQPMQldB6IS-_WD9CT7ZQ,3277
|
807
807
|
esphome/components/esp8266/gpio.h,sha256=ZiJzeNwTUgCDiRMLvFf2tMUExZvkSFDMKGFdrPUpbgc,1000
|
808
808
|
esphome/components/esp8266/gpio.py,sha256=hfdpI40G13GLRFPgW9mf5XZp_y_YHuoR64Trs_4t0Jg,6259
|
809
|
-
esphome/components/esp8266/post_build.py.script,sha256=
|
809
|
+
esphome/components/esp8266/post_build.py.script,sha256=LrIv_vj1V8W-kR41zix-SkzDDFQpnesV24KWpVzU61A,401
|
810
810
|
esphome/components/esp8266/preferences.cpp,sha256=RqloqG4xzwwReNE0bIOoD4JLgXrJK5bpfsBlaHVUAAM,8316
|
811
811
|
esphome/components/esp8266/preferences.h,sha256=9sx-Q5795dHCi6a3d_oE21INcrztnWw9CT0iqa1WZYE,220
|
812
812
|
esphome/components/esp8266_pwm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -914,7 +914,7 @@ esphome/components/gpio/binary_sensor/__init__.py,sha256=5aN9d9lhMm5f4mYKTpCAjrE
|
|
914
914
|
esphome/components/gpio/binary_sensor/gpio_binary_sensor.cpp,sha256=1uHK50delMhBeraotqFbVzOc7F-EDwL79aw283TmN0A,620
|
915
915
|
esphome/components/gpio/binary_sensor/gpio_binary_sensor.h,sha256=KcIZ2dmzpUDfBMQOK7xjCqAYFK8iRP1cA4VyxZGxohE,666
|
916
916
|
esphome/components/gpio/one_wire/__init__.py,sha256=oTQx3yIXYth-281Qz7NRFLCrX3S12LrmFbyOSC4XaeE,713
|
917
|
-
esphome/components/gpio/one_wire/gpio_one_wire.cpp,sha256=
|
917
|
+
esphome/components/gpio/one_wire/gpio_one_wire.cpp,sha256=qydc2lTh-rnCwVT__YZfI-UXtvRv8xZ-3vmHYtQfw6Q,5060
|
918
918
|
esphome/components/gpio/one_wire/gpio_one_wire.h,sha256=tAxSKs75rR2SQImCLmzziXevxpy-bzamKt0ETTEW1dc,959
|
919
919
|
esphome/components/gpio/output/__init__.py,sha256=LhpHRBnuIr_PzsFn8pzxXy_0ehXBWEptXffSanpPdDY,757
|
920
920
|
esphome/components/gpio/output/gpio_binary_output.cpp,sha256=-_--D6rDu4n7G8uRDXCDqpZR4EzeuahfvR4HJeCvKaw,341
|
@@ -1131,8 +1131,8 @@ esphome/components/ili9341/display.py,sha256=yyXXryJ1U43PA7QI-NpWacSGWCRwKmfawZq
|
|
1131
1131
|
esphome/components/ili9xxx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1132
1132
|
esphome/components/ili9xxx/display.py,sha256=K3axeV9zdCeExJ7aTswC9xQReyv7Hi2jw6WB1q3OYps,10273
|
1133
1133
|
esphome/components/ili9xxx/ili9xxx_defines.h,sha256=KnlWxCoFgk7LczhpEMgMAoUsS6M_s6ovOlIJFicj_X4,3728
|
1134
|
-
esphome/components/ili9xxx/ili9xxx_display.cpp,sha256=
|
1135
|
-
esphome/components/ili9xxx/ili9xxx_display.h,sha256=
|
1134
|
+
esphome/components/ili9xxx/ili9xxx_display.cpp,sha256=8P2SQJP96TWJ0LRKIISp_Vrg2RDuR2dbXPcz1sO1J7M,15498
|
1135
|
+
esphome/components/ili9xxx/ili9xxx_display.h,sha256=cb9Xu0_AxNMdeS2ikE3FSln6B2r9azlnqskoYU3lS-Q,8823
|
1136
1136
|
esphome/components/ili9xxx/ili9xxx_init.h,sha256=DoEE9Rx3HSDFqt7xvs5Url-HFbFe6WflsQfVYMSKLy8,17673
|
1137
1137
|
esphome/components/image/__init__.py,sha256=-gfMixVYJ50LPrEbqXx4aKBlV9-YT0G36kSfViE5lzQ,12395
|
1138
1138
|
esphome/components/image/image.cpp,sha256=6qYd_to3vjlOJa828dWeHCYftf3fv0LFrIp18zimYUM,5054
|
@@ -1643,8 +1643,8 @@ esphome/components/mqtt/mqtt_cover.cpp,sha256=kDf98Hn_FYCr4nS223FYDstatDssajQY2l
|
|
1643
1643
|
esphome/components/mqtt/mqtt_cover.h,sha256=WmJeDOrPNAqLrIPSDykjhs11fQEUo12VXQtjM33Z9z0,913
|
1644
1644
|
esphome/components/mqtt/mqtt_date.cpp,sha256=WRgoTsVhLBmjQ0MpG0-ibnglUh0uGTUQWpx_QQDHFhA,1901
|
1645
1645
|
esphome/components/mqtt/mqtt_date.h,sha256=wy4rIx2iU0NPa-ailgHwIOhV2tV_TN5VY8KEUcY0LRQ,1069
|
1646
|
-
esphome/components/mqtt/mqtt_datetime.cpp,sha256=
|
1647
|
-
esphome/components/mqtt/mqtt_datetime.h,sha256=
|
1646
|
+
esphome/components/mqtt/mqtt_datetime.cpp,sha256=soR9RgBMvDknAFU9wlLU00-7I8t9pXXzVA6yPkr1ukc,2650
|
1647
|
+
esphome/components/mqtt/mqtt_datetime.h,sha256=Pce9Qi_vyWOYxEd_DuQCi9I-RTaVGiOqAjZNadlkuVY,1140
|
1648
1648
|
esphome/components/mqtt/mqtt_event.cpp,sha256=qHVQT06N4mB-fnecTWwipbXO0RHq14m8w2jiPE3DoWU,1653
|
1649
1649
|
esphome/components/mqtt/mqtt_event.h,sha256=Jwr33Mv9ZPRE5dobyh4N-QEbB8jCGoZyR2-SFZBeNKE,828
|
1650
1650
|
esphome/components/mqtt/mqtt_fan.cpp,sha256=SQEQ0_wUEihMGCcU1i_FumienvzkuNhw7Y1h7lhJLrE,6276
|
@@ -1695,7 +1695,7 @@ esphome/components/neopixelbus/_methods.py,sha256=Qt6aC4K-9ySyRVD2aUy8UmM_H9brdf
|
|
1695
1695
|
esphome/components/neopixelbus/const.py,sha256=8dPnqN1skzSEnjjsr3H2Q3BJOEn-TyFB1PApCSSsYUw,824
|
1696
1696
|
esphome/components/neopixelbus/light.py,sha256=Qm2eq4wSt7jVcX81wtGvOmTHHIStP4GM1mNnHzrtUuQ,7289
|
1697
1697
|
esphome/components/neopixelbus/neopixelbus_light.h,sha256=Q-F19U58RBjGcE_0mJc7rZG5JPnxKNgcBWRVvbEH1V4,4650
|
1698
|
-
esphome/components/network/__init__.py,sha256=
|
1698
|
+
esphome/components/network/__init__.py,sha256=7dishf_QJ4FAhPI-gq81Wgq-HPEo4mwi3jya3tepeL0,1614
|
1699
1699
|
esphome/components/network/ip_address.h,sha256=tO_BQRZ_SrX8-PQhbRdCMT0k9Odb030_xleZl7SOcJs,4231
|
1700
1700
|
esphome/components/network/util.cpp,sha256=hGmUg9ETloFHVAdYcg1b9ojsqNch4rUvZhbRlNTxbGY,1484
|
1701
1701
|
esphome/components/network/util.h,sha256=cZdPgWnrHA46xJEZ6ZJpB0hb-PzjutCB-1avFwAR7hc,431
|
@@ -2100,7 +2100,7 @@ esphome/components/rotary_encoder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
2100
2100
|
esphome/components/rotary_encoder/rotary_encoder.cpp,sha256=8mcuTY9iS09W9N95ZtZqDxpg3begH5BhN3VkOpV25JE,10579
|
2101
2101
|
esphome/components/rotary_encoder/rotary_encoder.h,sha256=oeCmz0ctT3CxP-16g3cie9kekgM79omeLQmunbCHRW0,4653
|
2102
2102
|
esphome/components/rotary_encoder/sensor.py,sha256=dTXnJXedy05ezEh67qWJpuPFPax99xq_QHFA0XWcx3U,5231
|
2103
|
-
esphome/components/rp2040/__init__.py,sha256=
|
2103
|
+
esphome/components/rp2040/__init__.py,sha256=C4qk02jsxRcQgt7iqCSAn_K4ehN1Bug0KXwTRbRZAcM,7545
|
2104
2104
|
esphome/components/rp2040/boards.py,sha256=O0LRt2Bhi5yVvW11iPLOTPkW3P_2WlTonQZERaNzea4,445
|
2105
2105
|
esphome/components/rp2040/build_pio.py.script,sha256=aNtrSnjYcLY6t0NYBGszhwMPISVNrNUg6nJtyBdfyh4,1218
|
2106
2106
|
esphome/components/rp2040/const.py,sha256=1x4XQlMfgQux1bllBAhz9ym-aUeFglxtPnQbpG3vUYQ,147
|
@@ -2109,7 +2109,6 @@ esphome/components/rp2040/core.h,sha256=YA4WtdKTdnZxkpOUF4GwT3KMjsbFjH6j0y42Evet
|
|
2109
2109
|
esphome/components/rp2040/gpio.cpp,sha256=_EkccW4ZuUW7HVJxaVgCqYA4z0h4MDf0SGLDYD7jW-M,3002
|
2110
2110
|
esphome/components/rp2040/gpio.h,sha256=JtFhNxD2PJGppiKmK-YhD-eRmB9UVQRtqKPr8HVsT_4,995
|
2111
2111
|
esphome/components/rp2040/gpio.py,sha256=FgVOCm_chiE5sm-c3DzX--U2WbzMRKDpI4KRYkO_cWc,2789
|
2112
|
-
esphome/components/rp2040/post_build.py.script,sha256=JgNm6aGGA9LYGZEjzqr8EHiugKLU6h7fmmXFAhdBleI,699
|
2113
2112
|
esphome/components/rp2040/preferences.cpp,sha256=tSFwd7RWmbkJSfOUcq_y6rlNXpSxGlBL88juNBPV4MA,4465
|
2114
2113
|
esphome/components/rp2040/preferences.h,sha256=z7zFhLXLLmURu5RNaAlOpPIv2TnK8cvrGkGAyz0LvjM,216
|
2115
2114
|
esphome/components/rp2040_pio/__init__.py,sha256=tKUlvHo2khh10A_LFOMuIc7MPswajSzz4FrVlYaGRw8,1244
|
@@ -2806,7 +2805,7 @@ esphome/components/ultrasonic/__init__.py,sha256=PTP_5q_K_2dNnUdkolkVd5komlEbJdS
|
|
2806
2805
|
esphome/components/ultrasonic/sensor.py,sha256=SJADHJ0fdAUXD79cRiGGcsWbrt2tyHICYp3TIiRrqOs,1630
|
2807
2806
|
esphome/components/ultrasonic/ultrasonic_sensor.cpp,sha256=b6rXmtLiXxWcD3O-Hu14rbOTImS6YMnpKU4gOXBhtMo,2359
|
2808
2807
|
esphome/components/ultrasonic/ultrasonic_sensor.h,sha256=Xf0Fn8sVX-DdClbrL45Koo9OX5JMIwzpKkhOLLMVmlw,1389
|
2809
|
-
esphome/components/update/__init__.py,sha256=
|
2808
|
+
esphome/components/update/__init__.py,sha256=nwWzc9YcqXadnXMSVQMo_OL2fD1pa2L2f5sw8aMyL7o,3319
|
2810
2809
|
esphome/components/update/update_entity.cpp,sha256=AyFcNZG1iGE6UzcANzaP-aOCLhKvK69_HRMSgiR9gSk,214
|
2811
2810
|
esphome/components/update/update_entity.h,sha256=rPBBG3_bndHXtrW6zZwwinmeEo8LVdsqvplAD8MbQqM,1151
|
2812
2811
|
esphome/components/uponor_smatrix/__init__.py,sha256=8GvLYw4MOoXfcys_6D_JRIyRY0fGmzDczSfKvuXipC8,2307
|
@@ -2906,9 +2905,9 @@ esphome/components/wiegand/wiegand.h,sha256=gyg5szEK0okoeLBQR284k84xy-ln19kNIkeO
|
|
2906
2905
|
esphome/components/wifi/__init__.py,sha256=NvHUqXep2qnbDVsL_31hTHysHF_g5KU6gndvuQgMrh8,16418
|
2907
2906
|
esphome/components/wifi/wifi_component.cpp,sha256=ZHiBTvpwTqm2IJgYRy356Hbz7eEsaOsgBwhLgunKucg,28954
|
2908
2907
|
esphome/components/wifi/wifi_component.h,sha256=Gxmgn0pM7Eos0R-haNf31sKUlqwrQjF1NJ9-DXZxxCU,12265
|
2909
|
-
esphome/components/wifi/wifi_component_esp32_arduino.cpp,sha256=
|
2910
|
-
esphome/components/wifi/wifi_component_esp8266.cpp,sha256=
|
2911
|
-
esphome/components/wifi/wifi_component_esp_idf.cpp,sha256=
|
2908
|
+
esphome/components/wifi/wifi_component_esp32_arduino.cpp,sha256=x8t411KwVeMho3Oy2uRB_9LRtyYTmhkyk_AUSOUP_Ew,26895
|
2909
|
+
esphome/components/wifi/wifi_component_esp8266.cpp,sha256=_VteviYPphBaPVFrLq3Y5RK1R4FqUmjFDf0uexU4yc0,27109
|
2910
|
+
esphome/components/wifi/wifi_component_esp_idf.cpp,sha256=vihw8BYkaDpDi3O9WPQzTpkNUOv8YrR5F0q1cv2KszQ,34232
|
2912
2911
|
esphome/components/wifi/wifi_component_libretiny.cpp,sha256=9T7gLX2pILJe8F4u7Er2pMN6GRcbqeZgeGSm2HQPi-4,15829
|
2913
2912
|
esphome/components/wifi/wifi_component_pico_w.cpp,sha256=FKy17FXD8GXbwfLpxBrVlBTvRkoYz_OLKgAGoz-ufaM,5759
|
2914
2913
|
esphome/components/wifi/wpa2_eap.py,sha256=TZroem4qBOfxJM4vyK15NHo5gk7eEG6RFcZiN4RMEDc,4860
|
@@ -3113,9 +3112,9 @@ esphome/dashboard/util/itertools.py,sha256=8eLrWEWmICLtXNxkKdYPQV0c_N4GEz8m9Npnb
|
|
3113
3112
|
esphome/dashboard/util/password.py,sha256=cQz3b9B-ijTe7zS6BeCW0hc3pWv6JjC78jmnycYYAh8,321
|
3114
3113
|
esphome/dashboard/util/subprocess.py,sha256=T8EW6dbU4LPd2DG1dRrdh8li71tt6J1isn411poMhkk,1022
|
3115
3114
|
esphome/dashboard/util/text.py,sha256=ENDnfN4O0NdA3CKVJjQYabFbwbrsIhVKrAMQe53qYu4,534
|
3116
|
-
esphome-2024.6.
|
3117
|
-
esphome-2024.6.
|
3118
|
-
esphome-2024.6.
|
3119
|
-
esphome-2024.6.
|
3120
|
-
esphome-2024.6.
|
3121
|
-
esphome-2024.6.
|
3115
|
+
esphome-2024.6.0b2.dist-info/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
|
3116
|
+
esphome-2024.6.0b2.dist-info/METADATA,sha256=SjbtnoJqQtV2oQgCiHeoiwkJ8tfwnS25neRRFjoZUOk,3265
|
3117
|
+
esphome-2024.6.0b2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
3118
|
+
esphome-2024.6.0b2.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
|
3119
|
+
esphome-2024.6.0b2.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
|
3120
|
+
esphome-2024.6.0b2.dist-info/RECORD,,
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import shutil
|
2
|
-
|
3
|
-
# pylint: disable=E0602
|
4
|
-
Import("env") # noqa
|
5
|
-
|
6
|
-
|
7
|
-
def rp2040_copy_factory_uf2(source, target, env):
|
8
|
-
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.uf2")
|
9
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.factory.uf2")
|
10
|
-
|
11
|
-
shutil.copyfile(firmware_name, new_file_name)
|
12
|
-
|
13
|
-
|
14
|
-
def rp2040_copy_ota_bin(source, target, env):
|
15
|
-
firmware_name = env.subst("$BUILD_DIR/${PROGNAME}.bin")
|
16
|
-
new_file_name = env.subst("$BUILD_DIR/${PROGNAME}.ota.bin")
|
17
|
-
|
18
|
-
shutil.copyfile(firmware_name, new_file_name)
|
19
|
-
|
20
|
-
|
21
|
-
# pylint: disable=E0602
|
22
|
-
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", rp2040_copy_factory_uf2) # noqa
|
23
|
-
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", rp2040_copy_ota_bin) # noqa
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|