You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2018/05/10 12:33:41 UTC

[mynewt-core] branch coverity_scan updated (d661222 -> 94b6ca2)

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a change to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.


 discard d661222  Add nimble to project.yml
 discard 5119bd6  Install mynewt-nimble
 discard 87c5473  Test with arm gcc
 discard b45a818  Install multilib
 discard 4bcbcc9  Use gcc-4.8
 discard 93f3213  Exclude failing tests
 discard c072d7e  Add secure token
 discard 00a858f  Initial coverity travis config
    omit 21cca9f  Add travis banner
    omit 59bce69  WIP
    omit b43dac2  Test travis integration
     add 7ee1815  hw/bsp: Clean up NRFX config on all bsps
     add a4d796a  Merge pull request #936 from michal-narajowski/nrfx-config-cleanup
     add c5fb846  Use the button id in callback instead of the button pointer
     add 444b9d2  Merge pull request #980 from sdalu/btn
     add 80c5e7f  Revert "Merge pull request #951 from rymanluk/adc_fix"
     add 44a2840  hw/adc: Fix configuration for ADC on nRF5x
     add 6477ea5  Merge pull request #1052 from rymanluk/jacob_adc_fix
     add 6c1587e  replace bitbang by native uart for UART1
     add f073a4d  Merge pull request #1056 from sdalu/uart1
     add c754db5  hw/mcu/nordic: Fix nrfx configuration
     add 93c160b  Merge pull request #1057 from andrzej-kaczmarek/nrfx-fix
     add 8794fd2  kernel/os: Add helpers for converting ms<->ticks
     add 2b6e099  Merge pull request #1049 from andrzej-kaczmarek/os-time-helpers
     add be03974  btshell: Fix data_status decoding in extended scan
     add 8691aa6  Merge pull request #1051 from sjanc/btshell
     add 567df16  kernel/os: Make os_callout_remaining_ticks thread-safe
     add 54ed0ac  Merge pull request #1050 from andrzej-kaczmarek/callout-api-fix
     add 69fbac8  net/oic; export ids for serial and lora transports. Used when creating requests as CoAP client.
     add 85f0c53  Merge pull request #1053 from mkiiskila/coap_export_ids
     add 4baf73b  lis2dw12:sensor_notif: Breaking up notifications
     add ad36134  lis2dw12: Adding a way to change interrupt for evt
     add 0aae710  Merge pull request #1058 from vrahane/lis2dw12_notif_fix
     add 0e9d615  sys/console: Add console history functionality
     add 1a8a826  Merge pull request #1038 from michal-narajowski/console-hist
     add 73d9245  Add stm32 common hal_timer (f4/f7/f3/l1/f1)
     add 2bb24c0  Move some timer configs inside the driver
     add 3b379fa  fix nrfx52 config build issues (#1065)
     add d16395c  os_callout: include stddef.h for NULL (#1066)
     add daf39c7  sys/config; don't save empty values when compressing.
     add 2686d99  Merge pull request #1061 from mkiiskila/compress_empty_values
     add c953f29  nimble/mesh: Fix native build
     add 227f79f  Merge pull request #919 from rymanluk/mesh_sim_fix
     add f758125  net/lora: Add new region support
     add 4268d08  net/lora Change public/private network default setting to private.
     add 918bce8  net/lora Fix incorrect elapsed time when sending join requests
     add 5b951e1  net/lora: Add lora node cli debug command.
     add b958461  Merge pull request #1059 from wes3/newlora
     add 909e0fd  Define BUTTON_1 for the Adafruit nrf52 Feather
     add 1f5ee21  Merge pull request #1060 from davidzuhn/add-feather-button
     add f1b8347  this device is a haptic feedback controller, not an accelerometer
     add de80477  correct spelling of accelerometer; fix device type in comments
     add 754e65b  Merge pull request #1069 from davidzuhn/sensors/fix-typos
     add 14acfd6  Add SpiFlash driver
     add e957d80  Merge pull request #1064 from kasjer/spiflash
     add b5dd8b4  hw/drivers/trng: Add TRNG driver
     add 4a7200a  hw/drivers/trng: Add TRNG driver for nRF52xxx
     add ad797f1  hw/bsp/nrf52840: Enable TRNG
     add af01e96  apps: Add test app for TRNG
     add 09cb3fa  Merge pull request #1037 from andrzej-kaczmarek/hal_trng
     add 07ea449  sys/log: Output CBOR log entries as-is via nmgr
     add 1ffd7a7  sys/log: Make sure to output at least single log entry via nmgr
     add b859325  Merge pull request #995 from andrzej-kaczmarek/log-cbor-update
     add e387089  Fix build when charge_control is enabled
     add 3981383  Merge pull request #1071 from kasjer/charge-control-fix
     add 6943d7f  btshell: Fix scan command in legacy mode
     add 3532ba2  Merge pull request #1070 from sjanc/btshell
     add 3935f83  net/lora: Fix issue with radio stop receiving
     add 3a68537  Merge pull request #1073 from wes3/lora_stop_rx_bug
     add 1cd349f  apps/blemesh_light: Add demo app that uses Light Lightness model
     add 4787e3b  Merge pull request #1063 from michal-narajowski/blemesh_light
     add 8d67984  Add `version.yml` to master.
     add 7497ac5  Merge pull request #1077 from ccollins476ad/version.yml
     new d1bd1a0  Test travis integration
     new 6dc6250  WIP
     new c2ac425  Add travis banner
     new f14a2cf  Initial coverity travis config
     new 8563499  Add secure token
     new 3c607d7  Exclude failing tests
     new 2b52ef7  Use gcc-4.8
     new 7fcbb97  Install multilib
     new 88ac296  Test with arm gcc
     new 1007040  Install mynewt-nimble
     new 94b6ca2  Add nimble to project.yml

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d661222)
            \
             N -- N -- N   refs/heads/coverity_scan (94b6ca2)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 apps/blemesh/src/main.c                            |    7 +-
 {net/lora/node => apps/blemesh_light}/pkg.yml      |   37 +-
 apps/blemesh_light/src/light_model.c               |  246 ++
 apps/blemesh_light/src/light_model.h               |   20 +
 apps/blemesh_light/src/main.c                      |  124 +
 apps/blemesh_light/src/ws2812.c                    |  133 +
 .../lora.h => apps/blemesh_light/src/ws2812.h      |   27 +-
 .../blemesh_light}/syscfg.yml                      |   61 +-
 apps/btshell/src/cmd.c                             |    2 +
 apps/btshell/src/main.c                            |    6 +-
 apps/lora_app_shell/src/las_cmd.c                  |  121 +-
 apps/lora_app_shell/src/main.c                     |    2 +-
 .../syscfg.yml => apps/trng_test/pkg.yml           |   23 +-
 apps/trng_test/src/main.c                          |   66 +
 .../stm32f4discovery => apps/trng_test}/syscfg.yml |   14 +-
 hw/bsp/ada_feather_nrf52/include/bsp/bsp.h         |    3 +
 hw/bsp/ada_feather_nrf52/pkg.yml                   |   74 +-
 hw/bsp/ada_feather_nrf52/src/hal_bsp.c             |   21 +-
 hw/bsp/arduino_primo_nrf52/pkg.yml                 |   74 +-
 hw/bsp/arduino_primo_nrf52/src/hal_bsp.c           |   23 +-
 hw/bsp/bbc_microbit/pkg.yml                        |   43 -
 hw/bsp/bbc_microbit/src/hal_bsp.c                  |    2 +-
 hw/bsp/ble400/pkg.yml                              |   43 -
 hw/bsp/bmd200/pkg.yml                              |   43 -
 hw/bsp/bmd200/src/hal_bsp.c                        |    1 +
 hw/bsp/bmd300eval/pkg.yml                          |   74 +-
 hw/bsp/bmd300eval/src/hal_bsp.c                    |    7 +-
 hw/bsp/calliope_mini/pkg.yml                       |   43 -
 hw/bsp/calliope_mini/src/hal_bsp.c                 |    3 +-
 hw/bsp/dwm1001-dev/pkg.yml                         |   74 +-
 hw/bsp/dwm1001-dev/src/hal_bsp.c                   |   21 +-
 hw/bsp/nina-b1/pkg.yml                             |   74 +-
 hw/bsp/nina-b1/src/hal_bsp.c                       |   21 +-
 hw/bsp/nrf51-arduino_101/pkg.yml                   |   43 -
 hw/bsp/nrf51-arduino_101/src/hal_bsp.c             |    3 +-
 hw/bsp/nrf51-arduino_101/syscfg.yml                |   10 -
 hw/bsp/nrf51-blenano/pkg.yml                       |   43 -
 hw/bsp/nrf51-blenano/src/hal_bsp.c                 |    3 +-
 hw/bsp/nrf51-blenano/syscfg.yml                    |   10 -
 hw/bsp/nrf51dk-16kbram/pkg.yml                     |   43 -
 hw/bsp/nrf51dk-16kbram/src/hal_bsp.c               |    1 +
 hw/bsp/nrf51dk-16kbram/syscfg.yml                  |   11 -
 hw/bsp/nrf51dk/pkg.yml                             |   43 -
 hw/bsp/nrf51dk/src/hal_bsp.c                       |    1 +
 hw/bsp/nrf51dk/syscfg.yml                          |    9 -
 hw/bsp/nrf52-thingy/pkg.yml                        |   74 +-
 hw/bsp/nrf52-thingy/src/hal_bsp.c                  |   20 +-
 hw/bsp/nrf52840pdk/pkg.yml                         |   91 +-
 hw/bsp/nrf52840pdk/src/hal_bsp.c                   |   57 +-
 hw/bsp/nrf52840pdk/syscfg.yml                      |    8 +-
 hw/bsp/nrf52dk/pkg.yml                             |   72 -
 hw/bsp/nrf52dk/src/hal_bsp.c                       |   20 +-
 hw/bsp/olimex-p103/include/bsp/bsp.h               |    2 +
 hw/bsp/olimex-p103/src/hal_bsp.c                   |   10 +-
 hw/bsp/olimex-p103/syscfg.yml                      |    9 +
 hw/bsp/puckjs/pkg.yml                              |   74 +-
 hw/bsp/puckjs/src/hal_bsp.c                        |   21 +-
 hw/bsp/rb-blend2/pkg.yml                           |   74 +-
 hw/bsp/rb-blend2/src/hal_bsp.c                     |   21 +-
 hw/bsp/rb-nano2/pkg.yml                            |   74 +-
 hw/bsp/rb-nano2/src/hal_bsp.c                      |   21 +-
 hw/bsp/ruuvi_tag_revb2/pkg.yml                     |   74 +-
 hw/bsp/ruuvi_tag_revb2/src/hal_bsp.c               |   22 +-
 hw/bsp/sensorhub/include/bsp/stm32f4xx_hal_conf.h  |    2 +-
 hw/bsp/stm32f3discovery/include/bsp/bsp.h          |    1 +
 hw/bsp/stm32f3discovery/src/hal_bsp.c              |   10 +
 hw/bsp/stm32f3discovery/syscfg.yml                 |   11 +
 hw/bsp/stm32f429discovery/src/hal_bsp.c            |   25 +-
 hw/bsp/stm32f429discovery/syscfg.yml               |    9 +-
 hw/bsp/stm32f4discovery/include/bsp/bsp.h          |    1 +
 .../include/bsp/stm32f4xx_hal_conf.h               |    2 +-
 hw/bsp/stm32f4discovery/src/hal_bsp.c              |    8 +
 hw/bsp/stm32f4discovery/syscfg.yml                 |    6 +
 hw/bsp/stm32f767-nucleo/src/hal_bsp.c              |    6 +-
 hw/bsp/stm32f767-nucleo/syscfg.yml                 |    3 +
 hw/bsp/stm32l152discovery/include/bsp/bsp.h        |    1 +
 .../include/bsp/stm32l1xx_hal_conf.h               |    2 +-
 hw/bsp/stm32l152discovery/src/hal_bsp.c            |    9 +
 hw/bsp/stm32l152discovery/syscfg.yml               |    9 +
 hw/bsp/telee02/pkg.yml                             |   74 +-
 hw/bsp/telee02/src/hal_bsp.c                       |   21 +-
 hw/bsp/vbluno51/pkg.yml                            |   43 -
 hw/bsp/vbluno51/src/hal_bsp.c                      |    1 +
 hw/bsp/vbluno52/pkg.yml                            |   74 +-
 hw/bsp/vbluno52/src/hal_bsp.c                      |   21 +-
 .../include/charge-control/charge_control.h        |    1 +
 hw/charge-control/syscfg.yml                       |    2 +-
 .../adc/adc_nrf51/include/adc_nrf51/adc_nrf51.h    |    2 -
 hw/drivers/adc/adc_nrf51/src/adc_nrf51.c           |   12 +-
 .../adc/adc_nrf52/include/adc_nrf52/adc_nrf52.h    |    2 -
 hw/drivers/adc/adc_nrf52/src/adc_nrf52.c           |   13 +-
 hw/drivers/drv2605/src/drv2605.c                   |    2 +-
 .../flash/spiflash/include/spiflash/spiflash.h     |   62 +
 .../syscfg.yml => drivers/flash/spiflash/pkg.yml}  |   18 +-
 hw/drivers/flash/spiflash/src/spiflash.c           |  362 ++
 hw/drivers/flash/spiflash/syscfg.yml               |   58 +
 hw/drivers/lora/sx1272/include/radio/radio.h       |  132 +-
 hw/drivers/lora/sx1272/src/sx1272-board.c          |   10 +-
 hw/drivers/lora/sx1272/src/sx1272-board.h          |    7 +
 hw/drivers/lora/sx1272/src/sx1272.c                |   35 +-
 hw/drivers/lora/sx1272/src/sx1272.h                |   18 +-
 hw/drivers/lora/sx1276/include/radio/radio.h       |  132 +-
 hw/drivers/lora/sx1276/src/sx1276-board.c          |   10 +-
 hw/drivers/lora/sx1276/src/sx1276-board.h          |    2 +-
 hw/drivers/lora/sx1276/src/sx1276.c                |   36 +-
 hw/drivers/lora/sx1276/src/sx1276.h                |   38 +-
 hw/drivers/sensors/adxl345/src/adxl345.c           |   14 +-
 hw/drivers/sensors/bma253/src/bma253.c             |   11 +-
 hw/drivers/sensors/bma2xx/src/bma2xx.c             |   11 +-
 hw/drivers/sensors/bno055/src/bno055.c             |    2 +-
 .../sensors/lis2dw12/include/lis2dw12/lis2dw12.h   |   16 +-
 hw/drivers/sensors/lis2dw12/src/lis2dw12.c         |  153 +-
 hw/drivers/sensors/lsm303dlhc/src/lsm303dlhc.c     |    2 +-
 hw/drivers/sensors/mpu6050/src/mpu6050.c           |    2 +-
 hw/drivers/sensors/sim/src/generic_accel.c         |    2 +-
 .../sensors/tcs34725/include/tcs34725/tcs34725.h   |    2 +-
 hw/drivers/sensors/tcs34725/src/tcs34725.c         |    2 +-
 .../sensors/tsl2561/include/tsl2561/tsl2561.h      |    2 +-
 hw/drivers/sensors/tsl2561/src/tsl2561.c           |    2 +-
 hw/drivers/trng/include/trng/trng.h                |   76 +
 .../syscfg.yml => drivers/trng/pkg.yml}            |   19 +-
 .../mynewt/lora.h => hw/drivers/trng/src/trng.c    |   29 +-
 .../trng_nrf52/include/trng_nrf52/trng_nrf52.h     |   16 +-
 .../syscfg.yml => drivers/trng/trng_nrf52/pkg.yml} |   19 +-
 hw/drivers/trng/trng_nrf52/src/trng_nrf52.c        |  176 +
 .../trng/trng_nrf52}/syscfg.yml                    |   13 +-
 hw/mcu/nordic/include/nrfx_config.h                |    0
 hw/mcu/nordic/nrf51xxx/include/nrfx_config.h       |   49 +
 hw/mcu/nordic/nrf51xxx/syscfg.yml                  |   10 +
 hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h  |   69 +
 hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h     |  185 +
 hw/mcu/nordic/nrf52xxx/include/nrfx_config.h       |   12 +
 hw/mcu/nordic/nrf52xxx/syscfg.yml                  |   18 +-
 .../{stm32f7xx => stm32_common}/src/hal_timer.c    |  309 +-
 hw/mcu/stm/stm32f1xx/include/mcu/stm32_hal.h       |    5 +
 hw/mcu/stm/stm32f1xx/src/hal_timer.c               |  629 ---
 hw/mcu/stm/stm32f3xx/include/mcu/stm32_hal.h       |    5 +
 hw/mcu/stm/stm32f3xx/src/hal_timer.c               |  665 ---
 hw/mcu/stm/stm32f4xx/include/mcu/stm32_hal.h       |    5 +
 hw/mcu/stm/stm32f4xx/src/hal_timer.c               |  626 ---
 hw/mcu/stm/stm32f7xx/include/mcu/stm32_hal.h       |    5 +
 hw/mcu/stm/stm32l1xx/include/mcu/stm32_hal.h       |    5 +
 hw/mcu/stm/stm32l1xx/src/hal_timer.c               |  626 ---
 hw/sensor/include/sensor/sensor.h                  |  342 +-
 hw/sensor/src/sensor.c                             |   73 +-
 hw/sensor/src/sensor_oic.c                         |    4 +
 hw/sensor/src/sensor_shell.c                       |    4 +
 hw/sensor/syscfg.yml                               |    7 +
 hw/util/button/include/button/button.h             |   16 +-
 hw/util/button/src/button.c                        |    2 +-
 kernel/os/include/os/os_callout.h                  |    1 +
 kernel/os/include/os/os_time.h                     |   25 +
 kernel/os/src/os_callout.c                         |    5 +-
 kernel/os/src/os_time.c                            |   20 +
 net/lora/node/include/node/lora.h                  |   10 +-
 net/lora/node/include/node/lora_band.h             |   61 +-
 net/lora/node/include/node/lora_priv.h             |  136 +-
 .../node/include/node/mac/LoRaMac-definitions.h    |  610 ---
 net/lora/node/include/node/mac/LoRaMac.h           |  457 ++-
 net/lora/node/include/node/mac/Region.h            | 1479 +++++++
 net/lora/node/include/node/utilities.h             |  101 +-
 net/lora/node/pkg.yml                              |    6 +-
 net/lora/node/src/lora_cli.c                       |  152 +-
 net/lora/node/src/lora_node.c                      |   12 +-
 net/lora/node/src/mac/LoRaMac.c                    | 4250 +++++++-------------
 net/lora/node/src/mac/region/Region.c              | 1036 +++++
 net/lora/node/src/mac/region/RegionAS923.c         | 1094 +++++
 net/lora/node/src/mac/region/RegionAS923.h         |  505 +++
 net/lora/node/src/mac/region/RegionAU915.c         |  854 ++++
 net/lora/node/src/mac/region/RegionAU915.h         |  457 +++
 net/lora/node/src/mac/region/RegionCN470.c         |  774 ++++
 net/lora/node/src/mac/region/RegionCN470.h         |  443 ++
 net/lora/node/src/mac/region/RegionCN779.c         | 1013 +++++
 net/lora/node/src/mac/region/RegionCN779.h         |  467 +++
 net/lora/node/src/mac/region/RegionCommon.c        |  373 ++
 net/lora/node/src/mac/region/RegionCommon.h        |  370 ++
 net/lora/node/src/mac/region/RegionEU433.c         | 1013 +++++
 net/lora/node/src/mac/region/RegionEU433.h         |  468 +++
 net/lora/node/src/mac/region/RegionEU868.c         | 1050 +++++
 net/lora/node/src/mac/region/RegionEU868.h         |  489 +++
 net/lora/node/src/mac/region/RegionIN865.c         | 1033 +++++
 net/lora/node/src/mac/region/RegionIN865.h         |  470 +++
 net/lora/node/src/mac/region/RegionKR920.c         | 1014 +++++
 net/lora/node/src/mac/region/RegionKR920.h         |  480 +++
 net/lora/node/src/mac/region/RegionUS915-Hybrid.c  |  956 +++++
 net/lora/node/src/mac/region/RegionUS915-Hybrid.h  |  450 +++
 net/lora/node/src/mac/region/RegionUS915.c         |  863 ++++
 net/lora/node/src/mac/region/RegionUS915.h         |  450 +++
 net/lora/node/src/utilities.c                      |   14 +-
 net/lora/node/syscfg.yml                           |   35 +-
 net/oic/include/oic/port/mynewt/lora.h             |    2 +
 .../include/oic/port/mynewt/{lora.h => serial.h}   |   14 +-
 net/oic/src/port/mynewt/lora_adaptor.c             |    2 +-
 net/oic/src/port/mynewt/serial_adaptor.c           |    2 +-
 sys/config/src/config_fcb.c                        |    3 +
 sys/config/src/config_file.c                       |    3 +
 sys/console/full/src/console.c                     |  196 +
 sys/console/full/syscfg.yml                        |    6 +
 sys/log/full/src/log_nmgr.c                        |  112 +-
 version.yml                                        |    3 +
 200 files changed, 23370 insertions(+), 8499 deletions(-)
 copy {net/lora/node => apps/blemesh_light}/pkg.yml (65%)
 create mode 100644 apps/blemesh_light/src/light_model.c
 create mode 100644 apps/blemesh_light/src/light_model.h
 create mode 100755 apps/blemesh_light/src/main.c
 create mode 100755 apps/blemesh_light/src/ws2812.c
 copy net/oic/include/oic/port/mynewt/lora.h => apps/blemesh_light/src/ws2812.h (76%)
 mode change 100644 => 100755
 copy {hw/bsp/stm32f767-nucleo => apps/blemesh_light}/syscfg.yml (51%)
 copy hw/charge-control/syscfg.yml => apps/trng_test/pkg.yml (71%)
 create mode 100755 apps/trng_test/src/main.c
 copy {hw/bsp/stm32f4discovery => apps/trng_test}/syscfg.yml (73%)
 create mode 100644 hw/drivers/flash/spiflash/include/spiflash/spiflash.h
 copy hw/{charge-control/syscfg.yml => drivers/flash/spiflash/pkg.yml} (72%)
 create mode 100644 hw/drivers/flash/spiflash/src/spiflash.c
 create mode 100644 hw/drivers/flash/spiflash/syscfg.yml
 create mode 100644 hw/drivers/trng/include/trng/trng.h
 copy hw/{charge-control/syscfg.yml => drivers/trng/pkg.yml} (72%)
 copy net/oic/include/oic/port/mynewt/lora.h => hw/drivers/trng/src/trng.c (73%)
 copy net/oic/include/oic/port/mynewt/lora.h => hw/drivers/trng/trng_nrf52/include/trng_nrf52/trng_nrf52.h (81%)
 copy hw/{charge-control/syscfg.yml => drivers/trng/trng_nrf52/pkg.yml} (72%)
 create mode 100644 hw/drivers/trng/trng_nrf52/src/trng_nrf52.c
 copy hw/{charge-control => drivers/trng/trng_nrf52}/syscfg.yml (73%)
 delete mode 100644 hw/mcu/nordic/include/nrfx_config.h
 create mode 100644 hw/mcu/nordic/nrf51xxx/include/nrfx_config.h
 create mode 100644 hw/mcu/nordic/nrf52xxx/include/nrfx52840_config.h
 create mode 100644 hw/mcu/nordic/nrf52xxx/include/nrfx52_config.h
 create mode 100644 hw/mcu/nordic/nrf52xxx/include/nrfx_config.h
 rename hw/mcu/stm/{stm32f7xx => stm32_common}/src/hal_timer.c (63%)
 delete mode 100644 hw/mcu/stm/stm32f1xx/src/hal_timer.c
 delete mode 100644 hw/mcu/stm/stm32f3xx/src/hal_timer.c
 delete mode 100644 hw/mcu/stm/stm32f4xx/src/hal_timer.c
 delete mode 100644 hw/mcu/stm/stm32l1xx/src/hal_timer.c
 delete mode 100644 net/lora/node/include/node/mac/LoRaMac-definitions.h
 create mode 100644 net/lora/node/include/node/mac/Region.h
 create mode 100644 net/lora/node/src/mac/region/Region.c
 create mode 100644 net/lora/node/src/mac/region/RegionAS923.c
 create mode 100644 net/lora/node/src/mac/region/RegionAS923.h
 create mode 100644 net/lora/node/src/mac/region/RegionAU915.c
 create mode 100644 net/lora/node/src/mac/region/RegionAU915.h
 create mode 100644 net/lora/node/src/mac/region/RegionCN470.c
 create mode 100644 net/lora/node/src/mac/region/RegionCN470.h
 create mode 100644 net/lora/node/src/mac/region/RegionCN779.c
 create mode 100644 net/lora/node/src/mac/region/RegionCN779.h
 create mode 100644 net/lora/node/src/mac/region/RegionCommon.c
 create mode 100644 net/lora/node/src/mac/region/RegionCommon.h
 create mode 100644 net/lora/node/src/mac/region/RegionEU433.c
 create mode 100644 net/lora/node/src/mac/region/RegionEU433.h
 create mode 100644 net/lora/node/src/mac/region/RegionEU868.c
 create mode 100644 net/lora/node/src/mac/region/RegionEU868.h
 create mode 100644 net/lora/node/src/mac/region/RegionIN865.c
 create mode 100644 net/lora/node/src/mac/region/RegionIN865.h
 create mode 100644 net/lora/node/src/mac/region/RegionKR920.c
 create mode 100644 net/lora/node/src/mac/region/RegionKR920.h
 create mode 100644 net/lora/node/src/mac/region/RegionUS915-Hybrid.c
 create mode 100644 net/lora/node/src/mac/region/RegionUS915-Hybrid.h
 create mode 100644 net/lora/node/src/mac/region/RegionUS915.c
 create mode 100644 net/lora/node/src/mac/region/RegionUS915.h
 copy net/oic/include/oic/port/mynewt/{lora.h => serial.h} (81%)
 create mode 100644 version.yml

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 09/11: Test with arm gcc

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 88ac29653358b415991aab78d105ec4266623eb3
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Thu May 10 08:33:03 2018 -0300

    Test with arm gcc
---
 .travis.yml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index bd2e216..0309418 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,10 +7,15 @@ before_install:
   #- sudo apt-get -qq update
   #- sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
   #- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
-  - sudo apt-get install gcc-multilib g++-multilib
+  - sudo apt-get install gcc-multilib g++-multilib gcc-arm-none-eabi libnewlib-arm-none-eabi
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
+  - mynewt-newt/newt/newt target create bletiny_nrf52840_coverity
+  - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity app=@apache-mynewt-core/apps/bletiny
+  - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity bsp=@apache-mynewt-core/hw/bsp/nrf52840pdk
+  - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity build_profile=debug
+  - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity syscfg=BLE_SM_LEGACY=1:BLE_SM_SC=1:BLE_EDDYSTONE=1:BLE_EXT_ADV=1:BLE_EXT_ADV_MAX_SIZE=50:BLE_MULTI_ADV_INSTANCES=2:BLE_LL_CFG_FEAT_LE_2M_PHY=1:BLE_LL_CFG_FEAT_LE_CODED_PHY=1:BLE_SM_BONDING=1:BLE_L2CAP_COC_MAX_NUM=2:BLE_HS_DEBUG=1:LOG_LEVEL=0
 
 script: ""
 
@@ -26,6 +31,7 @@ addons:
       description: "An OS to build, deploy and securely manage billions of devices"
     notification_email: utzig@apache.org
     # build_command_prepend: "cov-configure --gcc"
-    build_command_prepend: "cov-configure --comptype gcc --compiler gcc-4.8 --template"
-    build_command: "cov-build --dir cov-int mynewt-newt/newt/newt test --executeShell all -e net/ip/mn_socket,net/oic"
+    # build_command_prepend: "cov-configure --comptype gcc --compiler gcc-4.8 --template"
+    build_command_prepend: "cov-configure --comptype gcc --compiler arm-none-eabi-gcc -- -fno-exceptions -mcpu=cortex-m4 -mthumb -mthumb-interwork"
+    build_command: "cov-build --dir cov-int mynewt-newt/newt/newt build --executeShell bletiny_nrf52840_coverity"
     branch_pattern: "coverity_scan"

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 03/11: Add travis banner

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit c2ac425948a92a35a1db8b9344aa1b0f8c22b418
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon Apr 23 10:32:33 2018 -0300

    Add travis banner
---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 43dbb51..f7b7889 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,10 @@
 
 ## Overview
 
+[![Build/Test](https://img.shields.io/travis/apache/mynewt-core/master.svg?label=travis-ci)][travis]
+
+[travis]: https://travis-ci.org/apache/mynewt-core
+
 Apache Mynewt is an open-source operating system for tiny embedded devices.
 Its goal is to make it easy to develop applications for microcontroller
 environments where power and cost are driving factors.

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 05/11: Add secure token

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 85634991d661c43b4759bf08f80d9a4282ada02d
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Tue May 1 20:11:02 2018 -0300

    Add secure token
---
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3146649..7284b9a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,9 +13,9 @@ before_install:
 
 script: ""
 
-# env:
-#   global:
-#   - secure: ""
+env:
+  global:
+    - secure: "CN2ky7nTp9xxr2gMQI1mF8ZA+oBEAaasgm/9wijYu1m2tVUqLqoLsh4f60/h+mZzFHeVDDlT4+aEfLQguDufoS05p30fRPqaBMNSzVJxHhpoy5qR7bSEpHL4fvNkmdJ//8o57z1NCR8O5R/m5kE//Rc/4eprwopIRl4tIliD9P84A9GzX62IrSbCRa3LMQdp93KA1t8xiX+w/oAoQEdFz1PjRNoGyXmqP80TWsY+1x6xZjEBXDArYMhSrpj0Bo38SSqdRFayg5PcNOa2zKsoyuLV1tXFhVEuvEvXlb6ruLy0m2HLG24vWYaJ7DeyfGb/Qzb9r+TxfXE/plp2n9Bq7b5x1idWxFpV1gvuks2bEOlaBm9z8a9QpE+zq3rFAFinb0N0pNCnJQVYHIbdOGxvXYhQNVE2ze8HAQZv0vsVP35JB8qUttfUdaTyUGyT7rpYZyiN4/AK0VI6Qum2DovXRf0gdwzPD [...]
 
 addons:
   coverity_scan:

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 06/11: Exclude failing tests

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 3c607d75cb3eeb4f6e9412d0c6272baf8659cb48
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Tue May 1 20:21:16 2018 -0300

    Exclude failing tests
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 7284b9a..dd15709 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,5 +25,5 @@ addons:
       description: "An OS to build, deploy and securely manage billions of devices"
     notification_email: utzig@apache.org
     build_command_prepend: "cov-configure --gcc"
-    build_command: "cov-build --dir cov-int mynewt-newt/newt/newt test --executeShell all"
+    build_command: "cov-build --dir cov-int mynewt-newt/newt/newt test --executeShell all -e net/ip/mn_socket,net/oic"
     branch_pattern: "coverity_scan"

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 08/11: Install multilib

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 7fcbb971e9c9ae5ad56b1671d887c4e5585b58b5
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon May 7 11:04:11 2018 -0300

    Install multilib
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 430fd44..bd2e216 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ before_install:
   #- sudo apt-get -qq update
   #- sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
   #- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
+  - sudo apt-get install gcc-multilib g++-multilib
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 04/11: Initial coverity travis config

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit f14a2cfff1ceb62200eec4ad40552ac264763e8b
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Tue May 1 08:29:41 2018 -0300

    Initial coverity travis config
---
 .travis.yml | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 41a224c..3146649 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,9 +7,23 @@ before_install:
   - sudo apt-get -qq update
   - sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
   - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
-
-script:
-  - set -e
+  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
-  - mynewt-newt/newt/newt test all -e net/ip/mn_socket,net/oic
+
+script: ""
+
+# env:
+#   global:
+#   - secure: ""
+
+addons:
+  coverity_scan:
+    project:
+      name: "apache/mynewt-core"
+      version: 1.3.0
+      description: "An OS to build, deploy and securely manage billions of devices"
+    notification_email: utzig@apache.org
+    build_command_prepend: "cov-configure --gcc"
+    build_command: "cov-build --dir cov-int mynewt-newt/newt/newt test --executeShell all"
+    branch_pattern: "coverity_scan"

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 02/11: WIP

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 6dc62501ef016bf3fc88e8a905d9dd69c38b872f
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon Apr 23 10:21:43 2018 -0300

    WIP
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 82f2b26..41a224c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,4 +12,4 @@ script:
   - set -e
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
-  - mynewt-newt/newt/newt test all
+  - mynewt-newt/newt/newt test all -e net/ip/mn_socket,net/oic

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 11/11: Add nimble to project.yml

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 94b6ca2df0246122cb14402dddae2ee33333f1d0
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Thu May 10 09:30:13 2018 -0300

    Add nimble to project.yml
---
 .travis.yml | 7 +------
 project.yml | 6 ++++++
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 26966cd..6720f37 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,12 +11,7 @@ before_install:
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
-  - echo ""                                 >> project.yml
-  - echo "repository.apache-mynewt-nimble:" >> project.yml
-  - echo "    type: github"                 >> project.yml
-  - echo "    vers: 0-dev"                  >> project.yml
-  - echo "    user: apache"                 >> project.yml
-  - echo "    repo: mynewt-nimble"          >> project.yml
+  # FIXME: project.yml was changed to add remote dep (yes, srsly!)
   - mynewt-newt/newt/newt install -v
   - mynewt-newt/newt/newt target create bletiny_nrf52840_coverity
   - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity app=@apache-mynewt-core/apps/bletiny
diff --git a/project.yml b/project.yml
index 1adfca7..c9bc06d 100644
--- a/project.yml
+++ b/project.yml
@@ -18,3 +18,9 @@
 #
 
 project.name: "apache-mynewt-core"
+
+repository.apache-mynewt-nimble:
+    type: github
+    vers: 0-dev
+    user: apache
+    repo: mynewt-nimble

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 07/11: Use gcc-4.8

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 2b52ef79aa014d16a07e8757e390eea4a22bd85e
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon May 7 10:35:14 2018 -0300

    Use gcc-4.8
---
 .travis.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index dd15709..430fd44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,10 +3,10 @@ dist: trusty
 sudo: required
 
 before_install:
-  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
-  - sudo apt-get -qq update
-  - sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
-  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
+  #- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+  #- sudo apt-get -qq update
+  #- sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
+  #- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
@@ -24,6 +24,7 @@ addons:
       version: 1.3.0
       description: "An OS to build, deploy and securely manage billions of devices"
     notification_email: utzig@apache.org
-    build_command_prepend: "cov-configure --gcc"
+    # build_command_prepend: "cov-configure --gcc"
+    build_command_prepend: "cov-configure --comptype gcc --compiler gcc-4.8 --template"
     build_command: "cov-build --dir cov-int mynewt-newt/newt/newt test --executeShell all -e net/ip/mn_socket,net/oic"
     branch_pattern: "coverity_scan"

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 01/11: Test travis integration

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit d1bd1a06a22246281d684a1544ae9612098d086e
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Mon Apr 23 07:38:25 2018 -0300

    Test travis integration
---
 .travis.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..82f2b26
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+language: c
+dist: trusty
+sudo: required
+
+before_install:
+  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+  - sudo apt-get -qq update
+  - sudo apt-get install libc6-dev-i386 gcc-5-multilib g++-5-multilib
+  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
+
+script:
+  - set -e
+  - git clone https://github.com/apache/mynewt-newt
+  - cd mynewt-newt && ./build.sh && cd ..
+  - mynewt-newt/newt/newt test all

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.

[mynewt-core] 10/11: Install mynewt-nimble

Posted by ut...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch coverity_scan
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 1007040ca5b59e5ca36defe37fcf17eda25e6997
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Thu May 10 09:22:06 2018 -0300

    Install mynewt-nimble
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0309418..26966cd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,13 @@ before_install:
   - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
   - git clone https://github.com/apache/mynewt-newt
   - cd mynewt-newt && ./build.sh && cd ..
+  - echo ""                                 >> project.yml
+  - echo "repository.apache-mynewt-nimble:" >> project.yml
+  - echo "    type: github"                 >> project.yml
+  - echo "    vers: 0-dev"                  >> project.yml
+  - echo "    user: apache"                 >> project.yml
+  - echo "    repo: mynewt-nimble"          >> project.yml
+  - mynewt-newt/newt/newt install -v
   - mynewt-newt/newt/newt target create bletiny_nrf52840_coverity
   - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity app=@apache-mynewt-core/apps/bletiny
   - mynewt-newt/newt/newt target set bletiny_nrf52840_coverity bsp=@apache-mynewt-core/hw/bsp/nrf52840pdk

-- 
To stop receiving notification emails like this one, please contact
utzig@apache.org.