You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/02/21 23:22:09 UTC

[1/3] incubator-mynewt-core git commit: stats/stub; coding style nit.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 4b7bd1949 -> fa6cc192e


stats/stub; coding style nit.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/bca362ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bca362ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/bca362ca

Branch: refs/heads/develop
Commit: bca362caaf5e48ce4a5cb4d5a00dc601338de8ec
Parents: 4b7bd19
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Feb 21 14:52:51 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Feb 21 14:52:51 2017 -0800

----------------------------------------------------------------------
 sys/stats/stub/include/stats/stats.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bca362ca/sys/stats/stub/include/stats/stats.h
----------------------------------------------------------------------
diff --git a/sys/stats/stub/include/stats/stats.h b/sys/stats/stub/include/stats/stats.h
index 0e5f55f..bd0b4a3 100644
--- a/sys/stats/stub/include/stats/stats.h
+++ b/sys/stats/stub/include/stats/stats.h
@@ -44,7 +44,7 @@ struct stats_hdr {
     STAILQ_ENTRY(stats_hdr) s_next;
 };
 
-#define STATS_SECT_DECL(__name)             \
+#define STATS_SECT_DECL(__name)                                         \
     struct stats_ ## __name
 #define STATS_SECT_END };
 


[2/3] incubator-mynewt-core git commit: MYNEWT-492; TBD -> descriptions.

Posted by ma...@apache.org.
MYNEWT-492; TBD -> descriptions.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d2321704
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/d2321704
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/d2321704

Branch: refs/heads/develop
Commit: d2321704587ec6e97dc7cb97fd007e65534f0de6
Parents: bca362c
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Feb 21 15:21:04 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Feb 21 15:21:04 2017 -0800

----------------------------------------------------------------------
 apps/boot/syscfg.yml          |  4 ++--
 boot/bootutil/syscfg.yml      |  6 +++---
 fs/fs/syscfg.yml              |  2 +-
 fs/nffs/syscfg.yml            |  4 ++--
 kernel/os/syscfg.yml          | 22 +++++++++++-----------
 mgmt/imgmgr/syscfg.yml        |  7 ++-----
 net/wifi/wifi_mgmt/syscfg.yml |  2 +-
 test/crash_test/syscfg.yml    |  4 ++--
 test/runtest/syscfg.yml       |  4 ++--
 9 files changed, 26 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/apps/boot/syscfg.yml
----------------------------------------------------------------------
diff --git a/apps/boot/syscfg.yml b/apps/boot/syscfg.yml
index f543fbf..47bd1c5 100644
--- a/apps/boot/syscfg.yml
+++ b/apps/boot/syscfg.yml
@@ -20,10 +20,10 @@
 
 syscfg.defs:
     BOOT_LOADER:
-        description: 'TBD'
+        description: 'Set to indicate that this app is a bootloader.'
         value: 1
     BOOT_SERIAL:
-        description: 'TBD'
+        description: 'Support image upgrade over serial within bootloader'
         value: 0
 
 syscfg.vals:

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/boot/bootutil/syscfg.yml
----------------------------------------------------------------------
diff --git a/boot/bootutil/syscfg.yml b/boot/bootutil/syscfg.yml
index e896bf9..80fca9f 100644
--- a/boot/bootutil/syscfg.yml
+++ b/boot/bootutil/syscfg.yml
@@ -20,11 +20,11 @@
 
 syscfg.defs:
     BOOTUTIL_SIGN_RSA:
-        description: 'TBD'
+        description: 'Images are signed using RSA2048.'
         value: '0'
     BOOTUTIL_SIGN_EC:
-        description: 'TBD'
+        description: 'Images are signed using ECDSA NIST P-224.'
         value: '0'
     BOOTUTIL_SIGN_EC256:
-        description: 'TBD'
+        description: 'Images are signed using ECDSA NIST P-256.'
         value: '0'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/fs/fs/syscfg.yml
----------------------------------------------------------------------
diff --git a/fs/fs/syscfg.yml b/fs/fs/syscfg.yml
index d919f35..3cf5a35 100644
--- a/fs/fs/syscfg.yml
+++ b/fs/fs/syscfg.yml
@@ -20,7 +20,7 @@
 
 syscfg.defs:
     FS_CLI:
-        description: 'TBD'
+        description: 'CLI commands to interact with files.'
         value: 0
         restrictions:
             - SHELL_TASK

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/fs/nffs/syscfg.yml
----------------------------------------------------------------------
diff --git a/fs/nffs/syscfg.yml b/fs/nffs/syscfg.yml
index 5602e4b..85be568 100644
--- a/fs/nffs/syscfg.yml
+++ b/fs/nffs/syscfg.yml
@@ -20,12 +20,12 @@
 
 syscfg.defs:
     NFFS_FLASH_AREA:
-        description: 'TBD'
+        description: 'Flash area to use for NFFS.'
         type: flash_owner
         value:
         restrictions:
             - $notnull
 
     NFFS_DETECT_FAIL:
-        description: 'TBD'
+        description: 'Controls behaviour when encountering corrupt NFFS area.'
         value: 'NFFS_DETECT_FAIL_FORMAT'

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/kernel/os/syscfg.yml
----------------------------------------------------------------------
diff --git a/kernel/os/syscfg.yml b/kernel/os/syscfg.yml
index a45fc96..b5d9128 100644
--- a/kernel/os/syscfg.yml
+++ b/kernel/os/syscfg.yml
@@ -26,7 +26,7 @@ syscfg.defs:
         description: 'Stack size of initialization and main task'
         value: 1024
     OS_CLI:
-        description: 'TBD'
+        description: 'CLI commands to inspect OS'
         value: 0
         restrictions:
             - SHELL_TASK
@@ -49,32 +49,32 @@ syscfg.defs:
         description: 'The interval (in milliseconds) at which the watchdog should reset if not tickled, in ms'
         value: 30000
     MSYS_1_BLOCK_COUNT:
-        description: 'TBD'
+        description: '1st system pool of mbufs; number of entries'
         value: 12
     MSYS_1_BLOCK_SIZE:
-        description: 'TBD'
+        description: '1st system pool of mbufs; size of an entry'
         value: 292
     MSYS_2_BLOCK_COUNT:
-        description: 'TBD'
+        description: '2nd system pool of mbufs; number of entries'
         value: 0
     MSYS_2_BLOCK_SIZE:
-        description: 'TBD'
+        description: '2nd system pool of mbufs; size of an entry'
         value: 0
     MSYS_3_BLOCK_COUNT:
-        description: 'TBD'
+        description: '3rd system pool of mbufs; number of entries'
         value: 0
     MSYS_3_BLOCK_SIZE:
-        description: 'TBD'
+        description: '3rd system pool of mbufs; size of an entry'
         value: 0
     MSYS_4_BLOCK_COUNT:
-        description: 'TBD'
+        description: '4th system pool of mbufs; number of entries'
         value: 0
     MSYS_4_BLOCK_SIZE:
-        description: 'TBD'
+        description: '4th system pool of mbufs; size of an entry'
         value: 0
     MSYS_5_BLOCK_COUNT:
-        description: 'TBD'
+        description: '5th system pool of mbufs; number of entries'
         value: 0
     MSYS_5_BLOCK_SIZE:
-        description: 'TBD'
+        description: '5th system pool of mbufs; size of an entry'
         value: 0

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/mgmt/imgmgr/syscfg.yml
----------------------------------------------------------------------
diff --git a/mgmt/imgmgr/syscfg.yml b/mgmt/imgmgr/syscfg.yml
index 8a687af..da42801 100644
--- a/mgmt/imgmgr/syscfg.yml
+++ b/mgmt/imgmgr/syscfg.yml
@@ -19,14 +19,11 @@
 # Package: mgmt/imgmgr
 
 syscfg.defs:
-    IMGMGR_FS:
-        description: 'TBD'
-        value: 0
     IMGMGR_COREDUMP:
-        description: 'TBD'
+        description: 'Newtmgr commands for fetching/erasing coredump'
         value: 0
     IMGMGR_CLI:
-        description: 'TBD'
+        description: 'CLI commands to interact with image management'
         value: 0
         restrictions:
             - SHELL_TASK

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/net/wifi/wifi_mgmt/syscfg.yml
----------------------------------------------------------------------
diff --git a/net/wifi/wifi_mgmt/syscfg.yml b/net/wifi/wifi_mgmt/syscfg.yml
index c0916fc..089c029 100644
--- a/net/wifi/wifi_mgmt/syscfg.yml
+++ b/net/wifi/wifi_mgmt/syscfg.yml
@@ -20,7 +20,7 @@
 
 syscfg.defs:
     WIFI_MGMT_CLI:
-        description: 'TBD'
+        description: 'CLI for interacting with Wi-Fi interfaces'
         value: 0
         restrictions:
             - SHELL_TASK

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/test/crash_test/syscfg.yml
----------------------------------------------------------------------
diff --git a/test/crash_test/syscfg.yml b/test/crash_test/syscfg.yml
index 0c41e5e..9074307 100644
--- a/test/crash_test/syscfg.yml
+++ b/test/crash_test/syscfg.yml
@@ -19,10 +19,10 @@
 
 syscfg.defs:
     CRASH_TEST_CLI:
-        description: 'TBD'
+        description: 'CLI for trying out crashes'
         value: 1
         restrictions:
             - SHELL_TASK
     CRASH_TEST_NEWTMGR:
-        description: 'TBD'
+        description: 'Newtmgr commands for crashing'
         value: 1

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/d2321704/test/runtest/syscfg.yml
----------------------------------------------------------------------
diff --git a/test/runtest/syscfg.yml b/test/runtest/syscfg.yml
index f9bad84..c085f7d 100644
--- a/test/runtest/syscfg.yml
+++ b/test/runtest/syscfg.yml
@@ -20,10 +20,10 @@
 
 syscfg.defs:
     RUNTEST_CLI:
-        description: 'TBD'
+        description: 'CLI commands for accessing tests'
         value: 1
         restrictions:
             - SHELL_TASK
     RUNTEST_NEWTMGR:
-        description: 'TBD'
+        description: 'Newtmgr command to execute tests'
         value: 1


[3/3] incubator-mynewt-core git commit: mgmt/imgmgr; clean up unused function prototypes.

Posted by ma...@apache.org.
mgmt/imgmgr; clean up unused function prototypes.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/fa6cc192
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fa6cc192
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/fa6cc192

Branch: refs/heads/develop
Commit: fa6cc192e2af81a6b968292089da42accfb6a06b
Parents: d232170
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Feb 21 15:21:33 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Feb 21 15:21:33 2017 -0800

----------------------------------------------------------------------
 mgmt/imgmgr/src/imgmgr_priv.h | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fa6cc192/mgmt/imgmgr/src/imgmgr_priv.h
----------------------------------------------------------------------
diff --git a/mgmt/imgmgr/src/imgmgr_priv.h b/mgmt/imgmgr/src/imgmgr_priv.h
index dbedd53..11b73e2 100644
--- a/mgmt/imgmgr/src/imgmgr_priv.h
+++ b/mgmt/imgmgr/src/imgmgr_priv.h
@@ -93,9 +93,6 @@ struct imgr_state {
         uint32_t off;
         uint32_t size;
         const struct flash_area *fa;
-#if MYNEWT_VAL(IMGMGR_FS)
-        struct fs_file *file;
-#endif
     } upload;
 };
 
@@ -103,13 +100,9 @@ extern struct imgr_state imgr_state;
 
 struct nmgr_jbuf;
 
-int imgr_boot2_read(struct mgmt_cbuf *);
-int imgr_boot2_write(struct mgmt_cbuf *);
 int imgr_core_list(struct mgmt_cbuf *);
 int imgr_core_load(struct mgmt_cbuf *);
 int imgr_core_erase(struct mgmt_cbuf *);
-int imgr_splitapp_read(struct mgmt_cbuf *);
-int imgr_splitapp_write(struct mgmt_cbuf *);
 int imgmgr_state_read(struct mgmt_cbuf *cb);
 int imgmgr_state_write(struct mgmt_cbuf *njb);
 int imgr_find_by_ver(struct image_version *find, uint8_t *hash);