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/03/06 21:19:26 UTC

[50/50] incubator-mynewt-core git commit: Bringing in changes from develop branch.

Bringing in changes from develop branch.

Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core


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/cfe42df7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/cfe42df7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/cfe42df7

Branch: refs/heads/master
Commit: cfe42df79dfe5899ac39d8785ef8ab3862632b5e
Parents: 8cf8f54 c3b4174
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Mar 6 12:45:14 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Mar 6 12:45:14 2017 -0800

----------------------------------------------------------------------
 .rat-excludes                                   |    59 +-
 LICENSE                                         |   144 +-
 NOTICE                                          |     2 +-
 README.md                                       |    27 +-
 apps/blecent/pkg.yml                            |     4 +-
 apps/blecent/src/blecent.h                      |    12 +-
 apps/blecent/src/main.c                         |    95 +-
 apps/blecent/src/misc.c                         |    60 +-
 apps/blecent/src/peer.c                         |    20 +-
 apps/blecent/syscfg.yml                         |     3 +
 apps/blehci/pkg.yml                             |     2 +-
 apps/blehci/src/main.c                          |     9 +-
 apps/blehci/syscfg.yml                          |    23 +
 apps/bleprph/pkg.yml                            |     7 +-
 apps/bleprph/src/bleprph.h                      |     1 +
 apps/bleprph/src/gatt_svr.c                     |   172 +-
 apps/bleprph/src/main.c                         |   102 +-
 apps/bleprph/syscfg.yml                         |     3 +
 apps/bleprph_oic/pkg.yml                        |     4 +-
 apps/bleprph_oic/src/gatt_svr.c                 |    79 +-
 apps/bleprph_oic/src/main.c                     |   196 +-
 apps/bleprph_oic/syscfg.yml                     |    14 +-
 apps/blesplit/README.md                         |    55 +
 apps/blesplit/pkg.yml                           |    44 +
 apps/blesplit/src/blesplit.h                    |    59 +
 apps/blesplit/src/main.c                        |   287 +
 apps/blesplit/src/misc.c                        |    43 +
 apps/blesplit/syscfg.yml                        |    47 +
 apps/bletest/pkg.yml                            |     4 +-
 apps/bletest/src/bletest_hci.c                  |   191 +-
 apps/bletest/src/bletest_priv.h                 |    20 +-
 apps/bletest/src/main.c                         |   345 +-
 apps/bletest/syscfg.yml                         |    13 +-
 apps/bletiny/pkg.yml                            |     7 +-
 apps/bletiny/src/bletiny.h                      |    44 +-
 apps/bletiny/src/cmd.c                          |  1528 +-
 apps/bletiny/src/gatt_svr.c                     |   527 +-
 apps/bletiny/src/main.c                         |   510 +-
 apps/bletiny/src/misc.c                         |    36 +-
 apps/bletiny/src/parse.c                        |   127 +-
 apps/bletiny/syscfg.yml                         |     6 +-
 apps/bleuart/pkg.yml                            |     3 +-
 apps/bleuart/src/main.c                         |    62 +-
 apps/bleuart/syscfg.yml                         |     3 +
 apps/boot/pkg.yml                               |     2 +-
 apps/boot/src/boot.c                            |    20 +-
 apps/boot/syscfg.yml                            |     9 +-
 apps/fat2native/pkg.yml                         |    33 +
 apps/fat2native/src/main.c                      |   157 +
 apps/ffs2native/pkg.yml                         |     2 +
 apps/ocf_sample/pkg.yml                         |     4 +-
 apps/ocf_sample/src/main.c                      |   178 +-
 apps/ocf_sample/src/ocf_ble.c                   |    13 +-
 apps/ocf_sample/syscfg.yml                      |     2 +
 apps/sensors_test/pkg.yml                       |    51 +
 apps/sensors_test/src/main.c                    |   439 +
 apps/sensors_test/syscfg.yml                    |    57 +
 apps/slinky/pkg.yml                             |     6 +-
 apps/slinky/src/main.c                          |    62 +-
 apps/slinky_oic/pkg.yml                         |     6 +-
 apps/slinky_oic/src/main.c                      |    61 +-
 apps/slinky_oic/syscfg.yml                      |     3 +
 apps/spitest/pkg.yml                            |     4 +-
 apps/spitest/src/main.c                         |    46 +-
 apps/spitest/syscfg.yml                         |     3 +
 apps/splitty/pkg.yml                            |    15 +-
 apps/splitty/src/main.c                         |    55 +-
 apps/testbench/pkg.yml                          |    58 +
 apps/testbench/src/testbench.c                  |   386 +
 apps/testbench/src/testbench.h                  |   174 +
 apps/testbench/src/testbench_json.c             |    82 +
 apps/testbench/src/testbench_mempool.c          |    98 +
 apps/testbench/src/testbench_mutex.c            |   172 +
 apps/testbench/src/testbench_sem.c              |   141 +
 apps/testbench/syscfg.yml                       |    54 +
 apps/timtest/pkg.yml                            |     4 +-
 apps/timtest/src/main.c                         |    45 +-
 boot/boot_serial/pkg.yml                        |    10 +-
 boot/boot_serial/src/boot_serial.c              |   248 +-
 boot/boot_serial/src/boot_serial_priv.h         |    16 +-
 .../src/testcases/boot_serial_empty_img_msg.c   |     2 +-
 .../test/src/testcases/boot_serial_img_msg.c    |     2 +-
 .../testcases/boot_serial_upload_bigger_image.c |     2 +-
 boot/bootutil/design.txt                        |   791 +-
 boot/bootutil/include/bootutil/bootutil.h       |    15 +-
 boot/bootutil/include/bootutil/image.h          |    30 +-
 boot/bootutil/pkg.yml                           |     3 +
 boot/bootutil/signed_images.md                  |    18 +-
 boot/bootutil/src/bootutil_misc.c               |    65 +-
 boot/bootutil/src/bootutil_priv.h               |     4 +-
 boot/bootutil/src/image_ec.c                    |     5 +-
 boot/bootutil/src/image_ec256.c                 |   179 +
 boot/bootutil/src/image_rsa.c                   |     2 +
 boot/bootutil/src/image_validate.c              |    20 +-
 boot/bootutil/src/loader.c                      |   237 +-
 boot/bootutil/syscfg.yml                        |     7 +-
 boot/bootutil/test/src/boot_test.c              |     4 +
 boot/bootutil/test/src/boot_test.h              |     2 +
 boot/bootutil/test/src/boot_test_utils.c        |    39 +-
 .../test/src/testcases/boot_test_invalid_hash.c |     2 +-
 .../src/testcases/boot_test_no_flag_has_hash.c  |     2 +-
 .../test/src/testcases/boot_test_no_hash.c      |     2 +-
 .../test/src/testcases/boot_test_nv_bs_11.c     |     2 +-
 .../src/testcases/boot_test_nv_bs_11_2areas.c   |     2 +-
 .../test/src/testcases/boot_test_nv_ns_01.c     |     2 +-
 .../test/src/testcases/boot_test_permanent.c    |    53 +
 .../testcases/boot_test_permanent_continue.c    |    62 +
 .../test/src/testcases/boot_test_vb_ns_11.c     |     2 +-
 .../test/src/testcases/boot_test_vm_ns_01.c     |     2 +-
 .../src/testcases/boot_test_vm_ns_11_2areas.c   |     2 +-
 .../test/src/testcases/boot_test_vm_ns_11_b.c   |     2 +-
 boot/split/pkg.yml                              |     4 +-
 boot/split/src/split.c                          |    11 +-
 boot/split_app/pkg.yml                          |    29 +
 boot/split_app/src/split_app.c                  |    54 +
 compiler/arm-none-eabi-m0/compiler.yml          |     6 +-
 compiler/arm-none-eabi-m4/compiler.yml          |     8 +-
 compiler/arm-none-eabi-m4/syscfg.yml            |     4 +
 compiler/gdbmacros/ble.gdb                      |    52 +
 compiler/gdbmacros/mbuf.gdb                     |   200 +
 compiler/gdbmacros/os.gdb                       |    38 +
 compiler/gdbmacros/queue.gdb                    |    71 +
 compiler/mips/compiler.yml                      |     4 +-
 compiler/sim-mips/compiler.yml                  |     3 +-
 compiler/sim/compiler.yml                       |     7 +-
 crypto/mbedtls/pkg.yml                          |     2 +-
 crypto/tinycrypt/LICENSE                        |    62 +
 crypto/tinycrypt/README                         |    82 +-
 crypto/tinycrypt/VERSION                        |     1 +
 crypto/tinycrypt/include/tinycrypt/aes.h        |    16 +-
 crypto/tinycrypt/include/tinycrypt/cbc_mode.h   |     8 +-
 crypto/tinycrypt/include/tinycrypt/ccm_mode.h   |    12 +-
 crypto/tinycrypt/include/tinycrypt/cmac_mode.h  |    20 +-
 crypto/tinycrypt/include/tinycrypt/constants.h  |     4 +
 crypto/tinycrypt/include/tinycrypt/ctr_mode.h   |     4 +-
 crypto/tinycrypt/include/tinycrypt/ctr_prng.h   |   167 +
 crypto/tinycrypt/include/tinycrypt/ecc.h        |     8 +-
 crypto/tinycrypt/include/tinycrypt/ecc_dh.h     |    14 +-
 crypto/tinycrypt/include/tinycrypt/ecc_dsa.h    |     8 +-
 crypto/tinycrypt/include/tinycrypt/hmac.h       |    16 +-
 crypto/tinycrypt/include/tinycrypt/hmac_prng.h  |    12 +-
 crypto/tinycrypt/include/tinycrypt/sha256.h     |    12 +-
 crypto/tinycrypt/include/tinycrypt/utils.h      |     8 +-
 crypto/tinycrypt/src/aes_decrypt.c              |     8 +-
 crypto/tinycrypt/src/aes_encrypt.c              |    14 +-
 crypto/tinycrypt/src/cbc_mode.c                 |     8 +-
 crypto/tinycrypt/src/ccm_mode.c                 |    30 +-
 crypto/tinycrypt/src/cmac_mode.c                |    28 +-
 crypto/tinycrypt/src/ctr_mode.c                 |     6 +-
 crypto/tinycrypt/src/ctr_prng.c                 |   308 +
 crypto/tinycrypt/src/hmac.c                     |    24 +-
 crypto/tinycrypt/src/hmac_prng.c                |    16 +-
 crypto/tinycrypt/src/sha256.c                   |    18 +-
 crypto/tinycrypt/src/utils.c                    |     2 +-
 encoding/base64/include/base64/hex.h            |     2 +-
 encoding/base64/src/hex.c                       |     2 +-
 encoding/cborattr/include/cborattr/cborattr.h   |    35 +-
 encoding/cborattr/src/cborattr.c                |   402 +-
 encoding/cborattr/test/pkg.yml                  |    31 +
 encoding/cborattr/test/src/test_cborattr.c      |    48 +
 encoding/cborattr/test/src/test_cborattr.h      |    57 +
 .../cborattr/test/src/test_cborattr_utils.c     |    35 +
 .../test/src/testcases/cborattr_decode1.c       |    83 +
 .../src/testcases/cborattr_decode_bool_array.c  |   101 +
 .../src/testcases/cborattr_decode_int_array.c   |   143 +
 .../src/testcases/cborattr_decode_obj_array.c   |   109 +
 .../test/src/testcases/cborattr_decode_object.c |   198 +
 .../testcases/cborattr_decode_object_array.c    |   126 +
 .../src/testcases/cborattr_decode_partial.c     |    47 +
 .../test/src/testcases/cborattr_decode_simple.c |   123 +
 .../testcases/cborattr_decode_string_array.c    |   135 +
 .../testcases/cborattr_decode_unnamed_array.c   |    99 +
 encoding/json/test/src/test_json.h              |     7 +-
 encoding/json/test/src/test_json_utils.c        |     6 +-
 .../tinycbor/include/tinycbor/cbor_buf_reader.h |     4 +-
 .../tinycbor/include/tinycbor/cbor_buf_writer.h |    12 +-
 .../include/tinycbor/cbor_mbuf_reader.h         |    14 +-
 .../include/tinycbor/cbor_mbuf_writer.h         |     9 +-
 encoding/tinycbor/pkg.yml                       |     4 +-
 encoding/tinycbor/src/cbor_buf_reader.c         |    25 +-
 encoding/tinycbor/src/cbor_buf_writer.c         |    16 +-
 encoding/tinycbor/src/cbor_mbuf_reader.c        |    55 +-
 encoding/tinycbor/src/cbor_mbuf_writer.c        |    11 +-
 encoding/tinycbor/src/cborencoder.c             |    12 +-
 .../src/cborencoder_close_container_checked.c   |    10 +-
 encoding/tinycbor/src/cborerrorstrings.c        |     2 +-
 encoding/tinycbor/src/cborparser.c              |    10 +-
 encoding/tinycbor/src/cborparser_dup_string.c   |     2 +-
 encoding/tinycbor/src/cborpretty.c              |     6 +-
 encoding/tinycbor/src/cbortojson.c              |     8 +-
 encoding/tinycbor/src/open_memstream.c          |     2 +-
 fs/disk/include/disk/disk.h                     |    56 +
 fs/disk/pkg.yml                                 |    27 +
 fs/disk/src/disk.c                              |   151 +
 fs/fatfs/include/fatfs/diskio.h                 |    80 +
 fs/fatfs/include/fatfs/ff.h                     |   366 +
 fs/fatfs/include/fatfs/ffconf.h                 |   267 +
 fs/fatfs/include/fatfs/integer.h                |    38 +
 fs/fatfs/pkg.yml                                |    40 +
 fs/fatfs/src/00history.txt                      |   279 +
 fs/fatfs/src/00readme.txt                       |    21 +
 fs/fatfs/src/ff.c                               |  6040 +++++++
 fs/fatfs/src/mynewt_glue.c                      |   580 +
 fs/fatfs/src/option/unicode.c                   |    17 +
 fs/fcb/include/fcb/fcb.h                        |     6 +-
 fs/fcb/src/fcb.c                                |    34 +-
 fs/fcb/test/src/fcb_test.c                      |     7 +-
 fs/fcb/test/src/testcases/fcb_test_init.c       |     5 +
 fs/fcb/test/src/testcases/fcb_test_last_of_n.c  |    84 +
 fs/fs/include/fs/fs.h                           |     5 +
 fs/fs/include/fs/fs_if.h                        |    37 +-
 fs/fs/pkg.yml                                   |     3 +
 fs/fs/src/fs_dirent.c                           |    29 +-
 fs/fs/src/fs_file.c                             |   180 +-
 fs/fs/src/fs_mkdir.c                            |     8 +-
 fs/fs/src/fs_mount.c                            |    75 +-
 fs/fs/src/fs_nmgr.c                             |   253 +
 fs/fs/src/fs_priv.h                             |     7 +-
 fs/fs/src/fsutil.c                              |     4 +-
 fs/fs/syscfg.yml                                |     6 +-
 fs/nffs/pkg.yml                                 |     9 +-
 fs/nffs/src/nffs.c                              |    27 +-
 fs/nffs/src/nffs_dir.c                          |     5 +
 fs/nffs/src/nffs_file.c                         |     4 +
 fs/nffs/src/nffs_misc.c                         |     4 +-
 fs/nffs/src/nffs_priv.h                         |     3 +
 fs/nffs/syscfg.yml                              |     4 +-
 fs/nffs/test/pkg.yml                            |     2 +
 fs/nffs/test/src/nffs_test_debug.c              |   274 +-
 .../ada_feather_nrf52_debug.cmd                 |     3 +
 .../ada_feather_nrf52_debug.sh                  |    46 +
 .../ada_feather_nrf52_download.cmd              |     3 +
 .../ada_feather_nrf52_download.sh               |    40 +
 .../ada_feather_nrf52_no_boot.ld                |   191 +
 hw/bsp/ada_feather_nrf52/boot-nrf52xxaa.ld      |    25 +
 hw/bsp/ada_feather_nrf52/bsp.yml                |    64 +
 hw/bsp/ada_feather_nrf52/include/bsp/bsp.h      |    64 +
 .../ada_feather_nrf52/include/bsp/cmsis_nvic.h  |    29 +
 hw/bsp/ada_feather_nrf52/nrf52xxaa.ld           |    25 +
 hw/bsp/ada_feather_nrf52/pkg.yml                |    96 +
 .../split_ada_feather_nrf52.ld                  |   208 +
 .../src/arch/cortex_m4/gcc_startup_nrf52.s      |   299 +
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |   163 +
 hw/bsp/ada_feather_nrf52/src/hal_bsp.c          |   216 +
 hw/bsp/ada_feather_nrf52/src/sbrk.c             |    59 +
 hw/bsp/ada_feather_nrf52/syscfg.yml             |   101 +
 hw/bsp/arduino_primo_nrf52/bsp.yml              |     2 +
 hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h    |     4 +-
 hw/bsp/arduino_primo_nrf52/pkg.yml              |     5 +-
 hw/bsp/arduino_primo_nrf52/primo_debug.cmd      |     3 +
 hw/bsp/arduino_primo_nrf52/primo_debug.sh       |     3 +-
 hw/bsp/arduino_primo_nrf52/primo_download.cmd   |     3 +
 hw/bsp/arduino_primo_nrf52/split-primo.ld       |     4 +-
 .../src/arch/cortex_m4/gcc_startup_nrf52.s      |    10 +
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |    15 +-
 hw/bsp/arduino_primo_nrf52/src/hal_bsp.c        |    15 +-
 hw/bsp/arduino_primo_nrf52/syscfg.yml           |    53 +-
 hw/bsp/bbc_microbit/boot-nrf51xxac.ld           |    27 +
 hw/bsp/bbc_microbit/bsp.yml                     |    64 +
 hw/bsp/bbc_microbit/include/bsp/bsp.h           |    50 +
 hw/bsp/bbc_microbit/include/bsp/cmsis_nvic.h    |    30 +
 hw/bsp/bbc_microbit/microbit_debug.cmd          |     3 +
 hw/bsp/bbc_microbit/microbit_debug.sh           |    37 +
 hw/bsp/bbc_microbit/microbit_download.cmd       |     3 +
 hw/bsp/bbc_microbit/microbit_download.sh        |    42 +
 hw/bsp/bbc_microbit/nrf51xxac.ld                |    30 +
 hw/bsp/bbc_microbit/pkg.yml                     |    88 +
 hw/bsp/bbc_microbit/split-microbit.ld           |   185 +
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |   280 +
 .../arch/cortex_m0/gcc_startup_nrf51_split.s    |   182 +
 hw/bsp/bbc_microbit/src/hal_bsp.c               |   176 +
 hw/bsp/bbc_microbit/src/sbrk.c                  |    57 +
 hw/bsp/bbc_microbit/syscfg.yml                  |    74 +
 hw/bsp/bmd200/boot-nrf51xxac.ld                 |    27 +
 hw/bsp/bmd200/bsp.yml                           |    64 +
 hw/bsp/bmd200/include/bsp/boards.h              |    19 +
 hw/bsp/bmd200/include/bsp/bsp.h                 |    53 +
 hw/bsp/bmd200/include/bsp/cmsis_nvic.h          |    30 +
 hw/bsp/bmd200/nrf51dk_debug.cmd                 |     3 +
 hw/bsp/bmd200/nrf51dk_debug.sh                  |    36 +
 hw/bsp/bmd200/nrf51dk_download.cmd              |     3 +
 hw/bsp/bmd200/nrf51dk_download.sh               |    41 +
 hw/bsp/bmd200/nrf51dk_no_boot.ld                |   179 +
 hw/bsp/bmd200/nrf51xxac.ld                      |    25 +
 hw/bsp/bmd200/pkg.yml                           |    90 +
 hw/bsp/bmd200/split-nrf51dk.ld                  |   185 +
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |   280 +
 .../arch/cortex_m0/gcc_startup_nrf51_split.s    |   182 +
 hw/bsp/bmd200/src/hal_bsp.c                     |   189 +
 hw/bsp/bmd200/src/sbrk.c                        |    59 +
 hw/bsp/bmd200/syscfg.yml                        |    96 +
 hw/bsp/bmd300eval/bmd300eval_debug.cmd          |     3 +
 hw/bsp/bmd300eval/bmd300eval_download.cmd       |     3 +
 hw/bsp/bmd300eval/bsp.yml                       |     2 +
 hw/bsp/bmd300eval/pkg.yml                       |     6 +-
 hw/bsp/bmd300eval/split-bmd300eval.ld           |     4 +-
 .../src/arch/cortex_m4/gcc_startup_nrf52.s      |    10 +
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |    15 +-
 hw/bsp/bmd300eval/src/hal_bsp.c                 |    15 +-
 hw/bsp/bmd300eval/syscfg.yml                    |    29 +-
 hw/bsp/ci40/bsp.yml                             |     4 +-
 hw/bsp/ci40/pkg.yml                             |     6 +
 hw/bsp/ci40/syscfg.yml                          |    25 +-
 hw/bsp/frdm-k64f/bsp.yml                        |     2 +
 hw/bsp/frdm-k64f/frdm-k64_debug.cmd             |     3 +
 hw/bsp/frdm-k64f/frdm-k64_debug.sh              |     1 +
 hw/bsp/frdm-k64f/frdm-k64_download.cmd          |     3 +
 hw/bsp/frdm-k64f/frdm-k64_download.sh           |     2 +-
 hw/bsp/frdm-k64f/pkg.yml                        |    19 +-
 hw/bsp/frdm-k64f/src/hal_bsp.c                  |     4 +
 hw/bsp/frdm-k64f/syscfg.yml                     |    62 +-
 hw/bsp/native/pkg.yml                           |     2 -
 hw/bsp/nrf51-arduino_101/bsp.yml                |     2 +
 .../nrf51-arduino_101/nrf51dk-16kbram_debug.cmd |     3 +
 .../nrf51dk-16kbram_download.cmd                |     3 +
 hw/bsp/nrf51-arduino_101/pkg.yml                |     3 -
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |    12 +-
 hw/bsp/nrf51-arduino_101/src/hal_bsp.c          |    13 +-
 hw/bsp/nrf51-arduino_101/syscfg.yml             |    34 +-
 hw/bsp/nrf51-blenano/bsp.yml                    |     2 +
 hw/bsp/nrf51-blenano/nrf51dk_debug.cmd          |     3 +
 hw/bsp/nrf51-blenano/nrf51dk_debug.sh           |     3 +-
 hw/bsp/nrf51-blenano/nrf51dk_download.cmd       |     3 +
 hw/bsp/nrf51-blenano/pkg.yml                    |     2 -
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |    12 +-
 .../arch/cortex_m0/gcc_startup_nrf51_split.s    |    20 +-
 hw/bsp/nrf51-blenano/src/hal_bsp.c              |    16 +-
 hw/bsp/nrf51-blenano/syscfg.yml                 |    31 +-
 hw/bsp/nrf51dk-16kbram/bsp.yml                  |     2 +
 .../nrf51dk-16kbram/nrf51dk-16kbram_debug.cmd   |     3 +
 .../nrf51dk-16kbram_download.cmd                |     3 +
 hw/bsp/nrf51dk-16kbram/pkg.yml                  |     2 -
 hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld |     2 +-
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |    14 +-
 .../arch/cortex_m0/gcc_startup_nrf51_split.s    |    19 +-
 hw/bsp/nrf51dk-16kbram/src/hal_bsp.c            |    13 +-
 hw/bsp/nrf51dk-16kbram/syscfg.yml               |    31 +-
 hw/bsp/nrf51dk/bsp.yml                          |     2 +
 hw/bsp/nrf51dk/nrf51dk_debug.cmd                |     3 +
 hw/bsp/nrf51dk/nrf51dk_download.cmd             |     3 +
 hw/bsp/nrf51dk/pkg.yml                          |     2 -
 hw/bsp/nrf51dk/split-nrf51dk.ld                 |     4 +-
 .../src/arch/cortex_m0/gcc_startup_nrf51.s      |    12 +-
 .../arch/cortex_m0/gcc_startup_nrf51_split.s    |    18 +-
 hw/bsp/nrf51dk/src/hal_bsp.c                    |    14 +-
 hw/bsp/nrf51dk/syscfg.yml                       |    31 +-
 hw/bsp/nrf52840pdk/boot-nrf52840aa.ld           |    26 +
 hw/bsp/nrf52840pdk/bsp.yml                      |    64 +
 hw/bsp/nrf52840pdk/include/bsp/boards.h         |    19 +
 hw/bsp/nrf52840pdk/include/bsp/bsp.h            |    53 +
 hw/bsp/nrf52840pdk/include/bsp/cmsis_nvic.h     |    29 +
 hw/bsp/nrf52840pdk/nrf52840aa.ld                |    26 +
 hw/bsp/nrf52840pdk/nrf52840pdk_debug.cmd        |     3 +
 hw/bsp/nrf52840pdk/nrf52840pdk_debug.sh         |    46 +
 hw/bsp/nrf52840pdk/nrf52840pdk_download.cmd     |     3 +
 hw/bsp/nrf52840pdk/nrf52840pdk_download.sh      |    40 +
 hw/bsp/nrf52840pdk/nrf52840pdk_no_boot.ld       |   191 +
 hw/bsp/nrf52840pdk/pkg.yml                      |    97 +
 hw/bsp/nrf52840pdk/split-nrf52840pdk.ld         |   204 +
 .../src/arch/cortex_m4/gcc_startup_nrf52840.s   |   322 +
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |   164 +
 hw/bsp/nrf52840pdk/src/hal_bsp.c                |   209 +
 hw/bsp/nrf52840pdk/src/sbrk.c                   |    59 +
 hw/bsp/nrf52840pdk/syscfg.yml                   |    97 +
 hw/bsp/nrf52dk/bsp.yml                          |     2 +
 hw/bsp/nrf52dk/include/bsp/bsp.h                |    11 +
 hw/bsp/nrf52dk/nrf52dk_debug.cmd                |     3 +
 hw/bsp/nrf52dk/nrf52dk_download.cmd             |     3 +
 hw/bsp/nrf52dk/pkg.yml                          |     5 +-
 hw/bsp/nrf52dk/split-nrf52dk.ld                 |     4 +-
 .../src/arch/cortex_m4/gcc_startup_nrf52.s      |    12 +-
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |    15 +-
 hw/bsp/nrf52dk/src/hal_bsp.c                    |    23 +-
 hw/bsp/nrf52dk/syscfg.yml                       |    44 +-
 hw/bsp/nucleo-f401re/bsp.yml                    |     2 +
 hw/bsp/nucleo-f401re/nucleo-f401re_debug.cmd    |     3 +
 hw/bsp/nucleo-f401re/nucleo-f401re_debug.sh     |     2 +-
 hw/bsp/nucleo-f401re/nucleo-f401re_download.cmd |     3 +
 hw/bsp/nucleo-f401re/pkg.yml                    |     3 +
 .../src/arch/cortex_m4/startup_STM32F40x.s      |    10 +
 hw/bsp/nucleo-f401re/src/hal_bsp.c              |     4 +
 hw/bsp/nucleo-f401re/syscfg.yml                 |    18 +-
 hw/bsp/olimex_stm32-e407_devboard/bsp.yml       |     2 +
 .../olimex_stm32-e407_devboard_debug.cmd        |     3 +
 .../olimex_stm32-e407_devboard_debug.sh         |     2 +-
 .../olimex_stm32-e407_devboard_download.cmd     |     3 +
 hw/bsp/olimex_stm32-e407_devboard/pkg.yml       |     5 +-
 .../run_from_flash.ld                           |   204 -
 .../run_from_loader.ld                          |   210 -
 .../olimex_stm32-e407_devboard/run_from_sram.ld |   202 -
 .../src/arch/cortex_m4/startup_STM32F40x.s      |    10 +
 hw/bsp/olimex_stm32-e407_devboard/src/hal_bsp.c |    48 +-
 hw/bsp/olimex_stm32-e407_devboard/syscfg.yml    |    25 +-
 hw/bsp/rb-nano2/bsp.yml                         |     2 +
 hw/bsp/rb-nano2/pkg.yml                         |     5 +-
 hw/bsp/rb-nano2/rb-nano2_debug.cmd              |     3 +
 hw/bsp/rb-nano2/rb-nano2_debug.sh               |     3 +-
 hw/bsp/rb-nano2/rb-nano2_download.cmd           |     3 +
 hw/bsp/rb-nano2/split-rb-nano2.ld               |     4 +-
 .../src/arch/cortex_m4/gcc_startup_nrf52.s      |    10 +
 .../arch/cortex_m4/gcc_startup_nrf52_split.s    |    16 +-
 hw/bsp/rb-nano2/src/hal_bsp.c                   |    21 +-
 hw/bsp/rb-nano2/syscfg.yml                      |    35 +-
 hw/bsp/stm32f4discovery/bsp.yml                 |     2 +
 hw/bsp/stm32f4discovery/pkg.yml                 |     3 +
 hw/bsp/stm32f4discovery/run_from_flash.ld       |   204 -
 hw/bsp/stm32f4discovery/run_from_loader.ld      |   210 -
 hw/bsp/stm32f4discovery/run_from_sram.ld        |   202 -
 .../src/arch/cortex_m4/startup_STM32F40x.s      |    10 +
 hw/bsp/stm32f4discovery/src/hal_bsp.c           |     4 +
 .../stm32f4discovery/stm32f4discovery_debug.cmd |     3 +
 .../stm32f4discovery/stm32f4discovery_debug.sh  |     3 +-
 .../stm32f4discovery_download.cmd               |     3 +
 hw/bsp/stm32f4discovery/syscfg.yml              |     5 +-
 hw/bsp/usbmkw41z/boot-mkw41z512.ld              |   197 +
 hw/bsp/usbmkw41z/bsp.yml                        |    62 +
 hw/bsp/usbmkw41z/include/bsp/bsp.h              |    47 +
 hw/bsp/usbmkw41z/include/bsp/cmsis_nvic.h       |    42 +
 hw/bsp/usbmkw41z/mkw41z512.ld                   |   186 +
 hw/bsp/usbmkw41z/no-boot-mkw41z512.ld           |   197 +
 hw/bsp/usbmkw41z/pkg.yml                        |    35 +
 .../src/arch/cortex_m0/gcc_startup_mkw41z.s     |   240 +
 hw/bsp/usbmkw41z/src/hal_bsp.c                  |    88 +
 hw/bsp/usbmkw41z/src/sbrk.c                     |    59 +
 hw/bsp/usbmkw41z/syscfg.yml                     |    31 +
 hw/bsp/usbmkw41z/usbkw41z_debug.cmd             |     3 +
 hw/bsp/usbmkw41z/usbkw41z_debug.sh              |    36 +
 hw/bsp/usbmkw41z/usbkw41z_download.cmd          |     3 +
 hw/bsp/usbmkw41z/usbkw41z_download.sh           |    41 +
 hw/drivers/flash/at45db/pkg.yml                 |    27 +
 hw/drivers/flash/at45db/src/at45db.c            |   452 +
 hw/drivers/lwip/stm32f4_eth/src/stm32f4_eth.c   |    16 +-
 hw/drivers/mmc/include/mmc/mmc.h                |    97 +
 hw/drivers/mmc/pkg.yml                          |    27 +
 hw/drivers/mmc/src/mmc.c                        |   602 +
 hw/drivers/nimble/nrf51/src/ble_hw.c            |    12 +-
 hw/drivers/nimble/nrf51/src/ble_phy.c           |     8 +-
 hw/drivers/nimble/nrf52/src/ble_hw.c            |    12 +-
 hw/drivers/nimble/nrf52/src/ble_phy.c           |    10 +-
 .../sensors/bno055/include/bno055/bno055.h      |   410 +
 hw/drivers/sensors/bno055/pkg.yml               |    32 +
 hw/drivers/sensors/bno055/src/bno055.c          |  1495 ++
 hw/drivers/sensors/bno055/src/bno055_priv.h     |   223 +
 hw/drivers/sensors/bno055/src/bno055_shell.c    |   520 +
 hw/drivers/sensors/bno055/syscfg.yml            |    35 +
 .../lsm303dlhc/include/lsm303dlhc/lsm303dlhc.h  |    92 +
 hw/drivers/sensors/lsm303dlhc/pkg.yml           |    24 +
 hw/drivers/sensors/lsm303dlhc/src/lsm303dlhc.c  |   543 +
 .../sensors/lsm303dlhc/src/lsm303dlhc_priv.h    |    89 +
 hw/drivers/sensors/lsm303dlhc/syscfg.yml        |    32 +
 hw/drivers/sensors/sim/include/sim/sim_accel.h  |    50 +
 hw/drivers/sensors/sim/include/sim/sim_mag.h    |    50 +
 hw/drivers/sensors/sim/pkg.yml                  |    25 +
 hw/drivers/sensors/sim/src/generic_accel.c      |   178 +
 hw/drivers/sensors/sim/src/generic_mag.c        |   177 +
 .../sensors/tsl2561/include/tsl2561/tsl2561.h   |   201 +
 hw/drivers/sensors/tsl2561/pkg.yml              |    35 +
 hw/drivers/sensors/tsl2561/src/tsl2561.c        |   724 +
 hw/drivers/sensors/tsl2561/src/tsl2561_priv.h   |   146 +
 hw/drivers/sensors/tsl2561/src/tsl2561_shell.c  |   434 +
 hw/drivers/sensors/tsl2561/syscfg.yml           |    38 +
 hw/drivers/uart/uart_hal/src/uart_hal.c         |     2 +-
 hw/hal/include/hal/hal_flash.h                  |     2 +-
 hw/hal/include/hal/hal_flash_int.h              |    18 +-
 hw/hal/include/hal/hal_system.h                 |    19 +-
 hw/hal/src/hal_flash.c                          |    20 +-
 hw/mcu/mips/danube/syscfg.yml                   |    26 +
 hw/mcu/native/pkg.yml                           |     2 +-
 hw/mcu/native/src/hal_flash.c                   |    31 +-
 hw/mcu/native/src/hal_system.c                  |    24 +-
 hw/mcu/native/src/hal_uart.c                    |     2 +-
 hw/mcu/native/syscfg.yml                        |    26 +
 hw/mcu/nordic/nrf51xxx/nrf51.ld                 |     4 +-
 hw/mcu/nordic/nrf51xxx/src/hal_flash.c          |    28 +-
 hw/mcu/nordic/nrf51xxx/src/hal_i2c.c            |     4 +-
 hw/mcu/nordic/nrf51xxx/src/hal_os_tick.c        |    84 +-
 hw/mcu/nordic/nrf51xxx/src/hal_system.c         |    63 +
 hw/mcu/nordic/nrf51xxx/src/hal_system_start.c   |    27 +
 hw/mcu/nordic/nrf51xxx/src/hal_timer.c          |   239 +-
 hw/mcu/nordic/nrf51xxx/syscfg.yml               |    26 +
 hw/mcu/nordic/nrf52xxx/include/mcu/cortex_m4.h  |     5 +
 hw/mcu/nordic/nrf52xxx/include/mcu/mcu.h        |     6 +-
 hw/mcu/nordic/nrf52xxx/nrf52.ld                 |     4 +-
 hw/mcu/nordic/nrf52xxx/src/hal_flash.c          |    30 +-
 hw/mcu/nordic/nrf52xxx/src/hal_gpio.c           |    62 +-
 hw/mcu/nordic/nrf52xxx/src/hal_i2c.c            |     6 +-
 hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c        |     2 +-
 hw/mcu/nordic/nrf52xxx/src/hal_spi.c            |     2 +-
 hw/mcu/nordic/nrf52xxx/src/hal_system_start.c   |    29 +-
 hw/mcu/nordic/nrf52xxx/src/hal_timer.c          |   287 +-
 hw/mcu/nordic/nrf52xxx/src/hal_watchdog.c       |     3 +-
 hw/mcu/nordic/nrf52xxx/src/nrf52_hw_id.c        |     4 +-
 hw/mcu/nordic/nrf52xxx/src/system_nrf52.c       |   175 +-
 hw/mcu/nordic/nrf52xxx/syscfg.yml               |    26 +
 .../components/device/nrf.h                     |    25 +-
 .../components/device/nrf51_to_nrf52840.h       |   567 +
 .../components/device/nrf52840.h                |  2417 +++
 .../components/device/nrf52840_bitfields.h      | 14633 +++++++++++++++++
 .../components/device/nrf52840_peripherals.h    |   240 +
 .../components/device/nrf52_to_nrf52840.h       |    88 +
 .../components/toolchain/system_nrf52840.c      |   209 +
 .../components/toolchain/system_nrf52840.h      |    69 +
 hw/mcu/nxp/MK64F12/src/hal_flash.c              |    85 +-
 hw/mcu/nxp/MK64F12/src/hal_uart.c               |   144 +-
 hw/mcu/nxp/MK64F12/syscfg.yml                   |    26 +
 hw/mcu/nxp/mkw41z/include/mcu/MKW41Z4.h         | 12979 +++++++++++++++
 .../nxp/mkw41z/include/mcu/MKW41Z4_features.h   |  1719 ++
 hw/mcu/nxp/mkw41z/include/mcu/cortex_m0.h       |    41 +
 .../mkw41z/include/mcu/fsl_device_registers.h   |    56 +
 hw/mcu/nxp/mkw41z/include/mcu/mcu.h             |    38 +
 hw/mcu/nxp/mkw41z/include/mcu/mkw41z_hal.h      |    46 +
 hw/mcu/nxp/mkw41z/include/mcu/system_MKW41Z4.h  |   133 +
 hw/mcu/nxp/mkw41z/pkg.yml                       |    31 +
 hw/mcu/nxp/mkw41z/src/hal_gpio.c                |   161 +
 hw/mcu/nxp/mkw41z/src/hal_os_tick.c             |   104 +
 hw/mcu/nxp/mkw41z/src/hal_system.c              |    37 +
 hw/mcu/nxp/mkw41z/src/hal_watchdog.c            |    41 +
 hw/mcu/nxp/mkw41z/src/system_MKW41Z4.c          |   179 +
 .../STM32F410Rx_User_Manual.chm                 |   Bin 7230602 -> 0 bytes
 .../STM32F411xE_User_Manual.chm                 |   Bin 7087370 -> 0 bytes
 .../STM32F412Zx_User_Manual.chm                 |   Bin 8611134 -> 0 bytes
 .../STM32F417xx_User_Manual.chm                 |   Bin 8705036 -> 0 bytes
 .../STM32F439xx_User_Manual.chm                 |   Bin 9575430 -> 0 bytes
 .../STM32F446xx_User_Manual.chm                 |   Bin 8999608 -> 0 bytes
 .../STM32F479xx_User_Manual.chm                 |   Bin 10186550 -> 0 bytes
 hw/mcu/stm/stm32f4xx/src/hal_flash.c            |    30 +-
 hw/mcu/stm/stm32f4xx/src/hal_gpio.c             |    33 +-
 hw/mcu/stm/stm32f4xx/stm32f401.ld               |     8 +-
 hw/mcu/stm/stm32f4xx/stm32f407.ld               |     8 +-
 hw/mcu/stm/stm32f4xx/syscfg.yml                 |    26 +
 hw/scripts/jlink.sh                             |    15 +-
 hw/scripts/openocd.sh                           |     2 +-
 hw/sensor/include/sensor/accel.h                |    49 +
 hw/sensor/include/sensor/euler.h                |    50 +
 hw/sensor/include/sensor/light.h                |    49 +
 hw/sensor/include/sensor/mag.h                  |    49 +
 hw/sensor/include/sensor/quat.h                 |    50 +
 hw/sensor/include/sensor/sensor.h               |   349 +
 hw/sensor/pkg.yml                               |    28 +
 hw/sensor/src/sensor.c                          |   573 +
 hw/sensor/src/sensor_priv.h                     |    29 +
 hw/sensor/src/sensor_shell.c                    |   355 +
 hw/sensor/syscfg.yml                            |    28 +
 kernel/os/include/os/endian.h                   |   159 +-
 kernel/os/include/os/os.h                       |     5 +-
 kernel/os/include/os/os_dev.h                   |     1 +
 kernel/os/include/os/os_eventq.h                |     6 +-
 kernel/os/include/os/os_fault.h                 |    34 +
 kernel/os/include/os/os_mbuf.h                  |     3 +-
 kernel/os/include/os/os_mempool.h               |     2 +
 kernel/os/include/os/os_sched.h                 |     2 +-
 kernel/os/include/os/os_task.h                  |     5 +-
 kernel/os/pkg.yml                               |     4 +-
 kernel/os/src/arch/cortex_m0/os_fault.c         |     5 +-
 kernel/os/src/arch/cortex_m4/m4/HAL_CM4.s       |    18 +-
 kernel/os/src/arch/cortex_m4/os_arch_arm.c      |    13 +
 kernel/os/src/arch/cortex_m4/os_fault.c         |    31 +-
 kernel/os/src/arch/mips/os_fault.c              |     5 +-
 kernel/os/src/arch/sim-mips/os_fault.c          |     9 +-
 kernel/os/src/arch/sim/os_fault.c               |     9 +-
 kernel/os/src/endian.c                          |   218 +
 kernel/os/src/os.c                              |    43 +-
 kernel/os/src/os_dev.c                          |    51 +-
 kernel/os/src/os_eventq.c                       |    81 +-
 kernel/os/src/os_heap.c                         |     8 +-
 kernel/os/src/os_mbuf.c                         |    82 +-
 kernel/os/src/os_mempool.c                      |    13 +
 kernel/os/src/os_msys_init.c                    |     1 +
 kernel/os/src/os_sched.c                        |    24 +-
 kernel/os/src/os_task.c                         |    19 +-
 kernel/os/src/os_time.c                         |     9 +
 kernel/os/syscfg.yml                            |    33 +-
 kernel/os/test/src/callout_test.c               |    14 +-
 kernel/os/test/src/callout_test.h               |    16 +-
 kernel/os/test/src/eventq_test.c                |     9 -
 kernel/os/test/src/eventq_test.h                |    28 +-
 kernel/os/test/src/mempool_test.c               |     1 +
 kernel/os/test/src/mutex_test.c                 |    52 +-
 kernel/os/test/src/os_test.c                    |    37 +-
 kernel/os/test/src/os_test_priv.h               |    20 +-
 kernel/os/test/src/sem_test.c                   |   118 +-
 .../test/src/testcases/event_test_poll_0timo.c  |     2 +-
 .../src/testcases/event_test_poll_single_sr.c   |    12 +-
 .../os/test/src/testcases/event_test_poll_sr.c  |    10 -
 .../src/testcases/event_test_poll_timeout_sr.c  |    14 +-
 kernel/os/test/src/testcases/event_test_src.c   |    12 +-
 kernel/os/test/src/testcases/os_callout_test.c  |    15 +-
 .../test/src/testcases/os_callout_test_speak.c  |    15 +-
 .../test/src/testcases/os_callout_test_stop.c   |    19 +-
 .../os/test/src/testcases/os_mutex_test_basic.c |     7 +-
 .../test/src/testcases/os_mutex_test_case_1.c   |    14 +-
 .../test/src/testcases/os_mutex_test_case_2.c   |    24 +-
 .../os/test/src/testcases/os_sem_test_basic.c   |     7 +-
 .../os/test/src/testcases/os_sem_test_case_1.c  |    13 +-
 .../os/test/src/testcases/os_sem_test_case_2.c  |    16 +-
 .../os/test/src/testcases/os_sem_test_case_3.c  |    16 +-
 .../os/test/src/testcases/os_sem_test_case_4.c  |    16 +-
 libc/baselibc/include/assert.h                  |     2 +-
 libc/baselibc/pkg.yml                           |     3 +-
 libc/baselibc/src/start.c                       |    45 +
 mgmt/imgmgr/include/imgmgr/imgmgr.h             |    18 +-
 mgmt/imgmgr/pkg.yml                             |     4 +-
 mgmt/imgmgr/src/imgmgr.c                        |    58 +-
 mgmt/imgmgr/src/imgmgr_cli.c                    |   121 +-
 mgmt/imgmgr/src/imgmgr_coredump.c               |    70 +-
 mgmt/imgmgr/src/imgmgr_fs.c                     |   233 -
 mgmt/imgmgr/src/imgmgr_priv.h                   |     9 -
 mgmt/imgmgr/src/imgmgr_state.c                  |    90 +-
 mgmt/imgmgr/syscfg.yml                          |     7 +-
 mgmt/mgmt/include/mgmt/mgmt.h                   |    27 +-
 mgmt/mgmt/src/mgmt.c                            |    22 +-
 mgmt/newtmgr/include/newtmgr/newtmgr.h          |    28 +-
 mgmt/newtmgr/nmgr_os/pkg.yml                    |     5 +-
 mgmt/newtmgr/nmgr_os/src/newtmgr_os.c           |   144 +-
 mgmt/newtmgr/nmgr_os/syscfg.yml                 |    23 +
 mgmt/newtmgr/pkg.yml                            |     5 +-
 mgmt/newtmgr/src/newtmgr.c                      |   197 +-
 mgmt/newtmgr/syscfg.yml                         |    24 -
 mgmt/newtmgr/transport/ble/pkg.yml              |     4 +-
 mgmt/newtmgr/transport/ble/src/newtmgr_ble.c    |    22 +-
 mgmt/newtmgr/transport/nmgr_shell/pkg.yml       |     4 +-
 .../transport/nmgr_shell/src/nmgr_shell.c       |     5 +
 mgmt/newtmgr/transport/nmgr_uart/pkg.yml        |     5 +-
 .../newtmgr/transport/nmgr_uart/src/nmgr_uart.c |    48 +-
 mgmt/newtmgr/transport/nmgr_uart/syscfg.yml     |     2 +-
 mgmt/oicmgr/pkg.yml                             |     9 +-
 mgmt/oicmgr/src/oicmgr.c                        |   274 +-
 net/ip/mn_socket/include/mn_socket/mn_socket.h  |     2 +-
 net/ip/mn_socket/test/src/mn_sock_util.c        |     1 +
 .../mn_socket/test/src/testcases/socket_tests.c |     1 +
 net/ip/native_sockets/pkg.yml                   |     4 +-
 net/ip/native_sockets/src/native_sock.c         |     4 +
 .../controller/include/controller/ble_ll_adv.h  |    46 +-
 .../controller/include/controller/ble_ll_conn.h |     7 +-
 .../controller/include/controller/ble_ll_hci.h  |     4 +-
 .../include/controller/ble_ll_sched.h           |    25 +-
 net/nimble/controller/pkg.yml                   |     6 +-
 net/nimble/controller/src/ble_ll.c              |    23 +-
 net/nimble/controller/src/ble_ll_adv.c          |   506 +-
 net/nimble/controller/src/ble_ll_conn.c         |   171 +-
 net/nimble/controller/src/ble_ll_conn_hci.c     |   125 +-
 net/nimble/controller/src/ble_ll_conn_priv.h    |    10 +-
 net/nimble/controller/src/ble_ll_ctrl.c         |   116 +-
 net/nimble/controller/src/ble_ll_hci.c          |   153 +-
 net/nimble/controller/src/ble_ll_hci_ev.c       |    44 +-
 net/nimble/controller/src/ble_ll_resolv.c       |    21 +-
 net/nimble/controller/src/ble_ll_scan.c         |     8 +-
 net/nimble/controller/src/ble_ll_sched.c        |   186 +-
 net/nimble/controller/syscfg.yml                |    46 +-
 net/nimble/host/include/host/ble_gap.h          |    64 +-
 net/nimble/host/include/host/ble_gatt.h         |    53 +-
 net/nimble/host/include/host/ble_hs.h           |     5 +-
 net/nimble/host/include/host/ble_hs_adv.h       |    64 +-
 net/nimble/host/include/host/ble_hs_id.h        |     3 +-
 net/nimble/host/include/host/ble_l2cap.h        |   115 +
 net/nimble/host/include/host/ble_sm.h           |     1 +
 net/nimble/host/include/host/ble_store.h        |    26 +-
 net/nimble/host/include/host/ble_uuid.h         |    92 +-
 net/nimble/host/pkg.yml                         |    13 +-
 net/nimble/host/profiles/lls/src/ble_svc_lls.c  |     4 +-
 net/nimble/host/pts/README.txt                  |     8 +
 net/nimble/host/pts/pts-gap.txt                 |   370 +
 net/nimble/host/pts/pts-gatt.txt                |   530 +
 net/nimble/host/pts/pts-l2cap.txt               |   223 +
 net/nimble/host/pts/pts-sm.txt                  |   149 +
 .../host/pts/tpg/90359-20161220-172100175.tpg   |  1022 ++
 .../host/pts/tpg/90359-20161220-172113981.pts   |   288 +
 net/nimble/host/services/ans/pkg.yml            |     4 +-
 net/nimble/host/services/ans/src/ble_svc_ans.c  |    17 +-
 .../services/bleuart/include/bleuart/bleuart.h  |     2 +-
 net/nimble/host/services/bleuart/pkg.yml        |     4 +-
 net/nimble/host/services/bleuart/src/bleuart.c  |    31 +-
 net/nimble/host/services/bleuart/syscfg.yml     |     4 +-
 net/nimble/host/services/gap/pkg.yml            |     4 +-
 net/nimble/host/services/gap/src/ble_svc_gap.c  |    19 +-
 .../gatt/include/services/gatt/ble_svc_gatt.h   |     3 +
 net/nimble/host/services/gatt/pkg.yml           |     4 +-
 .../host/services/gatt/src/ble_svc_gatt.c       |    39 +-
 net/nimble/host/services/ias/pkg.yml            |     4 +-
 net/nimble/host/services/ias/src/ble_svc_ias.c  |     7 +-
 net/nimble/host/services/lls/src/ble_svc_lls.c  |     4 +-
 net/nimble/host/services/tps/pkg.yml            |     4 +-
 net/nimble/host/services/tps/src/ble_svc_tps.c  |     7 +-
 net/nimble/host/src/ble_att.c                   |    57 +-
 net/nimble/host/src/ble_att_clt.c               |    35 +-
 net/nimble/host/src/ble_att_cmd_priv.h          |     4 +-
 net/nimble/host/src/ble_att_priv.h              |    27 +-
 net/nimble/host/src/ble_att_svr.c               |   601 +-
 net/nimble/host/src/ble_eddystone.c             |    33 +-
 net/nimble/host/src/ble_gap.c                   |   565 +-
 net/nimble/host/src/ble_gap_priv.h              |     9 +-
 net/nimble/host/src/ble_gattc.c                 |   401 +-
 net/nimble/host/src/ble_gatts.c                 |   212 +-
 net/nimble/host/src/ble_hs.c                    |    25 +-
 net/nimble/host/src/ble_hs_adv.c                |   272 +-
 net/nimble/host/src/ble_hs_adv_priv.h           |     6 +-
 net/nimble/host/src/ble_hs_conn.c               |   190 +-
 net/nimble/host/src/ble_hs_conn_priv.h          |    33 +-
 net/nimble/host/src/ble_hs_dbg.c                |    72 +-
 net/nimble/host/src/ble_hs_hci.c                |    75 +-
 net/nimble/host/src/ble_hs_hci_cmd.c            |   124 +-
 net/nimble/host/src/ble_hs_hci_evt.c            |    71 +-
 net/nimble/host/src/ble_hs_hci_priv.h           |     4 +-
 net/nimble/host/src/ble_hs_hci_util.c           |     8 +-
 net/nimble/host/src/ble_hs_id.c                 |    38 +-
 net/nimble/host/src/ble_hs_misc.c               |    20 +-
 net/nimble/host/src/ble_hs_priv.h               |     9 +
 net/nimble/host/src/ble_hs_pvcy.c               |     6 +-
 net/nimble/host/src/ble_hs_startup.c            |     2 +-
 net/nimble/host/src/ble_ibeacon.c               |     4 +-
 net/nimble/host/src/ble_l2cap.c                 |   184 +-
 net/nimble/host/src/ble_l2cap_coc.c             |   510 +
 net/nimble/host/src/ble_l2cap_coc_priv.h        |    83 +
 net/nimble/host/src/ble_l2cap_priv.h            |    46 +-
 net/nimble/host/src/ble_l2cap_sig.c             |   777 +-
 net/nimble/host/src/ble_l2cap_sig_cmd.c         |   199 +-
 net/nimble/host/src/ble_l2cap_sig_priv.h        |    64 +-
 net/nimble/host/src/ble_sm.c                    |   629 +-
 net/nimble/host/src/ble_sm_alg.c                |    34 +-
 net/nimble/host/src/ble_sm_cmd.c                |   666 +-
 net/nimble/host/src/ble_sm_lgcy.c               |   103 +-
 net/nimble/host/src/ble_sm_priv.h               |   137 +-
 net/nimble/host/src/ble_sm_sc.c                 |   196 +-
 net/nimble/host/src/ble_store.c                 |    94 +-
 net/nimble/host/src/ble_uuid.c                  |   243 +-
 net/nimble/host/src/ble_uuid_priv.h             |     9 +-
 .../store/ram/include/store/ram/ble_store_ram.h |     1 +
 net/nimble/host/store/ram/pkg.yml               |     4 +-
 net/nimble/host/store/ram/src/ble_store_ram.c   |   140 +-
 net/nimble/host/syscfg.yml                      |   222 +-
 net/nimble/host/test/pkg.yml                    |     3 +
 net/nimble/host/test/src/ble_att_clt_test.c     |    34 +-
 net/nimble/host/test/src/ble_att_svr_test.c     |  1254 +-
 net/nimble/host/test/src/ble_gap_test.c         |   640 +-
 net/nimble/host/test/src/ble_gatt_conn_test.c   |   199 +-
 net/nimble/host/test/src/ble_gatt_disc_c_test.c |   154 +-
 net/nimble/host/test/src/ble_gatt_disc_d_test.c |    76 +-
 net/nimble/host/test/src/ble_gatt_disc_s_test.c |   131 +-
 net/nimble/host/test/src/ble_gatt_find_s_test.c |    64 +-
 net/nimble/host/test/src/ble_gatt_read_test.c   |    28 +-
 net/nimble/host/test/src/ble_gatt_write_test.c  |    13 +-
 .../host/test/src/ble_gatts_notify_test.c       |    40 +-
 net/nimble/host/test/src/ble_gatts_read_test.c  |     8 +-
 net/nimble/host/test/src/ble_gatts_reg_test.c   |   190 +-
 net/nimble/host/test/src/ble_hs_adv_test.c      |   640 +-
 net/nimble/host/test/src/ble_hs_conn_test.c     |    55 +-
 net/nimble/host/test/src/ble_hs_hci_test.c      |     4 +-
 net/nimble/host/test/src/ble_hs_test_util.c     |   808 +-
 net/nimble/host/test/src/ble_hs_test_util.h     |    95 +-
 .../host/test/src/ble_hs_test_util_store.c      |   248 -
 .../host/test/src/ble_hs_test_util_store.h      |    44 -
 net/nimble/host/test/src/ble_l2cap_test.c       |   134 +-
 net/nimble/host/test/src/ble_os_test.c          |    29 +-
 net/nimble/host/test/src/ble_sm_lgcy_test.c     |    28 +-
 net/nimble/host/test/src/ble_sm_sc_test.c       |    52 +-
 net/nimble/host/test/src/ble_sm_test.c          |   268 +-
 net/nimble/host/test/src/ble_sm_test_util.c     |   454 +-
 net/nimble/host/test/src/ble_uuid_test.c        |    93 +-
 net/nimble/include/nimble/ble.h                 |    72 +-
 net/nimble/include/nimble/hci_common.h          |     1 +
 net/nimble/include/nimble/hci_vendor.h          |   112 +
 net/nimble/include/nimble/nimble_opt_auto.h     |    13 +-
 net/nimble/src/util.c                           |   219 -
 net/nimble/syscfg.yml                           |    22 +-
 net/nimble/transport/ram/pkg.yml                |     4 +-
 net/nimble/transport/ram/src/ble_hci_ram.c      |     3 +
 net/nimble/transport/uart/pkg.yml               |     4 +-
 net/nimble/transport/uart/src/ble_hci_uart.c    |    14 +-
 net/nimble/transport/uart/syscfg.yml            |    18 +-
 net/oic/include/oic/oc_api.h                    |    35 +-
 net/oic/include/oic/oc_buffer.h                 |    36 -
 net/oic/include/oic/oc_client_state.h           |    29 +-
 net/oic/include/oic/oc_gatt.h                   |    10 +-
 net/oic/include/oic/oc_helpers.h                |    91 +-
 net/oic/include/oic/oc_log.h                    |    97 +
 net/oic/include/oic/oc_network_events.h         |    32 -
 net/oic/include/oic/oc_rep.h                    |    10 +-
 net/oic/include/oic/oc_ri.h                     |    33 +-
 net/oic/pkg.yml                                 |    16 +-
 net/oic/src/api/oc_buffer.c                     |   203 +-
 net/oic/src/api/oc_buffer.h                     |    35 +
 net/oic/src/api/oc_client_api.c                 |   394 +-
 net/oic/src/api/oc_core_res.c                   |   394 +-
 net/oic/src/api/oc_discovery.c                  |   117 +-
 net/oic/src/api/oc_helpers.c                    |   180 +-
 net/oic/src/api/oc_main.c                       |    81 +-
 net/oic/src/api/oc_network_events.c             |    57 -
 net/oic/src/api/oc_rep.c                        |    43 +-
 net/oic/src/api/oc_ri.c                         |   491 +-
 net/oic/src/api/oc_server_api.c                 |    86 +-
 net/oic/src/messaging/coap/coap.c               |  1925 ++-
 net/oic/src/messaging/coap/coap.h               |   415 +-
 net/oic/src/messaging/coap/constants.h          |    89 +-
 net/oic/src/messaging/coap/engine.c             |   406 +-
 net/oic/src/messaging/coap/engine.h             |     2 +-
 net/oic/src/messaging/coap/observe.c            |   163 +-
 net/oic/src/messaging/coap/observe.h            |    11 +-
 net/oic/src/messaging/coap/oc_coap.h            |    22 +-
 net/oic/src/messaging/coap/separate.c           |    41 +-
 net/oic/src/messaging/coap/separate.h           |    32 +-
 net/oic/src/messaging/coap/transactions.c       |   144 +-
 net/oic/src/messaging/coap/transactions.h       |    17 +-
 net/oic/src/port/mynewt/adaptor.c               |   122 +-
 net/oic/src/port/mynewt/adaptor.h               |    27 +-
 net/oic/src/port/mynewt/ble_adaptor.c           |   418 +-
 net/oic/src/port/mynewt/config.h                |     5 -
 net/oic/src/port/mynewt/ip4_adaptor.c           |   354 +
 net/oic/src/port/mynewt/ip_adaptor.c            |   308 +-
 net/oic/src/port/mynewt/log.c                   |   104 +-
 net/oic/src/port/mynewt/random.c                |     9 +-
 net/oic/src/port/mynewt/serial_adaptor.c        |   124 +-
 net/oic/src/port/oc_assert.h                    |    24 +-
 net/oic/src/port/oc_connectivity.h              |   112 +-
 net/oic/src/port/oc_log.h                       |    82 -
 net/oic/src/port/oc_network_events_mutex.h      |    34 -
 net/oic/src/util/oc_list.c                      |   317 -
 net/oic/src/util/oc_list.h                      |   152 -
 net/oic/src/util/oc_mmem.c                      |   154 -
 net/oic/src/util/oc_mmem.h                      |    61 -
 net/oic/syscfg.yml                              |    14 +-
 net/oic/test/pkg.yml                            |    34 +
 net/oic/test/src/test_discovery.c               |   153 +
 net/oic/test/src/test_getset.c                  |   127 +
 net/oic/test/src/test_oic.c                     |    46 +
 net/oic/test/src/test_oic.h                     |    51 +
 net/oic/test/src/testcases/oic_tests.c          |   115 +
 net/oic/test/syscfg.yml                         |    26 +
 net/wifi/wifi_mgmt/syscfg.yml                   |     2 +-
 sys/config/pkg.yml                              |     4 +-
 sys/config/src/config_fcb.c                     |     2 -
 sys/config/src/config_init.c                    |     3 +
 sys/config/src/config_nmgr.c                    |     8 +-
 sys/config/syscfg.yml                           |    20 +-
 .../src/testcases/config_test_compress_reset.c  |     2 +
 .../src/testcases/config_test_empty_fcb.c       |     1 +
 .../src/testcases/config_test_save_1_fcb.c      |     1 +
 .../src/testcases/config_test_save_2_fcb.c      |     1 +
 .../src/testcases/config_test_save_3_fcb.c      |     1 +
 .../src/testcases/config_test_save_one_fcb.c    |     1 +
 sys/config/test-nffs/pkg.yml                    |     2 +
 sys/console/full/include/console/prompt.h       |     2 +
 sys/console/full/include/console/ticks.h        |    41 +
 sys/console/full/pkg.yml                        |     4 +-
 sys/console/full/src/cons_fmt.c                 |    23 +-
 sys/console/full/src/cons_tty.c                 |     3 +
 sys/console/full/src/prompt.c                   |     6 +
 sys/console/full/src/ticks.c                    |    46 +
 sys/console/full/syscfg.yml                     |     4 +-
 sys/console/minimal/include/console/console.h   |    62 +
 sys/console/minimal/include/console/prompt.h    |    55 +
 sys/console/minimal/include/console/ticks.h     |    51 +
 sys/console/minimal/pkg.yml                     |    33 +
 sys/console/minimal/src/cons_tty.c              |   253 +
 sys/console/minimal/syscfg.yml                  |    33 +
 sys/console/stub/include/console/prompt.h       |    21 +-
 sys/console/stub/include/console/ticks.h        |    51 +
 sys/flash_map/pkg.yml                           |     5 +-
 sys/flash_map/src/flash_map.c                   |     5 +-
 sys/flash_map/syscfg.yml                        |     2 +-
 .../test/src/testcases/flash_map_test_case_1.c  |     4 -
 .../test/src/testcases/flash_map_test_case_2.c  |     4 -
 sys/id/pkg.yml                                  |     4 +-
 sys/id/src/id.c                                 |     3 +
 sys/log/full/include/log/ignore.h               |    64 +
 sys/log/full/include/log/log.h                  |   246 +
 sys/log/full/pkg.yml                            |    44 +
 sys/log/full/src/log.c                          |   322 +
 sys/log/full/src/log_cbmem.c                    |   131 +
 sys/log/full/src/log_console.c                  |    82 +
 sys/log/full/src/log_fcb.c                      |   284 +
 sys/log/full/src/log_nmgr.c                     |   514 +
 sys/log/full/src/log_shell.c                    |   108 +
 sys/log/full/syscfg.yml                         |    41 +
 sys/log/full/test/pkg.yml                       |    30 +
 sys/log/full/test/src/log_test.c                |   111 +
 sys/log/full/test/src/log_test.h                |    56 +
 .../full/test/src/testcases/log_append_fcb.c    |    33 +
 sys/log/full/test/src/testcases/log_flush_fcb.c |    31 +
 sys/log/full/test/src/testcases/log_setup_fcb.c |    39 +
 sys/log/full/test/src/testcases/log_walk_fcb.c  |    30 +
 sys/log/full/test/syscfg.yml                    |    22 +
 sys/log/include/log/ignore.h                    |    64 -
 sys/log/include/log/log.h                       |   223 -
 sys/log/pkg.yml                                 |    41 -
 sys/log/src/log.c                               |   233 -
 sys/log/src/log_cbmem.c                         |   120 -
 sys/log/src/log_console.c                       |    75 -
 sys/log/src/log_fcb.c                           |   275 -
 sys/log/src/log_nmgr.c                          |   524 -
 sys/log/src/log_shell.c                         |   101 -
 sys/log/stub/include/log/ignore.h               |    64 +
 sys/log/stub/include/log/log.h                  |    73 +
 sys/log/stub/pkg.yml                            |    29 +
 sys/log/stub/syscfg.yml                         |    27 +
 sys/log/syscfg.yml                              |    37 -
 sys/log/test/pkg.yml                            |    30 -
 sys/log/test/src/log_test.c                     |   110 -
 sys/log/test/src/log_test.h                     |    54 -
 sys/log/test/src/testcases/log_append_fcb.c     |    33 -
 sys/log/test/src/testcases/log_flush_fcb.c      |    30 -
 sys/log/test/src/testcases/log_setup_fcb.c      |    39 -
 sys/log/test/src/testcases/log_walk_fcb.c       |    29 -
 sys/log/test/syscfg.yml                         |    22 -
 sys/mfg/include/mfg/mfg.h                       |     9 +
 sys/mfg/pkg.yml                                 |     4 +-
 sys/mfg/src/mfg.c                               |     4 +
 sys/reboot/include/reboot/log_reboot.h          |    20 +-
 sys/reboot/pkg.yml                              |     7 +-
 sys/reboot/src/log_reboot.c                     |    38 +-
 sys/reboot/syscfg.yml                           |    12 +-
 sys/shell/include/shell/shell_tick.h            |    33 +
 sys/shell/pkg.yml                               |     4 +-
 sys/shell/src/shell.c                           |    89 +-
 sys/shell/src/shell_os.c                        |     8 +-
 sys/shell/src/shell_prompt.c                    |    30 +-
 sys/shell/src/shell_tick.c                      |    62 +
 sys/shell/syscfg.yml                            |     7 +-
 sys/stats/full/include/stats/stats.h            |   142 +
 sys/stats/full/pkg.yml                          |    37 +
 sys/stats/full/src/stats.c                      |   390 +
 sys/stats/full/src/stats_nmgr.c                 |   176 +
 sys/stats/full/src/stats_shell.c                |   119 +
 sys/stats/full/syscfg.yml                       |    32 +
 sys/stats/include/stats/stats.h                 |   140 -
 sys/stats/pkg.yml                               |    35 -
 sys/stats/src/stats.c                           |   387 -
 sys/stats/src/stats_nmgr.c                      |   185 -
 sys/stats/src/stats_shell.c                     |   119 -
 sys/stats/stub/include/stats/stats.h            |    83 +
 sys/stats/stub/pkg.yml                          |    29 +
 sys/stats/syscfg.yml                            |    32 -
 sys/sysinit/include/sysinit/sysinit.h           |    51 +-
 sys/sysinit/pkg.yml                             |     2 +-
 sys/sysinit/src/sysinit.c                       |    49 +
 sys/sysinit/syscfg.yml                          |     6 +-
 targets/unittest/pkg.yml                        |     2 +-
 targets/unittest/target.yml                     |     4 +-
 test/crash_test/pkg.yml                         |     4 +-
 test/crash_test/src/crash_nmgr.c                |    23 +-
 test/crash_test/src/crash_test.c                |     4 +
 test/crash_test/syscfg.yml                      |     4 +-
 test/flash_test/src/flash_test/flash_test.c     |    20 +-
 test/runtest/include/runtest/runtest.h          |    24 +-
 test/runtest/pkg.yml                            |     7 +-
 test/runtest/src/runtest.c                      |    33 +-
 test/runtest/src/runtest_cli.c                  |     4 +-
 test/runtest/src/runtest_nmgr.c                 |   141 +-
 test/runtest/syscfg.yml                         |     4 +-
 test/testreport/include/testreport/testreport.h |    42 -
 test/testreport/pkg.yml                         |    30 -
 test/testreport/src/arch/cortex_m4/io.c         |    91 -
 test/testreport/src/arch/sim/io.c               |   140 -
 test/testreport/src/results.c                   |   190 -
 test/testreport/src/testreport.c                |   131 -
 test/testreport/src/testreport_priv.h           |    56 -
 test/testutil/include/testutil/testutil.h       |    48 +-
 test/testutil/src/case.c                        |    26 +-
 test/testutil/src/suite.c                       |    13 +-
 test/testutil/src/testutil.c                    |     6 +-
 test/testutil/syscfg.yml                        |    24 +
 util/mem/include/mem/mem.h                      |    17 +
 util/mem/src/mem.c                              |    79 +
 962 files changed, 93547 insertions(+), 20337 deletions(-)
----------------------------------------------------------------------