Skip to content

Commit fbf07d5

Browse files
authored
Merge pull request #138 from Yuheng-P/iot_link
add kconfig option for oc cloud map demo
2 parents 5e3a2d0 + 390077f commit fbf07d5

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

targets/STM32L431_BearPi/Demos/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ choice Demo
1010
bool "OC Streetlight"
1111
select OC_LWM2M
1212
select SHELL_ENABLE
13+
select AT_ENABLE
14+
select BOUDICA150
15+
select STIMER_ENABLE
16+
config Demo_OC_Cloud_Map
17+
bool "OC Cloud Map"
18+
select OC_LWM2M
19+
select SHELL_ENABLE
20+
select AT_ENABLE
1321
select BOUDICA150
1422
select STIMER_ENABLE
1523
endchoice
@@ -18,4 +26,5 @@ config USER_DEMO
1826
string
1927
default "hello_world_demo" if Demo_Helloworld
2028
default "oc_streetlight_template" if Demo_Streetlight
29+
default "oc_cloud_map_demo" if Demo_OC_Cloud_Map
2130
default "none"

targets/STM32L431_BearPi/Demos/oc_cloud_map_demo/defaults.sdkconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ CONFIG_Demo_Streetlight=y
2727
CONFIG_OS_TYPE = "liteos"
2828
CONFIG_ARCH_CPU_TYPE = "armv7-m"
2929
CONFIG_SHELL_ENABLE = y
30+
CONFIG_STIMER_ENABLE = y
3031
CONFIG_DRIVER_ENABLE = y
3132
CONFIG_AT_ENABLE = y
3233
CONFIG_LIBC_ENABLE = y

targets/STM32L431_BearPi/Demos/oc_streetlight_template/defaults.sdkconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ CONFIG_Demo_Streetlight=y
2727
CONFIG_OS_TYPE = "liteos"
2828
CONFIG_ARCH_CPU_TYPE = "armv7-m"
2929
CONFIG_SHELL_ENABLE = y
30+
CONFIG_STIMER_ENABLE = y
3031
CONFIG_DRIVER_ENABLE = y
3132
CONFIG_AT_ENABLE = y
3233
CONFIG_LIBC_ENABLE = y

0 commit comments

Comments
 (0)