File tree Expand file tree Collapse file tree 7 files changed +40
-3
lines changed Expand file tree Collapse file tree 7 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -24,5 +24,4 @@ void init_board()
24
24
// Notes when use playback and record at same time, must set reuse_dev = false
25
25
codec_init_cfg_t cfg = {.reuse_dev = false};
26
26
init_codec (& cfg );
27
- board_lcd_init ();
28
27
}
Original file line number Diff line number Diff line change @@ -183,9 +183,10 @@ static int build_player_system()
183
183
.lcd_handle = board_get_lcd_handle (),
184
184
};
185
185
player_sys .video_render = av_render_alloc_lcd_render (& lcd_cfg );
186
+
186
187
if (player_sys .video_render == NULL ) {
187
188
ESP_LOGE (TAG , "Fail to create video render" );
188
- return -1 ;
189
+ // Allow not display
189
190
}
190
191
av_render_cfg_t render_cfg = {
191
192
.audio_render = player_sys .audio_render ,
Original file line number Diff line number Diff line change @@ -17,3 +17,17 @@ CONFIG_ESP_VIDEO_ENABLE_ISP_PIPELINE_CONTROLLER=y
17
17
# Set Slave target type
18
18
CONFIG_IDF_SLAVE_TARGET="esp32c6"
19
19
CONFIG_SLAVE_IDF_TARGET_ESP32C6=y
20
+
21
+ # Enable following configuration if support C5 Slave, make sure GPIO matched
22
+ # CONFIG_SLAVE_IDF_TARGET_ESP32C5=y
23
+ # CONFIG_ESP_HOSTED_SPI_HD_HOST_INTERFACE=y
24
+ # CONFIG_ESP_SPI_HD_GPIO_CS=4
25
+ # CONFIG_ESP_SPI_HD_GPIO_CLK=5
26
+ # CONFIG_ESP_SPI_HD_GPIO_D0=20
27
+ # CONFIG_ESP_SPI_HD_GPIO_D1=21
28
+ # CONFIG_ESP_SPI_HD_GPIO_D2=22
29
+ # CONFIG_ESP_SPI_HD_GPIO_D3=23
30
+ # CONFIG_ESP_SPI_HD_GPIO_DATA_READY=32
31
+ # CONFIG_ESP_SPI_HD_GPIO_RESET_SLAVE=33
32
+ # CONFIG_ESP_SPI_HD_FREQ_ESP32XX=40
33
+ # CONFIG_ESP_HOSTED_SPI_HD_PRIV_INTERFACE_4_DATA_LINES=y
Original file line number Diff line number Diff line change @@ -21,5 +21,4 @@ void init_board(void)
21
21
.reuse_dev = false
22
22
};
23
23
init_codec (& cfg );
24
- board_lcd_init ();
25
24
}
Original file line number Diff line number Diff line change @@ -16,7 +16,11 @@ extern "C" {
16
16
/**
17
17
* @brief Set used board name, see `codec_board` README.md for more details
18
18
*/
19
+ #if CONFIG_IDF_TARGET_ESP32P4
20
+ #define TEST_BOARD_NAME "ESP32_P4_DEV_V14"
21
+ #else
19
22
#define TEST_BOARD_NAME "S3_Korvo_V2"
23
+ #endif
20
24
21
25
/**
22
26
* @brief If defined will use OPUS codec
Original file line number Diff line number Diff line change @@ -540,6 +540,7 @@ int start_webrtc(void)
540
540
.extra_size = sizeof (peer_cfg ),
541
541
},
542
542
.signaling_cfg .extra_cfg = & openai_cfg ,
543
+ .signaling_cfg .extra_size = sizeof (openai_cfg ),
543
544
.peer_impl = esp_peer_get_default_impl (),
544
545
.signaling_impl = esp_signaling_get_openai_signaling (),
545
546
};
Original file line number Diff line number Diff line change
1
+ # Flash setting
2
+ CONFIG_FLASHMODE_QIO=y
3
+ CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
4
+
5
+ CONFIG_SPIRAM_SPEED_200M=y
6
+
7
+ # If you use serial JTAG turn on this option
8
+ #CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
9
+
10
+ # Use camera SC2336
11
+ CONFIG_CAMERA_SC2336=y
12
+ CONFIG_CAMERA_SC2336_MIPI_RAW8_1920x1080_30FPS=y
13
+
14
+ # Enable ISP pipelines
15
+ CONFIG_ESP_VIDEO_ENABLE_ISP_PIPELINE_CONTROLLER=y
16
+
17
+ # Set Slave target type
18
+ CONFIG_IDF_SLAVE_TARGET="esp32c6"
19
+ CONFIG_SLAVE_IDF_TARGET_ESP32C6=y
You can’t perform that action at this time.
0 commit comments