Skip to content

Commit e4e0a4c

Browse files
author
Jason2866
committed
Release 2.0.1
1 parent 5f30bab commit e4e0a4c

File tree

94 files changed

+2850
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+2850
-126
lines changed

CMakeLists.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# Check ESP-IDF version and error out if it is not in the supported range.
2+
#
3+
# Note for arduino-esp32 developers: to bypass the version check locally,
4+
# set ARDUINO_SKIP_IDF_VERSION_CHECK environment variable to 1. For example:
5+
# export ARDUINO_SKIP_IDF_VERSION_CHECK=1
6+
# idf.py build
7+
8+
set(min_supported_idf_version "4.4.0")
9+
set(max_supported_idf_version "4.4.99")
10+
set(idf_version "${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}")
11+
12+
if ("${idf_version}" AND NOT "$ENV{ARDUINO_SKIP_IDF_VERSION_CHECK}")
13+
if (idf_version VERSION_LESS min_supported_idf_version)
14+
message(FATAL_ERROR "Arduino-esp32 can be used with ESP-IDF versions "
15+
"between ${min_supported_idf_version} and ${max_supported_idf_version}, "
16+
"but an older version is detected: ${idf_version}.")
17+
endif()
18+
if (idf_version VERSION_GREATER max_supported_idf_version)
19+
message(FATAL_ERROR "Arduino-esp32 can be used with ESP-IDF versions "
20+
"between ${min_supported_idf_version} and ${max_supported_idf_version}, "
21+
"but a newer version is detected: ${idf_version}.")
22+
endif()
23+
endif()
24+
125
set(CORE_SRCS
226
cores/esp32/base64.cpp
327
cores/esp32/cbuf.cpp

README.md

Lines changed: 2 additions & 13 deletions

cores/esp32/core_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define ARDUINO_ESP32_GIT_VER 0xa443b816
2-
#define ARDUINO_ESP32_GIT_DESC 2.0.1.rc2
3-
#define ARDUINO_ESP32_RELEASE_2_0_1_rc2
4-
#define ARDUINO_ESP32_RELEASE "2_0_1_rc2"
2+
#define ARDUINO_ESP32_GIT_DESC 2.0.1
3+
#define ARDUINO_ESP32_RELEASE_2_0_1
4+
#define ARDUINO_ESP32_RELEASE "2_0_1"

cores/esp32/esp32-hal-ledc.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "freertos/task.h"
1818
#include "freertos/semphr.h"
1919
#include "esp32-hal-matrix.h"
20+
#include "soc/soc_caps.h"
2021
#include "soc/ledc_reg.h"
2122
#include "soc/ledc_struct.h"
2223
#include "driver/periph_ctrl.h"
@@ -331,3 +332,21 @@ double ledcChangeFrequency(uint8_t chan, double freq, uint8_t bit_num)
331332
double res_freq = _ledcSetupTimerFreq(chan, freq, bit_num);
332333
return res_freq;
333334
}
335+
336+
static int8_t pin_to_channel[SOC_GPIO_PIN_COUNT] = { 0 };
337+
static int cnt_channel = SOC_LEDC_CHANNEL_NUM;
338+
void analogWrite(uint8_t pin, int value) {
339+
// Use ledc hardware for internal pins
340+
if (pin < SOC_GPIO_PIN_COUNT) {
341+
if (pin_to_channel[pin] == 0) {
342+
if (!cnt_channel) {
343+
log_e("No more analogWrite channels available! You can have maximum %u", SOC_LEDC_CHANNEL_NUM);
344+
return;
345+
}
346+
pin_to_channel[pin] = cnt_channel--;
347+
ledcAttachPin(pin, cnt_channel);
348+
ledcSetup(cnt_channel, 1000, 8);
349+
}
350+
ledcWrite(pin_to_channel[pin] - 1, value);
351+
}
352+
}

cores/esp32/esp32-hal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ void yield(void);
9090
#include "esp32-hal-psram.h"
9191
#include "esp32-hal-cpu.h"
9292

93+
void analogWrite(uint8_t pin, int value);
94+
9395
//returns chip temperature in Celsius
9496
float temperatureRead();
9597

libraries/Ethernet/src/ETH.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,10 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ
368368
log_e("esp_eth_init error: %d", err);
369369
}
370370
#endif
371+
// holds a few microseconds to let DHCP start and enter into a good state
372+
// FIX ME -- adresses issue https://github.com/espressif/arduino-esp32/issues/5733
373+
delay(50);
374+
371375
return true;
372376
}
373377

@@ -396,7 +400,8 @@ bool ETHClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, I
396400
if(err != ERR_OK){
397401
log_e("STA IP could not be configured! Error: %d", err);
398402
return false;
399-
}
403+
}
404+
400405
if(info.ip.addr){
401406
staticIP = true;
402407
} else {

libraries/Wire/src/Wire.cpp

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -447,32 +447,40 @@ void TwoWire::flush(void)
447447

448448
uint8_t TwoWire::requestFrom(uint8_t address, uint8_t quantity, uint8_t sendStop)
449449
{
450-
return requestFrom(static_cast<uint16_t>(address), static_cast<size_t>(quantity), static_cast<bool>(sendStop));
450+
return requestFrom(static_cast<uint16_t>(address), static_cast<uint8_t>(quantity), static_cast<bool>(sendStop));
451451
}
452452

453453
uint8_t TwoWire::requestFrom(uint16_t address, uint8_t quantity, uint8_t sendStop)
454454
{
455-
return requestFrom(address, static_cast<size_t>(quantity), static_cast<bool>(sendStop));
455+
return requestFrom(address, static_cast<uint8_t>(quantity), static_cast<bool>(sendStop));
456+
}
457+
458+
/* Added to match the Arduino function definition: https://github.com/arduino/ArduinoCore-API/blob/173e8eadced2ad32eeb93bcbd5c49f8d6a055ea6/api/HardwareI2C.h#L39
459+
* See: https://github.com/arduino-libraries/ArduinoECCX08/issues/25
460+
*/
461+
size_t TwoWire::requestFrom(uint8_t address, size_t len, bool stopBit)
462+
{
463+
return requestFrom((uint16_t)address, (uint8_t)len, stopBit);
456464
}
457465

458466
uint8_t TwoWire::requestFrom(uint8_t address, uint8_t quantity)
459467
{
460-
return requestFrom(static_cast<uint16_t>(address), static_cast<size_t>(quantity), true);
468+
return requestFrom(static_cast<uint16_t>(address), static_cast<uint8_t>(quantity), true);
461469
}
462470

463471
uint8_t TwoWire::requestFrom(uint16_t address, uint8_t quantity)
464472
{
465-
return requestFrom(address, static_cast<size_t>(quantity), true);
473+
return requestFrom(address, static_cast<uint8_t>(quantity), true);
466474
}
467475

468476
uint8_t TwoWire::requestFrom(int address, int quantity)
469477
{
470-
return requestFrom(static_cast<uint16_t>(address), static_cast<size_t>(quantity), true);
478+
return requestFrom(static_cast<uint16_t>(address), static_cast<uint8_t>(quantity), true);
471479
}
472480

473481
uint8_t TwoWire::requestFrom(int address, int quantity, int sendStop)
474482
{
475-
return static_cast<uint8_t>(requestFrom(static_cast<uint16_t>(address), static_cast<size_t>(quantity), static_cast<bool>(sendStop)));
483+
return static_cast<uint8_t>(requestFrom(static_cast<uint16_t>(address), static_cast<uint8_t>(quantity), static_cast<bool>(sendStop)));
476484
}
477485

478486
void TwoWire::beginTransmission(int address)

libraries/Wire/src/Wire.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class TwoWire: public Stream
9595

9696
uint8_t requestFrom(uint16_t address, uint8_t size, bool sendStop);
9797
uint8_t requestFrom(uint16_t address, uint8_t size, uint8_t sendStop);
98+
size_t requestFrom(uint8_t address, size_t len, bool stopBit);
9899
uint8_t requestFrom(uint16_t address, uint8_t size);
99100
uint8_t requestFrom(uint8_t address, uint8_t size, uint8_t sendStop);
100101
uint8_t requestFrom(uint8_t address, uint8_t size);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framework-arduinoespressif32",
33
"description": "Arduino Wiring-based Framework (ESP32 Core) for Tasmota",
4-
"version": "2.0.1+rc2",
4+
"version": "2.0.1",
55
"url": "https://github.com/tasmota/arduino-esp32"
66
}

platform.txt

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

tools/platformio-build-esp32.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,16 @@
332332
"UNITY_INCLUDE_CONFIG_H",
333333
"WITH_POSIX",
334334
"_GNU_SOURCE",
335-
("IDF_VER", '\\"v4.4-dev-3591-g432c3c78c\\"'),
335+
("IDF_VER", '\\"v4.4-dev-3631-g7033e3b57\\"'),
336336
"ESP_PLATFORM",
337337
"NDEBUG",
338338
"ARDUINO_ARCH_ESP32",
339339
"ESP32",
340340
("F_CPU", "$BOARD_F_CPU"),
341341
("ARDUINO", 10812),
342342
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get("build.variant").replace('"', "")),
343-
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', ""))
343+
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', "")),
344+
"ARDUINO_PARTITION_%s" % env.BoardConfig().get("build.partitions", "default.csv").replace(".csv", "")
344345
],
345346

346347
LIBSOURCE_DIRS=[

tools/platformio-build-esp32c3.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,15 +291,16 @@
291291
"UNITY_INCLUDE_CONFIG_H",
292292
"WITH_POSIX",
293293
"_GNU_SOURCE",
294-
("IDF_VER", '\\"v4.4-dev-3591-g432c3c78c\\"'),
294+
("IDF_VER", '\\"v4.4-dev-3631-g7033e3b57\\"'),
295295
"ESP_PLATFORM",
296296
"NDEBUG",
297297
"ARDUINO_ARCH_ESP32",
298298
"ESP32",
299299
("F_CPU", "$BOARD_F_CPU"),
300300
("ARDUINO", 10812),
301301
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get("build.variant").replace('"', "")),
302-
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', ""))
302+
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', "")),
303+
"ARDUINO_PARTITION_%s" % env.BoardConfig().get("build.partitions", "default.csv").replace(".csv", "")
303304
],
304305

305306
LIBSOURCE_DIRS=[

tools/platformio-build-esp32s2.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,15 +318,16 @@
318318
"UNITY_INCLUDE_CONFIG_H",
319319
"WITH_POSIX",
320320
"_GNU_SOURCE",
321-
("IDF_VER", '\\"v4.4-dev-3591-g432c3c78c\\"'),
321+
("IDF_VER", '\\"v4.4-dev-3631-g7033e3b57\\"'),
322322
"ESP_PLATFORM",
323323
"NDEBUG",
324324
"ARDUINO_ARCH_ESP32",
325325
"ESP32",
326326
("F_CPU", "$BOARD_F_CPU"),
327327
("ARDUINO", 10812),
328328
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get("build.variant").replace('"', "")),
329-
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', ""))
329+
("ARDUINO_BOARD", '\\"%s\\"' % env.BoardConfig().get("name").replace('"', "")),
330+
"ARDUINO_PARTITION_%s" % env.BoardConfig().get("build.partitions", "default.csv").replace(".csv", "")
330331
],
331332

332333
LIBSOURCE_DIRS=[

tools/sdk/esp32/include/config/sdkconfig.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@
374374
#define CONFIG_LWIP_ESP_GRATUITOUS_ARP 1
375375
#define CONFIG_LWIP_GARP_TMR_INTERVAL 60
376376
#define CONFIG_LWIP_TCPIP_RECVMBOX_SIZE 32
377+
#define CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID 1
377378
#define CONFIG_LWIP_DHCP_RESTORE_LAST_IP 1
378379
#define CONFIG_LWIP_DHCP_OPTIONS_LEN 128
379380
#define CONFIG_LWIP_DHCPS 1
@@ -675,5 +676,5 @@
675676
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
676677
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
677678
#define CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
678-
#define CONFIG_ARDUINO_IDF_COMMIT "432c3c78c"
679+
#define CONFIG_ARDUINO_IDF_COMMIT "7033e3b57"
679680
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"

tools/sdk/esp32/include/esp_netif/include/esp_netif_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ typedef enum{
7979
ESP_NETIF_REQUESTED_IP_ADDRESS = 50, /**< Request specific IP address */
8080
ESP_NETIF_IP_ADDRESS_LEASE_TIME = 51, /**< Request IP address lease time */
8181
ESP_NETIF_IP_REQUEST_RETRY_TIME = 52, /**< Request IP address retry counter */
82+
ESP_NETIF_VENDOR_CLASS_IDENTIFIER = 60, /**< Vendor Class Identifier of a DHCP client */
83+
ESP_NETIF_VENDOR_SPECIFIC_INFO = 43, /**< Vendor Specific Information of a DHCP server */
8284
} esp_netif_dhcp_option_id_t;
8385

8486
/** IP event declarations */

tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,11 @@
11
/*
2-
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
3-
* All rights reserved.
2+
* SPDX-FileCopyrightText: 2001-2003 Swedish Institute of Computer Science
43
*
5-
* Redistribution and use in source and binary forms, with or without modification,
6-
* are permitted provided that the following conditions are met:
7-
*
8-
* 1. Redistributions of source code must retain the above copyright notice,
9-
* this list of conditions and the following disclaimer.
10-
* 2. Redistributions in binary form must reproduce the above copyright notice,
11-
* this list of conditions and the following disclaimer in the documentation
12-
* and/or other materials provided with the distribution.
13-
* 3. The name of the author may not be used to endorse or promote products
14-
* derived from this software without specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17-
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18-
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19-
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20-
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21-
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24-
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25-
* OF SUCH DAMAGE.
26-
*
27-
* This file is part of the lwIP TCP/IP stack.
28-
*
29-
* Author: Simon Goldschmidt
4+
* SPDX-License-Identifier: BSD-3-Clause
305
*
6+
* SPDX-FileContributor: 2015-2021 Espressif Systems (Shanghai) CO LTD
317
*/
8+
329
#ifndef __LWIPOPTS_H__
3310
#define __LWIPOPTS_H__
3411

@@ -272,6 +249,11 @@
272249
*/
273250
#define DHCP_OPTIONS_LEN CONFIG_LWIP_DHCP_OPTIONS_LEN
274251

252+
/**
253+
* LWIP_DHCP_DISABLE_VENDOR_CLASS_ID==1: Do not add option 60 (Vendor Class Identifier) to DHCP packets
254+
*/
255+
#define ESP_DHCP_DISABLE_VENDOR_CLASS_IDENTIFIER CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID
256+
275257
/*
276258
------------------------------------
277259
---------- AUTOIP options ----------

tools/sdk/esp32/ld/libbtdm_app.a

-4.02 KB
Binary file not shown.

tools/sdk/esp32/ld/sections.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ SECTIONS
323323
*libesp_system.a:ubsan.*(.literal .literal.* .text .text.*)
324324
*libfreertos.a:(EXCLUDE_FILE(*libfreertos.a:port.* *libfreertos.a:port_common.*) .literal EXCLUDE_FILE(*libfreertos.a:port.* *libfreertos.a:port_common.*) .literal.* EXCLUDE_FILE(*libfreertos.a:port.* *libfreertos.a:port_common.*) .text EXCLUDE_FILE(*libfreertos.a:port.* *libfreertos.a:port_common.*) .text.*)
325325
*libfreertos.a:port.*(.literal.pxPortInitialiseStack .literal.unlikely.vPortEndScheduler .literal.vApplicationStackOverflowHook .literal.vPortEnterCritical .literal.vPortExitCritical .literal.vPortReleaseTaskMPUSettings .literal.vPortSetStackWatchpoint .literal.vPortYieldOtherCore .literal.xPortInIsrContext .literal.xPortStartScheduler .text .text.pxPortInitialiseStack .text.unlikely.vPortEndScheduler .text.vApplicationStackOverflowHook .text.vPortAssertIfInISR .text.vPortEnterCritical .text.vPortExitCritical .text.vPortReleaseTaskMPUSettings .text.vPortSetStackWatchpoint .text.vPortStoreTaskMPUSettings .text.vPortYieldOtherCore .text.xPortGetTickRateHz .text.xPortInIsrContext .text.xPortStartScheduler)
326-
*libfreertos.a:port_common.*(.literal.esp_startup_start_app_common .literal.xPortCheckValidTCBMem .literal.xPortcheckValidStackMem .text .text.esp_startup_start_app_common .text.xPortCheckValidTCBMem .text.xPortcheckValidStackMem)
326+
*libfreertos.a:port_common.*(.literal.esp_startup_start_app_common .literal.vApplicationGetIdleTaskMemory .literal.vApplicationGetTimerTaskMemory .literal.xPortCheckValidTCBMem .literal.xPortcheckValidStackMem .text .text.esp_startup_start_app_common .text.vApplicationGetIdleTaskMemory .text.vApplicationGetTimerTaskMemory .text.xPortCheckValidTCBMem .text.xPortcheckValidStackMem)
327327
*libgcc.a:lib2funcs.*(.literal .literal.* .text .text.*)
328328
*libgcov.a:(.literal .literal.* .text .text.*)
329329
*libhal.a:cpu_hal.*(.literal .literal.* .text .text.*)

tools/sdk/esp32/lib/libapp_update.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_common.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_eth.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_event.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_hid.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_netif.a

164 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_phy.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_system.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_wifi.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libfreemodbus.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libfreertos.a

7.73 KB
Binary file not shown.

tools/sdk/esp32/lib/liblwip.a

-13 KB
Binary file not shown.

tools/sdk/esp32/lib/libmdns.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libmqtt.a

0 Bytes
Binary file not shown.
100 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/sdkconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,7 @@ CONFIG_LWIP_GARP_TMR_INTERVAL=60
10281028
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32
10291029
# CONFIG_LWIP_DHCP_DOES_ARP_CHECK is not set
10301030
# CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID is not set
1031+
CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y
10311032
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y
10321033
CONFIG_LWIP_DHCP_OPTIONS_LEN=128
10331034

tools/sdk/esp32c3/include/config/sdkconfig.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@
343343
#define CONFIG_LWIP_GARP_TMR_INTERVAL 60
344344
#define CONFIG_LWIP_TCPIP_RECVMBOX_SIZE 32
345345
#define CONFIG_LWIP_DHCP_DOES_ARP_CHECK 1
346+
#define CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID 1
346347
#define CONFIG_LWIP_DHCP_OPTIONS_LEN 128
347348
#define CONFIG_LWIP_DHCPS 1
348349
#define CONFIG_LWIP_DHCPS_LEASE_UNIT 60
@@ -630,5 +631,5 @@
630631
#define CONFIG_TIMER_TASK_STACK_SIZE CONFIG_ESP_TIMER_TASK_STACK_SIZE
631632
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
632633
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
633-
#define CONFIG_ARDUINO_IDF_COMMIT "432c3c78c"
634+
#define CONFIG_ARDUINO_IDF_COMMIT "7033e3b57"
634635
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"

tools/sdk/esp32c3/include/esp_netif/include/esp_netif_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ typedef enum{
7979
ESP_NETIF_REQUESTED_IP_ADDRESS = 50, /**< Request specific IP address */
8080
ESP_NETIF_IP_ADDRESS_LEASE_TIME = 51, /**< Request IP address lease time */
8181
ESP_NETIF_IP_REQUEST_RETRY_TIME = 52, /**< Request IP address retry counter */
82+
ESP_NETIF_VENDOR_CLASS_IDENTIFIER = 60, /**< Vendor Class Identifier of a DHCP client */
83+
ESP_NETIF_VENDOR_SPECIFIC_INFO = 43, /**< Vendor Specific Information of a DHCP server */
8284
} esp_netif_dhcp_option_id_t;
8385

8486
/** IP event declarations */

0 commit comments

Comments
 (0)