summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarmink <[email protected]>2018-10-12 15:47:20 +0800
committerarmink <[email protected]>2018-10-12 15:48:40 +0800
commite9ffd2b2ef1f0d75f184be10c32c7b3e54679d18 (patch)
treec3321ce7d472ab91794ebbb02b62241b1678b9bd
parent61fd16078422cba2d95ede4d2b8a80ed0605dadf (diff)
[component][at] Move at module version number definition to Kconfig file.
-rw-r--r--components/net/at/Kconfig8
-rw-r--r--components/net/at/include/at.h1
2 files changed, 7 insertions, 2 deletions
diff --git a/components/net/at/Kconfig b/components/net/at/Kconfig
index 84d7e094ad..9a464de9ec 100644
--- a/components/net/at/Kconfig
+++ b/components/net/at/Kconfig
@@ -76,7 +76,13 @@ if RT_USING_AT
default n
endif
-
+
+ config AT_SW_VERSION_NUM
+ int
+ default 0x10100
+ help
+ sfotware module version number
+
endif
endmenu
diff --git a/components/net/at/include/at.h b/components/net/at/include/at.h
index 4bb378583a..e63799d356 100644
--- a/components/net/at/include/at.h
+++ b/components/net/at/include/at.h
@@ -33,7 +33,6 @@ extern "C" {
#endif
#define AT_SW_VERSION "1.1.0"
-#define AT_SW_VERSION_NUM 0x10100
#define DBG_ENABLE
#define DBG_SECTION_NAME "AT"