Skip to content

Commit 8677217

Browse files
authored
IDF 5.2 Arduino
1 parent 5704442 commit 8677217

File tree

15 files changed

+15
-68
lines changed

15 files changed

+15
-68
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: IDF v5.1
1+
name: IDF v5.2
22
on:
33
workflow_dispatch: # Manually start a workflow
44

components/arduino_tinyusb/include/tusb_config.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ extern "C" {
7676
/* COMMON CONFIGURATION */
7777
/* */
7878

79-
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
79+
#ifdef CFG_TUSB_MCU
80+
# undef CFG_TUSB_MCU
81+
#endif
82+
#define CFG_TUSB_MCU OPT_MCU_ESP32S2
8083
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
8184
#define CFG_TUSB_OS OPT_OS_FREERTOS
8285

components/arduino_tinyusb/src/dcd_esp32sx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#if (((CFG_TUSB_MCU == OPT_MCU_ESP32S2) || (CFG_TUSB_MCU == OPT_MCU_ESP32S3)) && CFG_TUD_ENABLED)
3232

3333
// Espressif
34-
#include "freertos/xtensa_api.h"
34+
#include "xtensa_api.h"
3535
#include "esp_intr_alloc.h"
3636
#include "esp_log.h"
3737
#include "soc/dport_reg.h"

configs/builds.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"file":"libspi_flash.a",
55
"src":"build/esp-idf/spi_flash/libspi_flash.a",
66
"out":"lib/libspi_flash.a",
7-
"targets":["esp32","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2","esp32c2"]
7+
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
88
},
99
{
1010
"file":"libesp_psram.a",
@@ -136,7 +136,7 @@
136136
["qio","120m","qio_ram"],
137137
["qio","120m","opi_ram"],
138138
["qio","80m","qio_ram"],
139-
["qio","80m","opi_ram"],
139+
["qio","80m","opi_ram"],
140140
["opi","120m","qio_ram"],
141141
["opi","120m","opi_ram"],
142142
["opi","80m","qio_ram"],
@@ -146,7 +146,7 @@
146146
["qio","120m","qio_ram"],
147147
["qio","120m","opi_ram"],
148148
["qio","80m","qio_ram"],
149-
["qio","80m","opi_ram"],
149+
["qio","80m","opi_ram"],
150150
["opi","120m","qio_ram"],
151151
["opi","120m","opi_ram"],
152152
["opi","80m","qio_ram"],

configs/defconfig.120m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
12
CONFIG_ESPTOOLPY_FLASHFREQ_120M=y
23
CONFIG_SPIRAM_SPEED_120M=y
3-
CONFIG_SPI_FLASH_HPM_ENA=y
4+
# CONFIG_SPI_FLASH_HPM_ENA=y
5+
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y

configs/defconfig.40m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
2-
CONFIG_SPIRAM_SPEED_40M=y

configs/defconfig.80m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
2-
CONFIG_SPIRAM_SPEED_80M=y

configs/defconfig.esp32

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,3 @@ CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST=y
4343
CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
4444
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
4545
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
46-
47-
#
48-
# PPP
49-
#
50-
CONFIG_LWIP_PPP_SUPPORT=y
51-
CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT=y
52-
CONFIG_LWIP_PPP_PAP_SUPPORT=y
53-
CONFIG_LWIP_PPP_ENABLE_IPV6=n

configs/defconfig.esp32c2

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,3 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
3434
# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set
3535
# CONFIG_ETH_SPI_ETHERNET_W5500 is not set
3636
# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set
37-
38-
#
39-
# Disable PPP
40-
#
41-
# CONFIG_LWIP_PPP_SUPPORT is not set
42-
# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set
43-
# CONFIG_LWIP_PPP_PAP_SUPPORT is not set
44-
# CONFIG_LWIP_PPP_ENABLE_IPV6 is not set

configs/defconfig.esp32c3

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,3 @@ CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_NONE=y
4242
CONFIG_RTC_CLK_CAL_CYCLES=576
4343
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
4444
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
45-
46-
#
47-
# PPP
48-
#
49-
# CONFIG_LWIP_PPP_SUPPORT is not set
50-
# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set
51-
# CONFIG_LWIP_PPP_PAP_SUPPORT is not set
52-
# CONFIG_LWIP_PPP_ENABLE_IPV6 is not set

0 commit comments

Comments
 (0)