# nothing here
#=========== main app ===========
CONFIG_BT_MAIN_APP=y
CONFIG_LAUNCHER_APP=y
CONFIG_UI_SWITCH_EFFECT=y
CONFIG_UI_SWITCH_EFFECT_TRACKING_TOUCH=y
CONFIG_UI_SCROLL_EFFECT=y

#=========== bt call config (msbc/cvsd) ===========
CONFIG_BT_CALL_APP=y
CONFIG_BT_HFP_MSBC=y

#=========== bt music config a2dp (sbc/aac) ===========
CONFIG_BT_PLAYER=y
CONFIG_BT_A2DP_AAC=y

#=========== local music config ===========
CONFIG_LCMUSIC_APP=y
#CONFIG_FS_FATFS_NUM_FILES=16
##local music decoder format
CONFIG_DECODER_M4A=y
CONFIG_DECODER_APE=y
CONFIG_DECODER_PCM=y
CONFIG_DECODER_MP3=y
CONFIG_DECODER_FLAC=y
CONFIG_DECODER_WAV=y
CONFIG_DECODER_WMA=y
##local music parser
CONFIG_ACTIONS_PARSER=y
CONFIG_PARSER_MP3=y
CONFIG_PARSER_M4A=y
CONFIG_PARSER_WAV=y
CONFIG_PARSER_APE=y
CONFIG_PARSER_WMA=y
CONFIG_PARSER_FLAC=y

#=========== tts support ===========
CONFIG_PLAYTTS=y

#=========== alarm config ===========
CONFIG_ALARM_APP=y

#=========== card reader config ===========
CONFIG_CARD_READER_APP=y

#=========== bt vendor config ===========
CONFIG_BT_VENDOR=y

#=========== actions media framework ===========
CONFIG_MEDIA=y
CONFIG_MEDIA_EFFECT_OUTMODE=2
CONFIG_MEDIA_DSP_SLEEP=y
CONFIG_DSP_DEBUG_PRINT=y
CONFIG_LOAD_IMAGE_FROM_FS=y
CONFIG_ENCODER_PCM=y
CONFIG_ENCODER_OPUS=y

#=========== GUI config ===========
CONFIG_UI_MANAGER=y
CONFIG_UI_SERVICE=y
CONFIG_SURFACE_DOUBLE_BUFFER=y
CONFIG_UI_MEMORY_MANAGER=y
CONFIG_UI_MEMORY_DEBUG=n
CONFIG_MEM_GUARD=n

#actions RES manager
CONFIG_RES_MANAGER=y
CONFIG_RES_MANAGER_USE_STYLE_MMAP=n
CONFIG_RES_MANAGER_SKIP_PRELOAD=n
CONFIG_RES_MANAGER_ALIGN=64

#actions freetype font
CONFIG_FREETYPE_FONT=y
CONFIG_FREETYPE_FONT_ENABLE_SVG_PATH=y

#actions Bitmap font
CONFIG_BITMAP_FONT=y
CONFIG_BITMAP_FONT_SUPPORT_EMOJI=y
CONFIG_EMOJI_FONT_USE_MMAP=y

#lvgl config
CONFIG_LVGL=y
CONFIG_LVGL_USE_IMG_DECODER_ACTS=n
CONFIG_LVGL_USE_BITMAP_FONT=y
CONFIG_LVGL_USE_FREETYPE_FONT=y
CONFIG_LVGL_USE_RES_MANAGER=y
CONFIG_LVGL_DISPLAY_FLUSH_WORKQ_STACKSIZE=1280
CONFIG_LV_VDB_NUM=2
CONFIG_LV_USE_GPU_ACTS=y
CONFIG_LV_USE_STRACE=y
CONFIG_LV_COLOR_DEPTH_16=y
CONFIG_LV_DITHER_GRADIENT=y
# must set 1 to make sure lvgl drawing following vsync
CONFIG_LV_DISP_DEF_REFR_PERIOD=1
CONFIG_LV_INDEV_DEF_READ_PERIOD=1
CONFIG_LV_TXT_ENC_UTF8=y
CONFIG_LV_TXT_BREAK_CHARS=""
CONFIG_LV_FONT_DEFAULT_UNSCII_8=y
CONFIG_LV_CONF_MINIMAL=y
CONFIG_LV_USE_FLEX=y
CONFIG_LV_USE_GRID=y
CONFIG_LV_USE_ARC=y
CONFIG_LV_USE_BTN=y
CONFIG_LV_USE_IMG=y
CONFIG_LV_USE_LABEL=y
CONFIG_LV_USE_SLIDER=y
CONFIG_LV_USE_IMGBTN=y
CONFIG_LV_USE_TILEVIEW=y
CONFIG_LV_USE_QRCODE=y
CONFIG_LV_USE_BARCODE=y
CONFIG_LV_USE_CANVAS=y
CONFIG_LV_USE_CHART=y
CONFIG_LV_USE_SNAPSHOT=y
CONFIG_LV_Z_USE_FILESYSTEM=y

CONFIG_LV_USE_ASSERT_NULL=y
CONFIG_LV_USE_ASSERT_MALLOC=y

#=========== system base config ===========
CONFIG_ACTIONS_FRAMEWORK=y
CONFIG_ACTIONS_FRAMEWORK_DISPLAY=y
CONFIG_THREAD_TIMER=y
CONFIG_ACTIONS_UTILS=y
CONFIG_CORE=y
CONFIG_SYSTEM=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_PRINTK_TIME_FREFIX=n
CONFIG_DMA_PRINTK_BUF_SIZE=4096
CONFIG_SLEEP_SENSOR_RUN_ON_NOR=y
CONFIG_SLEEP_COPY_SRAM_FOR_SENSOR=n
CONFIG_SLEEP_MEMORY_CHECK_INTEGRITY=n
CONFIG_THREAD_RUNTIME_STATS=y
CONFIG_SYSTEM_SHELL=y
CONFIG_TASK_WDT=y
CONFIG_TASK_WDT_TIMEOUT=5000
CONFIG_DEBUG_RAMDUMP=y
CONFIG_ASSERT=y

#power config
CONFIG_POWER=y

#input config
CONFIG_INPUT=y
CONFIG_INPUT_POINTER=y
CONFIG_INPUT_KEYPAD=y
CONFIG_ACTS_RING_BUFFER=y

#standby config
CONFIG_SYS_STANDBY=y
CONFIG_AUTO_STANDBY_TIME_SEC=10
CONFIG_SYS_WAKELOCK=y

#system message config
CONFIG_NUM_MBOX_ASYNC_MSGS=35
CONFIG_MESSAGE_DEBUG=n

#property config
CONFIG_PROPERTY=y
CONFIG_PROPERTY_CACHE=y

#watchdog config
CONFIG_WATCHDOG=n
CONFIG_WDOG_ACTS=n
CONFIG_WDT_MODE_RESET=n

#dvfs config
CONFIG_DVFS=n
CONFIG_ACTS_DVFS_DYNAMIC_LEVEL=n

#memory config
CONFIG_MEMORY=y
CONFIG_SYS_MEMORY_DEBUG=n
CONFIG_APP_USED_MEM_POOL=y
CONFIG_RAM_POOL_PAGE_NUM=15
CONFIG_HEAP_MEM_POOL_SIZE=2560

#system stack config
CONFIG_APP_STACKSIZE=1536
CONFIG_MAIN_STACK_SIZE=1536
CONFIG_UISRV_STACKSIZE=16384
CONFIG_IDLE_STACK_SIZE=4096
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# sdfs config
CONFIG_SD_FS=y
CONFIG_SDFS_MANAGER=y
CONFIG_MUTIPLE_VOLUME_MANAGER=y
CONFIG_SD_FILE_MAX=24
CONFIG_DISKIO_CACHE=y

#=========== bulooth config ===========
CONFIG_BLUETOOTH=y
CONFIG_ACTS_BT=y
CONFIG_ACTS_BT_SHELL=n
CONFIG_BT_BLE=y
CONFIG_BT_DRV=y
CONFIG_BT_ECC_ACTS=y
CONFIG_BT_HCI_ACTS=y
CONFIG_BT_CTRL_DEBUG=n
CONFIG_BT_CTRL_LOG=y
CONFIG_BT_CTRL_BQB=y
CONFIG_BT_CTRL_RF_DEBUG=n
CONFIG_BT_HCI_TX_PRINT=n
CONFIG_BT_HCI_RX_PRINT=n
CONFIG_HCI_DATA_LOG=y
CONFIG_BT_LOG_SERVICE=y
CONFIG_BT_BREDR=y
CONFIG_BT_CONN_TX_MAX=12
CONFIG_BT_HCI_ACL_FLOW_CONTROL=n
CONFIG_BT_ATT_ENFORCE_FLOW=n
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_MAX_CONN=4
CONFIG_BT_MAX_BR_CONN=2
CONFIG_BT_MAX_PAIRED=4
CONFIG_BT_MAX_BR_PAIRED=2
CONFIG_BT_SPP=y
CONFIG_BT_PBAP_CLIENT=y
CONFIG_BT_MAP_CLIENT=y
CONFIG_BT_HID=y
CONFIG_BT_SDP_CLIENT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_BAS=y
CONFIG_BT_SMP=y
CONFIG_BT_BONDABLE=y
CONFIG_BT_DEVICE_NAME="leopard_bt"
CONFIG_BT_RX_BUF_LEN=680
CONFIG_BT_RX_BUF_COUNT=25
CONFIG_BT_HCI_CMD_COUNT=4
CONFIG_BT_L2CAP_TX_MTU=672
CONFIG_BT_BLE_NOTIFY_PENDING=y
CONFIG_BT_BLE_APP_UPDATE_PARAM=y
CONFIG_BT_ANCS_AMS=y
CONFIG_BT_ACTIONS_SUPER_SERVICE=y

#=========== display config ===========
CONFIG_DISPLAY=y
CONFIG_DISPLAY_LOG_LEVEL_INF=y
CONFIG_DISPLAY_CONTROLLER=y
CONFIG_DISPLAY_ENGINE=y
CONFIG_DISPLAY_ENGINE_INSTANCE_NUM=3
CONFIG_DMA2D_HAL=y
CONFIG_DMA2D_LITE=y
CONFIG_DISPLAY_WORK_Q=y
CONFIG_DISPLAY_WORK_Q_STACK_SIZE=1152

#=========== gpu config ===========
CONFIG_VG_LITE=y
CONFIG_VG_LITE_K_MEM_POOL_SIZE=172032
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_NEWLIB_LIBC_NANO=y

#=========== ota config ===========
CONFIG_OTA=y
CONFIG_OTA_UPGRADE=y
CONFIG_OTA_APP=y
CONFIG_OTA_BACKGROUND=n
CONFIG_OTA_FOREGROUND=y
CONFIG_OTA_BACKEND_SDCARD=y
CONFIG_OTA_BACKEND_BLUETOOTH=y
CONFIG_OTA_RECOVERY=y
CONFIG_OTA_STORAGE_FS=n
CONFIG_OTA_BACKEND_TEMP_PART=y
CONFIG_OTA_MUTIPLE_STORAGE=n
CONFIG_OTA_RES_PATCH=n

#=========== sensor config ===========
CONFIG_SENSOR_MANAGER=y
CONFIG_SENSOR_ALGO_HR_GH30X=n
CONFIG_SENSOR_ALGO_HR_VCARE=n
CONFIG_SENSOR_ALGO_HR_HX3605=y
CONFIG_SENSOR_ALGO_HR_HX3690=n
CONFIG_SENSOR_ALGO_MOTION_CYWEE=y
CONFIG_SENSOR_ALGO_MOTION_CYWEE_DML=n
CONFIG_SENSOR_ALGO_MOTION_SILAN=n

#=========== USB device general config ===========
CONFIG_USB_DEVICE=y
CONFIG_USB_AOTG_OTG=y
CONFIG_USB_AOTG_DC_ENABLED=y
CONFIG_USB_AOTG_OTG_VERSION=0x551A24CF
CONFIG_USB_DEVICE_DRIVER=y
CONFIG_USB_DEVICE_STACK=y
#CONFIG_SYS_LOG_USB_OTG_DRIVER_LEVEL=2
#CONFIG_SYS_LOG_USB_DEVICE_LEVEL=2
#CONFIG_USB_DEVICE_STRING_DESC_MAX_LEN=40
CONFIG_USB_AOTG_UDC_DMA=y
#CONFIG_MASS_STORAGE_SWITCH_TO_ADFU=n

##usb mass storage config
CONFIG_USB_MASS_STORAGE=y
#CONFIG_SYS_LOG_USB_MASS_STORAGE_LEVEL=2
#CONFIG_MASS_STORAGE_MANUFACTURER="Actions"
#CONFIG_MASS_STORAGE_PRODUCT="MSC-Sample"
#CONFIG_MASS_STORAGE_SN="0123456798AB"
#CONFIG_MASS_STORAGE_STACK_SIZE=2048
#CONFIG_MASS_STORAGE_BUF_SIZE=8192
#CONFIG_USB_MASS_STORAGE_SHARE_THREAD=n
#CONFIG_USB_AOTG_DC_MULTI_FIFO=n
#CONFIG_MASS_STORAGE_IN_EP_ADDR=0x81
CONFIG_MASS_STORAGE_OUT_EP_ADDR=0x02


##usb cdc_acm config
#CONFIG_USB_UART_CONSOLE=y
#CONFIG_USB_CDC_ACM=y
#CONFIG_UART_LINE_CTRL=y
#CONFIG_SYS_LOG_USB_CDC_ACM_LEVEL=2
#CONFIG_CDC_ACM_INTERRUPT_EP_ADDR=0x81
#CONFIG_CDC_ACM_BULK_IN_EP_ADDR=0x84
#CONFIG_CDC_ACM_BULK_OUT_EP_ADDR=0x03
#CONFIG_USB_CDC_ACM_MANUFACTURER="Actions"
#CONFIG_USB_CDC_ACM_PRODUCT="CDC-ACM-DEV"
#CONFIG_USB_CDC_ACM_SN="0123456789A"


#=========== hotplug config ===========
CONFIG_HOTPLUG=y
CONFIG_CHARGER_HOTPLUG=y

#=========== config tool ===========
CONFIG_TOOL=y
CONFIG_TOOL_ASET=y
CONFIG_ACTIONS_ATT=n

#=========== test ===========
CONFIG_MONKEY_TEST=y

#CONFIG_ALIPAY_LIB=y
#CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=10240

#CONFIG_NSM_APP=y
CONFIG_CHARGER_APP=y

#=========== deep sleep ===========
CONFIG_DEEP_SUSPEND=y

#=========== used custom linker ===========
CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
CONFIG_CUSTOM_LINKER_SCRIPT="linker.ld"

#gps
CONFIG_GPS=n
CONFIG_SENSOR_GPS_CC1165W=n
CONFIG_SENSOR_GPS_SERVICE=n
CONFIG_GPS_MANAGER=n
#CONFIG_GPS_PARSE_RMC_ENABLE=y
CONFIG_GPS_PARSE_GGA_ENABLE=n
#CONFIG_GPS_PARSE_GST_ENABLE=y
#CONFIG_GPS_PARSE_GSV_ENABLE=y
#CONFIG_GPS_PARSE_VTG_ENABLE=y
#CONFIG_GPS_PARSE_ZDA_ENABLE=y
CONFIG_TEMP_COMPENSATION_ACTS=y
