Skip to content

IDF master #11289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: release/v3.3.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cores/esp32/esp32-hal-i2c-slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "soc/i2c_struct.h"
#include "soc/periph_defs.h"
#include "hal/i2c_ll.h"
#include "hal/i2c_types.h"
#ifndef CONFIG_IDF_TARGET_ESP32C5
#include "hal/clk_gate_ll.h"
#endif
Expand Down Expand Up @@ -337,7 +338,13 @@ esp_err_t i2cSlaveInit(uint8_t num, int sda, int scl, uint16_t slaveID, uint32_t
}
#endif // !defined(CONFIG_IDF_TARGET_ESP32P4)

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)
i2c_ll_set_mode(i2c->dev, I2C_BUS_MODE_SLAVE);
i2c_ll_enable_pins_open_drain(i2c->dev, true);
#else
i2c_ll_slave_init(i2c->dev);
#endif

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 0)
i2c_ll_enable_fifo_mode(i2c->dev, true);
#else
Expand Down
18 changes: 9 additions & 9 deletions idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ dependencies:
version: "==1.6.3"
require: public
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/esp-zigbee-lib:
version: "==1.6.3"
require: public
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/esp-dsp:
version: "^1.3.4"
rules:
Expand All @@ -73,32 +73,32 @@ dependencies:
espressif/esp_rainmaker:
version: "1.5.2"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/rmaker_common:
version: "1.4.6"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/esp_insights:
version: "1.2.2"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
# New version breaks esp_insights 1.0.1
espressif/esp_diag_data_store:
version: "1.0.2"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/esp_diagnostics:
version: "1.2.1"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/cbor:
version: "0.6.0~1"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
espressif/qrcode:
version: "0.1.0~2"
rules:
- if: "target not in [esp32c2, esp32p4]"
- if: "target not in [esp32c2, esp32p4, esp32c5]"
# RainMaker End
espressif/esp-sr:
version: "^1.4.2"
Expand Down
4 changes: 3 additions & 1 deletion libraries/BluetoothSerial/src/BTAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
* Author: Thomas M. (ArcticSnowSky)
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include "BTAddress.h"
#include <string>
Expand Down
4 changes: 3 additions & 1 deletion libraries/BluetoothSerial/src/BTAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#ifndef COMPONENTS_CPP_UTILS_BTADDRESS_H_
#define COMPONENTS_CPP_UTILS_BTADDRESS_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include <esp_gap_bt_api.h> // ESP32 BT
#include <Arduino.h>

Expand Down
6 changes: 4 additions & 2 deletions libraries/BluetoothSerial/src/BTAdvertisedDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
* Author: Thomas M. (ArcticSnowSky)
*/

#ifndef __BTADVERTISEDDEVICE_H__
#define __BTADVERTISEDDEVICE_H__
#pragma once
#include "sdkconfig.h"
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include "BTAddress.h"
#include <string>

Expand Down
4 changes: 3 additions & 1 deletion libraries/BluetoothSerial/src/BTAdvertisedDeviceSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/

#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

//#include <map>

Expand Down
7 changes: 5 additions & 2 deletions libraries/BluetoothSerial/src/BTScan.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
* Author: Thomas M. (ArcticSnowSky)
*/

#ifndef __BTSCAN_H__
#define __BTSCAN_H__
#pragma once
#include "sdkconfig.h"
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include <map>
#include <string>
Expand Down
4 changes: 3 additions & 1 deletion libraries/BluetoothSerial/src/BTScanResultsSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
*/

#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include "soc/soc_caps.h"

#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include <esp_err.h>

Expand Down
3 changes: 2 additions & 1 deletion libraries/BluetoothSerial/src/BluetoothSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
#include <cstring>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "soc/soc_caps.h"

#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#ifdef ARDUINO_ARCH_ESP32
#include "esp32-hal-log.h"
Expand Down
3 changes: 2 additions & 1 deletion libraries/BluetoothSerial/src/BluetoothSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
#define _BLUETOOTH_SERIAL_H_

#include "sdkconfig.h"
#include "soc/soc_caps.h"

#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include "Arduino.h"
#include "Stream.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/SimpleBLE/examples/SimpleBleDevice/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"requires": [
"CONFIG_SOC_BLE_SUPPORTED=y",
"CONFIG_BT_ENABLED=y",
"CONFIG_BLUEDROID_ENABLED=y"
]
Expand Down
3 changes: 2 additions & 1 deletion libraries/SimpleBLE/src/SimpleBLE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
// limitations under the License.

#include "sdkconfig.h"
#include "soc/soc_caps.h"

#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include "SimpleBLE.h"
#include "esp32-hal-log.h"
Expand Down
3 changes: 2 additions & 1 deletion libraries/SimpleBLE/src/SimpleBLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
#define _SIMPLE_BLE_H_

#include "sdkconfig.h"
#include "soc/soc_caps.h"

#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#if SOC_BT_SUPPORTED && defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)

#include <cstdint>
#include <cstdio>
Expand Down
68 changes: 34 additions & 34 deletions package/package_esp32_index.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"packager": "esp32",
"name": "esp32-arduino-libs",
"version": "idf-master-d930a386-v1"
"version": "idf-master-38628f98-v1"
},
{
"packager": "esp32",
Expand Down Expand Up @@ -104,63 +104,63 @@
"tools": [
{
"name": "esp32-arduino-libs",
"version": "idf-master-d930a386-v1",
"version": "idf-master-38628f98-v1",
"systems": [
{
"host": "i686-mingw32",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "x86_64-mingw32",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "arm64-apple-darwin",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "x86_64-apple-darwin",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "x86_64-pc-linux-gnu",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "i686-pc-linux-gnu",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "aarch64-linux-gnu",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
},
{
"host": "arm-linux-gnueabihf",
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-d930a386-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-d930a386-v1.zip",
"checksum": "SHA-256:0310daa4f08f807f2bf3babd2587c2694df64c70e367863eadf5020636b717ae",
"size": "422376381"
"url": "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-38628f98-v1.zip",
"archiveFileName": "esp32-arduino-libs-idf-master-38628f98-v1.zip",
"checksum": "SHA-256:efc30a38cccff38c36a86fd3db78aeb13594da60ccf49bc7971b7a9f849abcdf",
"size": "398323971"
}
]
},
Expand Down
Loading