56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
|
|
# AT device configuretion
|
|
menuconfig PKG_USING_AT_DEVICE_TJ
|
|
bool "AT DEVICE: RT-Thread AT component porting or samples for different device"
|
|
default n
|
|
select RT_USING_AT
|
|
select AT_USING_CLIENT
|
|
select AT_USING_SOCKET
|
|
|
|
if PKG_USING_AT_DEVICE_TJ
|
|
|
|
config PKG_AT_DEVICE_PATH
|
|
string
|
|
default "/packages/iot/at_device"
|
|
|
|
if PKG_AT_DEVICE_VER_NUM >= 0x20000
|
|
|
|
source "$PKGS_DIR/packages/iot/at_device/m26/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/ec20/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/esp8266/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/rw007/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/sim800c/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/sim76xx/Kconfig"
|
|
source "$PKGS_DIR/packages/iot/at_device/mw31/Kconfig"
|
|
|
|
endif
|
|
|
|
if PKG_AT_DEVICE_VER_NUM < 0x20000
|
|
|
|
source "$PKGS_DIR/packages/iot/at_device/v1.x.x/Kconfig"
|
|
|
|
endif
|
|
|
|
choice
|
|
|
|
prompt "Version"
|
|
default PKG_USING_AT_DEVICE_LATEST_VERSION
|
|
help
|
|
Select the at_device version
|
|
|
|
config PKG_USING_AT_DEVICE_LATEST_VERSION
|
|
bool "latest"
|
|
|
|
endchoice
|
|
|
|
config PKG_AT_DEVICE_VER
|
|
string
|
|
default "latest" if PKG_USING_AT_DEVICE_LATEST_VERSION
|
|
|
|
config PKG_AT_DEVICE_VER_NUM
|
|
hex
|
|
default 0x99999 if PKG_USING_AT_DEVICE_LATEST_VERSION
|
|
|
|
endif
|
|
|