refactor(external_includes): use angle brackets for external includes (#10090)

This commit is contained in:
André Costa
2026-05-11 14:10:03 +02:00
committed by GitHub
parent c16e14ac00
commit 5699cf53fb
31 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void lv_fs_memfs_init(void);
#endif #endif
#if LV_USE_FS_LITTLEFS #if LV_USE_FS_LITTLEFS
#include "lfs.h" #include <lfs.h>
struct lfs; struct lfs;
/** /**
* Set the default LittleFS handler to be used by LVGL * Set the default LittleFS handler to be used by LVGL
+7 -7
View File
@@ -29,7 +29,7 @@ extern "C" {
#include "../../../misc/lv_area_private.h" #include "../../../misc/lv_area_private.h"
/* The ppa driver depends heavily on the esp-idf headers*/ /* The ppa driver depends heavily on the esp-idf headers*/
#include "sdkconfig.h" #include <sdkconfig.h>
#if (CONFIG_LV_DRAW_BUF_ALIGN != CONFIG_CACHE_L2_CACHE_LINE_SIZE) #if (CONFIG_LV_DRAW_BUF_ALIGN != CONFIG_CACHE_L2_CACHE_LINE_SIZE)
#error "CONFIG_LV_DRAW_BUF_ALIGN must be equal to CONFIG_CACHE_L2_CACHE_LINE_SIZE!" #error "CONFIG_LV_DRAW_BUF_ALIGN must be equal to CONFIG_CACHE_L2_CACHE_LINE_SIZE!"
@@ -40,12 +40,12 @@ extern "C" {
#error "This SoC does not support PPA" #error "This SoC does not support PPA"
#endif #endif
#include "driver/ppa.h" #include <driver/ppa.h>
#include "esp_heap_caps.h" #include <esp_heap_caps.h>
#include "esp_err.h" #include <esp_err.h>
#include "hal/color_hal.h" #include <hal/color_hal.h>
#include "esp_cache.h" #include <esp_cache.h>
#include "esp_log.h" #include <esp_log.h>
/********************* /*********************
* DEFINES * DEFINES
*********************/ *********************/
+1 -1
View File
@@ -18,7 +18,7 @@
#if LV_USE_G2D #if LV_USE_G2D
#if LV_USE_DRAW_G2D #if LV_USE_DRAW_G2D
#include "../../lv_draw_buf_private.h" #include "../../lv_draw_buf_private.h"
#include "g2d.h" #include <g2d.h>
#include "lv_g2d_buf_map.h" #include "lv_g2d_buf_map.h"
#include "lv_g2d_utils.h" #include "lv_g2d_utils.h"
+1 -1
View File
@@ -13,7 +13,7 @@
#if LV_USE_G2D #if LV_USE_G2D
#include "../../../misc/lv_area_private.h" #include "../../../misc/lv_area_private.h"
#include "g2d.h" #include <g2d.h>
#include "lv_g2d_buf_map.h" #include "lv_g2d_buf_map.h"
#include "lv_g2d_utils.h" #include "lv_g2d_utils.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#if LV_USE_G2D #if LV_USE_G2D
#if LV_USE_DRAW_G2D #if LV_USE_DRAW_G2D
#include <stdlib.h> #include <stdlib.h>
#include "g2d.h" #include <g2d.h>
#include "../../../misc/lv_area_private.h" #include "../../../misc/lv_area_private.h"
#include "lv_g2d_buf_map.h" #include "lv_g2d_buf_map.h"
#include "lv_g2d_utils.h" #include "lv_g2d_utils.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#if LV_USE_G2D #if LV_USE_G2D
#if LV_USE_DRAW_G2D #if LV_USE_DRAW_G2D
#include <math.h> #include <math.h>
#include "g2d.h" #include <g2d.h>
#include "../../../misc/lv_area_private.h" #include "../../../misc/lv_area_private.h"
#include "../../lv_draw_image_private.h" #include "../../lv_draw_image_private.h"
#include "../../lv_image_decoder_private.h" #include "../../lv_image_decoder_private.h"
+1 -1
View File
@@ -15,7 +15,7 @@
#if LV_USE_DRAW_G2D #if LV_USE_DRAW_G2D
#include <stdio.h> #include <stdio.h>
#include "lv_g2d_utils.h" #include "lv_g2d_utils.h"
#include "g2d.h" #include <g2d.h>
/********************* /*********************
* DEFINES * DEFINES
+2 -2
View File
@@ -24,8 +24,8 @@ extern "C" {
#if LV_USE_G2D #if LV_USE_G2D
#if LV_USE_DRAW_G2D #if LV_USE_DRAW_G2D
#include "../../sw/lv_draw_sw_private.h" #include "../../sw/lv_draw_sw_private.h"
#include "g2d.h" #include <g2d.h>
#include "g2dExt.h" #include <g2dExt.h>
/********************* /*********************
* DEFINES * DEFINES
+1 -1
View File
@@ -21,7 +21,7 @@
#include "lv_pxp_cfg.h" #include "lv_pxp_cfg.h"
#include "lv_pxp_utils.h" #include "lv_pxp_utils.h"
#include "lvgl_support.h" #include <lvgl_support.h>
/********************* /*********************
* DEFINES * DEFINES
+2 -2
View File
@@ -24,8 +24,8 @@ extern "C" {
#if LV_USE_PXP #if LV_USE_PXP
#if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP #if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP
#include "fsl_cache.h" #include <fsl_cache.h>
#include "fsl_pxp.h" #include <fsl_pxp.h>
#if ((LV_DRAW_BUF_ALIGN % 32) != 0) #if ((LV_DRAW_BUF_ALIGN % 32) != 0)
#error "If PXP is enabled the draw buffers should be aligned to 32-byte boundary, please set LV_DRAW_BUF_ALIGN to a multiple of 32 in lv_conf.h" #error "If PXP is enabled the draw buffers should be aligned to 32-byte boundary, please set LV_DRAW_BUF_ALIGN to a multiple of 32 in lv_conf.h"
+2 -2
View File
@@ -19,10 +19,10 @@
#if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP #if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP
#include "lv_pxp_utils.h" #include "lv_pxp_utils.h"
#include "../../../osal/lv_os_private.h" #include "../../../osal/lv_os_private.h"
#include "fsl_pxp.h" #include <fsl_pxp.h>
#if defined(SDK_OS_FREE_RTOS) #if defined(SDK_OS_FREE_RTOS)
#include "FreeRTOS.h" #include <FreeRTOS.h>
#endif #endif
#if defined(__ZEPHYR__) #if defined(__ZEPHYR__)
+1 -1
View File
@@ -23,7 +23,7 @@ extern "C" {
#if LV_USE_PXP #if LV_USE_PXP
#if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP #if LV_USE_DRAW_PXP || LV_USE_ROTATE_PXP
#include "fsl_pxp.h" #include <fsl_pxp.h>
/********************* /*********************
* DEFINES * DEFINES
+2 -2
View File
@@ -16,8 +16,8 @@ extern "C" {
#include "../../../lvgl_public.h" #include "../../../lvgl_public.h"
#if LV_USE_DRAW_DAVE2D #if LV_USE_DRAW_DAVE2D
#include "../../lv_draw_private.h" #include "../../lv_draw_private.h"
#include "bsp_api.h" #include <bsp_api.h>
#include "dave_driver.h" #include <dave_driver.h>
#if LV_USE_FLOAT #if LV_USE_FLOAT
+2 -2
View File
@@ -24,8 +24,8 @@ extern "C" {
#if LV_USE_DRAW_ARM2D_SYNC #if LV_USE_DRAW_ARM2D_SYNC
#define __ARM_2D_IMPL__ #define __ARM_2D_IMPL__
#include "arm_2d.h" #include <arm_2d.h>
#include "__arm_2d_impl.h" #include <__arm_2d_impl.h>
#if defined(__IS_COMPILER_ARM_COMPILER_5__) #if defined(__IS_COMPILER_ARM_COMPILER_5__)
#pragma diag_suppress 174,177,188,68,513,144,1296 #pragma diag_suppress 174,177,188,68,513,144,1296
+2 -2
View File
@@ -19,8 +19,8 @@ extern "C" {
#if LV_USE_DRAW_ARM2D_SYNC #if LV_USE_DRAW_ARM2D_SYNC
#define __ARM_2D_IMPL__ #define __ARM_2D_IMPL__
#include "arm_2d.h" #include <arm_2d.h>
#include "__arm_2d_impl.h" #include <__arm_2d_impl.h>
#if defined(__IS_COMPILER_ARM_COMPILER_5__) #if defined(__IS_COMPILER_ARM_COMPILER_5__)
#pragma diag_suppress 174,177,188,68,513,144,1296 #pragma diag_suppress 174,177,188,68,513,144,1296
+2 -2
View File
@@ -15,8 +15,8 @@ extern "C" {
*********************/ *********************/
#if defined(_RTE_) #if defined(_RTE_)
#include "Pre_Include_Global.h" #include <Pre_Include_Global.h>
#include "lv_conf_cmsis.h" #include <lv_conf_cmsis.h>
#endif #endif
#include "../../../../lvgl_public.h" #include "../../../../lvgl_public.h"
@@ -11,9 +11,9 @@
* INCLUDES * INCLUDES
*********************/ *********************/
#include "../../../display/lv_display_private.h" #include "../../../display/lv_display_private.h"
#include "fsl_video_common.h" #include <fsl_video_common.h>
#include "fsl_elcdif.h" #include <fsl_elcdif.h>
#include "fsl_cache.h" #include <fsl_cache.h>
/********************* /*********************
* DEFINES * DEFINES
@@ -27,12 +27,12 @@
#endif /*_RENESAS_RA_*/ #endif /*_RENESAS_RA_*/
#ifdef _RENESAS_RA_ #ifdef _RENESAS_RA_
#include "LVGL_thread.h" #include <LVGL_thread.h>
#else /* RX */ #else /* RX */
#include "hal_data.h" #include <hal_data.h>
#include "platform.h" #include <platform.h>
#include "r_glcdc_rx_if.h" #include <r_glcdc_rx_if.h>
#include "r_glcdc_rx_pinset.h" #include <r_glcdc_rx_pinset.h>
#endif /*_RENESAS_RA_*/ #endif /*_RENESAS_RA_*/
#include LV_STDBOOL_INCLUDE #include LV_STDBOOL_INCLUDE
+1 -1
View File
@@ -13,7 +13,7 @@
#include "../../../display/lv_display_private.h" #include "../../../display/lv_display_private.h"
#include "../../../draw/sw/lv_draw_sw.h" #include "../../../draw/sw/lv_draw_sw.h"
#include "../../../osal/lv_os_private.h" #include "../../../osal/lv_os_private.h"
#include "main.h" #include <main.h>
#if LV_ST_LTDC_USE_DMA2D_FLUSH #if LV_ST_LTDC_USE_DMA2D_FLUSH
#if LV_USE_DRAW_DMA2D #if LV_USE_DRAW_DMA2D
+1 -1
View File
@@ -19,7 +19,7 @@ extern "C" {
#if LV_USE_FREETYPE #if LV_USE_FREETYPE
#include "../../misc/cache/lv_cache.h" #include "../../misc/cache/lv_cache.h"
#include "ft2build.h" #include <ft2build.h>
#include FT_FREETYPE_H #include FT_FREETYPE_H
#include FT_GLYPH_H #include FT_GLYPH_H
#include FT_CACHE_H #include FT_CACHE_H
@@ -2,7 +2,7 @@
#if LV_USE_FS_ARDUINO_ESP_LITTLEFS #if LV_USE_FS_ARDUINO_ESP_LITTLEFS
#include "../../core/lv_global.h" #include "../../core/lv_global.h"
#include "LittleFS.h" #include <LittleFS.h>
#if !LV_FS_IS_VALID_LETTER(LV_FS_ARDUINO_ESP_LITTLEFS_LETTER) #if !LV_FS_IS_VALID_LETTER(LV_FS_ARDUINO_ESP_LITTLEFS_LETTER)
#error "Invalid drive letter" #error "Invalid drive letter"
+1 -1
View File
@@ -3,7 +3,7 @@
#include "../../core/lv_global.h" #include "../../core/lv_global.h"
#include <SPI.h> #include <SPI.h>
#include "SD.h" #include <SD.h>
#if !LV_FS_IS_VALID_LETTER(LV_FS_ARDUINO_SD_LETTER) #if !LV_FS_IS_VALID_LETTER(LV_FS_ARDUINO_SD_LETTER)
#error "Invalid drive letter" #error "Invalid drive letter"
+1 -1
View File
@@ -9,7 +9,7 @@
#include "../../../lvgl.h" #include "../../../lvgl.h"
#if LV_USE_FS_FATFS #if LV_USE_FS_FATFS
#include "ff.h" #include <ff.h>
#include "../../core/lv_global.h" #include "../../core/lv_global.h"
/********************* /*********************
+1 -1
View File
@@ -1,7 +1,7 @@
#include "../../../lvgl.h" #include "../../../lvgl.h"
#if LV_USE_FS_LITTLEFS #if LV_USE_FS_LITTLEFS
#include "lfs.h" #include <lfs.h>
#include "../../core/lv_global.h" #include "../../core/lv_global.h"
#if !LV_FS_IS_VALID_LETTER(LV_FS_LITTLEFS_LETTER) #if !LV_FS_IS_VALID_LETTER(LV_FS_LITTLEFS_LETTER)
@@ -11,6 +11,8 @@
#if LV_USE_GLTF #if LV_USE_GLTF
#include <fastgltf/tools.hpp> #include <fastgltf/tools.hpp>
#include <fastgltf/math.hpp>
#include "lv_gltf_data_internal.hpp"
/********************* /*********************
* DEFINES * DEFINES
@@ -26,8 +28,6 @@
* STATIC PROTOTYPES * STATIC PROTOTYPES
**********************/ **********************/
#include "fastgltf/math.hpp"
#include "lv_gltf_data_internal.hpp"
static fastgltf::math::fvec3 animation_get_vec3_at_timestamp(lv_gltf_model_t * data, static fastgltf::math::fvec3 animation_get_vec3_at_timestamp(lv_gltf_model_t * data,
fastgltf::AnimationSampler * sampler, fastgltf::AnimationSampler * sampler,
float seconds); float seconds);
@@ -11,7 +11,7 @@
#if LV_USE_GLTF #if LV_USE_GLTF
#include <float.h> #include <float.h>
#include "fastgltf/types.hpp" #include <fastgltf/types.hpp>
#include "../../../misc/lv_event_private.h" #include "../../../misc/lv_event_private.h"
/********************* /*********************
@@ -9,7 +9,7 @@
#include "lv_gltf_view_internal.h" #include "lv_gltf_view_internal.h"
#if LV_USE_GLTF #if LV_USE_GLTF
#include "fastgltf/types.hpp" #include <fastgltf/types.hpp>
#include "../gltf_data/lv_gltf_data_internal.hpp" #include "../gltf_data/lv_gltf_data_internal.hpp"
#include "../gltf_data/lv_gltf_data_internal.h" #include "../gltf_data/lv_gltf_data_internal.h"
#include "../../../drivers/opengles/opengl_shader/lv_opengl_shader_internal.h" #include "../../../drivers/opengles/opengl_shader/lv_opengl_shader_internal.h"
+1 -1
View File
@@ -21,7 +21,7 @@ extern "C" {
*********************/ *********************/
#if LV_USE_OS == LV_OS_CMSIS_RTOS2 #if LV_USE_OS == LV_OS_CMSIS_RTOS2
#include "cmsis_os2.h" #include <cmsis_os2.h>
/********************* /*********************
* DEFINES * DEFINES
+2 -2
View File
@@ -16,9 +16,9 @@
#if LV_USE_OS == LV_OS_FREERTOS #if LV_USE_OS == LV_OS_FREERTOS
#ifdef ESP_PLATFORM #ifdef ESP_PLATFORM
#include "freertos/atomic.h" #include <freertos/atomic.h>
#else #else
#include "atomic.h" #include <atomic.h>
#endif #endif
#include "../core/lv_global.h" #include "../core/lv_global.h"
+6 -6
View File
@@ -24,13 +24,13 @@ extern "C" {
#if LV_USE_OS == LV_OS_FREERTOS #if LV_USE_OS == LV_OS_FREERTOS
#ifdef ESP_PLATFORM #ifdef ESP_PLATFORM
#include "freertos/FreeRTOS.h" #include <freertos/FreeRTOS.h>
#include "freertos/task.h" #include <freertos/task.h>
#include "freertos/semphr.h" #include <freertos/semphr.h>
#else #else
#include "FreeRTOS.h" #include <FreeRTOS.h>
#include "task.h" #include <task.h>
#include "semphr.h" #include <semphr.h>
#endif #endif
/********************* /*********************
+2 -2
View File
@@ -17,8 +17,8 @@ extern "C" {
#if LV_USE_OS == LV_OS_MQX #if LV_USE_OS == LV_OS_MQX
#include "mqx.h" #include <mqx.h>
#include "mutex.h" #include <mutex.h>
/********************* /*********************
* DEFINES * DEFINES