Skip to content

Commit 23f58ff

Browse files
authored
Merge pull request #722 from espressif/bsp/generated/esp32_c3_lcdkit
bsp(esp32_c3_lcdkit): Regenerated by BSP Generator
2 parents ee66ac9 + 7c2a570 commit 23f58ff

File tree

15 files changed

+1387
-779
lines changed

15 files changed

+1387
-779
lines changed

bsp/esp32_c3_lcdkit/API.md

Lines changed: 206 additions & 123 deletions
Large diffs are not rendered by default.

bsp/esp32_c3_lcdkit/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ else()
77
endif()
88

99
idf_component_register(
10-
SRCS "esp32_c3_lcdkit.c"
10+
SRCS "src/esp32_c3_lcdkit.c" "src/led_blink_defaults.c"
1111
INCLUDE_DIRS "include"
1212
PRIV_INCLUDE_DIRS "priv_include"
1313
REQUIRES ${REQ} fatfs
1414
PRIV_REQUIRES ${PRIV_REQ} esp_lcd spiffs esp_psram
15-
)
15+
)

bsp/esp32_c3_lcdkit/Kconfig

Lines changed: 44 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,10 @@
1-
menu "Board Support Package"
1+
menu "Board Support Package (ESP32-C3-LCDKit)"
22

33
config BSP_ERROR_CHECK
44
bool "Enable error check in BSP"
55
default y
66
help
77
Error check assert the application before returning the error code.
8-
9-
menu "Display"
10-
config BSP_DISPLAY_BRIGHTNESS_LEDC_CH
11-
int "LEDC channel index"
12-
default 1
13-
range 0 7
14-
help
15-
LEDC channel is used to generate PWM signal that controls display brightness.
16-
Set LEDC index that should be used.
17-
18-
config BSP_LCD_DRAW_BUF_HEIGHT
19-
int "LCD framebuf height"
20-
default 100
21-
range 10 240
22-
help
23-
Framebuf is used for lvgl rendering output.
24-
25-
config BSP_LCD_DRAW_BUF_DOUBLE
26-
bool "LCD double framebuf"
27-
default n
28-
help
29-
Whether to enable double framebuf.
30-
endmenu
31-
328
menu "SPIFFS - Virtual File System"
339
config BSP_SPIFFS_FORMAT_ON_MOUNT_FAIL
3410
bool "Format SPIFFS if mounting fails"
@@ -54,5 +30,47 @@ menu "Board Support Package"
5430
help
5531
Supported max files for SPIFFS in the Virtual File System.
5632
endmenu
33+
menu "Display"
34+
config BSP_DISPLAY_BRIGHTNESS_LEDC_CH
35+
int "LEDC channel index"
36+
default 1
37+
range 0 7
38+
help
39+
LEDC channel is used to generate PWM signal that controls display brightness.
40+
Set LEDC index that should be used.
41+
42+
config BSP_LCD_DRAW_BUF_HEIGHT
43+
int "LCD framebuf height"
44+
default 100
45+
range 10 240
46+
help
47+
Framebuf is used for lvgl rendering output.
5748

58-
endmenu
49+
config BSP_LCD_DRAW_BUF_DOUBLE
50+
bool "LCD double framebuf"
51+
default y
52+
help
53+
Whether to enable double framebuf.
54+
endmenu
55+
menu "LEDs"
56+
choice BSP_LED_RGB_BACKEND
57+
prompt "Adressable RGB LED backend peripheral"
58+
default BSP_LED_RGB_BACKEND_RMT
59+
help
60+
Select the backend peripheral to drive the LED strip.
61+
62+
config BSP_LED_RGB_BACKEND_RMT
63+
bool "RMT"
64+
if BSP_ESP_IDF_VERSION>="5.0"
65+
config BSP_LED_RGB_BACKEND_SPI
66+
bool "SPI"
67+
endif
68+
endchoice
69+
endmenu
70+
config BSP_I2S_NUM
71+
int "I2S peripheral index"
72+
default 0
73+
range 0 0
74+
help
75+
Pick the I2S you want to use.
76+
endmenu

bsp/esp32_c3_lcdkit/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@
199199
distributed under the License is distributed on an "AS IS" BASIS,
200200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201201
See the License for the specific language governing permissions and
202-
limitations under the License.
202+
limitations under the License.

bsp/esp32_c3_lcdkit/README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,21 @@ ESP32-C3-LCDkit also uses a Type-C USB connector that provides 5 V of power inpu
2626
<div align="center">
2727
<!-- START_DEPENDENCIES -->
2828

29-
| Available | Capability |Controller/Codec| Component | Version |
30-
|------------------|------------------------|----------------|--------------------------------------------------------------------------------------------------------|--------------|
31-
|:heavy_check_mark:| :pager: DISPLAY | gc9a01 |idf<br/>[espressif/esp_lcd_gc9a01](https://components.espressif.com/components/espressif/esp_lcd_gc9a01)|>=5.0.0<br/>^2|
32-
|:heavy_check_mark:|:black_circle: LVGL_PORT| | [espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port) | ^2 |
33-
| :x: | :point_up: TOUCH | | | |
34-
| :x: | :radio_button: BUTTONS | | | |
35-
|:heavy_check_mark:| :white_circle: KNOB | | [espressif/knob](https://components.espressif.com/components/espressif/knob) | ^1 |
36-
|:heavy_check_mark:| :musical_note: AUDIO | | [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | ~1.5 |
37-
|:heavy_check_mark:| :speaker: AUDIO_SPEAKER| | | |
38-
| :x: | :microphone: AUDIO_MIC | | | |
39-
|:heavy_check_mark:| :bulb: LED | | idf | >=5.0.0 |
40-
| :x: | :floppy_disk: SDCARD | | | |
41-
| :x: | :video_game: IMU | | | |
29+
| Available | Capability |Controller/Codec| Component | Version |
30+
|------------------|------------------------|----------------|--------------------------------------------------------------------------------------------------------|------------|
31+
|:heavy_check_mark:| :pager: DISPLAY | gc9a01 |idf<br/>[espressif/esp_lcd_gc9a01](https://components.espressif.com/components/espressif/esp_lcd_gc9a01)| >=5.2<br/>*|
32+
|:heavy_check_mark:|:black_circle: LVGL_PORT| | [espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port) | ^2 |
33+
| :x: | :point_up: TOUCH | | | |
34+
| :x: | :radio_button: BUTTONS | | | |
35+
|:heavy_check_mark:| :white_circle: KNOB | | [espressif/knob](https://components.espressif.com/components/espressif/knob) | ^1 |
36+
|:heavy_check_mark:| :musical_note: AUDIO | | [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | ~1.5 |
37+
|:heavy_check_mark:| :speaker: AUDIO_SPEAKER| | | |
38+
| :x: | :microphone: AUDIO_MIC | | | |
39+
| :x: | :floppy_disk: SDCARD | | | |
40+
|:heavy_check_mark:| :bulb: LED | | idf<br/>[espressif/led_indicator](https://components.espressif.com/components/espressif/led_indicator) |>=5.2<br/>^2|
41+
| :x: | :camera: CAMERA | | | |
42+
| :x: | :battery: BAT | | | |
43+
| :x: | :video_game: IMU | | | |
4244

4345
<!-- END_DEPENDENCIES -->
4446
</div>
@@ -56,4 +58,4 @@ ESP32-C3-LCDkit also uses a Type-C USB connector that provides 5 V of power inpu
5658
</div>
5759

5860
<!-- START_BENCHMARK -->
59-
<!-- END_BENCHMARK -->
61+
<!-- END_BENCHMARK -->

0 commit comments

Comments
 (0)