123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670 |
- # Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL").
- # All rights reserved.
- #
- message("\n")
- if(CONFIG_QL_OPEN_EXPORT_PKG)
- ################################################################################################################
- # Quectel open sdk feature config
- ################################################################################################################
- if(CONFIG_QUEC_PROJECT_FEATURE_FTP)
- option(QL_APP_FEATURE_FTP "Enable FTP" ON)
- else()
- message(STATUS "FEATURE FTP is disabled at core!")
- option(QL_APP_FEATURE_FTP "Enable FTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FTP ${QL_APP_FEATURE_FTP}")
- if(CONFIG_QUEC_PROJECT_FEATURE_HTTP)
- option(QL_APP_FEATURE_HTTP "Enable HTTP" ON)
- else()
- message(STATUS "FEATURE HTTP is disabled at core!")
- option(QL_APP_FEATURE_HTTP "Enable HTTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_HTTP ${QL_APP_FEATURE_HTTP}")
- if (CONFIG_QUEC_PROJECT_FEATURE_MMS)
- option(QL_APP_FEATURE_MMS "Enable MMS" ON)
- else()
- message(STATUS "FEATURE MMS is disabled at core!")
- option(QL_APP_FEATURE_MMS "Enable MMS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_MMS ${QL_APP_FEATURE_MMS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_MQTT)
- option(QL_APP_FEATURE_MQTT "Enable MQTT" ON)
- else()
- message(STATUS "FEATURE MQTT is disabled at core!")
- option(QL_APP_FEATURE_MQTT "Enable MQTT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_MQTT ${QL_APP_FEATURE_MQTT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_FIREWALL)
- option(QL_APP_FEATURE_FIREWALL "Enable FIREWALL" ON)
- else()
- message(STATUS "FIREWALL is disabled at core!")
- option(QL_APP_FEATURE_FIREWALL "Enable FIREWALL" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FIREWALL ${QL_APP_FEATURE_FIREWALL}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SSL)
- option(QL_APP_FEATURE_SSL "Enable SSL" ON)
- else()
- message(STATUS "FEATURE SSL is disabled at core!")
- option(QL_APP_FEATURE_SSL "Enable SSL" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SSL ${QL_APP_FEATURE_SSL}")
- if(CONFIG_QUEC_PROJECT_FEATURE_PING)
- option(QL_APP_FEATURE_PING "Enable PING" ON)
- else()
- message(STATUS "FEATURE PING is disabled at core!")
- option(QL_APP_FEATURE_PING "Enable PING" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_PING ${QL_APP_FEATURE_PING}")
- if(CONFIG_QUEC_PROJECT_FEATURE_NTP)
- option(QL_APP_FEATURE_NTP "Enable NTP" ON)
- else()
- message(STATUS "FEATURE NTP is disabled at core!")
- option(QL_APP_FEATURE_NTP "Enable NTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_NTP ${QL_APP_FEATURE_NTP}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SSL)
- option(QL_APP_FEATURE_ALI_LINKSDK "Enable ALI_LINKSDK" ON)
- else()
- message(STATUS "FEATURE ALI_LINKSDK is disabled at core!")
- option(QL_APP_FEATURE_ALI_LINKSDK "Enable ALI_LINKSDK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_ALI_LINKSDK ${QL_APP_FEATURE_ALI_LINKSDK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SSL)
- option(QL_APP_FEATURE_QCLOUD_IOT "Enable QCLOUD_IOT" ON)
- else()
- message(STATUS "FEATURE QCLOUD_IOT is disabled at core!")
- option(QL_APP_FEATURE_QCLOUD_IOT "Enable QCLOUD_IOT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_QCLOUD_IOT ${QL_APP_FEATURE_QCLOUD_IOT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_LBS)
- option(QL_APP_FEATURE_LBS "Enable LBS" ON)
- else()
- message(STATUS "FEATURE LBS is disabled at core!")
- option(QL_APP_FEATURE_LBS "Enable LBS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_LBS ${QL_APP_FEATURE_LBS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_QTHSDK)
- option(QL_APP_FEATURE_QTHSDK "Enable QTHSDK" ON)
- else()
- message(STATUS "FEATURE QTHSDK is disabled at core!")
- option(QL_APP_FEATURE_QTHSDK "Disable QTHSDK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_QTHSDK ${QL_APP_FEATURE_QTHSDK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SOCKET)
- option(QL_APP_FEATURE_SOCKET "Enable Socket" ON)
- else()
- message(STATUS "FEATURE SOCKET is disabled at core!")
- option(QL_APP_FEATURE_SOCKET "Enable Socket" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SOCKET ${QL_APP_FEATURE_SOCKET}")
- if(CONFIG_QUEC_PROJECT_FEATURE_ALIIOTSMARTCARD)
- option(QL_APP_FEATURE_ALIOTSMARTCARD "Enable ALIOTSMARTCARD" ON)
- else()
- message(STATUS "FEATURE ALIOTSMARTCARD is disabled at core!")
- option(QL_APP_FEATURE_ALIOTSMARTCARD "Enable ALIOTSMARTCARD" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_ALIOTSMARTCARD ${QL_APP_FEATURE_ALIOTSMARTCARD}")
- if(CONFIG_QUEC_PROJECT_FEATURE_CTSREG)
- option(QL_APP_FEATURE_CTSREG "Enable CTSREG" ON)
- else()
- message(STATUS "FEATURE CTSREG is disabled at core!")
- option(QL_APP_FEATURE_CTSREG "Enable CTSREG" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_CTSREG ${QL_APP_FEATURE_CTSREG}")
- if(CONFIG_QUEC_PROJECT_FEATURE_FILE)
- option(QL_APP_FEATURE_FILE "Enable FILE" ON)
- else()
- message(STATUS "FEATURE FILE is disabled at core!")
- option(QL_APP_FEATURE_FILE "Enable FILE" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FILE ${QL_APP_FEATURE_FILE}")
- if((CONFIG_QUEC_PROJECT_FEATURE_FILE_ZIP) AND (CONFIG_QUEC_PROJECT_FEATURE_FILE))
- option(QL_APP_FEATURE_FILE_ZIP "Enable FILE_ZIP" ON)
- else()
- message(STATUS "FEATURE FILE_ZIP is disabled at core!")
- option(QL_APP_FEATURE_FILE_ZIP "Enable FILE_ZIP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FILE_ZIP ${QL_APP_FEATURE_FILE_ZIP}")
- if(CONFIG_QUEC_PROJECT_FEATURE_AUDIO)
- option(QL_APP_FEATURE_AUDIO "Enable AUDIO" ON)
- else()
- message(STATUS "FEATURE AUDIO is disabled at core!")
- option(QL_APP_FEATURE_AUDIO "Enable AUDIO" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_AUDIO ${QL_APP_FEATURE_AUDIO}")
- if((QL_APP_FEATURE_AUDIO) AND (CONFIG_QUEC_PROJECT_FEATURE_AUDIO_RECORD))
- option(QL_APP_FEATURE_AUDIO_RECORD "Enable AUDIO_RECORD" ON)
- else()
- message(STATUS "APP FEATURE AUDIO is ${QL_APP_FEATURE_AUDIO}, FEATURE AUDIO_RECORD at core is ${CONFIG_QUEC_PROJECT_FEATURE_AUDIO_RECORD}")
- option(QL_APP_FEATURE_AUDIO_RECORD "Enable AUDIO_RECORD" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_AUDIO_RECORD ${QL_APP_FEATURE_AUDIO_RECORD}")
- if((QL_APP_FEATURE_AUDIO) AND (CONFIG_QUEC_PROJECT_FEATURE_HEADSET_DET))
- option(QL_APP_FEATURE_HEADSET_DET "Enable HEADSET_DET" ON)
- else()
- message(STATUS "FEATURE HEADSET_DET is disabled at core!")
- option(QL_APP_FEATURE_HEADSET_DET "Enable HEADSET_DET" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_HEADSET_DET ${QL_APP_FEATURE_HEADSET_DET}")
- if((QL_APP_FEATURE_AUDIO) AND (CONFIG_QUEC_PROJECT_FEATURE_TTS))
- option(QL_APP_FEATURE_TTS "Enable TTS" ON)
- else()
- message(STATUS "APP FEATURE AUDIO is ${QL_APP_FEATURE_AUDIO}, FEATURE TTS at core is ${CONFIG_QUEC_PROJECT_FEATURE_TTS}")
- option(QL_APP_FEATURE_TTS "Enable TTS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_TTS ${QL_APP_FEATURE_TTS}")
- if((QL_APP_FEATURE_AUDIO) AND (CONFIG_QUEC_PROJECT_FEATURE_EXT_CODEC))
- option(QL_APP_FEATURE_EXT_CODEC "Enable EXT_CODEC" ON)
- else()
- message(STATUS "APP FEATURE AUDIO is ${QL_APP_FEATURE_AUDIO}, FEATURE EXT_CODEC at core is ${CONFIG_QUEC_PROJECT_FEATURE_EXT_CODEC}")
- option(QL_APP_FEATURE_EXT_CODEC "Enable EXT_CODEC" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_EXT_CODEC ${QL_APP_FEATURE_EXT_CODEC}")
- if(CONFIG_QUEC_PROJECT_FEATURE_WIFISCAN)
- option(QL_APP_FEATURE_WIFISCAN "Enable WIFI-Scan" ON)
- else()
- message(STATUS "FEATURE WIFISCAN is disabled at core!")
- option(QL_APP_FEATURE_WIFISCAN "Enable WIFI-Scan" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_WIFISCAN ${QL_APP_FEATURE_WIFISCAN}")
- if(CONFIG_QUEC_PROJECT_FEATURE_BT)
- option(QL_APP_FEATURE_BT "Enable BT" ON)
- else()
- message(STATUS "FEATURE BT is disabled at core!")
- option(QL_APP_FEATURE_BT "Enable BT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_BT ${QL_APP_FEATURE_BT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_BLE_GATT)
- option(QL_APP_FEATURE_BLE_GATT "Enable BLE GATT" ON)
- else()
- message(STATUS "FEATURE BLE GATT is disabled at core!")
- option(QL_APP_FEATURE_BLE_GATT "Enable BLE GATT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_BLE_GATT ${QL_APP_FEATURE_BLE_GATT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_INTERNAL_GNSS)
- option(QL_APP_FEATURE_GNSS "Enable GNSS" ON)
- else()
- message(STATUS "FEATURE GNSS is disabled at core!")
- option(QL_APP_FEATURE_GNSS "Enable GNSS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_GNSS ${QL_APP_FEATURE_GNSS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_HD_GNSS)
- option(QL_APP_FEATURE_HD_GNSS "Enable GNSS" ON)
- else()
- message(STATUS "FEATURE GNSS is disabled at core!")
- option(QL_APP_FEATURE_HD_GNSS "Enable GNSS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_HD_GNSS ${QL_APP_FEATURE_HD_GNSS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_LCD)
- option(QL_APP_FEATURE_LCD "Enable LCD" ON)
- option(QL_APP_FEATURE_LVGL "Enable LVGL" ON)
- else()
- message(STATUS "FEATURE LCD is disabled at core!")
- option(QL_APP_FEATURE_LCD "Enable LCD" OFF)
- option(QL_APP_FEATURE_LVGL "Enable LVGL" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_LCD ${QL_APP_FEATURE_LCD}")
- message(STATUS "QL_APP_FEATURE_LVGL ${QL_APP_FEATURE_LVGL}")
- if(CONFIG_QUEC_PROJECT_FEATURE_CAMERA)
- option(QL_APP_FEATURE_CAMERA "Enable CAMERA" ON)
- else()
- message(STATUS "FEATURE CAMERA is disabled at core!")
- option(QL_APP_FEATURE_CAMERA "Enable CAMERA" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_CAMERA ${QL_APP_FEATURE_CAMERA}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SIM)
- option(QL_APP_FEATURE_SIM "Enable SIM" ON)
- else()
- message(STATUS "FEATURE SIM is disabled at core!")
- option(QL_APP_FEATURE_SIM "Enable SIM" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SIM ${QL_APP_FEATURE_SIM}")
- if(CONFIG_QUEC_PROJECT_FEATURE_VSIM_ADAPT)
- option(QL_APP_FEATURE_VSIM_ADAPT "Enable VSIM ADAPT" ON)
- else()
- message(STATUS "FEATURE VSIM ADAPT is disabled at core!")
- option(QL_APP_FEATURE_VSIM_ADAPT "Enable VSIM ADAPT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_VSIM_ADAPT ${QL_APP_FEATURE_VSIM_ADAPT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_QDSIM)
- option(QL_APP_FEATURE_DSIM "Enable Dual SIM Dual Standby(DSDS)" ON)
- else()
- message(STATUS "FEATURE DOUBLE SIM is disabled at core!")
- option(QL_APP_FEATURE_DSIM "Enable Dual SIM Dual Standby(DSDS)" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_DSIM ${QL_APP_FEATURE_DSIM}")
- if(CONFIG_QUEC_PROJECT_FEATURE_DSSS)
- option(QL_APP_FEATURE_DSSS "Enable Dual SIM Single Standby(DSSS)" ON)
- else()
- message(STATUS "FEATURE DSSS is disabled at core!")
- option(QL_APP_FEATURE_DSSS "Enable Dual SIM Single Standby(DSSS)" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_DSSS ${QL_APP_FEATURE_DSSS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_PBK)
- option(QL_APP_FEATURE_PBK "Enable PBK" ON)
- else()
- message(STATUS "FEATURE PBK is disabled at core!")
- option(QL_APP_FEATURE_PBK "Enable PBK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_PBK ${QL_APP_FEATURE_PBK}")
- if((CONFIG_QUEC_PROJECT_FEATURE_STK) AND (NOT CONFIG_QUEC_PROJECT_FEATURE_STK_AT))
- option(QL_APP_FEATURE_STK "Enable STK" ON)
- else()
- message(STATUS "FEATURE STK is disabled at core!")
- option(QL_APP_FEATURE_STK "Enable STK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_STK ${QL_APP_FEATURE_STK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SMS)
- option(QL_APP_FEATURE_SMS "Enable SMS" ON)
- else()
- message(STATUS "FEATURE SMS is disabled at core!")
- option(QL_APP_FEATURE_SMS "Enable SMS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SMS ${QL_APP_FEATURE_SMS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_VOICE_CALL)
- option(QL_APP_FEATURE_VOICE_CALL "Enable VOICE CALL" ON)
- else()
- message(STATUS "FEATURE VOICE CALL is disabled at core!")
- option(QL_APP_FEATURE_VOICE_CALL "Enable VOICE CALL" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_VOICE_CALL ${QL_APP_FEATURE_VOICE_CALL}")
- if(CONFIG_QUEC_PROJECT_FEATURE_VOLTE)
- option(QL_APP_FEATURE_VOLTE "Enable VoLTE CALL" ON)
- else()
- message(STATUS "FEATURE VoLTE is disabled at core!")
- option(QL_APP_FEATURE_VOLTE "Enable VoLTE CALL" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_VOLTE ${QL_APP_FEATURE_VOLTE}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SPI) AND (CONFIG_QUEC_PROJECT_FEATURE_GPIO))
- option(QL_APP_FEATURE_SPI "Enable SPI" ON)
- else()
- message(STATUS "FEATURE SPI is disabled at core!")
- option(QL_APP_FEATURE_SPI "Enable SPI" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI ${QL_APP_FEATURE_SPI}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SPI_NOR_FLASH) AND (CONFIG_QUEC_PROJECT_FEATURE_GPIO))
- option(QL_APP_FEATURE_SPI_NOR_FLASH "Enable SPI_NOR_FLASH" ON)
- else()
- message(STATUS "FEATURE SPI_NOR_FLASH is disabled at core!")
- option(QL_APP_FEATURE_SPI_NOR_FLASH "Enable SPI_NOR_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI_NOR_FLASH ${QL_APP_FEATURE_SPI_NOR_FLASH}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SPI4_EXT_NOR_SFFS) AND (CONFIG_QUEC_PROJECT_FEATURE_GPIO))
- option(QL_APP_FEATURE_SPI4_EXT_NOR_SFFS "Enable SPI4_EXT_NOR_SFFS" ON)
- else()
- message(STATUS "FEATURE SPI4_EXT_NOR_SFFS is disabled at core!")
- option(QL_APP_FEATURE_SPI4_EXT_NOR_SFFS "Enable SPI4_EXT_NOR_SFFS" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI4_EXT_NOR_SFFS ${QL_APP_FEATURE_SPI4_EXT_NOR_SFFS}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SPI6_EXT_NOR)
- option(QL_APP_FEATURE_SPI6_EXT_NOR "Enable SPI6_EXT_NOR_FLASH" ON)
- else()
- message(STATUS "FEATURE SPI6_EXT_NOR_FLASH is disabled at core!")
- option(QL_APP_FEATURE_SPI6_EXT_NOR "Enable SPI6_EXT_NOR_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI6_EXT_NOR ${QL_APP_FEATURE_SPI6_EXT_NOR}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SPI_NAND_FLASH) AND (CONFIG_QUEC_PROJECT_FEATURE_GPIO))
- option(QL_APP_FEATURE_SPI_NAND_FLASH "Enable SPI_NAND_FLASH" ON)
- else()
- message(STATUS "FEATURE SPI_NAND_FLASH is disabled at core!")
- option(QL_APP_FEATURE_SPI_NAND_FLASH "Enable SPI_NAND_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI_NAND_FLASH ${QL_APP_FEATURE_SPI_NAND_FLASH}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SPI6_NAND_FLASH) AND (CONFIG_QUEC_PROJECT_FEATURE_GPIO))
- option(QL_APP_FEATURE_SPI6_NAND_FLASH "Enable SPI6_NAND_FLASH" ON)
- else()
- message(STATUS "FEATURE SPI6_NAND_FLASH is disabled at core!")
- option(QL_APP_FEATURE_SPI6_NAND_FLASH "Enable SPI6_NAND_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SPI6_NAND_FLASH ${QL_APP_FEATURE_SPI6_NAND_FLASH}")
- if(CONFIG_QUEC_PROJECT_FEATURE_UART)
- option(QL_APP_FEATURE_UART "Enable UART" ON)
- else()
- message(STATUS "FEATURE UART is disabled at core!")
- option(QL_APP_FEATURE_UART "Enable UART" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_UART ${QL_APP_FEATURE_UART}")
- if(CONFIG_QUEC_PROJECT_FEATURE_UART)
- option(QL_APP_FEATURE_RS485 "Enable RS485" ON)
- else()
- message(STATUS "FEATURE RS485 is disabled at core!")
- option(QL_APP_FEATURE_RS485 "Enable RS485" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_RS485 ${QL_APP_FEATURE_RS485}")
- if(CONFIG_QUEC_PROJECT_FEATURE_LEDCFG)
- option(QL_APP_FEATURE_LEDCFG "Enable LEDCFG" ON)
- else()
- message(STATUS "FEATURE LEDCFG is disabled at core!")
- option(QL_APP_FEATURE_LEDCFG "Enable LEDCFG" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_LEDCFG ${QL_APP_FEATURE_LEDCFG}")
- if(CONFIG_QUEC_PROJECT_FEATURE_KEYPAD)
- option(QL_APP_FEATURE_KEYPAD "Enable KEYPAD" ON)
- else()
- message(STATUS "FEATURE KEYPAD is disabled at core!")
- option(QL_APP_FEATURE_KEYPAD "Enable KEYPAD" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_KEYPAD ${QL_APP_FEATURE_KEYPAD}")
- option(QL_APP_FEATURE_DECODER "Enable DECODER" ON)
- message(STATUS "QL_APP_FEATURE_DECODER ${QL_APP_FEATURE_DECODER}")
- option(QL_APP_FEATURE_APP_IMG_AT "Enable APP IMG AT" ON)
- message(STATUS "QL_APP_FEATURE_APP_IMG_AT ${QL_APP_FEATURE_APP_IMG_AT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_RTC)
- option(QL_APP_FEATURE_RTC "Enable RTC" ON)
- else()
- message(STATUS "FEATURE RTC is disabled at core!")
- option(QL_APP_FEATURE_RTC "Enable RTC" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_RTC ${QL_APP_FEATURE_RTC}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SECURE_BOOT)
- option(QL_APP_FEATURE_SECURE_BOOT "Enable SECURE BOOT" OFF)
- else()
- message(STATUS "FEATURE SECURE BOOT is disabled at core!")
- option(QL_APP_FEATURE_SECURE_BOOT "Enable SECURE BOOT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SECURE_BOOT ${QL_APP_FEATURE_SECURE_BOOT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_USB_CHARGE)
- option(QL_APP_FEATURE_USB_CHARGE "Enable USB CHARGE" ON)
- else()
- message(STATUS "FEATURE USB CHARGE is disabled at core!")
- option(QL_APP_FEATURE_USB_CHARGE "Enable USB CHARGE" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_USB_CHARGE ${QL_APP_FEATURE_USB_CHARGE}")
- if(CONFIG_QUEC_PROJECT_FEATURE_VIRT_AT)
- option(QL_APP_FEATURE_VIRT_AT "Enable VIRT AT" ON)
- else()
- message(STATUS "FEATURE VIRT AT is disabled at core!")
- option(QL_APP_FEATURE_VIRT_AT "Enable VIRT_AT" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_VIRT_AT ${QL_APP_FEATURE_VIRT_AT}")
- if(CONFIG_QUEC_PROJECT_FEATURE_FOTA)
- option(QL_APP_FEATURE_FOTA "Enable FOTA" ON)
- else()
- message(STATUS "FEATURE FOTA is disabled at core!")
- option(QL_APP_FEATURE_FOTA "Enable FOTA" OFF)
- endif()
- if(CONFIG_QUEC_PROJECT_FEATURE_I2C)
- option(QL_APP_FEATURE_I2C "Enable I2C" ON)
- else()
- message(STATUS "FEATURE I2C is disabled at core!")
- option(QL_APP_FEATURE_I2C "Enable I2C" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_I2C ${QL_APP_FEATURE_I2C}")
- if(CONFIG_QUEC_PROJECT_FEATURE_USB)
- option(QL_APP_FEATURE_USB "Enable USB" ON)
- else()
- message(STATUS "FEATURE USB is disabled at core!")
- option(QL_APP_FEATURE_USB "Enable USB" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_USB ${QL_APP_FEATURE_USB}")
- if(QL_APP_FEATURE_FOTA)
- if (CONFIG_QUEC_PROJECT_FEATURE_HTTP)
- option(QL_APP_FEATURE_HTTP_FOTA "Enable FOTA_HTTP" ON)
- else()
- option(QL_APP_FEATURE_HTTP_FOTA "Enable FOTA_HTTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_HTTP_FOTA ${QL_APP_FEATURE_HTTP_FOTA}")
- if (CONFIG_QUEC_PROJECT_FEATURE_FTP)
- option(QL_APP_FEATURE_FTP_FOTA "Enable FOTA_FTP" ON)
- else()
- option(QL_APP_FEATURE_FTP_FOTA "Enable FOTA_FTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FTP_FOTA ${QL_APP_FEATURE_FTP_FOTA}")
- endif()
- if(CONFIG_QUEC_PROJECT_FEATURE_JAMDET)
- option(QL_APP_FEATURE_JAMDET "Enable JAMDET" ON)
- else()
- message(STATUS "FEATURE JAMDET is disabled at core!")
- option(QL_APP_FEATURE_JAMDET "Enable JAMDET" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_JAMDET ${QL_APP_FEATURE_JAMDET}")
- if(CONFIG_QUEC_PROJECT_FEATURE_SDMMC OR CONFIG_QUEC_PROJECT_FEATURE_EMMC OR CONFIG_QUEC_PROJECT_FEATURE_SDMMC2 OR CONFIG_QUEC_PROJECT_FEATURE_EMMC2)
- option(QL_APP_FEATURE_SDMMC "Enable SDMMC" ON)
- else()
- message(STATUS "FEATURE SDMMC is disabled at core!")
- option(QL_APP_FEATURE_SDMMC "Enable SDMMC" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SDMMC ${QL_APP_FEATURE_SDMMC}")
- if(CONFIG_QUEC_PROJECT_FEATURE_PWK)
- option(QL_APP_FEATURE_PWK "Enable PWK" ON)
- else()
- message(STATUS "FEATURE PWK is disabled at core!")
- option(QL_APP_FEATURE_PWK "Enable PWK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_PWK ${QL_APP_FEATURE_PWK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_USBNET)
- option(QL_APP_FEATURE_USBNET "Enable USBNET" ON)
- else()
- message(STATUS "FEATURE USBNET is disabled at core!")
- option(QL_APP_FEATURE_USBNET "Enable USBNET" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_USBNET ${QL_APP_FEATURE_USBNET}")
- if(CONFIG_QUEC_PROJECT_FEATURE_FS_NAND_FLASH)
- option(QL_APP_FEATURE_FS_NAND_FLASH "Enable FS_NAND_FLASH" ON)
- else()
- message(STATUS "FEATURE FS_NAND_FLASH is disabled at core!")
- option(QL_APP_FEATURE_FS_NAND_FLASH "Enable FS_NAND_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FS_NAND_FLASH ${QL_APP_FEATURE_FS_NAND_FLASH}")
- if(CONFIG_QUEC_PROJECT_FEATURE_FS_NOR_FLASH)
- option(QL_APP_FEATURE_FS_NOR_FLASH "Enable FS_NOR_FLASH" ON)
- else()
- message(STATUS "FEATURE FS_NOR_FLASH is disabled at core!")
- option(QL_APP_FEATURE_FS_NOR_FLASH "Enable FS_NOR_FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_FS_NOR_FLASH ${QL_APP_FEATURE_FS_NOR_FLASH}")
- if((CONFIG_QUEC_PROJECT_FEATURE_SSH2) AND (CONFIG_QUEC_PROJECT_FEATURE_FTP))
- option(QL_APP_FEATURE_SFTP "Enable SFTP" ON)
- else()
- message(STATUS "FEATURE SFTP is disabled at core!")
- option(QL_APP_FEATURE_SFTP "Enable SFTP" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_SFTP ${QL_APP_FEATURE_SFTP}")
- option(QL_APP_FEATURE_MXML "Enable MXML" ON)
- message(STATUS "QL_APP_FEATURE_MXML ${QL_APP_FEATURE_MXML}")
- if(CONFIG_QUEC_PROJECT_FEATURE_EMBED_NOR_FLASH)
- option(QL_APP_FEATURE_EMBED_NOR_FLASH "Enable EMBED NOR FLASH" ON)
- else()
- message(STATUS "FEATURE EMBED NOR FLASH is disabled at core!")
- option(QL_APP_FEATURE_EMBED_NOR_FLASH "Disable EMBED NOR FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_EMBED_NOR_FLASH ${QL_APP_FEATURE_EMBED_NOR_FLASH}")
- if( NOT CONFIG_QUEC_PROJECT_FEATURE_EXT_NOR_SFFS_MOUNT)
- option(QL_APP_FEATURE_EXT_NOR_FLASH "Enable EXT NOR FLASH" ON)
- else()
- message(STATUS "FEATURE EXT NOR FLASH is disabled at core!")
- option(QL_APP_FEATURE_EXT_NOR_FLASH "Disable EXT NOR FLASH" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_EXT_NOR_FLASH ${QL_APP_FEATURE_EXT_NOR_FLASH}")
- if((CONFIG_QUEC_PROJECT_FEATURE_FOTA) AND (CONFIG_QUEC_PROJECT_FEATURE_HTTP) AND (CONFIG_QUEC_PROJECT_FEATURE_CLOUDOTA))
- option(QL_APP_FEATURE_CLOUDOTA "Enable CLOUDOTA" ON)
- else()
- message(STATUS "FEATURE CLOUDOTA is disabled at core!")
- option(QL_APP_FEATURE_CLOUDOTA "Enable CLOUDOTA" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_CLOUDOTA ${QL_APP_FEATURE_CLOUDOTA}")
- option(QL_APP_FEATURE_HILINK "Enable HILINK" ON)
- message(STATUS "QL_APP_FEATURE_HILINK ${QL_APP_FEATURE_HILINK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_GPRS_DATA_TRANSFER)
- option(QL_APP_FEATURE_GPRS_DATA_TRANSFER "Enable GPRS_DATA_TRANSFER" ON)
- else()
- message(STATUS "FEATURE GPRS_DATA_TRANSFER is disabled at core!")
- option(QL_APP_FEATURE_GPRS_DATA_TRANSFER "Enable GPRS_DATA_TRANSFER" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_GPRS_DATA_TRANSFER ${QL_APP_FEATURE_GPRS_DATA_TRANSFER}")
- if(CONFIG_QUEC_PROJECT_FEATURE_PSM)
- option(QL_APP_FEATURE_PSM "Enable PSM" ON)
- else()
- message(STATUS "FEATURE PSM is disabled at core!")
- option(QL_APP_FEATURE_PSM "Enable PSM" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_PSM ${QL_APP_FEATURE_PSM}")
- if(CONFIG_QUEC_PROJECT_FEATURE_TP)
- option(QL_APP_FEATURE_TP "Enable TP" ON)
- else()
- message(STATUS "FEATURE TP is disabled at core!")
- option(QL_APP_FEATURE_TP "Enable TP " OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_TP ${QL_APP_FEATURE_TP}")
- if(CONFIG_QUEC_PROJECT_FEATURE_ALIPAY_IOT_SDK)
- option(QL_APP_FEATURE_ALIPAY_IOT_SDK "Enable ALIPAY_IOT_SDK" ON)
- else()
- message(STATUS "FEATURE ALIPAY_IOT_SDK is disabled at core!")
- option(QL_APP_FEATURE_ALIPAY_IOT_SDK "Enable ALIPAY_IOT_SDK" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_ALIPAY_IOT_SDK ${QL_APP_FEATURE_ALIPAY_IOT_SDK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_WEBSOCKET)
- option(QL_APP_FEATURE_WEBSOCKET "Enable WEBSOCKET" ON)
- else()
- message(STATUS "FEATURE WEBSOCKET is disabled at core!")
- option(QL_APP_FEATURE_WEBSOCKET "Enable WEBSOCKET" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_WEBSOCKET ${QL_APP_FEATURE_WEBSOCKET}")
- if(CONFIG_QUEC_PROJECT_FEATURE_NTRIP_RTK)
- option(QL_APP_FEATURE_NTRIP_RTK "Enable NTRIP RTK" ON)
- else()
- message(STATUS "FEATURE NTRIP_RTK is disabled at core!")
- option(QL_APP_FEATURE_NTRIP_RTK "Enable NTRIP RTK " OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_NTRIP_RTK ${QL_APP_FEATURE_NTRIP_RTK}")
- if(CONFIG_QUEC_PROJECT_FEATURE_ETHERNET)
- option(QL_APP_FEATURE_ETHERNET "Enable ETHERNET" ON)
- else()
- message(STATUS "FEATURE ETHERNET is disabled at core!")
- option(QL_APP_FEATURE_ETHERNET "Enable ETHERNET" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_ETHERNET ${QL_APP_FEATURE_ETHERNET}")
- if(CONFIG_QUEC_PROJECT_FEATURE_APPIMG2)
- option(QL_APP_FEATURE_APPIMG2 "Enable APPIMG2" ON)
- else()
- message(STATUS "FEATURE APPIMG2 is disabled at core!")
- option(QL_APP_FEATURE_APPIMG2 "Enable APPIMG2" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_APPIMG2 ${QL_APP_FEATURE_APPIMG2}")
- if(CONFIG_QUEC_PROJECT_FEATURE_WIFI)
- option(QL_APP_FEATURE_WIFI "Enable WIFI" ON)
- else()
- message(STATUS "FEATURE WIFI is disabled at core!")
- option(QL_APP_FEATURE_WIFI "Enable WIFI" OFF)
- endif()
- message(STATUS "QL_APP_FEATURE_WIFI ${QL_APP_FEATURE_WIFI}")
- option(HC_APP_FEATURE_MOID8ID "Enable MOID8ID" ON)
- ################################################################################################################
- # Quectel open sdk package config
- ################################################################################################################
- if (QL_APP_FEATURE_TTS OR QL_APP_FEATURE_BT)
- option(QL_APP_PACK_FILE "Enable pack file to firmware package" ON)
- else()
- option(QL_APP_PACK_FILE "Enable pack file to firmware package" OFF)
- endif()
- if (QL_APP_PACK_FILE)
- if(QL_APP_FEATURE_TTS)
- if(QL_APP_FEATURE_BT)
- set(QL_APP_PACK_FILE_JSON_PATH components/ql-config/download/prepack/ql_prepack_tts_bt.json)
- else()
- set(QL_APP_PACK_FILE_JSON_PATH components/ql-config/download/prepack/ql_prepack_tts.json)
- endif()
- else()
- if(QL_APP_FEATURE_BT)
- set(QL_APP_PACK_FILE_JSON_PATH components/ql-config/download/prepack/ql_prepack_bt.json)
- endif()
- endif()
- file(WRITE ${BINARY_TOP_DIR}/ql_prepack.opt "Y")
- endif()
- message(STATUS "QL_APP_PACK_FILE ${QL_APP_PACK_FILE} @ ${QL_APP_PACK_FILE_JSON_PATH}")
- if (QL_APP_FEATURE_SECURE_BOOT)
- file(WRITE ${BINARY_TOP_DIR}/ql_secure.opt "Y")
- endif()
- message("\n")
- endif()
|