Skip to content

Commit

Permalink
Expose bindings (#360)
Browse files Browse the repository at this point in the history
* expose esp_netif_net_stack.h

* test

* Revert "test"

This reverts commit 6169e6c.

* changelog

* gatekeep to idf v5

* requested changes
  • Loading branch information
indexds authored Jan 5, 2025
1 parent fdd6e09 commit c091b5a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Deprecated

### Breaking

### Added
- Add raw bindings for `esp_netif_net_stack.h` and `lwip/esp_netif_net_stack.h`. (#360)

### Fixed

## [0.36.0] - 2025-01-02

### Deprecated
Expand Down
6 changes: 6 additions & 0 deletions src/include/esp-idf/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@

#ifdef ESP_IDF_COMP_ESP_NETIF_ENABLED
#include "esp_netif.h"
#if ESP_IDF_VERSION_MAJOR > 4
#include "esp_netif_net_stack.h"
#endif
#if ESP_IDF_VERSION_MAJOR > 4 && defined(CONFIG_ESP_NETIF_TCPIP_LWIP) && defined(CONFIG_ESP_NETIF_BRIDGE_EN)
#include "esp_netif_br_glue.h"
#endif
Expand Down Expand Up @@ -215,6 +218,9 @@
#include "lwip/lwip_napt.h"
#include "lwip/netdb.h"
#include "lwip/sockets.h"
#if ESP_IDF_VERSION_MAJOR > 4
#include "lwip/esp_netif_net_stack.h"
#endif
#include "esp_sntp.h"
#include "ping/ping_sock.h"
#if ESP_IDF_VERSION_MAJOR > 5 || ESP_IDF_VERSION_MAJOR == 5 && ESP_IDF_VERSION_MINOR >= 1
Expand Down

0 comments on commit c091b5a

Please sign in to comment.