├── .editorconfig ├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ ├── 01_Feature-Request.yml │ ├── 02_Issue-Report.yml │ └── config.yml ├── PULL_REQUEST_TEMPLATE │ └── pr_template_bsp.md ├── ci │ ├── bsp_noglib.py │ └── update_readme_dependencies.py ├── pull_request_template.md └── workflows │ ├── build-examples-gh-pages-on-push.yml │ ├── build-run-applications.yml │ ├── doxygen.yml │ ├── issue_comment.yml │ ├── new_issues.yml │ ├── new_prs.yml │ ├── pre-commit.yml │ ├── squareline.yml │ ├── upload_component.yml │ └── upload_component_noglib.yml ├── .gitignore ├── .gitmodules ├── .idf_build_apps.toml ├── .ignore_build_warnings.txt ├── .pre-commit-config.yaml ├── BSP_development_guide.md ├── CONTRIBUTING.md ├── Doxyfile ├── LCD.md ├── README.md ├── SquareLine ├── README.md ├── boards │ ├── v8 │ │ ├── custom_waveshare_7inch │ │ │ ├── README.md │ │ │ ├── components │ │ │ │ └── ws_7inch │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── idf_component.yml │ │ │ │ │ ├── include │ │ │ │ │ └── bsp │ │ │ │ │ │ ├── display.h │ │ │ │ │ │ ├── esp-bsp.h │ │ │ │ │ │ ├── touch.h │ │ │ │ │ │ └── ws_7inch.h │ │ │ │ │ ├── pic.jpg │ │ │ │ │ ├── priv_include │ │ │ │ │ └── bsp_err_check.h │ │ │ │ │ └── ws_7inch.c │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── esp32_c3_lcdkit │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── esp32_s2_kaluga_kit │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_eye │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_korvo_2 │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_lcd_ev_board │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ ├── partitions.csv │ │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_usb_otg │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── espbox │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── espbox_3 │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── espbox_lite │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ ├── espwroverkit │ │ │ ├── image.png │ │ │ ├── main │ │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ └── sdkconfig.defaults │ │ └── m5stack_core_s3 │ │ │ ├── image.png │ │ │ ├── main │ │ │ └── idf_component.yml │ │ │ ├── manifest.json │ │ │ ├── partitions.csv │ │ │ └── sdkconfig.defaults │ └── v9 │ │ ├── esp32_c3_lcdkit │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── esp32_s2_kaluga_kit │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_eye │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_korvo_2 │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_lcd_ev_board │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ ├── partitions.csv │ │ └── sdkconfig.defaults │ │ ├── esp32_s3_usb_otg │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── espbox │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── espbox_3 │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── espbox_lite │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── espwroverkit │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ └── sdkconfig.defaults │ │ ├── m5_atom_s3 │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ ├── partitions.csv │ │ └── sdkconfig.defaults │ │ ├── m5dial │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ ├── manifest.json │ │ ├── partitions.csv │ │ └── sdkconfig.defaults │ │ ├── m5stack_core_2 │ │ ├── image.png │ │ ├── main │ │ │ └── idf_component.yml │ │ └── manifest.json │ │ └── m5stack_core_s3 │ │ ├── image.png │ │ ├── main │ │ └── idf_component.yml │ │ ├── manifest.json │ │ ├── partitions.csv │ │ └── sdkconfig.defaults ├── common │ ├── CMakeLists.txt │ ├── LICENSE │ ├── README.md │ └── main │ │ ├── CMakeLists.txt │ │ ├── main.c │ │ └── ui │ │ └── README.md └── gen.py ├── bsp ├── esp-box-3 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp-box-3.c │ ├── esp-box-3_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-box-3.h │ │ │ ├── esp-bsp.h │ │ │ └── touch.h │ ├── pic.png │ └── priv_include │ │ └── bsp_err_check.h ├── esp-box-lite │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp-box-lite.c │ ├── esp-box-lite_idf4.c │ ├── esp-box-lite_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-box-lite.h │ │ │ └── esp-bsp.h │ ├── pic.png │ └── priv_include │ │ └── bsp_err_check.h ├── esp-box │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp-box.c │ ├── esp-box_idf4.c │ ├── esp-box_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-box.h │ │ │ ├── esp-bsp.h │ │ │ └── touch.h │ ├── pic.png │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_azure_iot_kit │ ├── Azure-iot-kit.webp │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_azure_iot_kit.c │ ├── idf_component.yml │ ├── image.png │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp32_azure_iot_kit.h │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_c3_lcdkit │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_c3_lcdkit.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp32_c3_lcdkit.h │ ├── pic.png │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_lyrat │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_lyrat.c │ ├── esp32_lyrat_idf4.c │ ├── esp32_lyrat_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── esp-bsp.h │ │ │ └── esp32_lyrat.h │ ├── pic.jpg │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_p4_function_ev_board │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_p4_function_ev_board.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── esp32_p4_function_ev_board.h │ │ │ └── touch.h │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_s2_kaluga_kit │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_s2_kaluga_kit.c │ ├── esp32_s2_kaluga_kit_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp32_s2_kaluga_kit.h │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_s3_eye │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_s3_eye.c │ ├── esp32_s3_eye_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp32_s3_eye.h │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_s3_korvo_1 │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_s3_korvo_1.c │ ├── esp32_s3_korvo_1_idf4.c │ ├── esp32_s3_korvo_1_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── esp-bsp.h │ │ │ └── esp32_s3_korvo_1.h │ ├── led_blink_defaults.c │ ├── pic.png │ ├── priv_include │ │ └── bsp_err_check.h │ └── s3_korvo_1.png ├── esp32_s3_korvo_2 │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_s3_korvo_2.c │ ├── esp32_s3_korvo_2_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── esp32_s3_korvo_2.h │ │ │ └── touch.h │ ├── pic.png │ └── priv_include │ │ └── bsp_err_check.h ├── esp32_s3_lcd_ev_board │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── esp32_s3_lcd_ev_board.h │ │ │ └── touch.h │ ├── priv_include │ │ ├── bsp_err_check.h │ │ └── bsp_probe.h │ └── src │ │ ├── bsp_probe.c │ │ ├── bsp_sub_board.c │ │ └── esp32_s3_lcd_ev_board.c ├── esp32_s3_usb_otg │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp32_s3_usb_otg.c │ ├── esp32_s3_usb_otg_idf4.c │ ├── esp32_s3_usb_otg_idf5.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp32_s3_usb_otg.h │ └── priv_include │ │ └── bsp_err_check.h ├── esp_bsp_devkit │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── esp-bsp.h │ │ │ └── esp_bsp_devkit.h │ ├── priv_include │ │ └── bsp_err_check.h │ └── src │ │ ├── esp_bsp_devkit.c │ │ └── led_blink_defaults.c ├── esp_bsp_generic │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── esp_bsp_generic.h │ │ │ └── touch.h │ ├── priv_include │ │ └── bsp_err_check.h │ └── src │ │ ├── esp_bsp_generic.c │ │ └── led_blink_defaults.c ├── esp_wrover_kit │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── esp_wrover_kit.c │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── esp_wrover_kit.h │ └── priv_include │ │ └── bsp_err_check.h ├── m5_atom_s3 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── m5_atom_s3.h │ ├── m5_atom_s3.c │ ├── pic.webp │ └── priv_include │ │ └── bsp_err_check.h ├── m5dial │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── m5dial.h │ │ │ └── touch.h │ ├── m5dial.c │ ├── pic.webp │ └── priv_include │ │ └── bsp_err_check.h ├── m5stack_core │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ └── m5stack_core.h │ ├── m5stack_core.c │ └── priv_include │ │ └── bsp_err_check.h ├── m5stack_core_2 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── bsp │ │ │ ├── config.h │ │ │ ├── display.h │ │ │ ├── esp-bsp.h │ │ │ ├── m5stack_core_2.h │ │ │ └── touch.h │ ├── m5stack_core_2.c │ ├── m5stack_core_2_idf5.c │ └── priv_include │ │ └── bsp_err_check.h └── m5stack_core_s3 │ ├── CMakeLists.txt │ ├── Kconfig │ ├── LICENSE │ ├── README.md │ ├── idf_component.yml │ ├── include │ └── bsp │ │ ├── config.h │ │ ├── display.h │ │ ├── esp-bsp.h │ │ ├── m5stack_core_s3.h │ │ └── touch.h │ ├── m5stack_core_s3.c │ ├── m5stack_core_s3_idf5.c │ ├── pic.webp │ └── priv_include │ └── bsp_err_check.h ├── check_copyright_config.yaml ├── components ├── .build-test-rules.yml ├── bh1750 │ ├── CMakeLists.txt │ ├── README.md │ ├── bh1750.c │ ├── idf_component.yml │ ├── include │ │ └── bh1750.h │ ├── license.txt │ └── test │ │ ├── CMakeLists.txt │ │ └── bh1750_test.c ├── ds18b20 │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── LICENSE │ ├── README.md │ ├── examples │ │ └── ds18b20-read │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ └── main │ │ │ ├── CMakeLists.txt │ │ │ ├── ds18b20-read.c │ │ │ └── idf_component.yml │ ├── idf_component.yml │ ├── include │ │ ├── ds18b20.h │ │ └── ds18b20_types.h │ └── src │ │ └── ds18b20.c ├── es7210 │ ├── CMakeLists.txt │ ├── README.md │ ├── es7210.c │ ├── idf_component.yml │ ├── include │ │ └── es7210.h │ ├── license.txt │ ├── priv_include │ │ └── es7210_reg.h │ └── test │ │ ├── CMakeLists.txt │ │ └── es7210_test.c ├── es8311 │ ├── CMakeLists.txt │ ├── LICENSE │ ├── README.md │ ├── es8311.c │ ├── idf_component.yml │ ├── include │ │ └── es8311.h │ └── priv_include │ │ └── es8311_reg.h ├── esp_lvgl_port │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── Kconfig │ ├── README.md │ ├── docs │ │ ├── frame_buffer_settings.png │ │ └── performance.md │ ├── examples │ │ ├── i2c_oled │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Kconfig.projbuild │ │ │ │ ├── i2c_oled_example_main.c │ │ │ │ ├── idf_component.yml │ │ │ │ └── lvgl_demo_ui.c │ │ │ └── sdkconfig.defaults │ │ ├── rgb_lcd │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── idf_component.yml │ │ │ │ ├── images │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── esp_logo.png │ │ │ │ └── main.c │ │ │ ├── partitions.csv │ │ │ └── sdkconfig.defaults │ │ └── touchscreen │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ ├── images │ │ │ │ ├── .gitignore │ │ │ │ └── esp_logo.png │ │ │ └── main.c │ │ │ └── sdkconfig.defaults │ ├── idf_component.yml │ ├── images │ │ ├── img_cursor.png │ │ ├── img_cursor_20px.png │ │ ├── lvgl8 │ │ │ └── img_cursor.c │ │ └── lvgl9 │ │ │ └── img_cursor.c │ ├── include │ │ ├── esp_lvgl_port.h │ │ ├── esp_lvgl_port_button.h │ │ ├── esp_lvgl_port_compatibility.h │ │ ├── esp_lvgl_port_disp.h │ │ ├── esp_lvgl_port_knob.h │ │ ├── esp_lvgl_port_lv_blend.h │ │ ├── esp_lvgl_port_touch.h │ │ └── esp_lvgl_port_usbhid.h │ ├── license.txt │ ├── priv_include │ │ └── esp_lvgl_port_priv.h │ ├── project_include.cmake │ ├── src │ │ ├── common │ │ │ └── ppa │ │ │ │ ├── lcd_ppa.c │ │ │ │ └── lcd_ppa.h │ │ ├── lvgl8 │ │ │ ├── esp_lvgl_port.c │ │ │ ├── esp_lvgl_port_button.c │ │ │ ├── esp_lvgl_port_disp.c │ │ │ ├── esp_lvgl_port_knob.c │ │ │ ├── esp_lvgl_port_touch.c │ │ │ └── esp_lvgl_port_usbhid.c │ │ └── lvgl9 │ │ │ ├── esp_lvgl_port.c │ │ │ ├── esp_lvgl_port_button.c │ │ │ ├── esp_lvgl_port_disp.c │ │ │ ├── esp_lvgl_port_knob.c │ │ │ ├── esp_lvgl_port_touch.c │ │ │ ├── esp_lvgl_port_usbhid.c │ │ │ └── simd │ │ │ ├── lv_color_blend_to_argb8888_esp32.S │ │ │ ├── lv_color_blend_to_argb8888_esp32s3.S │ │ │ ├── lv_color_blend_to_rgb565_esp32.S │ │ │ ├── lv_color_blend_to_rgb565_esp32s3.S │ │ │ ├── lv_color_blend_to_rgb888_esp32.S │ │ │ ├── lv_color_blend_to_rgb888_esp32s3.S │ │ │ ├── lv_macro_memcpy.S │ │ │ ├── lv_rgb565_blend_normal_to_rgb565_esp32.S │ │ │ ├── lv_rgb565_blend_normal_to_rgb565_esp32s3.S │ │ │ ├── lv_rgb888_blend_normal_to_rgb888_esp32.S │ │ │ └── lv_rgb888_blend_normal_to_rgb888_esp32s3.S │ └── test_apps │ │ ├── lvgl_port │ │ ├── CMakeLists.txt │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test.c │ │ ├── sdkconfig.ci.asm_render │ │ └── sdkconfig.defaults │ │ └── simd │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── Kconfig.projbuild │ │ ├── lv_blend │ │ │ ├── include │ │ │ │ ├── lv_assert.h │ │ │ │ ├── lv_color.h │ │ │ │ ├── lv_color_op.h │ │ │ │ ├── lv_draw_sw_blend.h │ │ │ │ ├── lv_draw_sw_blend_to_argb8888.h │ │ │ │ ├── lv_draw_sw_blend_to_rgb565.h │ │ │ │ ├── lv_draw_sw_blend_to_rgb888.h │ │ │ │ ├── lv_log.h │ │ │ │ ├── lv_math.h │ │ │ │ ├── lv_string.h │ │ │ │ ├── lv_style.h │ │ │ │ └── lv_types.h │ │ │ └── src │ │ │ │ ├── lv_color.c │ │ │ │ ├── lv_draw_sw_blend_to_argb8888.c │ │ │ │ ├── lv_draw_sw_blend_to_rgb565.c │ │ │ │ ├── lv_draw_sw_blend_to_rgb888.c │ │ │ │ └── lv_string_builtin.c │ │ ├── lv_fill_common.h │ │ ├── lv_image_common.h │ │ ├── test_app_main.c │ │ ├── test_lv_fill_benchmark.c │ │ ├── test_lv_fill_functionality.c │ │ ├── test_lv_image_benchmark.c │ │ └── test_lv_image_functionality.c │ │ └── sdkconfig.defaults ├── fbm320 │ ├── CMakeLists.txt │ ├── README.md │ ├── fbm320.c │ ├── idf_component.yml │ ├── include │ │ └── fbm320.h │ ├── license.txt │ └── test │ │ ├── CMakeLists.txt │ │ └── fbm320_test.c ├── hts221 │ ├── CMakeLists.txt │ ├── README.md │ ├── hts221.c │ ├── idf_component.yml │ ├── include │ │ ├── hts221.h │ │ └── hts221_reg.h │ ├── license.txt │ └── test │ │ ├── CMakeLists.txt │ │ └── hts221_test.c ├── icm42670 │ ├── CMakeLists.txt │ ├── README.md │ ├── icm42670.c │ ├── idf_component.yml │ ├── include │ │ └── icm42670.h │ ├── license.txt │ └── test_apps │ │ ├── CMakeLists.txt │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── test_app_icm42670.c │ │ └── sdkconfig.defaults ├── io_expander │ ├── .build-test-rules.yml │ ├── esp_io_expander │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_io_expander.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_io_expander.h │ │ └── license.txt │ ├── esp_io_expander_ht8574 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_io_expander_ht8574.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_io_expander_ht8574.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_app_ht8574.c │ │ │ └── sdkconfig.defaults │ ├── esp_io_expander_tca9554 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_io_expander_tca9554.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_io_expander_tca9554.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_app_tca9554.c │ │ │ └── sdkconfig.defaults │ └── esp_io_expander_tca95xx_16bit │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_io_expander_tca95xx_16bit.c │ │ ├── idf_component.yml │ │ ├── include │ │ └── esp_io_expander_tca95xx_16bit.h │ │ ├── license.txt │ │ └── test_apps │ │ ├── CMakeLists.txt │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── test_app_tca95xx_16bit.c │ │ └── sdkconfig.defaults ├── lcd │ ├── .build-test-rules.yml │ ├── README.md │ ├── esp_lcd_gc9503 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_gc9503.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_gc9503.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_gc9503.c │ │ │ └── sdkconfig.defaults │ ├── esp_lcd_gc9a01 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_gc9a01.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_gc9a01.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_gc9a01.c │ │ │ └── sdkconfig.defaults │ ├── esp_lcd_ili9341 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_ili9341.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_ili9341.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_ili9341.c │ │ │ └── sdkconfig.defaults │ ├── esp_lcd_ili9881c │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_ili9881c.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_ili9881c.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_ili9881c.c │ │ │ ├── sdkconfig.defaults │ │ │ └── sdkconfig.defaults.esp32p4 │ ├── esp_lcd_lt8912b │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_lt8912b.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_lt8912b.h │ │ └── license.txt │ ├── esp_lcd_ra8875 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_ra8875.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_ra8875.h │ │ └── license.txt │ ├── esp_lcd_sh1107 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_sh1107.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_sh1107.h │ │ └── license.txt │ ├── esp_lcd_ssd1681 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_panel_ssd1681.c │ │ ├── esp_lcd_ssd1681_commands.h │ │ ├── examples │ │ │ ├── epaper_demo │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── idf_component.yml │ │ │ │ │ ├── img_bitmap.c │ │ │ │ │ ├── img_bitmap.h │ │ │ │ │ ├── main.c │ │ │ │ │ └── ssd1681_waveshare_1in54_lut.h │ │ │ │ └── scan_mode.svg │ │ │ └── epaper_lvgl_demo │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README.md │ │ │ │ ├── main │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── idf_component.yml │ │ │ │ ├── lvgl_demo_ui.c │ │ │ │ ├── main.c │ │ │ │ └── ssd1681_waveshare_1in54_lut.h │ │ │ │ └── sdkconfig.defaults │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_panel_ssd1681.h │ │ └── license.txt │ └── esp_lcd_st7796 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_st7796.c │ │ ├── esp_lcd_st7796_general.c │ │ ├── esp_lcd_st7796_mipi.c │ │ ├── idf_component.yml │ │ ├── include │ │ └── esp_lcd_st7796.h │ │ ├── license.txt │ │ ├── priv_include │ │ └── esp_lcd_st7796_interface.h │ │ └── test_apps │ │ ├── CMakeLists.txt │ │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ ├── test_app_main.c │ │ ├── test_esp_lcd_st7796_general.c │ │ └── test_esp_lcd_st7796_mipi.c │ │ └── sdkconfig.defaults ├── lcd_touch │ ├── .build-test-rules.yml │ ├── README.md │ ├── esp_lcd_touch │ │ ├── CMakeLists.txt │ │ ├── Kconfig │ │ ├── README.md │ │ ├── esp_lcd_touch.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch.h │ │ └── license.txt │ ├── esp_lcd_touch_cst816s │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_cst816s.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch_cst816s.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_touch_cst816s.c │ │ │ └── sdkconfig.defaults │ ├── esp_lcd_touch_ft5x06 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_ft5x06.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch_ft5x06.h │ │ └── license.txt │ ├── esp_lcd_touch_gt1151 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_gt1151.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch_gt1151.h │ │ └── license.txt │ ├── esp_lcd_touch_gt911 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_gt911.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch_gt911.h │ │ └── license.txt │ ├── esp_lcd_touch_stmpe610 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_stmpe610.c │ │ ├── idf_component.yml │ │ ├── include │ │ │ └── esp_lcd_touch_stmpe610.h │ │ ├── license.txt │ │ └── test_apps │ │ │ ├── CMakeLists.txt │ │ │ ├── main │ │ │ ├── CMakeLists.txt │ │ │ ├── idf_component.yml │ │ │ └── test_esp_lcd_touch_stmpe610.c │ │ │ └── sdkconfig.defaults │ └── esp_lcd_touch_tt21100 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── esp_lcd_touch_tt21100.c │ │ ├── idf_component.yml │ │ ├── include │ │ └── esp_lcd_touch_tt21100.h │ │ └── license.txt ├── mag3110 │ ├── CMakeLists.txt │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── mag3110.h │ ├── license.txt │ ├── mag3110.c │ └── test │ │ ├── CMakeLists.txt │ │ └── mag3110_test.c ├── mpu6050 │ ├── CMakeLists.txt │ ├── README.md │ ├── idf_component.yml │ ├── include │ │ └── mpu6050.h │ ├── license.txt │ ├── mpu6050.c │ └── test │ │ ├── CMakeLists.txt │ │ └── mpu6050_test.c └── qma6100p │ ├── CMakeLists.txt │ ├── README.md │ ├── idf_component.yml │ ├── include │ └── qma6100p.h │ ├── license.txt │ ├── qma6100p.c │ └── test_apps │ ├── CMakeLists.txt │ ├── main │ ├── CMakeLists.txt │ ├── idf_component.yml │ └── test_esp_acc_qma6100p.c │ └── sdkconfig.defaults ├── conftest.py ├── docu └── pics │ ├── 1.28inch-LCD-Module-1.jpg │ ├── 1.3inch-oled-module-c-1.jpg │ ├── 7inch-Capacitive-Touch-LCD-C_l.jpg │ ├── Adafruit-PiTFT.jpg │ ├── Lontium.webp │ ├── azure.png │ ├── box.webp │ ├── esp32-s2-hmi-devkit-1-3d-v1.0.png │ ├── esp32-s3-lcd-ev-board_480x480.png │ ├── esp32-s3-lcd-ev-board_800x480.png │ ├── esp32_c3_lcdkit.png │ ├── esp32_s3_box.png │ ├── esp32_s3_box_3.png │ ├── esp32_s3_box_lite.png │ ├── esp32_s3_korvo_1.png │ ├── esp32_s3_otg.png │ ├── ili9488-parallel.webp │ ├── kaluga.png │ ├── korvo-2.png │ ├── lyrat.png │ ├── m5atoms3.webp │ ├── m5dial.webp │ ├── m5stack_core2.webp │ ├── m5stack_cores3.webp │ ├── s3-eye.webp │ ├── ssd1306.jpg │ ├── ssd1963.jpg │ ├── st7796.jpg │ └── wrover.png ├── examples ├── .build-test-rules.yml ├── audio │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── bsp_audio_example.c │ │ └── idf_component.yml │ ├── partitions.csv │ ├── sdkconfig.bsp.esp32_lyrat │ ├── sdkconfig.bsp.esp32_s2_kaluga_kit │ ├── sdkconfig.bsp.esp32_s3_korvo_1 │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.defaults │ └── spiffs │ │ └── 16bit_mono_22_05khz.wav ├── bsp_ext.py ├── display │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── display_main.c │ │ ├── idf_component.yml │ │ ├── images │ │ │ ├── esp_logo.png │ │ │ └── esp_text.png │ │ └── lvgl_demo_ui.c │ ├── pytest_display.py │ ├── sdkconfig.bsp.esp-box │ ├── sdkconfig.bsp.esp-box-3 │ ├── sdkconfig.bsp.esp-box-lite │ ├── sdkconfig.bsp.esp32_c3_lcdkit │ ├── sdkconfig.bsp.esp32_p4_function_ev_board │ ├── sdkconfig.bsp.esp32_s2_kaluga_kit │ ├── sdkconfig.bsp.esp32_s3_eye │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.esp32_s3_lcd_ev_board │ ├── sdkconfig.bsp.esp32_s3_usb_otg │ ├── sdkconfig.bsp.esp_wrover_kit │ ├── sdkconfig.bsp.m5_atom_s3 │ ├── sdkconfig.bsp.m5dial │ ├── sdkconfig.bsp.m5stack_core │ ├── sdkconfig.bsp.m5stack_core_2 │ ├── sdkconfig.bsp.m5stack_core_s3 │ └── sdkconfig.defaults ├── display_audio_photo │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── app_disp_fs.c │ │ ├── app_disp_fs.h │ │ ├── bsp_espbox_disp_example.c │ │ └── idf_component.yml │ ├── partitions.csv │ ├── sdkconfig.bsp.esp-box │ ├── sdkconfig.bsp.esp-box-3 │ ├── sdkconfig.bsp.esp-box-lite │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.esp32_s3_lcd_ev_board │ ├── sdkconfig.bsp.m5stack_core_2 │ ├── sdkconfig.bsp.m5stack_core_s3 │ ├── sdkconfig.defaults │ └── spiffs_content │ │ ├── Death Star.jpg │ │ ├── Millenium Falcon.jpg │ │ ├── Readme.txt │ │ ├── esp_logo.jpg │ │ └── imperial_march.wav ├── display_camera │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── display_camera.c │ │ └── idf_component.yml │ ├── sdkconfig.bsp.esp32_s2_kaluga_kit │ ├── sdkconfig.bsp.esp32_s3_eye │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.m5stack_core_s3 │ └── sdkconfig.defaults ├── display_lvgl_benchmark │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── main.c │ ├── partitions.csv │ ├── pytest_display_lvgl_benchmark.py │ ├── sdkconfig.bsp.esp-box │ ├── sdkconfig.bsp.esp-box-3 │ ├── sdkconfig.bsp.esp-box-lite │ ├── sdkconfig.bsp.esp32_p4_function_ev_board │ ├── sdkconfig.bsp.esp32_s2_kaluga_kit │ ├── sdkconfig.bsp.esp32_s3_eye │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.esp32_s3_lcd_ev_board │ ├── sdkconfig.bsp.m5dial │ ├── sdkconfig.bsp.m5stack_core_s3 │ └── sdkconfig.defaults ├── display_lvgl_demos │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── dispaly_lvgl_demos_main.c │ │ └── idf_component.yml │ ├── partitions.csv │ ├── pytest_display_lvgl_demos.py │ ├── sdkconfig.bsp.esp-box │ ├── sdkconfig.bsp.esp-box-3 │ ├── sdkconfig.bsp.esp-box-lite │ ├── sdkconfig.bsp.esp32_p4_function_ev_board │ ├── sdkconfig.bsp.esp32_s2_kaluga_kit │ ├── sdkconfig.bsp.esp32_s3_eye │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.esp32_s3_lcd_ev_board │ ├── sdkconfig.bsp.m5dial │ ├── sdkconfig.bsp.m5stack_core_s3 │ └── sdkconfig.defaults ├── display_rotation │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ ├── images │ │ │ ├── .gitignore │ │ │ └── esp_logo.png │ │ └── main.c │ ├── sdkconfig.bsp.esp-box │ ├── sdkconfig.bsp.esp-box-3 │ ├── sdkconfig.bsp.esp-box-lite │ ├── sdkconfig.bsp.esp32_p4_function_ev_board │ ├── sdkconfig.bsp.esp32_s3_korvo_2 │ ├── sdkconfig.bsp.esp32_s3_lcd_ev_board │ ├── sdkconfig.bsp.m5dial │ ├── sdkconfig.bsp.m5stack_core │ ├── sdkconfig.bsp.m5stack_core_s3 │ └── sdkconfig.defaults ├── display_sensors │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── sensors_example.c │ ├── pytest_display_display_sensors.py │ ├── sdkconfig.bsp.esp32_azure_iot_kit │ └── sdkconfig.defaults ├── display_usb_hid │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── main.c │ ├── sdkconfig.bsp.esp32_p4_function_ev_board │ ├── sdkconfig.bsp.esp32_s3_usb_otg │ └── sdkconfig.defaults ├── generic_button_led │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ │ ├── CMakeLists.txt │ │ ├── idf_component.yml │ │ └── main.c │ ├── partitions.csv │ ├── pytest_generic_button_led.py │ ├── sdkconfig.bsp.esp_bsp_devkit │ ├── sdkconfig.bsp.esp_bsp_generic │ ├── sdkconfig.defaults │ ├── sdkconfig.esp32_c2_devkitm_1 │ ├── sdkconfig.esp32_devkitc_V4 │ ├── sdkconfig.esp32_s2_devkitm_1 │ ├── sdkconfig.esp32_s3_devkitc_1 │ └── sdkconfig.esp32_s3_devkitc_1_1 └── mqtt_example │ ├── CMakeLists.txt │ ├── README.md │ ├── main │ ├── CMakeLists.txt │ ├── Kconfig.projbuild │ ├── idf_component.yml │ ├── mqtt_example_main.c │ └── wifi.c │ ├── partitions.csv │ ├── sdkconfig.bsp.esp32_azure_iot_kit │ └── sdkconfig.defaults ├── pytest.ini └── test_apps ├── .build-test-rules.yml ├── components ├── CMakeLists.txt ├── main │ ├── CMakeLists.txt │ └── test_app_main.c └── sdkconfig.defaults └── noglib ├── CMakeLists.txt ├── README.md ├── image.jpg ├── main ├── CMakeLists.txt ├── idf_component.yml ├── image.c ├── noglib_main.c ├── pretty_effect.c └── pretty_effect.h └── sdkconfig.defaults /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # http://editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | indent_style = space 9 | indent_size = 4 10 | end_of_line = lf 11 | charset = utf-8 12 | trim_trailing_whitespace = true 13 | insert_final_newline = true 14 | 15 | [{*.md,*.rst}] 16 | trim_trailing_whitespace = false 17 | 18 | [{*.cmake,CMakeLists.txt}] 19 | indent_style = space 20 | indent_size = 4 21 | max_line_length = 120 22 | 23 | [{*.sh,*.yml,*.yaml}] 24 | indent_style = space 25 | indent_size = 2 26 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: BSP Repository README 4 | url: https://github.com/espressif/esp-bsp/blob/master/README.md 5 | - name: ESP32 Forum 6 | url: www.esp32.com 7 | - name: Development Guide for BSP 8 | url: https://github.com/espressif/esp-bsp/blob/master/BSP_development_guide.md 9 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | # ESP-BSP Pull Request checklist 2 | 3 | > Note: For new BSPs create a PR with this [link](https://github.com/espressif/esp-bsp/compare/main...my-branch?quick_pull=1&template=pr_template_bsp.md). 4 | - [ ] Version of modified component bumped 5 | - [ ] CI passing 6 | 7 | # Change description 8 | _Please describe your change here_ -------------------------------------------------------------------------------- /.github/workflows/doxygen.yml: -------------------------------------------------------------------------------- 1 | name: Build Doxygen documentation 2 | 3 | on: 4 | pull_request: 5 | types: [opened, reopened, synchronize] 6 | push: 7 | branches: 8 | - master 9 | 10 | jobs: 11 | build-docu: 12 | name: Build Doxygen documentation 13 | runs-on: ubuntu-24.04 14 | steps: 15 | - uses: actions/checkout@v2 16 | - uses: mattnotmitt/doxygen-action@v1.9.5 17 | -------------------------------------------------------------------------------- /.github/workflows/issue_comment.yml: -------------------------------------------------------------------------------- 1 | name: Sync issue comments to JIRA 2 | 3 | # This workflow will be triggered when new issue comment is created (including PR comments) 4 | on: issue_comment 5 | 6 | jobs: 7 | sync_issue_comments_to_jira: 8 | name: Sync Issue Comments to Jira 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@master 12 | - name: Sync issue comments to JIRA 13 | uses: espressif/github-actions/sync_issues_to_jira@master 14 | env: 15 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 16 | JIRA_PASS: ${{ secrets.JIRA_PASS }} 17 | JIRA_PROJECT: BSP 18 | JIRA_COMPONENT: GitHub 19 | JIRA_URL: ${{ secrets.JIRA_URL }} 20 | JIRA_USER: ${{ secrets.JIRA_USER }} 21 | -------------------------------------------------------------------------------- /.github/workflows/new_issues.yml: -------------------------------------------------------------------------------- 1 | name: Sync issues to Jira 2 | 3 | # This workflow will be triggered when a new issue is opened 4 | on: issues 5 | 6 | jobs: 7 | sync_issues_to_jira: 8 | name: Sync issues to Jira 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@master 12 | - name: Sync GitHub issues to Jira project 13 | uses: espressif/github-actions/sync_issues_to_jira@master 14 | env: 15 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 16 | JIRA_PASS: ${{ secrets.JIRA_PASS }} 17 | JIRA_PROJECT: BSP 18 | JIRA_COMPONENT: GitHub 19 | JIRA_URL: ${{ secrets.JIRA_URL }} 20 | JIRA_USER: ${{ secrets.JIRA_USER }} 21 | -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yml: -------------------------------------------------------------------------------- 1 | name: pre-commit 2 | 3 | on: 4 | pull_request: 5 | types: [opened, reopened, synchronize] 6 | 7 | jobs: 8 | pre-commit: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v4 12 | - uses: actions/setup-python@v5.2.0 13 | - uses: pre-commit/action@v3.0.1 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build* 2 | sdkconfig 3 | sdkconfig.old 4 | managed_components 5 | dependencies.lock 6 | .vscode 7 | doxygen_output/** 8 | dist 9 | __pycache__ 10 | gdbinit 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/.gitmodules -------------------------------------------------------------------------------- /.idf_build_apps.toml: -------------------------------------------------------------------------------- 1 | recursive = true 2 | exclude = [ 3 | "SquareLine", 4 | ] 5 | manifest_file = ["components/.build-test-rules.yml", "components/io_expander/.build-test-rules.yml", "components/lcd/.build-test-rules.yml", "components/lcd_touch/.build-test-rules.yml", "test_apps/.build-test-rules.yml", "examples/.build-test-rules.yml"] 6 | check_warnings = true 7 | ignore_warning_file = ".ignore_build_warnings.txt" 8 | config = "sdkconfig.bsp.*" 9 | 10 | # build related options 11 | build_dir = "build_@w" 12 | -------------------------------------------------------------------------------- /.ignore_build_warnings.txt: -------------------------------------------------------------------------------- 1 | DeprecationWarning: pkg_resources is deprecated as an API 2 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/components/ws_7inch/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "ws_7inch.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver 6 | PRIV_REQUIRES esp_timer esp_lcd esp_lcd_touch 7 | ) 8 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/components/ws_7inch/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.2" 2 | description: Board Support Package for WaveShare 7inch 3 | url: https://github.com/espressif/esp-bsp/SquareLine/boards/custom_waveshare_7inch/components/ws_7inch 4 | 5 | dependencies: 6 | idf: ">=5.0" 7 | esp_lcd_ra8875: "^1" 8 | esp_lcd_touch_gt911: "^1" 9 | lvgl/lvgl: "^8" 10 | 11 | esp_lvgl_port: 12 | version: ^1 13 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/components/ws_7inch/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: CC0-1.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/ws_7inch.h" 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/components/ws_7inch/pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/custom_waveshare_7inch/components/ws_7inch/pic.jpg -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/custom_waveshare_7inch/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | dependencies: 3 | idf: ">=4.4" 4 | ws_7inch: 5 | version: "1.0" 6 | override_path: "../components/ws_7inch" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"Custom WaveShare 7inch", 3 | "version":"1.0.0", 4 | "mcu":"ESP32", 5 | 6 | "screen_width":"800", 7 | "screen_height":"480", 8 | "screen_color_swap":true, 9 | 10 | "supported_lvgl_version":"8.2.0, 8.3.*", 11 | 12 | "short_description":"Internal custom board with WaveShare 7inch Display made by Espressif.", 13 | "long_description":"Example of the custom BSP and custom LCD made by Espressif for various Demos.", 14 | 15 | "placeholders": 16 | { 17 | "__ESP_BOARD_INCLUDE__": "bsp/ws_7inch.h", 18 | "__ESP_BOARD_I2C_INIT__": "/* Initialize I2C (for touch) */\n bsp_i2c_init();" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/custom_waveshare_7inch/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_LV_COLOR_16_SWAP=y 5 | CONFIG_LV_MEM_CUSTOM=y 6 | CONFIG_LV_MEMCPY_MEMSET_STD=y 7 | CONFIG_LV_USE_PERF_MONITOR=y 8 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_c3_lcdkit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_c3_lcdkit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_c3_lcdkit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32c3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_c3_lcdkit: "==1.0.1" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_c3_lcdkit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32c3" 2 | CONFIG_LV_COLOR_16_SWAP=y 3 | CONFIG_LV_MEM_CUSTOM=y 4 | CONFIG_LV_MEMCPY_MEMSET_STD=y 5 | CONFIG_LV_USE_PERF_MONITOR=y 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s2_kaluga_kit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_s2_kaluga_kit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s2_kaluga_kit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s2 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s2_kaluga_kit: "==3.0.1" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s2_kaluga_kit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s2" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_eye/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_s3_eye/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_eye/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_eye: "==3.0.4" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_eye/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_korvo_2/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_s3_korvo_2/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_korvo_2/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_korvo_2: "==2.1.2" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_korvo_2/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_lcd_ev_board/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_s3_lcd_ev_board/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_lcd_ev_board/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | esp32_s3_lcd_ev_board: "==2.1.0" 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_lcd_ev_board/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, , 0x1000, 5 | factory, app, factory, , 3500k, 6 | storage, data, spiffs, , 7000k, 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_usb_otg/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/esp32_s3_usb_otg/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_usb_otg/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_usb_otg: "==1.5.1" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/esp32_s3_usb_otg/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/espbox/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box: "==3.0.5" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_3/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/espbox_3/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_3/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box-3: "==1.1.3" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_3/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_lite/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/espbox_lite/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_lite/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box-lite: "==2.0.4" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espbox_lite/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espwroverkit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/espwroverkit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/espwroverkit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32 4 | dependencies: 5 | idf: ">=4.4" 6 | esp_wrover_kit: "==1.5.1" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/espwroverkit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 5 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 6 | CONFIG_LV_COLOR_16_SWAP=y 7 | CONFIG_LV_MEM_CUSTOM=y 8 | CONFIG_LV_MEMCPY_MEMSET_STD=y 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_SPRINTF_CUSTOM=y 11 | # CONFIG_LV_BUILD_EXAMPLES is not set 12 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/m5stack_core_s3/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v8/m5stack_core_s3/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v8/m5stack_core_s3/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=5.0" 6 | m5stack_core_s3: "==1.0.1" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/m5stack_core_s3/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 8M, 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v8/m5stack_core_s3/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_c3_lcdkit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_c3_lcdkit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_c3_lcdkit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32c3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_c3_lcdkit: ">=1.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_c3_lcdkit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32c3" 2 | CONFIG_LV_COLOR_16_SWAP=y 3 | CONFIG_LV_MEM_CUSTOM=y 4 | CONFIG_LV_MEMCPY_MEMSET_STD=y 5 | CONFIG_LV_USE_PERF_MONITOR=y 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s2_kaluga_kit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_s2_kaluga_kit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s2_kaluga_kit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s2 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s2_kaluga_kit: ">=3.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s2_kaluga_kit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s2" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_eye/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_s3_eye/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_eye/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_eye: ">=3.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_eye/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_korvo_2/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_s3_korvo_2/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_korvo_2/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_korvo_2: ">2.2.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_korvo_2/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_lcd_ev_board/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_s3_lcd_ev_board/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_lcd_ev_board/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | esp32_s3_lcd_ev_board: ">=2.2.1" 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_lcd_ev_board/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, , 0x1000, 5 | factory, app, factory, , 3500k, 6 | storage, data, spiffs, , 7000k, 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_usb_otg/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/esp32_s3_usb_otg/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_usb_otg/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp32_s3_usb_otg: ">=1.6.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/esp32_s3_usb_otg/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/espbox/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box: ">=3.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_3/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/espbox_3/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_3/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box-3: ">=1.2.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_3/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_lite/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/espbox_lite/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_lite/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=4.4" 6 | esp-box-lite: ">2.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espbox_lite/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_LV_COLOR_16_SWAP=y 6 | CONFIG_LV_MEM_CUSTOM=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espwroverkit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/espwroverkit/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/espwroverkit/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32 4 | dependencies: 5 | idf: ">=4.4" 6 | esp_wrover_kit: ">=1.6.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/espwroverkit/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 5 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 6 | CONFIG_LV_COLOR_16_SWAP=y 7 | CONFIG_LV_MEM_CUSTOM=y 8 | CONFIG_LV_MEMCPY_MEMSET_STD=y 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_SPRINTF_CUSTOM=y 11 | # CONFIG_LV_BUILD_EXAMPLES is not set 12 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5_atom_s3/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/m5_atom_s3/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5_atom_s3/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=5.0" 6 | m5_atom_s3: "*" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5_atom_s3/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 6M, 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5_atom_s3/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5dial/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/m5dial/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5dial/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=5.0" 6 | m5dial: "*" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5dial/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 6M, 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5dial/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_2/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/m5stack_core_2/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_2/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32 4 | dependencies: 5 | idf: ">=5.0" 6 | m5stack_core_2: ">=1.0.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_s3/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/SquareLine/boards/v9/m5stack_core_s3/image.png -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_s3/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: ESP-BSP SquareLine LVGL Example 2 | targets: 3 | - esp32s3 4 | dependencies: 5 | idf: ">=5.0" 6 | m5stack_core_s3: ">=1.1.0" 7 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_s3/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 8M, 6 | -------------------------------------------------------------------------------- /SquareLine/boards/v9/m5stack_core_s3/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | -------------------------------------------------------------------------------- /SquareLine/common/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 8 | add_compile_options("-Wno-format") 9 | project(__UI_PROJECT_NAME__) 10 | -------------------------------------------------------------------------------- /SquareLine/common/README.md: -------------------------------------------------------------------------------- 1 | 2 | # ESP Generated SquareLine Example 3 | 4 | This example is generated by SquareLine. It can show the UI generated by SquareLine on the display. More information is on [BSP GitHub](https://github.com/espressif/esp-bsp). 5 | 6 | ### Compile and flash 7 | 8 | ``` 9 | idf.py -p COMx flash monitor 10 | ``` 11 | 12 | ### Example outputs 13 | 14 | After initialization: 15 | ``` 16 | ... 17 | I (323) cpu_start: Starting scheduler on PRO CPU. 18 | I (0) cpu_start: Starting scheduler on APP CPU. 19 | I (345) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 20 | I (345) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 21 | I (475) ESP-BOX: Starting LVGL task 22 | I (475) ESP-BOX: Setting LCD backlight: 50% 23 | I (515) ESP-BOX: Example initialization done. 24 | ``` 25 | 26 | -------------------------------------------------------------------------------- /SquareLine/common/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #Add sources from ui directory 2 | file(GLOB_RECURSE SRC_UI ${CMAKE_SOURCE_DIR} "ui/*.c") 3 | 4 | idf_component_register(SRCS "main.c" ${SRC_UI} 5 | INCLUDE_DIRS "." "ui") 6 | -------------------------------------------------------------------------------- /SquareLine/common/main/ui/README.md: -------------------------------------------------------------------------------- 1 | The content in this folder is generated by SquareLine. 2 | -------------------------------------------------------------------------------- /bsp/esp-box-3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp-box-3.c" "esp-box-3_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver spiffs fatfs 6 | PRIV_REQUIRES esp_lcd 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/esp-box-3/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/esp-box-3/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp-box-3.h" 9 | -------------------------------------------------------------------------------- /bsp/esp-box-3/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp-box-3/pic.png -------------------------------------------------------------------------------- /bsp/esp-box-lite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #IDF version is less than IDF5.0 2 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") 3 | set(SRC_VER "esp-box-lite_idf4.c") 4 | else() 5 | set(SRC_VER "esp-box-lite_idf5.c") 6 | endif() 7 | 8 | idf_component_register( 9 | SRCS "esp-box-lite.c" ${SRC_VER} 10 | INCLUDE_DIRS "include" 11 | PRIV_INCLUDE_DIRS "priv_include" 12 | REQUIRES driver spiffs 13 | PRIV_REQUIRES esp_lcd 14 | ) 15 | -------------------------------------------------------------------------------- /bsp/esp-box-lite/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.1.0~1" 2 | description: Board Support Package (BSP) for ESP32-S3-BOX-Lite 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp-box-lite 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=4.4.5,<6.0" 13 | 14 | button: 15 | version: "^2.4" 16 | public: true 17 | 18 | espressif/esp_lvgl_port: 19 | version: "^2" 20 | public: true 21 | override_path: "../../components/esp_lvgl_port" 22 | 23 | esp_codec_dev: 24 | version: "~1.1" 25 | public: true 26 | -------------------------------------------------------------------------------- /bsp/esp-box-lite/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp-box-lite.h" 9 | -------------------------------------------------------------------------------- /bsp/esp-box-lite/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp-box-lite/pic.png -------------------------------------------------------------------------------- /bsp/esp-box/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #IDF version is less than IDF5.0 2 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") 3 | set(SRC_VER "esp-box_idf4.c") 4 | else() 5 | set(SRC_VER "esp-box_idf5.c") 6 | endif() 7 | 8 | idf_component_register( 9 | SRCS "esp-box.c" ${SRC_VER} 10 | INCLUDE_DIRS "include" 11 | PRIV_INCLUDE_DIRS "priv_include" 12 | REQUIRES driver 13 | PRIV_REQUIRES esp_lcd spiffs 14 | ) 15 | -------------------------------------------------------------------------------- /bsp/esp-box/idf_component.yml: -------------------------------------------------------------------------------- 1 | 2 | version: "3.1.0~1" 3 | description: Board Support Package (BSP) for ESP-BOX 4 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp-box 5 | 6 | targets: 7 | - esp32s3 8 | 9 | tags: 10 | - bsp 11 | 12 | dependencies: 13 | idf: ">=4.4.5,<6.0" 14 | esp_lcd_touch_tt21100: "^1" 15 | 16 | espressif/esp_lvgl_port: 17 | version: "^2" 18 | public: true 19 | override_path: "../../components/esp_lvgl_port" 20 | 21 | esp_codec_dev: 22 | version: "~1.1" 23 | public: true 24 | 25 | button: 26 | version: "^2.5" 27 | public: true 28 | 29 | icm42670: 30 | version: "^1" 31 | public: true 32 | -------------------------------------------------------------------------------- /bsp/esp-box/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp-box.h" 9 | -------------------------------------------------------------------------------- /bsp/esp-box/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp-box/pic.png -------------------------------------------------------------------------------- /bsp/esp32_azure_iot_kit/Azure-iot-kit.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_azure_iot_kit/Azure-iot-kit.webp -------------------------------------------------------------------------------- /bsp/esp32_azure_iot_kit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp32_azure_iot_kit.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver esp_lcd fatfs 6 | PRIV_REQUIRES spiffs 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/esp32_azure_iot_kit/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_azure_iot_kit/image.png -------------------------------------------------------------------------------- /bsp/esp32_azure_iot_kit/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_azure_iot_kit.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_c3_lcdkit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp32_c3_lcdkit.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | PRIV_REQUIRES 6 | "esp_lcd" 7 | REQUIRES 8 | "driver" 9 | "spiffs" 10 | ) -------------------------------------------------------------------------------- /bsp/esp32_c3_lcdkit/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for esp32_c3_lcdkit 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_c3_lcdkit 4 | 5 | targets: 6 | - esp32c3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.0.0" 13 | 14 | espressif/esp_lvgl_port: 15 | public: true 16 | version: "^2" 17 | override_path: "../../components/esp_lvgl_port" 18 | 19 | led_strip: 20 | version: "^2" 21 | public: true 22 | 23 | esp_lcd_gc9a01: 24 | version: "^1" 25 | public: true 26 | 27 | button: 28 | public: true 29 | version: "^4" 30 | 31 | knob: 32 | version: "^0.1.3" 33 | public: true 34 | 35 | esp_codec_dev: 36 | version: "^1,<1.2" 37 | public: true 38 | -------------------------------------------------------------------------------- /bsp/esp32_c3_lcdkit/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_c3_lcdkit.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_c3_lcdkit/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_c3_lcdkit/pic.png -------------------------------------------------------------------------------- /bsp/esp32_lyrat/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #IDF version is less than IDF5.0 2 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") 3 | set(SRC_VER "esp32_lyrat_idf4.c") 4 | else() 5 | set(SRC_VER "esp32_lyrat_idf5.c") 6 | endif() 7 | 8 | idf_component_register( 9 | SRCS "esp32_lyrat.c" ${SRC_VER} 10 | INCLUDE_DIRS "include" 11 | PRIV_INCLUDE_DIRS "priv_include" 12 | REQUIRES driver spiffs fatfs 13 | ) 14 | -------------------------------------------------------------------------------- /bsp/esp32_lyrat/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for ESP32-LyraT 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_lyrat 4 | 5 | targets: 6 | - esp32 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=4.4" 13 | 14 | button: 15 | version: "^4" 16 | public: true 17 | 18 | esp_codec_dev: 19 | version: "^1.0.3,<1.2" 20 | public: true 21 | -------------------------------------------------------------------------------- /bsp/esp32_lyrat/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_lyrat.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_lyrat/pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_lyrat/pic.jpg -------------------------------------------------------------------------------- /bsp/esp32_p4_function_ev_board/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | idf_component_register( 3 | SRCS "esp32_p4_function_ev_board.c" 4 | INCLUDE_DIRS "include" 5 | PRIV_INCLUDE_DIRS "priv_include" 6 | REQUIRES driver vfs fatfs 7 | PRIV_REQUIRES esp_lcd usb spiffs 8 | ) 9 | -------------------------------------------------------------------------------- /bsp/esp32_p4_function_ev_board/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "5.0.0" 2 | description: Board Support Package (BSP) for ESP32-P4 Function EV Board (preview) 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_p4_function_ev_board 4 | 5 | targets: 6 | - esp32p4 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.3" 13 | esp_lcd_ili9881c: "1.*" 14 | esp_lcd_ek79007: "1.*" 15 | esp_lcd_touch_gt911: "^1" 16 | lvgl/lvgl: ">=8,<10" 17 | 18 | espressif/esp_lvgl_port: 19 | version: "^2" 20 | public: true 21 | override_path: "../../components/esp_lvgl_port" 22 | 23 | esp_codec_dev: 24 | version: "1.2.*" 25 | public: true 26 | 27 | espressif/esp_lcd_lt8912b: 28 | version: ">=0.1.1,<1.0.0" 29 | override_path: "../../components/lcd/esp_lcd_lt8912b" 30 | -------------------------------------------------------------------------------- /bsp/esp32_p4_function_ev_board/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/esp32_p4_function_ev_board/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_p4_function_ev_board.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s2_kaluga_kit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp32_s2_kaluga_kit.c" "esp32_s2_kaluga_kit_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES esp_lcd esp_driver_gpio esp_driver_i2s driver 6 | PRIV_REQUIRES spiffs esp_driver_i2c esp_driver_spi esp_psram 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/esp32_s2_kaluga_kit/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "5.0.0" 2 | description: Board Support Package (BSP) for ESP32-S2-Kaluga kit 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s2_kaluga_kit 4 | 5 | targets: 6 | - esp32s2 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.4" # I2C Driver-NG is supported in esp32-camera only from IDFv5.4 13 | 14 | espressif/esp_lvgl_port: 15 | version: "^2" 16 | public: true 17 | override_path: "../../components/esp_lvgl_port" 18 | 19 | button: 20 | version: "^4" 21 | public: true 22 | 23 | esp_codec_dev: 24 | version: "~1.3.1" 25 | public: true 26 | 27 | led_strip: 28 | version: "^3.0" 29 | public: true 30 | 31 | esp32-camera: 32 | version: "^2.0.14" 33 | public: true 34 | 35 | examples: 36 | - path: ../../examples/display_camera 37 | -------------------------------------------------------------------------------- /bsp/esp32_s2_kaluga_kit/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s2_kaluga_kit.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s3_eye/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp32_s3_eye.c" "esp32_s3_eye_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES esp_driver_gpio esp_driver_sdmmc spiffs esp_driver_i2c fatfs 6 | PRIV_REQUIRES esp_lcd esp_driver_ledc esp_driver_spi 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/esp32_s3_eye/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "5.0.0" 2 | description: Board Support Package (BSP) for ESP32-S3-EYE 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_eye 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.4" # I2C Driver-NG is supported in esp32-camera only from IDFv5.4 13 | 14 | espressif/esp_lvgl_port: 15 | version: "^2" 16 | public: true 17 | override_path: "../../components/esp_lvgl_port" 18 | 19 | esp32-camera: 20 | version: "^2.0.13" 21 | public: true 22 | 23 | button: 24 | version: "^4" 25 | public: true 26 | 27 | esp_codec_dev: 28 | version: "~1.3.1" 29 | public: true 30 | 31 | qma6100p: 32 | version: "^2" 33 | override_path: "../../components/qma6100p" 34 | public: true 35 | -------------------------------------------------------------------------------- /bsp/esp32_s3_eye/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/esp32_s3_eye/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s3_eye.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # ChangeLog 2 | 3 | ## v1.1.1 - 2024-09-20 4 | 5 | ### Bugfix 6 | 7 | * Fix adc build error when using `ESP-IDF` `5.0` 8 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #IDF version is less than IDF5.0 2 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") 3 | set(SRC_VER "esp32_s3_korvo_1_idf4.c") 4 | set(REQ driver spiffs fatfs) 5 | else() 6 | set(SRC_VER "esp32_s3_korvo_1_idf5.c") 7 | set(REQ driver spiffs fatfs esp_adc vfs) 8 | endif() 9 | 10 | idf_component_register( 11 | SRCS "esp32_s3_korvo_1.c" ${SRC_VER} "led_blink_defaults.c" 12 | INCLUDE_DIRS "include" 13 | PRIV_INCLUDE_DIRS "priv_include" 14 | REQUIRES ${REQ} 15 | ) 16 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for ESP32-S3-KORVO-1 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_korvo_1 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=4.4" 13 | 14 | led_indicator: 15 | version: ">=0.7,<=0.8" 16 | public: true 17 | 18 | button: 19 | version: "^4" 20 | public: true 21 | 22 | esp_codec_dev: 23 | version: "~1.1.0" 24 | public: true 25 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s3_korvo_1.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_s3_korvo_1/pic.png -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_1/s3_korvo_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_s3_korvo_1/s3_korvo_1.png -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_2/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # ChangeLog 2 | 3 | ## V3.0.2 4 | 5 | * Fix I2C master transmission issue by adding glitch filtering 6 | 7 | ## v3.0.1 8 | 9 | * Added missing public driver/i2c_master.h include 10 | 11 | ## v3.0.0 12 | 13 | * Migrated to I2C Driver-NG (https://docs.espressif.com/projects/esp-idf/en/stable/esp32/migration-guides/release-5.x/5.2/peripherals.html#i2c) 14 | 15 | ## v2.2.1 - 2024-09-20 16 | 17 | ### Bugfix 18 | 19 | * Fix adc build error when using `ESP-IDF` `5.0` 20 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "esp32_s3_korvo_2.c" "esp32_s3_korvo_2_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES esp_driver_gpio esp_driver_i2s esp_driver_sdmmc esp_driver_i2c esp_adc fatfs 6 | PRIV_REQUIRES spiffs esp_lcd esp_driver_spi esp_driver_ledc 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_2/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "4.0.0" 2 | description: Board Support Package (BSP) for ESP32-S3-Korvo-2 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_korvo_2 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.4" # I2C Driver-NG is supported in esp32-camera only from IDFv5.4 13 | esp_lcd_ili9341: "^1" 14 | esp_lcd_touch_tt21100: "^1" 15 | 16 | esp_io_expander_tca9554: 17 | version: "^2" 18 | public: true 19 | 20 | esp_codec_dev: 21 | version: "~1.3.1" 22 | public: true 23 | 24 | esp32-camera: 25 | version: "^2.0.13" 26 | public: true 27 | 28 | button: 29 | version: "^4" 30 | public: true 31 | 32 | espressif/esp_lvgl_port: 33 | version: "^2" 34 | public: true 35 | override_path: "../../components/esp_lvgl_port" 36 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_2/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s3_korvo_2.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s3_korvo_2/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/esp32_s3_korvo_2/pic.png -------------------------------------------------------------------------------- /bsp/esp32_s3_lcd_ev_board/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE SRCS src/*.c) 2 | 3 | idf_component_register( 4 | SRCS ${SRCS} 5 | INCLUDE_DIRS "include" 6 | PRIV_INCLUDE_DIRS "priv_include" 7 | REQUIRES esp_driver_i2c esp_driver_i2s esp_driver_gpio esp_lcd esp_adc 8 | PRIV_REQUIRES esp_timer spiffs esp_psram 9 | ) 10 | -------------------------------------------------------------------------------- /bsp/esp32_s3_lcd_ev_board/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s3_lcd_ev_board.h" 9 | -------------------------------------------------------------------------------- /bsp/esp32_s3_usb_otg/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # ChangeLog 2 | 3 | ## v1.6.1 - 2024-09-20 4 | 5 | ### Bugfix 6 | 7 | * Fix adc build error when using `ESP-IDF` `5.0` 8 | -------------------------------------------------------------------------------- /bsp/esp32_s3_usb_otg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #IDF version is less than IDF5.0 2 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_LESS "5.0") 3 | set(SRC_VER "esp32_s3_usb_otg_idf4.c") 4 | set(REQ "") 5 | else() 6 | set(SRC_VER "esp32_s3_usb_otg_idf5.c") 7 | set(REQ esp_adc) 8 | endif() 9 | 10 | idf_component_register( 11 | SRCS "esp32_s3_usb_otg.c" ${SRC_VER} 12 | INCLUDE_DIRS "include" 13 | PRIV_INCLUDE_DIRS "priv_include" 14 | REQUIRES driver esp_lcd fatfs 15 | PRIV_REQUIRES usb spiffs ${REQ} 16 | ) 17 | -------------------------------------------------------------------------------- /bsp/esp32_s3_usb_otg/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for ESP32-S3-USB-OTG 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_usb_otg 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=4.4" 13 | 14 | button: 15 | version: "^4" 16 | public: true 17 | 18 | espressif/esp_lvgl_port: 19 | version: "^2" 20 | public: true 21 | override_path: "../../components/esp_lvgl_port" 22 | -------------------------------------------------------------------------------- /bsp/esp32_s3_usb_otg/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp32_s3_usb_otg.h" 9 | -------------------------------------------------------------------------------- /bsp/esp_bsp_devkit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE SRCS src/*.c) 2 | 3 | idf_component_register( 4 | SRCS ${SRCS} 5 | INCLUDE_DIRS "include" 6 | PRIV_INCLUDE_DIRS "priv_include" 7 | REQUIRES driver spiffs fatfs 8 | ) 9 | -------------------------------------------------------------------------------- /bsp/esp_bsp_devkit/idf_component.yml: -------------------------------------------------------------------------------- 1 | 2 | version: "3.0.0" 3 | description: DevKit Board Support Package (BSP) 4 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_bsp_devkit 5 | 6 | tags: 7 | - bsp 8 | 9 | dependencies: 10 | idf: ">=5.2" 11 | 12 | button: 13 | version: "^4" 14 | public: true 15 | 16 | led_indicator: 17 | version: "^1" 18 | public: true 19 | 20 | examples: 21 | - path: ../../examples/generic_button_led 22 | -------------------------------------------------------------------------------- /bsp/esp_bsp_devkit/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp_bsp_devkit.h" 9 | -------------------------------------------------------------------------------- /bsp/esp_bsp_generic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE SRCS src/*.c) 2 | 3 | idf_component_register( 4 | SRCS ${SRCS} 5 | INCLUDE_DIRS "include" 6 | PRIV_INCLUDE_DIRS "priv_include" 7 | REQUIRES driver spiffs fatfs 8 | PRIV_REQUIRES esp_lcd 9 | ) 10 | -------------------------------------------------------------------------------- /bsp/esp_bsp_generic/idf_component.yml: -------------------------------------------------------------------------------- 1 | 2 | version: "3.0.0" 3 | description: Generic Board Support Package (BSP) 4 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_bsp_generic 5 | 6 | tags: 7 | - bsp 8 | 9 | dependencies: 10 | idf: ">=5.2" 11 | esp_lcd_touch_tt21100: "^1" 12 | esp_lcd_touch_gt1151: "^1" 13 | esp_lcd_touch_gt911: "^1" 14 | esp_lcd_touch_cst816s: "^1" 15 | esp_lcd_touch_ft5x06: "^1" 16 | esp_lcd_ili9341: "^1" 17 | esp_lcd_gc9a01: "^1" 18 | 19 | button: 20 | version: "^4" 21 | public: true 22 | 23 | led_indicator: 24 | version: "^1" 25 | public: true 26 | 27 | espressif/esp_lvgl_port: 28 | version: "^2" 29 | public: true 30 | override_path: "../../components/esp_lvgl_port" 31 | 32 | examples: 33 | - path: ../../examples/generic_button_led 34 | -------------------------------------------------------------------------------- /bsp/esp_bsp_generic/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp_bsp_generic.h" 9 | -------------------------------------------------------------------------------- /bsp/esp_wrover_kit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_wrover_kit.c" 2 | INCLUDE_DIRS "include" 3 | PRIV_INCLUDE_DIRS "priv_include" 4 | REQUIRES driver esp_lcd fatfs 5 | PRIV_REQUIRES spiffs) 6 | -------------------------------------------------------------------------------- /bsp/esp_wrover_kit/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for ESP-WROVER-KIT 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_wrover_kit 4 | 5 | targets: 6 | - esp32 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=4.4.5" 13 | 14 | espressif/esp_lvgl_port: 15 | version: "^2" 16 | public: true 17 | override_path: "../../components/esp_lvgl_port" 18 | 19 | button: 20 | version: "^4" 21 | public: true 22 | 23 | examples: 24 | - path: ../../examples/display 25 | -------------------------------------------------------------------------------- /bsp/esp_wrover_kit/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/esp_wrover_kit/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/esp_wrover_kit.h" 9 | -------------------------------------------------------------------------------- /bsp/m5_atom_s3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "m5_atom_s3.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver spiffs 6 | PRIV_REQUIRES fatfs esp_lcd 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/m5_atom_s3/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.0" 2 | description: Board Support Package (BSP) for M5 AtomS3 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5_atom_s3 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.2" 13 | esp_lcd_gc9a01: "^1" 14 | 15 | espressif/esp_lvgl_port: 16 | version: "^2" 17 | public: true 18 | override_path: "../../components/esp_lvgl_port" 19 | 20 | button: 21 | public: true 22 | version: ">=4,<5.0" 23 | -------------------------------------------------------------------------------- /bsp/m5_atom_s3/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/m5_atom_s3/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/m5_atom_s3.h" 9 | -------------------------------------------------------------------------------- /bsp/m5_atom_s3/pic.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/m5_atom_s3/pic.webp -------------------------------------------------------------------------------- /bsp/m5dial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "m5dial.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver spiffs 6 | PRIV_REQUIRES fatfs esp_lcd 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/m5dial/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for M5Dial 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5dial 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.0" 13 | esp_lcd_gc9a01: "^1" 14 | esp_lcd_touch_ft5x06: "^1" 15 | 16 | espressif/esp_lvgl_port: 17 | version: "^2" 18 | public: true 19 | override_path: "../../components/esp_lvgl_port" 20 | 21 | button: 22 | public: true 23 | version: "^4" 24 | 25 | knob: 26 | version: "^0.1.3" 27 | public: true 28 | -------------------------------------------------------------------------------- /bsp/m5dial/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/m5dial/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/m5dial.h" 9 | -------------------------------------------------------------------------------- /bsp/m5dial/pic.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/m5dial/pic.webp -------------------------------------------------------------------------------- /bsp/m5stack_core/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "m5stack_core.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver spiffs fatfs 6 | PRIV_REQUIRES esp_lcd 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/m5stack_core/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for M5Stack Core 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5stack_core 4 | 5 | targets: 6 | - esp32 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.2" 13 | esp_lcd_ili9341: "^1" 14 | 15 | button: 16 | version: "^4" 17 | public: true 18 | 19 | espressif/esp_lvgl_port: 20 | version: "^2" 21 | public: true 22 | override_path: "../../components/esp_lvgl_port" 23 | -------------------------------------------------------------------------------- /bsp/m5stack_core/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/m5stack_core/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/m5stack_core.h" 9 | -------------------------------------------------------------------------------- /bsp/m5stack_core_2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "m5stack_core_2.c" "m5stack_core_2_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES driver spiffs fatfs 6 | PRIV_REQUIRES esp_lcd 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/m5stack_core_2/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: Board Support Package (BSP) for M5Stack Core2 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5stack_core_2 4 | 5 | targets: 6 | - esp32 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.0" 13 | esp_lcd_ili9341: "^1" 14 | esp_lcd_touch_ft5x06: "^1" 15 | 16 | espressif/esp_lvgl_port: 17 | version: "^2" 18 | public: true 19 | override_path: "../../components/esp_lvgl_port" 20 | 21 | esp_codec_dev: 22 | version: "~1.1" 23 | public: true 24 | -------------------------------------------------------------------------------- /bsp/m5stack_core_2/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/m5stack_core_2/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/m5stack_core_2.h" 9 | -------------------------------------------------------------------------------- /bsp/m5stack_core_s3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "m5stack_core_s3.c" "m5stack_core_s3_idf5.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES esp_driver_i2s esp_driver_gpio esp_driver_sdmmc spiffs fatfs 6 | PRIV_REQUIRES esp_lcd esp_driver_spi esp_driver_i2c 7 | ) 8 | -------------------------------------------------------------------------------- /bsp/m5stack_core_s3/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "3.0.0" 2 | description: Board Support Package (BSP) for M5Stack CoreS3 3 | url: https://github.com/espressif/esp-bsp/tree/master/bsp/m5stack_core_s3 4 | 5 | targets: 6 | - esp32s3 7 | 8 | tags: 9 | - bsp 10 | 11 | dependencies: 12 | idf: ">=5.4" # I2C Driver-NG is supported in esp32-camera only from IDFv5.4 13 | esp_lcd_ili9341: "^1" 14 | esp_lcd_touch_ft5x06: "^1" 15 | 16 | espressif/esp_lvgl_port: 17 | version: "^2" 18 | public: true 19 | override_path: "../../components/esp_lvgl_port" 20 | 21 | esp_codec_dev: 22 | version: "~1.3.1" 23 | public: true 24 | 25 | esp32-camera: 26 | version: "^2.0.11" 27 | public: true 28 | -------------------------------------------------------------------------------- /bsp/m5stack_core_s3/include/bsp/config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | /************************************************************************************************** 10 | * BSP configuration 11 | **************************************************************************************************/ 12 | // By default, this BSP is shipped with LVGL graphical library. Enabling this option will exclude it. 13 | // If you want to use BSP without LVGL, select BSP version with 'noglib' suffix. 14 | #if !defined(BSP_CONFIG_NO_GRAPHIC_LIB) // Check if the symbol is not coming from compiler definitions (-D...) 15 | #define BSP_CONFIG_NO_GRAPHIC_LIB (0) 16 | #endif 17 | -------------------------------------------------------------------------------- /bsp/m5stack_core_s3/include/bsp/esp-bsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | #include "bsp/m5stack_core_s3.h" 9 | -------------------------------------------------------------------------------- /bsp/m5stack_core_s3/pic.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/bsp/m5stack_core_s3/pic.webp -------------------------------------------------------------------------------- /components/bh1750/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "bh1750.c" 3 | INCLUDE_DIRS "include" 4 | REQUIRES "driver" 5 | ) 6 | -------------------------------------------------------------------------------- /components/bh1750/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.3" 2 | description: I2C driver for BH1750 light sensor 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/bh1750 4 | dependencies: 5 | idf : ">=4.0" 6 | -------------------------------------------------------------------------------- /components/bh1750/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "bh1750_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "bh1750" "unity") 4 | -------------------------------------------------------------------------------- /components/ds18b20/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 0.1.2 2 | 3 | - Add single device function (ds18b20_new_single_device) to create a new DS18B20 device instance without enumerating all devices on the bus. 4 | 5 | ## 0.1.1 6 | 7 | - Fix the issue that sign-bit is not extended properly when doing temperature value conversion. 8 | 9 | ## 0.1.0 10 | 11 | - Initial driver version, based on the [onewire_bus](https://components.espressif.com/components/espressif/onewire_bus) library. 12 | -------------------------------------------------------------------------------- /components/ds18b20/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "src/ds18b20.c" 2 | INCLUDE_DIRS "include") 3 | -------------------------------------------------------------------------------- /components/ds18b20/examples/ds18b20-read/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | set(COMPONENTS main) 7 | project(ds18b20-read) 8 | -------------------------------------------------------------------------------- /components/ds18b20/examples/ds18b20-read/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "ds18b20-read.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /components/ds18b20/examples/ds18b20-read/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | espressif/ds18b20: 3 | version: "*" 4 | override_path: '../../../' -------------------------------------------------------------------------------- /components/ds18b20/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "0.1.2" 2 | description: DS18B20 device driver 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/ds18b20 4 | dependencies: 5 | onewire_bus: "^1.0.0" 6 | -------------------------------------------------------------------------------- /components/ds18b20/include/ds18b20_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | #pragma once 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /** 13 | * @brief DS18B20 supported resolutions 14 | */ 15 | typedef enum { 16 | DS18B20_RESOLUTION_9B, /*!< 9bit, needs ~93.75ms convert time */ 17 | DS18B20_RESOLUTION_10B, /*!< 10bit, needs ~187.5ms convert time */ 18 | DS18B20_RESOLUTION_11B, /*!< 11bit, needs ~375ms convert time */ 19 | DS18B20_RESOLUTION_12B, /*!< 12bit, needs ~750ms convert time */ 20 | } ds18b20_resolution_t; 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | -------------------------------------------------------------------------------- /components/es7210/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "es7210.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES "driver" 6 | ) 7 | -------------------------------------------------------------------------------- /components/es7210/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.1~1" 2 | dependencies: 3 | idf: 4 | version: '>=4.4,<6.0' 5 | description: ES7210 is a high performance four channels audio ADC 6 | url: https://github.com/espressif/esp-bsp/tree/master/components/es7210 7 | -------------------------------------------------------------------------------- /components/es7210/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "es7210_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "es7210" "unity") 4 | -------------------------------------------------------------------------------- /components/es8311/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "es8311.c" 3 | INCLUDE_DIRS "include" 4 | PRIV_INCLUDE_DIRS "priv_include" 5 | REQUIRES "driver" 6 | ) 7 | -------------------------------------------------------------------------------- /components/es8311/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.0~1" 2 | description: Low power mono audio codec ES8311 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/es8311 4 | dependencies: 5 | idf : ">=4.4,<6.0" 6 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/Kconfig: -------------------------------------------------------------------------------- 1 | menu "ESP LVGL PORT" 2 | 3 | config LVGL_PORT_ENABLE_PPA 4 | depends on SOC_PPA_SUPPORTED 5 | bool "Enable PPA for screen rotation" 6 | default n 7 | help 8 | Enables using PPA for screen rotation. 9 | 10 | endmenu 11 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/docs/frame_buffer_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/components/esp_lvgl_port/docs/frame_buffer_settings.png -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/i2c_oled/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16) 2 | 3 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 4 | project(i2c_oled) 5 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/i2c_oled/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "i2c_oled_example_main.c" "lvgl_demo_ui.c" 3 | INCLUDE_DIRS "." 4 | REQUIRES driver 5 | ) 6 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/i2c_oled/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | idf: ">=4.4" 3 | lvgl/lvgl: "^8" 4 | esp_lcd_sh1107: "^1" 5 | esp_lvgl_port: 6 | version: "*" 7 | override_path: "../../../" 8 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/i2c_oled/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_LV_USE_USER_DATA=y 5 | CONFIG_LV_COLOR_DEPTH_1=y 6 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | # "Trim" the build. Include the minimal set of components, main and anything it depends on. 6 | set(COMPONENTS main) 7 | 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(rgb_lcd) 10 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS "." ${LV_DEMO_DIR}) 3 | 4 | lvgl_port_create_c_image("images/esp_logo.png" "images/" "ARGB8888" "NONE") 5 | lvgl_port_add_images(${COMPONENT_LIB} "images/") 6 | 7 | set_source_files_properties( 8 | PROPERTIES COMPILE_OPTIONS 9 | "-DLV_LVGL_H_INCLUDE_SIMPLE;-Wno-format;" 10 | ) 11 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | idf: ">=5.0" 3 | esp_lcd_touch_gt1151: 4 | version: "^1" 5 | override_path: "../../../../lcd_touch/esp_lcd_touch_gt1151/" 6 | esp_lvgl_port: 7 | version: "*" 8 | override_path: "../../../" 9 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/main/images/.gitignore: -------------------------------------------------------------------------------- 1 | *.c -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/main/images/esp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/components/esp_lvgl_port/examples/rgb_lcd/main/images/esp_logo.png -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/rgb_lcd/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 2M, 6 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | # "Trim" the build. Include the minimal set of components, main and anything it depends on. 6 | set(COMPONENTS main) 7 | 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(touchscreen) 10 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS ".") 3 | 4 | lvgl_port_create_c_image("images/esp_logo.png" "images/" "ARGB8888" "NONE") 5 | lvgl_port_add_images(${COMPONENT_LIB} "images/") 6 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | idf: ">=4.4" 3 | esp_lcd_touch_tt21100: 4 | version: "^1" 5 | override_path: "../../../../lcd_touch/esp_lcd_touch_tt21100/" 6 | esp_lvgl_port: 7 | version: "*" 8 | override_path: "../../../" 9 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/main/images/.gitignore: -------------------------------------------------------------------------------- 1 | *.c -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/main/images/esp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/components/esp_lvgl_port/examples/touchscreen/main/images/esp_logo.png -------------------------------------------------------------------------------- /components/esp_lvgl_port/examples/touchscreen/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32s3" 2 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 3 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 4 | CONFIG_LV_COLOR_16_SWAP=y 5 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.6.0" 2 | description: ESP LVGL port 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port 4 | dependencies: 5 | idf: ">=4.4" 6 | lvgl/lvgl: 7 | version: ">=8,<10" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/images/img_cursor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/components/esp_lvgl_port/images/img_cursor.png -------------------------------------------------------------------------------- /components/esp_lvgl_port/images/img_cursor_20px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/components/esp_lvgl_port/images/img_cursor_20px.png -------------------------------------------------------------------------------- /components/esp_lvgl_port/include/esp_lvgl_port_compatibility.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | /** 8 | * @file 9 | * @brief ESP LVGL port compatibility 10 | */ 11 | 12 | #pragma once 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /** 19 | * @brief Backward compatibility with LVGL 8 20 | */ 21 | typedef lv_disp_t lv_display_t; 22 | typedef enum { 23 | LV_DISPLAY_ROTATION_0 = LV_DISP_ROT_NONE, 24 | LV_DISPLAY_ROTATION_90 = LV_DISP_ROT_90, 25 | LV_DISPLAY_ROTATION_180 = LV_DISP_ROT_180, 26 | LV_DISPLAY_ROTATION_270 = LV_DISP_ROT_270 27 | } lv_disp_rotation_t; 28 | typedef lv_disp_rotation_t lv_display_rotation_t; 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/lvgl_port/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lvgl_port) 7 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/lvgl_port/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test.c") 2 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/lvgl_port/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_touch_tt21100: 5 | version: "^1" 6 | override_path: "../../../../lcd_touch/esp_lcd_touch_tt21100/" 7 | esp_lvgl_port: 8 | version: "*" 9 | override_path: "../../../" 10 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/lvgl_port/sdkconfig.ci.asm_render: -------------------------------------------------------------------------------- 1 | # sdkconfig to enable the SIMD in the lvgl_port 2 | 3 | # Set custom ASM render and provide a header file with function prototypes 4 | CONFIG_LV_DRAW_SW_ASM_CUSTOM=y 5 | CONFIG_LV_USE_DRAW_SW_ASM=255 6 | CONFIG_LV_DRAW_SW_ASM_CUSTOM_INCLUDE="esp_lvgl_port_lv_blend.h" 7 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/lvgl_port/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32s3" 2 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 3 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 4 | CONFIG_LV_COLOR_16_SWAP=y 5 | CONFIG_FREERTOS_HZ=1000 6 | CONFIG_ESP_TASK_WDT_EN=n 7 | CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y 8 | -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/simd/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | 7 | project(test_lvgl_simd) -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/simd/main/Kconfig.projbuild: -------------------------------------------------------------------------------- 1 | # Creating CONFIG_LV_DRAW_SW_ASM_CUSTOM avaliable in lvgl Kconfig to enable assembler source files by deafult 2 | 3 | config LV_DRAW_SW_ASM_CUSTOM 4 | bool 5 | default y -------------------------------------------------------------------------------- /components/esp_lvgl_port/test_apps/simd/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_TASK_WDT=n 2 | CONFIG_OPTIMIZATION_LEVEL_RELEASE=y 3 | CONFIG_COMPILER_OPTIMIZATION_PERF=y -------------------------------------------------------------------------------- /components/fbm320/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "fbm320.c" 3 | INCLUDE_DIRS "include" 4 | REQUIRES "driver" 5 | ) 6 | -------------------------------------------------------------------------------- /components/fbm320/README.md: -------------------------------------------------------------------------------- 1 | # Component: FBM320 2 | 3 | [![Component Registry](https://components.espressif.com/components/espressif/fbm320/badge.svg)](https://components.espressif.com/components/espressif/fbm320) 4 | 5 | * I2C driver and definition of FBM320 digital barometer 6 | * See [datasheet](http://www.fmti.com.tw/fmti689/program_download/good/201702101732113548.pdf) 7 | 8 | FBM320 is basic digital barometer where the host MCU is responsible for calculating the calibrated pressure and triggering the measurement. 9 | 10 | There is no automatic triggering or data acquisition complete mechanism in this device. 11 | -------------------------------------------------------------------------------- /components/fbm320/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.4" 2 | description: I2C driver for FBM320 digital barometer 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/fbm320 4 | dependencies: 5 | idf : ">=4.0" 6 | -------------------------------------------------------------------------------- /components/fbm320/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "fbm320_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "fbm320" "unity") 4 | -------------------------------------------------------------------------------- /components/hts221/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "hts221.c" 3 | INCLUDE_DIRS "include" 4 | REQUIRES "driver" 5 | ) 6 | -------------------------------------------------------------------------------- /components/hts221/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.1.4" 2 | description: I2C driver for HTS221 humidity and temperature sensor 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/hts221 4 | dependencies: 5 | idf: ">=4.3" 6 | -------------------------------------------------------------------------------- /components/hts221/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "hts221_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "hts221" "unity") 4 | -------------------------------------------------------------------------------- /components/icm42670/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "icm42670.c" INCLUDE_DIRS "include" REQUIRES "driver") 2 | -------------------------------------------------------------------------------- /components/icm42670/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.1" 2 | description: I2C driver for ICM 42670 6-Axis MotionTracking 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/icm42670 4 | dependencies: 5 | idf: ">=5.2" 6 | -------------------------------------------------------------------------------- /components/icm42670/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | set(COMPONENTS main) 6 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 7 | project(test_app_icm42670) 8 | -------------------------------------------------------------------------------- /components/icm42670/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "test_app_icm42670.c" 3 | REQUIRES unity 4 | ) 5 | -------------------------------------------------------------------------------- /components/icm42670/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=5.2" 4 | icm42670: 5 | version: "*" 6 | override_path: "../../" 7 | -------------------------------------------------------------------------------- /components/icm42670/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_COMPILER_OPTIMIZATION_PERF=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 7 | CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y 8 | CONFIG_ESP_TASK_WDT_EN=n 9 | CONFIG_FREERTOS_HZ=1000 10 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 11 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_io_expander.c" INCLUDE_DIRS "include") 2 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander/README.md: -------------------------------------------------------------------------------- 1 | # ESP IO Expander Component 2 | 3 | [![Component Registry](https://components.espressif.com/components/espressif/esp_io_expander/badge.svg)](https://components.espressif.com/components/espressif/esp_io_expander) 4 | 5 | This componnent is main esp_io_expander component which defines main functions and types for easy adding specific io expander chip component. 6 | 7 | ## Supported features 8 | 9 | - [x] Set an IO's direction 10 | - [x] Get an IO's direction 11 | - [x] Set an IO's output level 12 | - [x] Get an IO's input level 13 | - [x] Show all IOs' status 14 | - [ ] Interrupt mode 15 | 16 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.1" 2 | description: ESP IO Expander - main component for using io expander chip 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander 4 | dependencies: 5 | idf: ">=4.4.2" 6 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_io_expander_ht8574.c" INCLUDE_DIRS "include" REQUIRES "driver") 2 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: 2.0.0 2 | description: ESP IO Expander - HT8574 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_ht8574 4 | dependencies: 5 | idf: ">=5.2" 6 | esp_io_expander: 7 | version: "^1.0.1" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(COMPONENTS main) 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_app_ht8574) 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "test_app_ht8574.c" 3 | REQUIRES unity 4 | ) 5 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=5.2" 4 | esp_io_expander_ht8574: 5 | version: "*" 6 | override_path: "../../../esp_io_expander_ht8574" 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_ht8574/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | CONFIG_FREERTOS_HZ=1000 4 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 5 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_io_expander_tca9554.c" INCLUDE_DIRS "include" REQUIRES "driver") 2 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.1" 2 | description: ESP IO Expander - TCA9554(A) 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_tca9554 4 | dependencies: 5 | idf: ">=5.2" 6 | esp_io_expander: 7 | version: "^1.0.1" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(COMPONENTS main) 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_app_tca9554) 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "test_app_tca9554.c" 3 | REQUIRES unity 4 | ) 5 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=5.2" 4 | esp_io_expander_tca9554: 5 | version: "*" 6 | override_path: "../../../esp_io_expander_tca9554" 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca9554/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | CONFIG_FREERTOS_HZ=1000 4 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 5 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_io_expander_tca95xx_16bit.c" INCLUDE_DIRS "include" REQUIRES "driver") 2 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: 2.0.0 2 | description: ESP IO Expander - tca9539 and tca9555 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_tca95xx_16bit 4 | dependencies: 5 | idf: ">=5.2" 6 | esp_io_expander: 7 | version: "^1.0.1" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(COMPONENTS main) 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_app_tca955xx_16bit) 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "test_app_tca95xx_16bit.c" 3 | REQUIRES unity 4 | ) 5 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=5.2" 4 | esp_io_expander_tca95xx_16bit: 5 | version: "*" 6 | override_path: "../../../esp_io_expander_tca95xx_16bit" 7 | -------------------------------------------------------------------------------- /components/io_expander/esp_io_expander_tca95xx_16bit/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | CONFIG_FREERTOS_HZ=1000 4 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 5 | -------------------------------------------------------------------------------- /components/lcd/README.md: -------------------------------------------------------------------------------- 1 | # LCD Driver Components 2 | 3 | This folder contains LCD driver components based on esp_lcd component. All these drivers can be found in [IDF Component Registry](https://components.espressif.com/). 4 | 5 | List of the all available LCD drivers with links and status of plans you can find in [special table](../../LCD.md). 6 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_gc9503.c" 2 | INCLUDE_DIRS "include" 3 | PRIV_REQUIRES "driver" 4 | REQUIRES "esp_lcd") 5 | 6 | include(package_manager) 7 | cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) 8 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "3.0.1" 2 | targets: 3 | - esp32s3 4 | description: ESP LCD GC9503 5 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_gc9503 6 | dependencies: 7 | idf: ">5.0.4,!=5.1.1" 8 | cmake_utilities: "0.*" 9 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_gc9503) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_gc9503.c") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">5.0.4,!=5.1.1" 4 | esp_lcd_panel_io_additions: 5 | version: "^1" 6 | public: true 7 | esp_io_expander_tca9554: 8 | version: "^1" 9 | public: true 10 | esp_lcd_gc9503: 11 | version: "*" 12 | override_path: "../../../esp_lcd_gc9503" 13 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9503/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32s3" 2 | CONFIG_ESPTOOLPY_FLASHFREQ_80M=y 3 | CONFIG_COMPILER_OPTIMIZATION_PERF=y 4 | CONFIG_SPIRAM=y 5 | CONFIG_SPIRAM_MODE_OCT=y 6 | CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y 7 | CONFIG_SPIRAM_RODATA=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 10 | CONFIG_ESP_TASK_WDT_EN=n 11 | CONFIG_FREERTOS_HZ=1000 12 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 13 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_gc9a01.c" 2 | INCLUDE_DIRS "include" 3 | REQUIRES "esp_lcd" 4 | PRIV_REQUIRES "driver") 5 | 6 | include(package_manager) 7 | cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) 8 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.2" 2 | description: ESP LCD GC9A01 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_gc9a01 4 | dependencies: 5 | idf: ">=4.4" 6 | cmake_utilities: "0.*" 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_gc9a01) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_gc9a01.c") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_gc9a01: 5 | version: "*" 6 | override_path: "../../../esp_lcd_gc9a01" 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_gc9a01/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_FREERTOS_HZ=1000 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_ili9341.c" 2 | INCLUDE_DIRS "include" 3 | REQUIRES "esp_lcd" 4 | PRIV_REQUIRES "driver") 5 | 6 | include(package_manager) 7 | cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) 8 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: ESP LCD ILI9341 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_ili9341 4 | dependencies: 5 | idf: ">=4.4" 6 | cmake_utilities: "0.*" 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_ili9341) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_ili9341.c") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_ili9341: 5 | version: "*" 6 | override_path: "../../../esp_lcd_ili9341" 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9341/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_FREERTOS_HZ=1000 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(srcs "") 2 | if(CONFIG_SOC_MIPI_DSI_SUPPORTED) 3 | list(APPEND srcs "esp_lcd_ili9881c.c") 4 | endif() 5 | 6 | idf_component_register(SRCS ${srcs} 7 | INCLUDE_DIRS "include" 8 | REQUIRES "esp_lcd" 9 | PRIV_REQUIRES "esp_driver_gpio") 10 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.1" 2 | targets: 3 | - esp32p4 4 | description: ESP LCD ILI9881C (MIPI DSI) 5 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_ili9881c 6 | dependencies: 7 | idf: ">=5.3" 8 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_ili9881c) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_ili9881c.c") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | targets: 3 | - esp32p4 4 | dependencies: 5 | esp_lcd_ili9881c: 6 | version: "*" 7 | path: "../../../esp_lcd_ili9881c" 8 | idf: ">=5.3" -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_TASK_WDT_EN=n 2 | CONFIG_FREERTOS_HZ=1000 3 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 4 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ili9881c/test_apps/sdkconfig.defaults.esp32p4: -------------------------------------------------------------------------------- 1 | CONFIG_COMPILER_OPTIMIZATION_PERF=y 2 | CONFIG_SPIRAM=y 3 | CONFIG_SPIRAM_SPEED_200M=y 4 | CONFIG_IDF_EXPERIMENTAL_FEATURES=y 5 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_lt8912b/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_lt8912b.c" 2 | INCLUDE_DIRS "include" 3 | REQUIRES "esp_lcd" 4 | PRIV_REQUIRES "esp_driver_gpio") 5 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_lt8912b/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "0.1.1" 2 | description: ESP LCD LT8912B (MIPI DSI - HDMI) 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_lt8912b 4 | repository: "https://github.com/espressif/esp-bsp.git" 5 | issues: "https://github.com/espressif/esp-bsp/issues" # URL of the issue tracker 6 | dependencies: 7 | idf: ">=5.3" 8 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ra8875/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_ra8875.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd" PRIV_REQUIRES "driver esp_timer") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ra8875/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.0" 2 | description: ESP LCD RA8875 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_ra8875 4 | dependencies: 5 | idf: ">=4.4" 6 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_sh1107/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_sh1107.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd" PRIV_REQUIRES "driver") 2 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_sh1107/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.1.0" 2 | description: ESP LCD SH1107 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_sh1107 4 | dependencies: 5 | idf: ">=4.4" 6 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_panel_ssd1681.c" 2 | INCLUDE_DIRS "include" 3 | REQUIRES "esp_lcd" 4 | PRIV_REQUIRES "driver") 5 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_demo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(epaper_demo) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_demo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" "img_bitmap.c" 2 | INCLUDE_DIRS "") 3 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_demo/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | idf: ">=5.0" 3 | esp_lcd_ssd1681: 4 | # I am specifying the path of the component because the component 5 | # had not been published to the ESP Component Registry by the time 6 | # I write this example. 7 | path: "../../../" -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_demo/main/img_bitmap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Unlicense OR CC0-1.0 5 | */ 6 | #pragma once 7 | 8 | #include 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | extern const uint8_t BITMAP_200_200[]; 15 | extern const uint8_t BITMAP_128_64[]; 16 | extern const uint8_t BITMAP_64_128[]; 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_lvgl_demo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16) 2 | 3 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 4 | project(epaper_lvgl_demo) 5 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_lvgl_demo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" "lvgl_demo_ui.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_lvgl_demo/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | idf: ">=5.0" 3 | lvgl/lvgl: "~8.3.0" 4 | esp_lcd_ssd1681: 5 | # I am specifying the path of the component because the component 6 | # had not been published to the ESP Component Registry by the time 7 | # I write this example. 8 | path: "../../../" -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/examples/epaper_lvgl_demo/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_LV_USE_USER_DATA=y 2 | CONFIG_LV_COLOR_DEPTH_8=y 3 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_ssd1681/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "0.1.0~1" 2 | description: ESP LCD SSD1681 e-paper driver 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_ssd1681 4 | dependencies: 5 | idf: ">=5.0" 6 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(srcs "esp_lcd_st7796.c" 2 | "esp_lcd_st7796_general.c") 3 | if(CONFIG_SOC_MIPI_DSI_SUPPORTED) 4 | list(APPEND srcs "esp_lcd_st7796_mipi.c") 5 | endif() 6 | 7 | idf_component_register(SRCS ${srcs} 8 | INCLUDE_DIRS "include" 9 | PRIV_INCLUDE_DIRS "priv_include" 10 | REQUIRES "esp_lcd" 11 | PRIV_REQUIRES "driver") 12 | 13 | include(package_manager) 14 | cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) 15 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.3.2" 2 | targets: 3 | - esp32 4 | - esp32s2 5 | - esp32s3 6 | - esp32p4 7 | description: ESP LCD ST7796 driver (SPI && I80 && MIPI DSI) 8 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_st7796 9 | dependencies: 10 | idf: ">=4.4" 11 | cmake_utilities: "0.*" 12 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_st7796) 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRC_DIRS "." 2 | INCLUDE_DIRS "." 3 | WHOLE_ARCHIVE) -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_st7796: 5 | version: "*" 6 | override_path: "../../../esp_lcd_st7796" 7 | -------------------------------------------------------------------------------- /components/lcd/esp_lcd_st7796/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32s3" 2 | CONFIG_ESPTOOLPY_FLASHFREQ_80M=y 3 | CONFIG_COMPILER_OPTIMIZATION_PERF=y 4 | CONFIG_SPIRAM=y 5 | CONFIG_SPIRAM_MODE_OCT=y 6 | CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y 7 | CONFIG_SPIRAM_RODATA=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 10 | CONFIG_ESP_TASK_WDT_EN=n 11 | CONFIG_FREERTOS_HZ=1000 12 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 13 | -------------------------------------------------------------------------------- /components/lcd_touch/.build-test-rules.yml: -------------------------------------------------------------------------------- 1 | # LCD Touch components: Build only on related changes 2 | components/lcd_touch/esp_lcd_touch_cst816s: 3 | depends_filepatterns: 4 | - "components/lcd_touch/esp_lcd_touch_cst816s/**" 5 | 6 | components/lcd_touch/esp_lcd_touch_stmpe610: 7 | depends_filepatterns: 8 | - "components/lcd_touch/esp_lcd_touch_stmpe610/**" 9 | -------------------------------------------------------------------------------- /components/lcd_touch/README.md: -------------------------------------------------------------------------------- 1 | # LCD Touch Driver Components 2 | 3 | This folder contains LCD touch driver components based on esp_lcd and esp_lcd_touch components. All these drivers can be found in [IDF Component Registry](https://components.espressif.com/). 4 | 5 | List of the all available LCD touch drivers with links and status of plans you can find in [special table](../../LCD.md). 6 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch.c" INCLUDE_DIRS "include" REQUIRES "driver" "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch/Kconfig: -------------------------------------------------------------------------------- 1 | menu "ESP LCD TOUCH" 2 | 3 | config ESP_LCD_TOUCH_MAX_POINTS 4 | int "Maximum count of the touch points" 5 | range 1 10 6 | default 5 7 | 8 | config ESP_LCD_TOUCH_MAX_BUTTONS 9 | int "Maximum count of the touch buttons supported" 10 | range 0 10 11 | default 1 12 | 13 | endmenu -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch/README.md: -------------------------------------------------------------------------------- 1 | # ESP LCD Touch Component 2 | 3 | [![Component Registry](https://components.espressif.com/components/espressif/esp_lcd_touch/badge.svg)](https://components.espressif.com/components/espressif/esp_lcd_touch) 4 | 5 | This componnent is main esp_lcd_touch component which defines main functions and types for easy adding specific touch controller component. 6 | 7 | ## Supported features 8 | 9 | - [x] Read XY 10 | - [x] Swap XY 11 | - [x] Mirror X 12 | - [x] Mirror Y 13 | - [x] Interrupt callback 14 | - [x] Sleep mode 15 | - [ ] Calibration 16 | 17 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.1.2" 2 | description: ESP LCD Touch - main component for using touch screen controllers 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch 4 | dependencies: 5 | idf: ">=4.4.2" 6 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_cst816s.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.6" 2 | description: ESP LCD Touch CST816S - touch controller CST816S 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_cst816s 4 | dependencies: 5 | idf: ">=4.4.2" 6 | esp_lcd_touch: 7 | version: "^1.0.4" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_touch_cst816s) 7 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_touch_cst816s.c") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_touch_cst816s: 5 | version: "*" 6 | override_path: "../../../esp_lcd_touch_cst816s" 7 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_cst816s/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_FREERTOS_HZ=1000 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_ft5x06/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_ft5x06.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_ft5x06/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.7" 2 | description: ESP LCD Touch FT5x06 - touch controller FT5x06 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_ft5x06 4 | dependencies: 5 | idf: ">=4.4.2" 6 | esp_lcd_touch: 7 | version: "^1.0.4" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_gt1151/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_gt1151.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_gt1151/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.5~2" 2 | description: ESP LCD Touch GT1151 - touch controller GT1151 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_gt1151 4 | dependencies: 5 | idf: ">=4.4.2" 6 | esp_lcd_touch: 7 | version: "^1.0.4" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_gt911/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_gt911.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_gt911/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.1.3" 2 | description: ESP LCD Touch GT911 - touch controller GT911 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_gt911 4 | dependencies: 5 | idf: ">=4.4.2" 6 | esp_lcd_touch: 7 | version: "^1.1.0" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_stmpe610.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.7" 2 | description: ESP LCD Touch STMPE610 - touch controller STMPE610 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/esp_lcd_touch_stmpe610 4 | dependencies: 5 | idf: ">=5.0" 6 | esp_lcd_touch: 7 | version: "^1.0.4" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 | project(test_esp_lcd_touch_stmpe610) 7 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_esp_lcd_touch_stmpe610.c") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=4.4" 4 | esp_lcd_touch_stmpe610: 5 | version: "*" 6 | override_path: "../../../esp_lcd_touch_stmpe610" 7 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_stmpe610/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_FREERTOS_HZ=1000 2 | CONFIG_ESP_TASK_WDT_EN=n 3 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_tt21100/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "esp_lcd_touch_tt21100.c" INCLUDE_DIRS "include" REQUIRES "esp_lcd") 2 | -------------------------------------------------------------------------------- /components/lcd_touch/esp_lcd_touch_tt21100/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.1.1" 2 | description: ESP LCD Touch TT21100 - touch controller TT21100 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/lcd_touch/esp_lcd_touch_tt21100 4 | dependencies: 5 | idf: ">=4.4.2" 6 | esp_lcd_touch: 7 | version: "^1.1.0" 8 | public: true 9 | -------------------------------------------------------------------------------- /components/mag3110/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(priv_requires "") 2 | 3 | # esp_timer component was introduced in v4.2 4 | if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER "4.1") 5 | list(APPEND priv_requires esp_timer) 6 | endif() 7 | 8 | idf_component_register( 9 | SRCS "mag3110.c" 10 | INCLUDE_DIRS "include" 11 | REQUIRES "driver" 12 | PRIV_REQUIRES ${priv_requires} 13 | ) 14 | -------------------------------------------------------------------------------- /components/mag3110/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.0.7" 2 | description: I2C driver for MAG3110 3-axis digital magnetometer 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/mag3110 4 | dependencies: 5 | idf : ">=4.0" 6 | -------------------------------------------------------------------------------- /components/mag3110/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "mag3110_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "mag3110" "unity") 4 | -------------------------------------------------------------------------------- /components/mpu6050/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "mpu6050.c" 3 | INCLUDE_DIRS "include" 4 | REQUIRES "driver" 5 | ) 6 | -------------------------------------------------------------------------------- /components/mpu6050/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "1.2.0" 2 | description: I2C driver for MPU6050 6-axis gyroscope and accelerometer 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/mpu6050 4 | dependencies: 5 | idf : ">=4.0" 6 | -------------------------------------------------------------------------------- /components/mpu6050/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "mpu6050_test.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "mpu6050" "unity") 4 | -------------------------------------------------------------------------------- /components/qma6100p/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "qma6100p.c" 3 | INCLUDE_DIRS "include" 4 | REQUIRES "driver" 5 | ) 6 | 7 | include(package_manager) 8 | cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR}) -------------------------------------------------------------------------------- /components/qma6100p/idf_component.yml: -------------------------------------------------------------------------------- 1 | version: "2.0.0" 2 | description: I2C driver for QMA6100P accelerometer 3 | url: https://github.com/espressif/esp-bsp/tree/master/components/qma6100p 4 | dependencies: 5 | idf : ">=5.2" 6 | cmake_utilities: "0.*" 7 | -------------------------------------------------------------------------------- /components/qma6100p/test_apps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following lines of boilerplate have to be in your project's CMakeLists 2 | # in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.5) 4 | set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components") 5 | set(COMPONENTS main) 6 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 7 | project(test_esp_acc_qma6100p) 8 | -------------------------------------------------------------------------------- /components/qma6100p/test_apps/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "test_esp_acc_qma6100p.c" 3 | REQUIRES unity 4 | ) 5 | -------------------------------------------------------------------------------- /components/qma6100p/test_apps/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | idf: ">=5.2" 4 | qma6100p: 5 | version: "*" 6 | override_path: "../../../qma6100p" 7 | -------------------------------------------------------------------------------- /components/qma6100p/test_apps/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_IDF_TARGET="esp32s3" 2 | CONFIG_ESPTOOLPY_FLASHFREQ_80M=y 3 | CONFIG_COMPILER_OPTIMIZATION_PERF=y 4 | CONFIG_SPIRAM=y 5 | CONFIG_SPIRAM_MODE_OCT=y 6 | CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y 7 | CONFIG_SPIRAM_RODATA=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y 10 | CONFIG_ESP_TASK_WDT_EN=n 11 | CONFIG_FREERTOS_HZ=1000 12 | CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096 13 | -------------------------------------------------------------------------------- /docu/pics/1.28inch-LCD-Module-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/1.28inch-LCD-Module-1.jpg -------------------------------------------------------------------------------- /docu/pics/1.3inch-oled-module-c-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/1.3inch-oled-module-c-1.jpg -------------------------------------------------------------------------------- /docu/pics/7inch-Capacitive-Touch-LCD-C_l.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/7inch-Capacitive-Touch-LCD-C_l.jpg -------------------------------------------------------------------------------- /docu/pics/Adafruit-PiTFT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/Adafruit-PiTFT.jpg -------------------------------------------------------------------------------- /docu/pics/Lontium.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/Lontium.webp -------------------------------------------------------------------------------- /docu/pics/azure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/azure.png -------------------------------------------------------------------------------- /docu/pics/box.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/box.webp -------------------------------------------------------------------------------- /docu/pics/esp32-s2-hmi-devkit-1-3d-v1.0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32-s2-hmi-devkit-1-3d-v1.0.png -------------------------------------------------------------------------------- /docu/pics/esp32-s3-lcd-ev-board_480x480.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32-s3-lcd-ev-board_480x480.png -------------------------------------------------------------------------------- /docu/pics/esp32-s3-lcd-ev-board_800x480.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32-s3-lcd-ev-board_800x480.png -------------------------------------------------------------------------------- /docu/pics/esp32_c3_lcdkit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_c3_lcdkit.png -------------------------------------------------------------------------------- /docu/pics/esp32_s3_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_s3_box.png -------------------------------------------------------------------------------- /docu/pics/esp32_s3_box_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_s3_box_3.png -------------------------------------------------------------------------------- /docu/pics/esp32_s3_box_lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_s3_box_lite.png -------------------------------------------------------------------------------- /docu/pics/esp32_s3_korvo_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_s3_korvo_1.png -------------------------------------------------------------------------------- /docu/pics/esp32_s3_otg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/esp32_s3_otg.png -------------------------------------------------------------------------------- /docu/pics/ili9488-parallel.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/ili9488-parallel.webp -------------------------------------------------------------------------------- /docu/pics/kaluga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/kaluga.png -------------------------------------------------------------------------------- /docu/pics/korvo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/korvo-2.png -------------------------------------------------------------------------------- /docu/pics/lyrat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/lyrat.png -------------------------------------------------------------------------------- /docu/pics/m5atoms3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/m5atoms3.webp -------------------------------------------------------------------------------- /docu/pics/m5dial.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/m5dial.webp -------------------------------------------------------------------------------- /docu/pics/m5stack_core2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/m5stack_core2.webp -------------------------------------------------------------------------------- /docu/pics/m5stack_cores3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/m5stack_cores3.webp -------------------------------------------------------------------------------- /docu/pics/s3-eye.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/s3-eye.webp -------------------------------------------------------------------------------- /docu/pics/ssd1306.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/ssd1306.jpg -------------------------------------------------------------------------------- /docu/pics/ssd1963.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/ssd1963.jpg -------------------------------------------------------------------------------- /docu/pics/st7796.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/st7796.jpg -------------------------------------------------------------------------------- /docu/pics/wrover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/docu/pics/wrover.png -------------------------------------------------------------------------------- /examples/audio/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(bsp-audio-example) 10 | spiffs_create_partition_image(storage spiffs FLASH_IN_PROJECT) 11 | -------------------------------------------------------------------------------- /examples/audio/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "bsp_audio_example.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/audio/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Audio example 2 | 3 | dependencies: 4 | esp32_s3_korvo_2: 5 | version: ">=0.1" 6 | override_path: "../../../bsp/esp32_s3_korvo_2" 7 | -------------------------------------------------------------------------------- /examples/audio/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | storage, data, spiffs, , 0x2f0000, 7 | -------------------------------------------------------------------------------- /examples/audio/sdkconfig.bsp.esp32_lyrat: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | CONFIG_SPIRAM=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_SPIRAM_USE_MEMMAP=y 10 | CONFIG_SPIRAM_MODE_OCT=y 11 | CONFIG_SPIFFS_PAGE_SIZE=1024 12 | CONFIG_LV_USE_PERF_MONITOR=y 13 | CONFIG_LV_SPRINTF_CUSTOM=y 14 | # CONFIG_LV_BUILD_EXAMPLES is not set 15 | -------------------------------------------------------------------------------- /examples/audio/sdkconfig.bsp.esp32_s2_kaluga_kit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s2" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | CONFIG_LV_USE_PERF_MONITOR=y 8 | CONFIG_LV_SPRINTF_CUSTOM=y 9 | # CONFIG_LV_BUILD_EXAMPLES is not set 10 | 11 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 12 | CONFIG_TOUCH_SUPPRESS_DEPRECATE_WARN=y 13 | -------------------------------------------------------------------------------- /examples/audio/sdkconfig.bsp.esp32_s3_korvo_1: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | CONFIG_SPIRAM=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_SPIRAM_USE_MEMMAP=y 10 | CONFIG_SPIRAM_MODE_OCT=y 11 | CONFIG_SPIFFS_PAGE_SIZE=1024 12 | -------------------------------------------------------------------------------- /examples/audio/sdkconfig.bsp.esp32_s3_korvo_2: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | CONFIG_SPIRAM=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_SPIRAM_USE_MEMMAP=y 10 | CONFIG_SPIRAM_MODE_OCT=y 11 | CONFIG_SPIFFS_PAGE_SIZE=1024 12 | CONFIG_LV_USE_PERF_MONITOR=y 13 | CONFIG_LV_SPRINTF_CUSTOM=y 14 | # CONFIG_LV_BUILD_EXAMPLES is not set 15 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 16 | -------------------------------------------------------------------------------- /examples/audio/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | CONFIG_SPIRAM=y 8 | CONFIG_SPIRAM_SPEED_80M=y 9 | CONFIG_SPIRAM_USE_MEMMAP=y 10 | CONFIG_SPIRAM_MODE_OCT=y 11 | CONFIG_SPIFFS_PAGE_SIZE=1024 12 | CONFIG_LV_USE_PERF_MONITOR=y 13 | CONFIG_LV_SPRINTF_CUSTOM=y 14 | # CONFIG_LV_BUILD_EXAMPLES is not set 15 | -------------------------------------------------------------------------------- /examples/audio/spiffs/16bit_mono_22_05khz.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/audio/spiffs/16bit_mono_22_05khz.wav -------------------------------------------------------------------------------- /examples/display/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(display) 10 | -------------------------------------------------------------------------------- /examples/display/README.md: -------------------------------------------------------------------------------- 1 | # BSP: Display example 2 | 3 | This is a minimalistic display + LVGL graphics library example. 4 | In few function calls it sets up the display and shows Espressif's logo and label. 5 | 6 | 7 | Try it with ESP Launchpad 8 | 9 | -------------------------------------------------------------------------------- /examples/display/main/.gitignore: -------------------------------------------------------------------------------- 1 | *.c -------------------------------------------------------------------------------- /examples/display/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "display_main.c" "lvgl_demo_ui.c" 2 | INCLUDE_DIRS ".") 3 | 4 | lvgl_port_create_c_image("images/esp_logo.png" "images/gen/" "ARGB8888" "NONE") 5 | lvgl_port_create_c_image("images/esp_text.png" "images/gen/" "ARGB8888" "NONE") 6 | lvgl_port_add_images(${COMPONENT_LIB} "images/gen/") 7 | -------------------------------------------------------------------------------- /examples/display/main/display_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: CC0-1.0 5 | */ 6 | 7 | #include 8 | #include "bsp/esp-bsp.h" 9 | #include "lvgl.h" 10 | #include "esp_log.h" 11 | 12 | extern void example_lvgl_demo_ui(lv_obj_t *scr); 13 | 14 | void app_main(void) 15 | { 16 | bsp_display_start(); 17 | 18 | ESP_LOGI("example", "Display LVGL animation"); 19 | bsp_display_lock(0); 20 | lv_obj_t *scr = lv_disp_get_scr_act(NULL); 21 | example_lvgl_demo_ui(scr); 22 | 23 | bsp_display_unlock(); 24 | bsp_display_backlight_on(); 25 | } 26 | -------------------------------------------------------------------------------- /examples/display/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display example 2 | 3 | dependencies: 4 | esp_wrover_kit: 5 | version: "*" 6 | override_path: "../../../bsp/esp_wrover_kit" 7 | -------------------------------------------------------------------------------- /examples/display/main/images/esp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display/main/images/esp_logo.png -------------------------------------------------------------------------------- /examples/display/main/images/esp_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display/main/images/esp_text.png -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp-box: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp-box-3: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 10 | 11 | ## LVGL8 ## 12 | CONFIG_LV_USE_PERF_MONITOR=y 13 | CONFIG_LV_COLOR_16_SWAP=y 14 | CONFIG_LV_MEM_CUSTOM=y 15 | CONFIG_LV_MEMCPY_MEMSET_STD=y 16 | 17 | ## LVGL9 ## 18 | CONFIG_LV_CONF_SKIP=y 19 | 20 | #CLIB default 21 | CONFIG_LV_USE_CLIB_MALLOC=y 22 | CONFIG_LV_USE_CLIB_SPRINTF=y 23 | CONFIG_LV_USE_CLIB_STRING=y 24 | 25 | # Performance monitor 26 | CONFIG_LV_USE_OBSERVER=y 27 | CONFIG_LV_USE_SYSMON=y 28 | CONFIG_LV_USE_PERF_MONITOR=y 29 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp-box-lite: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp32_c3_lcdkit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32c3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp32_s3_usb_otg: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.esp_wrover_kit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.m5_atom_s3: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | #CONFIG_LV_USE_OBSERVER=y 24 | #CONFIG_LV_USE_SYSMON=y 25 | #CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.m5dial: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.m5stack_core: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.m5stack_core_2: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_BSP_PMU_AXP2101=y 8 | 9 | ## LVGL8 ## 10 | CONFIG_LV_USE_PERF_MONITOR=y 11 | CONFIG_LV_COLOR_16_SWAP=y 12 | CONFIG_LV_MEM_CUSTOM=y 13 | CONFIG_LV_MEMCPY_MEMSET_STD=y 14 | 15 | ## LVGL9 ## 16 | CONFIG_LV_CONF_SKIP=y 17 | 18 | #CLIB default 19 | CONFIG_LV_USE_CLIB_MALLOC=y 20 | CONFIG_LV_USE_CLIB_SPRINTF=y 21 | CONFIG_LV_USE_CLIB_STRING=y 22 | 23 | # Performance monitor 24 | CONFIG_LV_USE_OBSERVER=y 25 | CONFIG_LV_USE_SYSMON=y 26 | CONFIG_LV_USE_PERF_MONITOR=y 27 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.bsp.m5stack_core_s3: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 7 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 8 | 9 | ## LVGL8 ## 10 | CONFIG_LV_USE_PERF_MONITOR=y 11 | CONFIG_LV_COLOR_16_SWAP=y 12 | CONFIG_LV_MEM_CUSTOM=y 13 | CONFIG_LV_MEMCPY_MEMSET_STD=y 14 | 15 | ## LVGL9 ## 16 | CONFIG_LV_CONF_SKIP=y 17 | 18 | #CLIB default 19 | CONFIG_LV_USE_CLIB_MALLOC=y 20 | CONFIG_LV_USE_CLIB_SPRINTF=y 21 | CONFIG_LV_USE_CLIB_STRING=y 22 | 23 | # Performance monitor 24 | CONFIG_LV_USE_OBSERVER=y 25 | CONFIG_LV_USE_SYSMON=y 26 | CONFIG_LV_USE_PERF_MONITOR=y 27 | -------------------------------------------------------------------------------- /examples/display/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | CONFIG_LV_SPRINTF_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display_audio_photo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(display_audio_photo) 10 | spiffs_create_partition_image(storage spiffs_content FLASH_IN_PROJECT) 11 | -------------------------------------------------------------------------------- /examples/display_audio_photo/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "bsp_espbox_disp_example.c" "app_disp_fs.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES "spiffs" "vfs") 4 | -------------------------------------------------------------------------------- /examples/display_audio_photo/main/app_disp_fs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #pragma once 8 | 9 | 10 | /* Default screen brightness */ 11 | #define APP_DISP_DEFAULT_BRIGHTNESS (50) 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | /** 18 | * @brief Add and show LVGL objects on display 19 | */ 20 | void app_disp_lvgl_show(void); 21 | 22 | /** 23 | * @brief Initialize SPI Flash File System and show list of files on display 24 | */ 25 | void app_disp_fs_init(void); 26 | 27 | /** 28 | * @brief Initialize audio 29 | */ 30 | void app_audio_init(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /examples/display_audio_photo/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display Audio Photo Example 2 | dependencies: 3 | esp_jpeg: "*" 4 | esp-box-3: 5 | version: "*" 6 | override_path: "../../../bsp/esp-box-3" 7 | -------------------------------------------------------------------------------- /examples/display_audio_photo/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | storage, data, spiffs, 0x110000,0x2f0000, 7 | -------------------------------------------------------------------------------- /examples/display_audio_photo/spiffs_content/Death Star.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display_audio_photo/spiffs_content/Death Star.jpg -------------------------------------------------------------------------------- /examples/display_audio_photo/spiffs_content/Millenium Falcon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display_audio_photo/spiffs_content/Millenium Falcon.jpg -------------------------------------------------------------------------------- /examples/display_audio_photo/spiffs_content/Readme.txt: -------------------------------------------------------------------------------- 1 | This is an example of using ESP-BSP with ESP-BOX. 2 | This example shows files saved in SPI flash file system. Each file can be opened in new window (supported only *.txt, *.jpg and *.wav files). The SPI flash file system is not support directories. -------------------------------------------------------------------------------- /examples/display_audio_photo/spiffs_content/esp_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display_audio_photo/spiffs_content/esp_logo.jpg -------------------------------------------------------------------------------- /examples/display_audio_photo/spiffs_content/imperial_march.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display_audio_photo/spiffs_content/imperial_march.wav -------------------------------------------------------------------------------- /examples/display_camera/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.16) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(display_camera) 10 | -------------------------------------------------------------------------------- /examples/display_camera/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "display_camera.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/display_camera/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display and camera example 2 | 3 | dependencies: 4 | esp32_s2_kaluga_kit: 5 | version: "*" 6 | override_path: "../../../bsp/esp32_s2_kaluga_kit" 7 | -------------------------------------------------------------------------------- /examples/display_lvgl_benchmark/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | add_compile_options("-Wno-attributes") # For LVGL code 10 | project(display_lvgl_benchmark) 11 | -------------------------------------------------------------------------------- /examples/display_lvgl_benchmark/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register( 2 | SRCS "main.c" 3 | INCLUDE_DIRS ".") 4 | -------------------------------------------------------------------------------- /examples/display_lvgl_benchmark/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display rotation example 2 | dependencies: 3 | esp32_p4_function_ev_board: 4 | version: '*' 5 | override_path: ../../../bsp/esp32_p4_function_ev_board 6 | -------------------------------------------------------------------------------- /examples/display_lvgl_benchmark/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 0x160000, 6 | -------------------------------------------------------------------------------- /examples/display_lvgl_demos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | add_compile_options("-Wno-attributes") # For LVGL code 10 | project(display_lvgl_demos) 11 | -------------------------------------------------------------------------------- /examples/display_lvgl_demos/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(LV_DEMO_DIR "") 2 | set(LV_DEMOS_SOURCES "") 3 | if(CONFIG_LV_USE_DEMO_BENCHMARK) 4 | list(APPEND LV_DEMO_DIR ../managed_components/lvgl__lvgl/demos) 5 | file(GLOB_RECURSE LV_DEMOS_SOURCES ${LV_DEMO_DIR}/*.c) 6 | endif() 7 | 8 | idf_component_register( 9 | SRCS "dispaly_lvgl_demos_main.c" ${LV_DEMOS_SOURCES} 10 | INCLUDE_DIRS "." ${LV_DEMO_DIR}) 11 | 12 | if(CONFIG_LV_USE_DEMO_BENCHMARK) 13 | set_source_files_properties( 14 | ${LV_DEMOS_SOURCES} 15 | PROPERTIES COMPILE_OPTIONS 16 | -DLV_LVGL_H_INCLUDE_SIMPLE) 17 | endif() 18 | -------------------------------------------------------------------------------- /examples/display_lvgl_demos/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display rotation example 2 | dependencies: 3 | esp32_s3_lcd_ev_board: 4 | version: "*" 5 | override_path: "../../../bsp/esp32_s3_lcd_ev_board" 6 | -------------------------------------------------------------------------------- /examples/display_lvgl_demos/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 0x160000, 6 | -------------------------------------------------------------------------------- /examples/display_lvgl_demos/pytest_display_lvgl_demos.py: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD 2 | # SPDX-License-Identifier: CC0-1.0 3 | 4 | import pytest 5 | from pytest_embedded import Dut 6 | 7 | 8 | @pytest.mark.esp_box_3 9 | @pytest.mark.esp32_p4_function_ev_board 10 | @pytest.mark.esp32_s3_eye 11 | @pytest.mark.esp32_s3_lcd_ev_board 12 | @pytest.mark.esp32_s3_lcd_ev_board_2 13 | @pytest.mark.m5dial 14 | @pytest.mark.m5stack_core_s3 15 | @pytest.mark.m5stack_core_s3_se 16 | def test_display_example(dut: Dut) -> None: 17 | dut.expect_exact('app_main: Display LVGL demo') 18 | dut.expect_exact('main_task: Returned from app_main()') 19 | -------------------------------------------------------------------------------- /examples/display_rotation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(display-rotation) 10 | -------------------------------------------------------------------------------- /examples/display_rotation/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | REQUIRES driver 3 | INCLUDE_DIRS ".") 4 | 5 | lvgl_port_create_c_image("images/esp_logo.png" "images/gen/" "ARGB8888" "NONE") 6 | lvgl_port_add_images(${COMPONENT_LIB} "images/gen/") 7 | -------------------------------------------------------------------------------- /examples/display_rotation/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display rotation example 2 | dependencies: 3 | esp-box-3: 4 | version: "*" 5 | override_path: "../../../bsp/esp-box-3" 6 | -------------------------------------------------------------------------------- /examples/display_rotation/main/images/.gitignore: -------------------------------------------------------------------------------- 1 | *.c -------------------------------------------------------------------------------- /examples/display_rotation/main/images/esp_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/examples/display_rotation/main/images/esp_logo.png -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.esp-box: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | # CONFIG_LV_BUILD_EXAMPLES is not set 6 | 7 | ## LVGL8 ## 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | CONFIG_LV_COLOR_16_SWAP=y 10 | CONFIG_LV_MEM_CUSTOM=y 11 | CONFIG_LV_MEMCPY_MEMSET_STD=y 12 | 13 | ## LVGL9 ## 14 | CONFIG_LV_CONF_SKIP=y 15 | 16 | #CLIB default 17 | CONFIG_LV_USE_CLIB_MALLOC=y 18 | CONFIG_LV_USE_CLIB_SPRINTF=y 19 | CONFIG_LV_USE_CLIB_STRING=y 20 | 21 | # Performance monitor 22 | CONFIG_LV_USE_OBSERVER=y 23 | CONFIG_LV_USE_SYSMON=y 24 | CONFIG_LV_USE_PERF_MONITOR=y 25 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.esp-box-3: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | # CONFIG_LV_BUILD_EXAMPLES is not set 6 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.esp-box-lite: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | # CONFIG_LV_BUILD_EXAMPLES is not set 6 | 7 | ## LVGL8 ## 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | CONFIG_LV_COLOR_16_SWAP=y 10 | CONFIG_LV_MEM_CUSTOM=y 11 | CONFIG_LV_MEMCPY_MEMSET_STD=y 12 | 13 | ## LVGL9 ## 14 | CONFIG_LV_CONF_SKIP=y 15 | 16 | #CLIB default 17 | CONFIG_LV_USE_CLIB_MALLOC=y 18 | CONFIG_LV_USE_CLIB_SPRINTF=y 19 | CONFIG_LV_USE_CLIB_STRING=y 20 | 21 | # Performance monitor 22 | CONFIG_LV_USE_OBSERVER=y 23 | CONFIG_LV_USE_SYSMON=y 24 | CONFIG_LV_USE_PERF_MONITOR=y 25 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.esp32_s3_korvo_2: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | # CONFIG_LV_BUILD_EXAMPLES is not set 6 | 7 | ## LVGL8 ## 8 | CONFIG_LV_USE_PERF_MONITOR=y 9 | CONFIG_LV_COLOR_16_SWAP=y 10 | CONFIG_LV_MEM_CUSTOM=y 11 | CONFIG_LV_MEMCPY_MEMSET_STD=y 12 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.m5dial: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.m5stack_core: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_ESP_DEFAULT_CPU_FREQ_240=y 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.bsp.m5stack_core_s3: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHMODE_QIO=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y 7 | CONFIG_LV_MEMCPY_MEMSET_STD=y 8 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 9 | 10 | ## LVGL8 ## 11 | CONFIG_LV_USE_PERF_MONITOR=y 12 | CONFIG_LV_COLOR_16_SWAP=y 13 | CONFIG_LV_MEM_CUSTOM=y 14 | CONFIG_LV_MEMCPY_MEMSET_STD=y 15 | 16 | ## LVGL9 ## 17 | CONFIG_LV_CONF_SKIP=y 18 | 19 | #CLIB default 20 | CONFIG_LV_USE_CLIB_MALLOC=y 21 | CONFIG_LV_USE_CLIB_SPRINTF=y 22 | CONFIG_LV_USE_CLIB_STRING=y 23 | 24 | # Performance monitor 25 | CONFIG_LV_USE_OBSERVER=y 26 | CONFIG_LV_USE_SYSMON=y 27 | CONFIG_LV_USE_PERF_MONITOR=y 28 | -------------------------------------------------------------------------------- /examples/display_rotation/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | # CONFIG_LV_BUILD_EXAMPLES is not set 6 | CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE=n 7 | 8 | ## LVGL8 ## 9 | CONFIG_LV_USE_PERF_MONITOR=y 10 | CONFIG_LV_COLOR_16_SWAP=y 11 | CONFIG_LV_MEM_CUSTOM=y 12 | CONFIG_LV_MEMCPY_MEMSET_STD=y 13 | 14 | ## LVGL9 ## 15 | CONFIG_LV_CONF_SKIP=y 16 | 17 | #CLIB default 18 | CONFIG_LV_USE_CLIB_MALLOC=y 19 | CONFIG_LV_USE_CLIB_SPRINTF=y 20 | CONFIG_LV_USE_CLIB_STRING=y 21 | 22 | # Performance monitor 23 | CONFIG_LV_USE_OBSERVER=y 24 | CONFIG_LV_USE_SYSMON=y 25 | CONFIG_LV_USE_PERF_MONITOR=y 26 | -------------------------------------------------------------------------------- /examples/display_sensors/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(bsp-azure-sensors-example) 10 | -------------------------------------------------------------------------------- /examples/display_sensors/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "sensors_example.c" 2 | INCLUDE_DIRS "." 3 | ) 4 | -------------------------------------------------------------------------------- /examples/display_sensors/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP ESP32-Azure-IoT-Kit sensor example 2 | dependencies: 3 | esp32_azure_iot_kit: 4 | version: ">=2.0.0" 5 | override_path: "../../../bsp/esp32_azure_iot_kit" 6 | -------------------------------------------------------------------------------- /examples/display_sensors/pytest_display_display_sensors.py: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD 2 | # SPDX-License-Identifier: CC0-1.0 3 | 4 | import pytest 5 | from pytest_embedded import Dut 6 | 7 | 8 | @pytest.mark.esp32_azure_iot_kit 9 | def test_display_example(dut: Dut) -> None: 10 | dut.expect_exact('main_task: Returned from app_main()') 11 | dut.expect(r'example: temperature: (\d+[.]\d+), humidity: (\d+[.]\d+), luminance: (\d+[.]\d+)') 12 | -------------------------------------------------------------------------------- /examples/display_sensors/sdkconfig.bsp.esp32_azure_iot_kit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_LV_SPRINTF_USE_FLOAT=y 6 | # CONFIG_LV_BUILD_EXAMPLES is not set 7 | 8 | ## LVGL9 ## 9 | CONFIG_LV_CONF_SKIP=y 10 | 11 | #CLIB default 12 | CONFIG_LV_USE_CLIB_MALLOC=y 13 | CONFIG_LV_USE_CLIB_SPRINTF=y 14 | CONFIG_LV_USE_CLIB_STRING=y 15 | -------------------------------------------------------------------------------- /examples/display_sensors/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_LV_USE_FLOAT=y 6 | CONFIG_LV_SPRINTF_USE_FLOAT=y 7 | # CONFIG_LV_BUILD_EXAMPLES is not set 8 | 9 | ## LVGL9 ## 10 | CONFIG_LV_CONF_SKIP=y 11 | 12 | #CLIB default 13 | CONFIG_LV_USE_CLIB_MALLOC=y 14 | CONFIG_LV_USE_CLIB_SPRINTF=y 15 | CONFIG_LV_USE_CLIB_STRING=y 16 | -------------------------------------------------------------------------------- /examples/display_usb_hid/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(display-usb-hid) -------------------------------------------------------------------------------- /examples/display_usb_hid/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/display_usb_hid/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display USB HID Example 2 | dependencies: 3 | idf: ">=4.4" 4 | usb_host_hid: "*" 5 | esp32_s3_usb_otg: 6 | version: "*" 7 | override_path: "../../../bsp/esp32_s3_usb_otg" 8 | -------------------------------------------------------------------------------- /examples/display_usb_hid/sdkconfig.bsp.esp32_s3_usb_otg: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | 6 | ## LVGL8 ## 7 | CONFIG_LV_USE_PERF_MONITOR=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | 12 | ## LVGL9 ## 13 | CONFIG_LV_CONF_SKIP=y 14 | 15 | #CLIB default 16 | CONFIG_LV_USE_CLIB_MALLOC=y 17 | CONFIG_LV_USE_CLIB_SPRINTF=y 18 | CONFIG_LV_USE_CLIB_STRING=y 19 | 20 | # Performance monitor 21 | CONFIG_LV_USE_OBSERVER=y 22 | CONFIG_LV_USE_SYSMON=y 23 | CONFIG_LV_USE_PERF_MONITOR=y 24 | -------------------------------------------------------------------------------- /examples/display_usb_hid/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | 6 | ## LVGL8 ## 7 | CONFIG_LV_USE_PERF_MONITOR=y 8 | CONFIG_LV_COLOR_16_SWAP=y 9 | CONFIG_LV_MEM_CUSTOM=y 10 | CONFIG_LV_MEMCPY_MEMSET_STD=y 11 | 12 | ## LVGL9 ## 13 | CONFIG_LV_CONF_SKIP=y 14 | 15 | #CLIB default 16 | CONFIG_LV_USE_CLIB_MALLOC=y 17 | CONFIG_LV_USE_CLIB_SPRINTF=y 18 | CONFIG_LV_USE_CLIB_STRING=y 19 | 20 | # Performance monitor 21 | CONFIG_LV_USE_OBSERVER=y 22 | CONFIG_LV_USE_SYSMON=y 23 | CONFIG_LV_USE_PERF_MONITOR=y 24 | -------------------------------------------------------------------------------- /examples/generic_button_led/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(generic_button_led) 10 | -------------------------------------------------------------------------------- /examples/generic_button_led/README.md: -------------------------------------------------------------------------------- 1 | # BSP: Generic Button and LED Example 2 | 3 | This is a minimalistic button and LED example with using Generig BSP. 4 | In few function calls it sets up the use button and LED. 5 | 6 | Available LEDs and buttons are initialized with preconfigured settings. The first LED is set to breathing and the first button can change LED blinking effect. 7 | 8 | # Build with predefined configuration 9 | 10 | Predefined configurations are saved in [generic_button_led](https://github.com/espressif/esp-bsp/tree/master/examples/generic_button_led) example. 11 | 12 | ``` 13 | idf.py -p COM4 -D "SDKCONFIG_DEFAULTS=sdkconfig.esp32_s3_devkitc_1" flash monitor 14 | ``` 15 | 16 | **Note:** If you changing configuration, please remove `build` folder and `sdkconfig` file before build with new configuration. 17 | -------------------------------------------------------------------------------- /examples/generic_button_led/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "main.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /examples/generic_button_led/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP Display example 2 | 3 | dependencies: 4 | esp_bsp_generic: 5 | version: "*" 6 | override_path: "../../../bsp/esp_bsp_generic" 7 | -------------------------------------------------------------------------------- /examples/generic_button_led/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 1M, 6 | storage, data, spiffs, 0x110000,0x2f0000, 7 | -------------------------------------------------------------------------------- /examples/generic_button_led/pytest_generic_button_led.py: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD 2 | # SPDX-License-Identifier: CC0-1.0 3 | 4 | import pytest 5 | from pytest_embedded import Dut 6 | 7 | 8 | @pytest.mark.esp_bsp_devkit 9 | @pytest.mark.esp_bsp_generic 10 | def test_generic_button_led(dut: Dut) -> None: 11 | dut.expect_exact('led_indicator: Indicator create successfully.') 12 | dut.expect_exact('main_task: Returned from app_main()') 13 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.bsp.esp_bsp_devkit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S3-DevKitC-1.1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=1 16 | CONFIG_BSP_LED_TYPE_RGB=y 17 | CONFIG_BSP_LED_RGB_GPIO=38 18 | CONFIG_BSP_LED_RGB_BACKEND_RMT=y 19 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.bsp.esp_bsp_generic: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S3-DevKitC-1.1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=1 16 | CONFIG_BSP_LED_TYPE_RGB=y 17 | CONFIG_BSP_LED_RGB_GPIO=38 18 | CONFIG_BSP_LED_RGB_BACKEND_RMT=y 19 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.esp32_c2_devkitm_1: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32c2" 5 | 6 | # ESP8684-DevKitM-1 v1.1 Settings 7 | # Buttons 8 | CONFIG_BSP_BUTTONS_NUM=0 9 | # LEDs 10 | CONFIG_BSP_LEDS_NUM=1 11 | CONFIG_BSP_LED_TYPE_RGB_CLASSIC=y 12 | CONFIG_BSP_LED_RGB_CLASSIC_LEVEL=0 13 | CONFIG_BSP_LED_RGB_RED_GPIO=0 14 | CONFIG_BSP_LED_RGB_GREEN_GPIO=1 15 | CONFIG_BSP_LED_RGB_BLUE_GPIO=8 16 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.esp32_devkitc_V4: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S2-DevKitM-1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=0 16 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.esp32_s2_devkitm_1: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s2" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S2-DevKitM-1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=1 16 | CONFIG_BSP_LED_TYPE_RGB=y 17 | CONFIG_BSP_LED_RGB_GPIO=18 18 | CONFIG_BSP_LED_RGB_BACKEND_RMT=y 19 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.esp32_s3_devkitc_1: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S3-DevKitC-1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=1 16 | CONFIG_BSP_LED_TYPE_RGB=y 17 | CONFIG_BSP_LED_RGB_GPIO=48 18 | CONFIG_BSP_LED_RGB_BACKEND_RMT=y 19 | -------------------------------------------------------------------------------- /examples/generic_button_led/sdkconfig.esp32_s3_devkitc_1_1: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32s3" 5 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 6 | CONFIG_PARTITION_TABLE_CUSTOM=y 7 | 8 | # ESP32-S3-DevKitC-1.1 Settings 9 | # Buttons 10 | CONFIG_BSP_BUTTONS_NUM=1 11 | CONFIG_BSP_BUTTON_1_TYPE_GPIO=y 12 | CONFIG_BSP_BUTTON_1_GPIO=0 13 | CONFIG_BSP_BUTTON_1_LEVEL=0 14 | # LEDs 15 | CONFIG_BSP_LEDS_NUM=1 16 | CONFIG_BSP_LED_TYPE_RGB=y 17 | CONFIG_BSP_LED_RGB_GPIO=38 18 | CONFIG_BSP_LED_RGB_BACKEND_RMT=y 19 | -------------------------------------------------------------------------------- /examples/mqtt_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about build system see 2 | # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html 3 | # The following five lines of boilerplate have to be in your project's 4 | # CMakeLists in this exact order for cmake to work correctly 5 | cmake_minimum_required(VERSION 3.5) 6 | 7 | set(COMPONENTS main) # "Trim" the build. Include the minimal set of components; main and anything it depends on. 8 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 9 | project(mqtt_example) 10 | -------------------------------------------------------------------------------- /examples/mqtt_example/README.md: -------------------------------------------------------------------------------- 1 | # BSP: MQTT Example 2 | 3 | This example collects data from sensor and publishes them to configured MQTT server. 4 | 5 | ## Configuration 6 | In `idf.py menuconfig` -> Example configuration, please configure your WiFi SSID and password and MQTT broker URL. 7 | 8 | ## Operation 9 | Application collects sensor data of ambient temperature, humidity, luminescence and pressure. 10 | After successful connection to MQTT sensor, both LEDs are turned on and data are periodically published to MQTT and shown on display. 11 | -------------------------------------------------------------------------------- /examples/mqtt_example/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "mqtt_example_main.c" "wifi.c" 2 | INCLUDE_DIRS "." 3 | REQUIRES esp_wifi nvs_flash mqtt) 4 | -------------------------------------------------------------------------------- /examples/mqtt_example/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | description: BSP ESP32-Azure-IoT-Kit sensor example 2 | dependencies: 3 | esp32_azure_iot_kit: 4 | version: ">=2.0.0" 5 | override_path: "../../../bsp/esp32_azure_iot_kit" 6 | -------------------------------------------------------------------------------- /examples/mqtt_example/partitions.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild 3 | nvs, data, nvs, 0x9000, 0x6000, 4 | phy_init, data, phy, 0xf000, 0x1000, 5 | factory, app, factory, 0x10000, 2M, 6 | storage, data, spiffs, , 1M, 7 | -------------------------------------------------------------------------------- /examples/mqtt_example/sdkconfig.bsp.esp32_azure_iot_kit: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_LV_SPRINTF_USE_FLOAT=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | 10 | ## LVGL9 ## 11 | CONFIG_LV_CONF_SKIP=y 12 | 13 | #CLIB default 14 | CONFIG_LV_USE_CLIB_MALLOC=y 15 | CONFIG_LV_USE_CLIB_SPRINTF=y 16 | CONFIG_LV_USE_CLIB_STRING=y 17 | -------------------------------------------------------------------------------- /examples/mqtt_example/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_LV_SPRINTF_USE_FLOAT=y 6 | CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y 7 | CONFIG_PARTITION_TABLE_CUSTOM=y 8 | # CONFIG_LV_BUILD_EXAMPLES is not set 9 | -------------------------------------------------------------------------------- /test_apps/.build-test-rules.yml: -------------------------------------------------------------------------------- 1 | # Noglib test_app: Build only in CI, where ENV_BUILD_NOGLIB is set 2 | test_apps/noglib: 3 | disable: 4 | - if: ENV_BUILD_NOGLIB == 0 5 | 6 | # Common components test_app: Build for changes in components which do not have their own test_app or example 7 | test_apps/components: 8 | depends_filepatterns: 9 | - "components/bh1750/**" 10 | - "components/fbm320/**" 11 | - "components/hts221/**" 12 | - "components/lcd/esp_lcd_ra8875/**" 13 | - "components/lcd/esp_lcd_sh1107/**" 14 | - "components/lcd_touch/**" 15 | - "components/mag3110/**" 16 | - "components/mpu6050/**" 17 | -------------------------------------------------------------------------------- /test_apps/components/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "test_app_main.c" 2 | INCLUDE_DIRS "" 3 | REQUIRES unity) 4 | -------------------------------------------------------------------------------- /test_apps/components/main/test_app_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | #include 8 | #include 9 | #include "unity.h" 10 | 11 | void app_main(void) 12 | { 13 | UNITY_BEGIN(); 14 | unity_run_menu(); 15 | UNITY_END(); 16 | } 17 | -------------------------------------------------------------------------------- /test_apps/components/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | CONFIG_ESP_INT_WDT=n 2 | CONFIG_ESP_TASK_WDT=n 3 | -------------------------------------------------------------------------------- /test_apps/noglib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # The following five lines of boilerplate have to be in your project's 2 | # CMakeLists in this exact order for cmake to work correctly 3 | cmake_minimum_required(VERSION 3.16) 4 | 5 | set(COMPONENTS main) 6 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) 7 | project(noglib) 8 | -------------------------------------------------------------------------------- /test_apps/noglib/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/espressif/esp-bsp/46d3ca044e15d384c20a1faec67ca77fe349a0e4/test_apps/noglib/image.jpg -------------------------------------------------------------------------------- /test_apps/noglib/main/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | idf_component_register(SRCS "noglib_main.c" "pretty_effect.c" 2 | INCLUDE_DIRS ".") 3 | -------------------------------------------------------------------------------- /test_apps/noglib/main/idf_component.yml: -------------------------------------------------------------------------------- 1 | ## IDF Component Manager Manifest File 2 | dependencies: 3 | ## Required IDF version 4 | idf: ">=5.1" 5 | esp_wrover_kit_noglib: 6 | version: "*" 7 | override_path: "../../../bsp/esp_wrover_kit_noglib" 8 | -------------------------------------------------------------------------------- /test_apps/noglib/main/pretty_effect.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD 3 | * 4 | * SPDX-License-Identifier: CC0-1.0 5 | */ 6 | 7 | #pragma once 8 | #include 9 | #include "esp_err.h" 10 | 11 | /** 12 | * @brief Calculate the effect for a bunch of lines. 13 | * 14 | * @param dest Destination for the pixels. Assumed to be LINECT * 320 16-bit pixel values. 15 | * @param line Starting line of the chunk of lines. 16 | * @param frame Current frame, used for animation 17 | * @param linect Amount of lines to calculate 18 | */ 19 | void pretty_effect_calc_lines(uint16_t *dest, int line, int frame, int linect); 20 | -------------------------------------------------------------------------------- /test_apps/noglib/sdkconfig.defaults: -------------------------------------------------------------------------------- 1 | # This file was generated using idf.py save-defconfig. It can be edited manually. 2 | # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Minimal Configuration 3 | # 4 | CONFIG_IDF_TARGET="esp32" 5 | CONFIG_BSP_LCD_ST7789=y 6 | --------------------------------------------------------------------------------