-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lvgl]: update and add ax620a support
- Loading branch information
1 parent
5a9f7de
commit 2c03bbd
Showing
1,260 changed files
with
237,110 additions
and
496,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ifeq ($(APP_NAME),lvgl_gui) | ||
VERSION = 9 | ||
PATCHLEVEL = 0 | ||
SUBLEVEL = 0 | ||
EXTRAVERSION = 0 | ||
else ifeq ($(APP_NAME),awtk_gui) | ||
VERSION = 1 | ||
PATCHLEVEL = 7 | ||
SUBLEVEL = 0 | ||
EXTRAVERSION = 1 | ||
else ifeq ($(APP_NAME),azure_gui) | ||
VERSION = 6 | ||
PATCHLEVEL = 2 | ||
SUBLEVEL = 0 | ||
EXTRAVERSION = 1 | ||
else | ||
VERSION = 0 | ||
PATCHLEVEL = 0 | ||
SUBLEVEL = 0 | ||
EXTRAVERSION = 1 | ||
endif | ||
|
||
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
USER_LIB_INCLUDE := | ||
USER_LD_LIB := | ||
USER_LINK_LIB := | ||
USER_PTH_RT_LIB := | ||
|
||
GUI_ROOT := $(shell pwd)/project | ||
SDK_ROOT := $(shell pwd)/sdk/axera/ax620a | ||
|
||
SDK_LIB := $(SDK_ROOT)/sdk/lib | ||
SDK_INC := $(SDK_ROOT)/sdk/include | ||
|
||
USER_LIB_INCLUDE += $(SDK_INC) \ | ||
$(GUI_ROOT) \ | ||
$(GUI_ROOT)/gui \ | ||
$(GUI_ROOT)/gui/azure \ | ||
$(GUI_ROOT)/gui/azure/guix \ | ||
$(GUI_ROOT)/gui/azure/threadx \ | ||
$(GUI_ROOT)/gui/awtk/3rd \ | ||
$(GUI_ROOT)/gui/awtk/src \ | ||
$(GUI_ROOT)/gui/awtk/driver \ | ||
$(GUI_ROOT)/gui/awtk/src/ext_widgets | ||
|
||
USER_LINK_LIB := -L$(SDK_LIB) | ||
|
||
USER_LD_LIB += | ||
|
||
USER_LINK_LIB += $(addprefix -l,${USER_LD_LIB}) | ||
USER_PTH_RT_LIB += -lpthread -lrt -lm -ldl $(USE_STDCPP_VERSION) | ||
USER_LIB_INCLUDE_FLAG := $(addprefix -I,${USER_LIB_INCLUDE}) | ||
|
||
export USER_LIB_INCLUDE_FLAG USER_LINK_LIB USER_PTH_RT_LIB | ||
|
||
KBUILD_CFLAGS := -D__arm__ -D__ARM_NEON -D__ARM_NEON__ -DLINUX -D_GNU_SOURCE -DBLUEZ_USE -Wno-psabi -fdata-sections -ffunction-sections | ||
KBUILD_CFLAGS := -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4 | ||
|
||
KBUILD_CPPFLAGS := -D_GNU_SOURCE -Wno-psabi -Wno-write-strings -Wno-pointer-arith -fdata-sections -ffunction-sections | ||
KBUILD_CPPFLAGS += -DRAPIDJSON_HAS_STDSTRING -D__arm__ -D__ARM_NEON -DLINUX | ||
|
||
KBUILD_CXXFLAGS := -DRAPIDJSON_HAS_STDSTRING -D__arm__ -D__ARM_NEON -DLINUX -D_GNU_SOURCE -Wno-psabi -Wno-pointer-arith -fdata-sections -ffunction-sections | ||
KBUILD_CXXFLAGS += -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4 | ||
|
||
KBUILD_CFLAGS_KERNEL := -D__STDC_CONSTANT_MACROS -D__OPTIMIZE__ -fdata-sections -ffunction-sections | ||
KBUILD_CXXFLAGS_KERNEL := -D__OPTIMIZE__ -DRAPIDJSON_HAS_STDSTRING -fdata-sections -ffunction-sections | ||
|
||
KBUILD_CXXFLAGS += -Wall -O2 \ | ||
-fno-strict-aliasing \ | ||
-fno-common \ | ||
-Wno-return-type \ | ||
-Wno-sign-compare \ | ||
-Wno-write-strings \ | ||
-Wno-conversion-null \ | ||
-Wno-literal-suffix \ | ||
-Wno-deprecated-declarations \ | ||
-Wno-unused-but-set-variable \ | ||
-Wno-unused-function \ | ||
-Wno-unused-result \ | ||
-Wno-unused-label \ | ||
-Wno-unused-variable \ | ||
-Wno-memset-elt-size \ | ||
-Wno-reorder \ | ||
-Wno-delete-incomplete \ | ||
-Wno-delete-non-virtual-dtor \ | ||
-Wno-stringop-truncation \ | ||
-Wno-format-truncation \ | ||
-Wno-stringop-overflow \ | ||
-Wno-class-memaccess \ | ||
-Wno-catch-value \ | ||
-Wno-maybe-uninitialized \ | ||
-Wno-narrowing \ | ||
-Wno-pessimizing-move \ | ||
-Wno-unused-value \ | ||
-Wno-sizeof-pointer-memaccess \ | ||
-Wno-unknown-pragmas \ | ||
-Wno-char-subscripts \ | ||
-Wno-array-bounds | ||
|
||
KBUILD_CFLAGS += -Wall -O2 \ | ||
-Wno-trigraphs \ | ||
-fno-strict-aliasing -fno-common \ | ||
-Wno-format-security \ | ||
-Wno-deprecated-declarations \ | ||
-Wno-unused-but-set-variable \ | ||
-fno-delete-null-pointer-checks \ | ||
-Wno-write-strings \ | ||
-Wno-pointer-arith \ | ||
-Wno-unused-function \ | ||
-Wno-unused-variable \ | ||
-Wno-int-to-pointer-cast \ | ||
-Wno-unused-result \ | ||
-Wno-tautological-compare \ | ||
-Wno-multichar \ | ||
-Wno-unused-label \ | ||
-Wno-memset-elt-size \ | ||
-Wno-format-overflow \ | ||
-Wno-format-truncation \ | ||
-Wno-stringop-truncation \ | ||
-Wno-stringop-overflow \ | ||
-Wno-sequence-point \ | ||
-Wno-char-subscripts \ | ||
-Wno-sign-compare \ | ||
-Wno-uninitialized \ | ||
-Wno-unused-value \ | ||
-Wno-maybe-uninitialized \ | ||
-Wno-narrowing \ | ||
-Wno-array-bounds \ | ||
-Wno-int-in-bool-context \ | ||
-Wno-restrict \ | ||
-Wno-array-compare | ||
|
||
export KBUILD_CPPFLAGS KBUILD_CXXFLAGS KBUILD_CFLAGS KBUILD_CFLAGS_KERNEL KBUILD_CXXFLAGS_KERNEL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Application Configuration | ||
# | ||
|
||
# | ||
# AWTK GUI | ||
# | ||
CONFIG_GUI=y | ||
CONFIG_AWTK=y | ||
|
||
# | ||
# display demo case | ||
# | ||
CONFIG_AWTK_UI_DEMO=y | ||
# CONFIG_AWTK_DESKTOP_DEMO is not set | ||
# CONFIG_AWTK_ANIMATOR_DEMO is not set | ||
|
||
# | ||
# display driver | ||
# | ||
CONFIG_DRM_DISP_DRIVER=y | ||
# CONFIG_FBDEV_DISP_DRIVER is not set | ||
|
||
# | ||
# libdrm tools | ||
# | ||
CONFIG_LIBDRM=y | ||
# CONFIG_LIBDRM_TOOLS is not set | ||
# CONFIG_LIBDRM_MODETEST is not set | ||
# CONFIG_LIBDRM_MODEPRINT is not set | ||
|
||
# | ||
# hardware platform | ||
# | ||
CONFIG_AXERA=y | ||
CONFIG_AX620A=y | ||
CONFIG_CORTEX_A7=y | ||
CONFIG_AARCH32=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Application Configuration | ||
# | ||
|
||
# | ||
# Threadx and Guix | ||
# | ||
CONFIG_GUI=y | ||
CONFIG_AZURE_THREADX=y | ||
CONFIG_AZURE_GUIX=y | ||
|
||
CONFIG_LIBDRM=y | ||
CONFIG_DRM_DISP_DRIVER=y | ||
# CONFIG_FBDEV_DISP_DRIVER is not set | ||
|
||
# CONFIG_LIBDRM_TOOLS is not set | ||
# CONFIG_LIBDRM_MODETEST is not set | ||
# CONFIG_LIBDRM_MODEPRINT is not set | ||
|
||
# CONFIG_AZURE_GUIX_SIMPLE is not set | ||
CONFIG_AZURE_GUIX_INDUSTRIAL=y | ||
# CONFIG_AZURE_GUIX_CALCULATOR is not set | ||
# CONFIG_AZURE_GUIX_WIDGET_TYPES is not set | ||
# CONFIG_AZURE_GUIX_WASHING_MACHINE is not set | ||
# CONFIG_AZURE_GUIX_THERMOSTAT is not set | ||
# CONFIG_AZURE_GUIX_SPRITE is not set | ||
# CONFIG_AZURE_GUIX_SMART_WATCH is not set | ||
# CONFIG_AZURE_GUIX_SHAPES is not set | ||
# CONFIG_AZURE_GUIX_MEDICAL is not set | ||
# CONFIG_AZURE_GUIX_KEYBOARD is not set | ||
# CONFIG_AZURE_GUIX_HOME_AUTOMATION is not set | ||
# CONFIG_AZURE_GUIX_CAR_INFOTAINMENT is not set | ||
# CONFIG_AZURE_GUIX_WIDGET_ANIMATION is not set | ||
|
||
# | ||
# hardware platform | ||
# | ||
CONFIG_AXERA=y | ||
CONFIG_AX620A=y | ||
CONFIG_CORTEX_A7=y | ||
CONFIG_AARCH32=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Application Configuration | ||
# | ||
|
||
# | ||
# LittlevGL Gui | ||
# | ||
CONFIG_GUI=y | ||
CONFIG_LVGL=y | ||
|
||
# CONFIG_LVGL_MUSIC_TEST is not set | ||
# CONFIG_LVGL_WIDGET_TEST is not set | ||
# CONFIG_LVGL_STRESS_TEST is not set | ||
CONFIG_LVGL_BENCHMARK_TEST=y | ||
# CONFIG_LVGL_KEYPAD_ENCODER_TEST is not set | ||
|
||
CONFIG_LIBDRM=y | ||
# CONFIG_LIBDRM_TOOLS is not set | ||
# CONFIG_LIBDRM_MODETEST is not set | ||
# CONFIG_LIBDRM_MODEPRINT is not set | ||
|
||
CONFIG_DRM_DISP_DRIVER=y | ||
# CONFIG_X11_DISP_DRIVER is not set | ||
# CONFIG_FBDEV_DISP_DRIVER is not set | ||
|
||
# | ||
# hardware platform | ||
# | ||
CONFIG_AXERA=y | ||
CONFIG_AX620A=y | ||
CONFIG_CORTEX_A7=y | ||
CONFIG_AARCH32=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.