Skip to content

Commit 2186737

Browse files
committed
Update binaries with SLAAC support
1 parent 0b3f1a9 commit 2186737

File tree

125 files changed

+163
-59
lines changed

Some content is hidden

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

125 files changed

+163
-59
lines changed

tools/sdk/esp32/include/bootloader_support/include/esp_app_format.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ typedef enum {
5555
ESP_IMAGE_FLASH_SIZE_4MB, /*!< SPI flash size 4 MB */
5656
ESP_IMAGE_FLASH_SIZE_8MB, /*!< SPI flash size 8 MB */
5757
ESP_IMAGE_FLASH_SIZE_16MB, /*!< SPI flash size 16 MB */
58+
ESP_IMAGE_FLASH_SIZE_32MB, /*!< SPI flash size 32 MB */
59+
ESP_IMAGE_FLASH_SIZE_64MB, /*!< SPI flash size 64 MB */
60+
ESP_IMAGE_FLASH_SIZE_128MB, /*!< SPI flash size 128 MB */
5861
ESP_IMAGE_FLASH_SIZE_MAX /*!< SPI flash size MAX */
5962
} esp_image_flash_size_t;
6063

tools/sdk/esp32/include/driver/include/driver/gpio.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ esp_err_t gpio_sleep_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull);
498498

499499
#if SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
500500

501-
#define GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO(gpio_num) ((gpio_num & ~SOC_GPIO_DEEP_SLEEP_WAKEUP_VALID_GPIO_MASK) == 0)
501+
#define GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO(gpio_num) ((gpio_num >= 0) && \
502+
(((1ULL << (gpio_num)) & SOC_GPIO_DEEP_SLEEP_WAKEUP_VALID_GPIO_MASK) != 0))
502503

503504
/**
504505
* @brief Enable GPIO deep-sleep wake-up function.

tools/sdk/esp32/include/driver/include/driver/sdspi_host.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ typedef int sdspi_dev_handle_t;
2222

2323
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
2424
#define SDSPI_DEFAULT_HOST HSPI_HOST
25+
#define SDSPI_DEFAULT_DMA SDSPI_DEFAULT_HOST
2526
#else
2627
#define SDSPI_DEFAULT_HOST SPI2_HOST
28+
#define SDSPI_DEFAULT_DMA SPI_DMA_CH_AUTO
2729
#endif
2830

2931
/**
@@ -216,7 +218,7 @@ typedef struct {
216218
.gpio_miso = GPIO_NUM_2, \
217219
.gpio_mosi = GPIO_NUM_15, \
218220
.gpio_sck = GPIO_NUM_14, \
219-
.dma_channel = 1, \
221+
.dma_channel = SDSPI_DEFAULT_DMA, \
220222
}
221223

222224
/**

tools/sdk/esp32/include/driver/include/driver/spi_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ esp_err_t spi_bus_initialize(spi_host_device_t host_id, const spi_bus_config_t *
163163
* @param host_id SPI peripheral to free
164164
* @return
165165
* - ESP_ERR_INVALID_ARG if parameter is invalid
166-
* - ESP_ERR_INVALID_STATE if not all devices on the bus are freed
166+
* - ESP_ERR_INVALID_STATE if bus hasn't been initialized before, or not all devices on the bus are freed
167167
* - ESP_OK on success
168168
*/
169169
esp_err_t spi_bus_free(spi_host_device_t host_id);

tools/sdk/esp32/include/driver/include/esp_private/gdma.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ esp_err_t gdma_register_rx_event_callbacks(gdma_channel_handle_t dma_chan, gdma_
269269
/**
270270
* @brief Set DMA descriptor address and start engine
271271
*
272+
* @note This function is allowed to run within ISR context
273+
* @note This function is also allowed to run when Cache is disabled, if `CONFIG_GDMA_CTRL_FUNC_IN_IRAM` is enabled
274+
*
272275
* @param[in] dma_chan GDMA channel handle, allocated by `gdma_new_channel`
273276
* @param[in] desc_base_addr Base address of descriptors (usually the descriptors are chained into a link or ring)
274277
* @return
@@ -281,6 +284,9 @@ esp_err_t gdma_start(gdma_channel_handle_t dma_chan, intptr_t desc_base_addr);
281284
/**
282285
* @brief Stop DMA engine
283286
*
287+
* @note This function is allowed to run within ISR context
288+
* @note This function is also allowed to run when Cache is disabled, if `CONFIG_GDMA_CTRL_FUNC_IN_IRAM` is enabled
289+
*
284290
* @param[in] dma_chan GDMA channel handle, allocated by `gdma_new_channel`
285291
* @return
286292
* - ESP_OK: Stop DMA engine successfully
@@ -291,6 +297,9 @@ esp_err_t gdma_stop(gdma_channel_handle_t dma_chan);
291297

292298
/**
293299
* @brief Make the appended descriptors be aware to the DMA engine
300+
*
301+
* @note This function is allowed to run within ISR context
302+
* @note This function is also allowed to run when Cache is disabled, if `CONFIG_GDMA_CTRL_FUNC_IN_IRAM` is enabled
294303
* @note This API could also resume a paused DMA engine, make sure new descriptors have been appended to the descriptor chain before calling it.
295304
*
296305
* @param[in] dma_chan GDMA channel handle, allocated by `gdma_new_channel`
@@ -303,6 +312,9 @@ esp_err_t gdma_append(gdma_channel_handle_t dma_chan);
303312

304313
/**
305314
* @brief Reset DMA channel FIFO and internal finite state machine
315+
*
316+
* @note This function is allowed to run within ISR context
317+
* @note This function is also allowed to run when Cache is disabled, if `CONFIG_GDMA_CTRL_FUNC_IN_IRAM` is enabled
306318
* @note Resetting a DMA channel won't break the connection with the target peripheral
307319
*
308320
* @param[in] dma_chan GDMA channel handle, allocated by `gdma_new_channel`

tools/sdk/esp32/include/esp_http_client/include/esp_http_client.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ typedef enum {
149149
HttpStatus_MultipleChoices = 300,
150150
HttpStatus_MovedPermanently = 301,
151151
HttpStatus_Found = 302,
152+
HttpStatus_SeeOther = 303,
152153
HttpStatus_TemporaryRedirect = 307,
154+
HttpStatus_PermanentRedirect = 308,
153155

154156
/* 4xx - Client Error */
155157
HttpStatus_BadRequest = 400,

tools/sdk/esp32/include/esp_lcd/include/esp_lcd_panel_io.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ typedef struct {
9898
unsigned int dc_as_cmd_phase: 1; /*!< D/C line value is encoded into SPI transaction command phase */
9999
unsigned int dc_low_on_data: 1; /*!< If this flag is enabled, DC line = 0 means transfer data, DC line = 1 means transfer command; vice versa */
100100
unsigned int octal_mode: 1; /*!< transmit with octal mode (8 data lines), this mode is used to simulate Intel 8080 timing */
101-
} flags;
101+
unsigned int lsb_first: 1; /*!< transmit LSB bit first */
102+
} flags; /*!< Extra flags to fine-tune the SPI device */
102103
} esp_lcd_panel_io_spi_config_t;
103104

104105
/**
@@ -151,6 +152,8 @@ typedef struct {
151152
int data_gpio_nums[SOC_LCD_I80_BUS_WIDTH]; /*!< GPIOs used for data lines */
152153
size_t bus_width; /*!< Number of data lines, 8 or 16 */
153154
size_t max_transfer_bytes; /*!< Maximum transfer size, this determines the length of internal DMA link */
155+
size_t psram_trans_align; /*!< DMA transfer alignment for data allocated from PSRAM */
156+
size_t sram_trans_align; /*!< DMA transfer alignment for data allocated from SRAM */
154157
} esp_lcd_i80_bus_config_t;
155158

156159
/**

tools/sdk/esp32/include/esp_lcd/include/esp_lcd_panel_rgb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef struct {
5959
unsigned int hsync_front_porch; /*!< Horizontal front porch, number of PCLK between the end of active data and the next hsync */
6060
unsigned int vsync_pulse_width; /*!< Vertical sync width, unit: number of lines */
6161
unsigned int vsync_back_porch; /*!< Vertical back porch, number of invalid lines between vsync and start of frame */
62-
unsigned int vsync_front_porch; /*!< Vertical front porch, number of invalid lines between then end of frame and the next vsync */
62+
unsigned int vsync_front_porch; /*!< Vertical front porch, number of invalid lines between the end of frame and the next vsync */
6363
struct {
6464
unsigned int hsync_idle_low: 1; /*!< The hsync signal is low in IDLE state */
6565
unsigned int vsync_idle_low: 1; /*!< The vsync signal is low in IDLE state */

tools/sdk/esp32/include/esp_rainmaker/include/esp_rmaker_core.h

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ typedef struct {
6363
char *fw_version;
6464
/** Model (Optional). If not set, PROJECT_NAME is used as default (recommended)*/
6565
char *model;
66+
/** Subtype (Optional). */
67+
char *subtype;
6668
} esp_rmaker_node_info_t;
6769

6870
/** ESP RainMaker Configuration */
@@ -430,10 +432,11 @@ esp_err_t esp_rmaker_node_add_attribute(const esp_rmaker_node_t *node, const cha
430432
*/
431433
esp_err_t esp_rmaker_node_add_fw_version(const esp_rmaker_node_t *node, const char *fw_version);
432434

433-
/** Add model for a node (Not recommended)
435+
/** Add model for a node
434436
*
435437
* Model is set internally to the project name. This API can be used to
436-
* override that name.
438+
* override that name, now that a new field "project" has also been added
439+
* internally to the node info.
437440
*
438441
* @param node Node handle.
439442
* @param[in] model New model string.
@@ -443,6 +446,16 @@ esp_err_t esp_rmaker_node_add_fw_version(const esp_rmaker_node_t *node, const ch
443446
*/
444447
esp_err_t esp_rmaker_node_add_model(const esp_rmaker_node_t *node, const char *model);
445448

449+
/** Add subtype for a node
450+
*
451+
* @param node Node handle.
452+
* @param[in] subtype Subtype string.
453+
*
454+
* @return ESP_OK on success.
455+
* @return error in case of failure.
456+
*/
457+
esp_err_t esp_rmaker_node_add_subtype(const esp_rmaker_node_t *node, const char *subtype);
458+
446459
/**
447460
* Create a Device
448461
*
@@ -572,6 +585,18 @@ esp_err_t esp_rmaker_device_add_attribute(const esp_rmaker_device_t *device, con
572585
*/
573586
esp_err_t esp_rmaker_device_add_subtype(const esp_rmaker_device_t *device, const char *subtype);
574587

588+
/** Add a Device model
589+
*
590+
* This would primarily be used by the phone apps to render different icons for the same device type.
591+
*
592+
* @param[in] device Device handle.
593+
* @param[in] model String describing the model.
594+
*
595+
* @return ESP_OK if the model was added successfully.
596+
* @return error in case of failure.
597+
*/
598+
esp_err_t esp_rmaker_device_add_model(const esp_rmaker_device_t *device, const char *model);
599+
575600
/** Get device name from handle
576601
*
577602
* @param[in] device Device handle.

tools/sdk/esp32/include/esp_rainmaker/include/esp_rmaker_ota.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ typedef enum {
3434
OTA_STATUS_FAILED,
3535
/** OTA was delayed by the application */
3636
OTA_STATUS_DELAYED,
37+
/** OTA rejected due to some reason (wrong project, version, etc.) */
38+
OTA_STATUS_REJECTED,
3739
} ota_status_t;
3840

3941
/** OTA Workflow type */
@@ -145,6 +147,29 @@ esp_err_t esp_rmaker_ota_enable(esp_rmaker_ota_config_t *ota_config, esp_rmaker_
145147
*/
146148
esp_err_t esp_rmaker_ota_report_status(esp_rmaker_ota_handle_t ota_handle, ota_status_t status, char *additional_info);
147149

150+
/** Default OTA callback
151+
*
152+
* This is the default OTA callback which will get used if you do not pass your own callback. You can call this
153+
* even from your callback, in case you want better control on when the OTA can proceed and yet let the actual
154+
* OTA process be managed by the RainMaker Core.
155+
*
156+
* @param[in] handle An OTA handle assigned by the ESP RainMaker Core
157+
* @param[in] ota_data The data to be used for the OTA
158+
*
159+
* @return ESP_OK if the OTA was successful
160+
* @return ESP_FAIL if the OTA failed.
161+
* */
162+
esp_err_t esp_rmaker_ota_default_cb(esp_rmaker_ota_handle_t handle, esp_rmaker_ota_data_t *ota_data);
163+
164+
/** Fetch OTA Info
165+
*
166+
* For OTA using Topics, this API can be used to explicitly ask the backend if an OTA is available.
167+
* If it is, then the OTA callback would get invoked.
168+
*
169+
* @return ESP_OK if the OTA fetch publish message was successful.
170+
* @return error on failure
171+
*/
172+
esp_err_t esp_rmaker_ota_fetch(void);
148173
#ifdef __cplusplus
149174
}
150175
#endif

tools/sdk/esp32/include/esp_rainmaker/include/esp_rmaker_user_mapping.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ typedef enum {
2525
ESP_RMAKER_USER_MAPPING_RESET = 0,
2626
/** Mapping has started */
2727
ESP_RMAKER_USER_MAPPING_STARTED,
28+
/** Mapping request sent to cloud */
29+
ESP_RMAKER_USER_MAPPING_REQ_SENT,
2830
/** Mapping is done */
2931
ESP_RMAKER_USER_MAPPING_DONE,
3032
} esp_rmaker_user_mapping_state_t;

tools/sdk/esp32/include/esp_wifi/include/esp_wifi.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,19 @@ esp_err_t esp_wifi_get_country_code(char *country);
12951295
*/
12961296
esp_err_t esp_wifi_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
12971297

1298+
/**
1299+
* @brief Disable PMF configuration for specified interface
1300+
*
1301+
* @attention This API should be called after esp_wifi_set_config() and before esp_wifi_start().
1302+
*
1303+
* @param ifx Interface to be configured.
1304+
*
1305+
* @return
1306+
* - ESP_OK: succeed
1307+
* - others: failed
1308+
*/
1309+
esp_err_t esp_wifi_disable_pmf_config(wifi_interface_t ifx);
1310+
12981311
#ifdef __cplusplus
12991312
}
13001313
#endif

tools/sdk/esp32/include/hal/esp32/include/hal/spi_ll.h

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
// Copyright 2015-2019 Espressif Systems (Shanghai) PTE LTD
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
/*
2+
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
146

157
/*******************************************************************************
168
* NOTICE
@@ -49,6 +41,8 @@ extern "C" {
4941
#define SPI_LL_PERIPH_CLK_FREQ (80 * 1000000)
5042
#define SPI_LL_GET_HW(ID) ((ID)==0? &SPI1:((ID)==1? &SPI2 : &SPI3))
5143

44+
#define SPI_LL_DATA_MAX_BIT_LEN (1 << 24)
45+
5246
/**
5347
* The data structure holding calculated clock configuration. Since the
5448
* calculation needs long time, it should be calculated during initialization and

tools/sdk/esp32/include/hal/include/hal/cpu_hal.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -70,11 +70,6 @@ extern "C" {
7070
*/
7171
#define cpu_hal_waiti() cpu_ll_waiti()
7272

73-
/**
74-
* Trigger a syscall.
75-
*/
76-
#define cpu_hal_syscall(sys_nr, arg1, arg2, arg3, arg4, ret_errno) cpu_ll_syscall(sys_nr, arg1, arg2, arg3, arg4, ret_errno)
77-
7873
#if SOC_CPU_BREAKPOINTS_NUM > 0
7974

8075
/**

tools/sdk/esp32/include/hal/include/hal/lcd_types.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -19,6 +19,8 @@ extern "C" {
1919
* +=====================+=========================+============================+
2020
* | LCD_CLK_SRC_PLL160M | High resolution | ESP_PM_APB_FREQ_MAX lock |
2121
* +---------------------+-------------------------+----------------------------+
22+
* | LCD_CLK_SRC_PLL240M | High resolution | ESP_PM_APB_FREQ_MAX lock |
23+
* +---------------------+-------------------------+----------------------------+
2224
* | LCD_CLK_SRC_APLL | Configurable resolution | ESP_PM_NO_LIGHT_SLEEP lock |
2325
* +---------------------+-------------------------+----------------------------+
2426
* | LCD_CLK_SRC_XTAL | Medium resolution | No PM lock |
@@ -27,6 +29,7 @@ extern "C" {
2729
*/
2830
typedef enum {
2931
LCD_CLK_SRC_PLL160M, /*!< Select PLL160M as the source clock */
32+
LCD_CLK_SRC_PLL240M, /*!< Select PLL240M as the source clock */
3033
LCD_CLK_SRC_APLL, /*!< Select APLL as the source clock */
3134
LCD_CLK_SRC_XTAL, /*!< Select XTAL as the source clock */
3235
} lcd_clock_source_t;

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/dns.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ err_t dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *add
113113
u8_t dns_addrtype);
114114
#if ESP_DNS
115115
void dns_clear_servers(bool keep_fallback);
116+
void dns_clear_cache(void);
116117
#endif
117118

118119
#if DNS_LOCAL_HOSTLIST

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern "C" {
5454
/** x.X.x: Minor version of the stack */
5555
#define LWIP_VERSION_MINOR 1
5656
/** x.x.X: Revision of the stack */
57-
#define LWIP_VERSION_REVISION 3
57+
#define LWIP_VERSION_REVISION 2
5858
/** For release candidates, this is set to 1..254
5959
* For official releases, this is set to 255 (LWIP_RC_RELEASE)
6060
* For development versions (Git), this is set to 0 (LWIP_RC_DEVELOPMENT) */
@@ -75,7 +75,7 @@ extern "C" {
7575
#if LWIP_VERSION_IS_RELEASE
7676
#define LWIP_VERSION_STRING_SUFFIX ""
7777
#elif LWIP_VERSION_IS_DEVELOPMENT
78-
#define LWIP_VERSION_STRING_SUFFIX "d"
78+
#define LWIP_VERSION_STRING_SUFFIX "esp"
7979
#else
8080
#define LWIP_VERSION_STRING_SUFFIX "rc" LWIP_VERSTR(LWIP_VERSION_RC)
8181
#endif

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,10 +2534,12 @@
25342534

25352535
/**
25362536
* LWIP_ICMP6_DATASIZE: bytes from original packet to send back in
2537-
* ICMPv6 error messages.
2537+
* ICMPv6 error messages (0 = default of IP6_MIN_MTU_LENGTH)
2538+
* ATTENTION: RFC4443 section 2.4 says IP6_MIN_MTU_LENGTH is a MUST,
2539+
* so override this only if you absolutely have to!
25382540
*/
25392541
#if !defined LWIP_ICMP6_DATASIZE || defined __DOXYGEN__
2540-
#define LWIP_ICMP6_DATASIZE 8
2542+
#define LWIP_ICMP6_DATASIZE 0
25412543
#endif
25422544

25432545
/**

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/pbuf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ void pbuf_cat(struct pbuf *head, struct pbuf *tail);
300300
void pbuf_chain(struct pbuf *head, struct pbuf *tail);
301301
struct pbuf *pbuf_dechain(struct pbuf *p);
302302
err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from);
303+
err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset);
303304
u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
304305
void *pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset);
305306
err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/prot/icmp6.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ PACK_STRUCT_END
146146
# include "arch/epstruct.h"
147147
#endif
148148

149+
#define ICMP6_HLEN 8
150+
149151
/** This is the ICMP6 header adapted for echo req/resp. */
150152
#ifdef PACK_STRUCT_USE_INCLUDES
151153
# include "arch/bpstruct.h"

tools/sdk/esp32/include/lwip/lwip/src/include/lwip/prot/ip6.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
extern "C" {
4545
#endif
4646

47+
#define IP6_MIN_MTU_LENGTH 1280
48+
4749
/** This is the packed version of ip6_addr_t,
4850
used in network headers that are itself packed */
4951
#ifdef PACK_STRUCT_USE_INCLUDES

0 commit comments

Comments
 (0)