Skip to content

Commit

Permalink
Merge pull request #142 from BaikalHu/iot_link
Browse files Browse the repository at this point in the history
update Kconfig for GD
  • Loading branch information
cruise2018 authored Jul 31, 2019
2 parents 85625d9 + b9f442a commit b13d5a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ mainmenu "Huawei IoT Stack Configuration"
select DTLS
config EC20
bool "ec20"
select MQTT
select AT_ENABLE
select CJSON_ENABLE
endchoice
Expand Down
4 changes: 2 additions & 2 deletions targets/GD32VF103V_EVAL/Demos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ endchoice
config USER_DEMO
string
default "hello_world_demo" if Demo_Helloworld
default "oc_develop_template" if Demo_Develop
default "oc_oceanlink_template" if Demo_Oceanlink
default "oc_develop_demo" if Demo_Develop
default "oc_oceanlink_demo" if Demo_Oceanlink
default "none"
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@
#CONFIG_OC_LWM2M_DEMO_TYPE:"none" "oc_lwm2m_demo_dtls" and "oc_lwm2m_demo_nodtls" "oc_lwm2m_demo_bs_dtls" "oc_lwm2m_demo_bearpi_template"
#CONFIG_OC_MQTT_DEMO_TYPE:"none" "oc_mqtt_demo_static" "oc_mqtt_demo_bs"

#this is for IoT Studio automatic generating kconfig compatibility
CONFIG_OS_LiteOS=y
CONFIG_RISCV32=y
CONFIG_OC_MQTT=y
CONFIG_EC20=y
CONFIG_MQTT=y
#

CONFIG_OS_TYPE = "liteos"
CONFIG_ARCH_CPU_TYPE = "riscv32"
Expand All @@ -43,3 +40,4 @@ CONFIG_OC_LWM2M_DEMO_TYPE= "none"
CONFIG_OC_MQTT_DEMO_TYPE= "none"

CONFIG_USER_DEMO = "oc_develop_demo"
CONFIG_Demo_Develop = y
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@
#CONFIG_OC_LWM2M_DEMO_TYPE:"none" "oc_lwm2m_demo_dtls" and "oc_lwm2m_demo_nodtls" "oc_lwm2m_demo_bs_dtls" "oc_lwm2m_demo_bearpi_template"
#CONFIG_OC_MQTT_DEMO_TYPE:"none" "oc_mqtt_demo_static" "oc_mqtt_demo_bs"

#this is for IoT Studio automatic generating kconfig compatibility
CONFIG_OS_LiteOS=y
CONFIG_RISCV32=y
CONFIG_OC_MQTT=y
CONFIG_EC20=y
CONFIG_MQTT=y
#

CONFIG_OS_TYPE = "liteos"
CONFIG_ARCH_CPU_TYPE = "riscv32"
Expand All @@ -43,3 +40,4 @@ CONFIG_OC_LWM2M_DEMO_TYPE= "none"
CONFIG_OC_MQTT_DEMO_TYPE= "none"

CONFIG_USER_DEMO = "oc_oceanlink_demo"
CONFIG_Demo_Oceanlink = y

0 comments on commit b13d5a7

Please sign in to comment.