diff --git a/env_support/cmsis-pack/lv_conf_cmsis.h b/env_support/cmsis-pack/lv_conf_cmsis.h index a3ccbd8577..e7da9a166d 100644 --- a/env_support/cmsis-pack/lv_conf_cmsis.h +++ b/env_support/cmsis-pack/lv_conf_cmsis.h @@ -340,9 +340,6 @@ *should also appear on LVGL binding API such as Micropython.*/ #define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning /*The default value just prevents GCC warning*/ -/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/ -#define LV_USE_LARGE_COORD 0 - /*================== * FONT USAGE *===================*/ diff --git a/lv_conf_template.h b/lv_conf_template.h index 677c93de9f..1dd19e8c22 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -316,9 +316,6 @@ *should also appear on LVGL binding API such as Micropython.*/ #define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning /*The default value just prevents GCC warning*/ -/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/ -#define LV_USE_LARGE_COORD 0 - /* Use `float` as `lv_value_precise_t` */ #define LV_USE_FLOAT 0 diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index 9b485ba348..c0e14cebf0 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -876,15 +876,6 @@ #endif #endif -/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/ -#ifndef LV_USE_LARGE_COORD - #ifdef CONFIG_LV_USE_LARGE_COORD - #define LV_USE_LARGE_COORD CONFIG_LV_USE_LARGE_COORD - #else - #define LV_USE_LARGE_COORD 0 - #endif -#endif - /* Use `float` as `lv_value_precise_t` */ #ifndef LV_USE_FLOAT #ifdef CONFIG_LV_USE_FLOAT diff --git a/src/misc/lv_area.h b/src/misc/lv_area.h index de72174381..f105ac4a9c 100644 --- a/src/misc/lv_area.h +++ b/src/misc/lv_area.h @@ -21,16 +21,13 @@ extern "C" { * DEFINES *********************/ -#if LV_USE_LARGE_COORD -typedef int32_t lv_coord_t; -#else -typedef int16_t lv_coord_t; -#endif /********************** * TYPEDEFS **********************/ +typedef int32_t lv_coord_t; + /** * Represents a point on the screen. */ diff --git a/src/widgets/chart/lv_chart.h b/src/widgets/chart/lv_chart.h index 9ba008cdd8..b4b0812dc0 100644 --- a/src/widgets/chart/lv_chart.h +++ b/src/widgets/chart/lv_chart.h @@ -22,11 +22,7 @@ extern "C" { *********************/ /**Default value of points. Can be used to not draw a point*/ -#if LV_USE_LARGE_COORD -#define LV_CHART_POINT_NONE (INT32_MAX) -#else -#define LV_CHART_POINT_NONE (INT16_MAX) -#endif +#define LV_CHART_POINT_NONE (INT32_MAX) LV_EXPORT_CONST_INT(LV_CHART_POINT_NONE); /********************** diff --git a/tests/src/lv_test_conf_full.h b/tests/src/lv_test_conf_full.h index 1d6bb2b3d8..aea975fbdb 100644 --- a/tests/src/lv_test_conf_full.h +++ b/tests/src/lv_test_conf_full.h @@ -12,7 +12,6 @@ #define LV_USE_ASSERT_MEM_INTEGRITY 1 #define LV_USE_ASSERT_OBJ 1 #define LV_USE_ASSERT_STYLE 1 -#define LV_USE_LARGE_COORD 1 #define LV_USE_FLOAT 1 #define LV_FONT_MONTSERRAT_8 1