Skip to content

Commit e90c07e

Browse files
committed
More esp fixing
1 parent 7a7f1e6 commit e90c07e

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

ports/espressif/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(ENV{IDF_PATH} ${CMAKE_SOURCE_DIR}/esp-idf)
66

77
# The component list here determines what options we get in menuconfig and what the ninja file can build.
88
set(COMPONENTS bt driver esp-tls esp_adc_cal esp_event esp_netif esp_psram esp_wifi esptool_py freertos log lwip main mbedtls mdns soc ulp usb wpa_supplicant esp_lcd)
9-
set(EXTRA_COMPONENT_DIRS esp-protocols/components/mdns)
9+
set(EXTRA_COMPONENT_DIRS "esp-protocols/components/mdns")
1010

1111
list(APPEND EXTRA_COMPONENT_DIRS "esp32-camera")
1212

ports/espressif/boards/adafruit_esp32s3_camera/board.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void io_expander_backlight_init(void) {
8787
i2c_master_write_byte(cmd, AW9523_REG_SOFTRESET, true);
8888
i2c_master_write_byte(cmd, 0, true);
8989
i2c_master_stop(cmd);
90-
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_RATE_MS);
90+
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_PERIOD_MS);
9191
i2c_cmd_link_delete(cmd);
9292

9393
cmd = i2c_cmd_link_create();
@@ -97,7 +97,7 @@ static void io_expander_backlight_init(void) {
9797
i2c_master_write_byte(cmd, AW9523_DEFAULT_CONFIG >> 8, true);
9898
i2c_master_write_byte(cmd, AW9523_DEFAULT_CONFIG & 0xff, true);
9999
i2c_master_stop(cmd);
100-
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_RATE_MS);
100+
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_PERIOD_MS);
101101
i2c_cmd_link_delete(cmd);
102102

103103
cmd = i2c_cmd_link_create();
@@ -107,7 +107,7 @@ static void io_expander_backlight_init(void) {
107107
i2c_master_write_byte(cmd, AW9523_DEFAULT_OUTPUT >> 8, true);
108108
i2c_master_write_byte(cmd, AW9523_DEFAULT_OUTPUT & 0xff, true);
109109
i2c_master_stop(cmd);
110-
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_RATE_MS);
110+
i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_PERIOD_MS);
111111
i2c_cmd_link_delete(cmd);
112112

113113
i2c_driver_delete(i2c_num);

ports/espressif/boards/adafruit_esp32s3_camera/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ IDF_TARGET = esp32s3
88
CIRCUITPY_ESP_FLASH_MODE = dio
99
CIRCUITPY_ESP_FLASH_FREQ = 40m
1010
CIRCUITPY_ESP_FLASH_SIZE = 4MB
11+
CIRCUITPY_ESP_PSRAM_SIZE = 2MB
1112
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-4MB-1ota.defaults
1213

1314
CIRCUITPY_AUDIOBUSIO = 0

ports/espressif/common-hal/espulp/ULP.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
#define ULP_COPROC_RESERVE_MEM (CONFIG_ESP32_ULP_COPROC_RESERVE_MEM)
3636
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
3737
#include "esp32s2/ulp.h"
38-
#include "esp32s2/ulp_riscv.h"
38+
#include "ulp_riscv.h"
3939
#define ULP_COPROC_RESERVE_MEM (CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM)
4040
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
4141
#include "esp32s3/ulp.h"
42-
#include "esp32s3/ulp_riscv.h"
42+
#include "ulp_riscv.h"
4343
#define ULP_COPROC_RESERVE_MEM (CONFIG_ESP32S3_ULP_COPROC_RESERVE_MEM)
4444
#endif
4545

ports/espressif/i2s_lcd_driver.h

Whitespace-only changes.

0 commit comments

Comments
 (0)