[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #1428: Fixed a check in ble_att_clt_tx_prep_write() api
apache-mynewt-bot commented on PR #1428: URL: https://github.com/apache/mynewt-nimble/pull/1428#issuecomment-1396493840 ## Style check summary No suggestions at this time! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #1426: NimBLE/Host: Feature Multi Handle Value Notification
apache-mynewt-bot commented on PR #1426: URL: https://github.com/apache/mynewt-nimble/pull/1426#issuecomment-1396446087 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) nimble/host/src/ble_att_clt.c ```diff @@ -908,8 +906,8 @@ } / -* $multi handle value notification * -*/ + * $multi handle value notification * + */ int ble_att_clt_tx_multi_notify(uint16_t conn_handle, struct ble_gatt_hv *tuples, @@ -977,8 +975,8 @@ } / -* $handle value indication * -*/ + * $handle value indication * + */ int ble_att_clt_tx_indicate(uint16_t conn_handle, uint16_t handle, ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[mynewt-site] branch asf-site updated (8033ca7c10 -> f634089e02)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/mynewt-site.git discard 8033ca7c10 asf-site update Mon Jan 16 12:00:32 UTC 2023 discard 9e0e649611 asf-site update Tue Jan 10 10:51:22 UTC 2023 discard 9e28e9b1f9 asf-site update Thu Jan 05 11:04:48 UTC 2023 discard 4b065f8f7d asf-site update Fri Dec 23 18:59:12 UTC 2022 discard 1478e68a52 asf-site update Fri Dec 23 12:09:09 UTC 2022 discard c0effaa417 asf-site update Wed Dec 21 09:55:12 UTC 2022 new a95c7d9528 asf-site update Tue Dec 13 19:11:14 UTC 2022 new 8be210cb11 asf-site update Tue Dec 13 21:11:40 UTC 2022 new ab5c010759 asf-site update Fri Jan 06 14:16:31 UTC 2023 new 2c684b437d asf-site update Fri Jan 06 14:23:37 UTC 2023 new ab0750171f asf-site update Fri Jan 13 20:57:34 UTC 2023 new f634089e02 asf-site update Wed Jan 18 21:05:03 UTC 2023 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 (8033ca7c10) \ N -- N -- N refs/heads/asf-site (f634089e02) 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 6 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: download/index.html| 5 +- index.html | 108 +-- known_issues/index.html| 10 +- master/concepts.html | 30 +- master/genindex.html | 8 +- master/get_started/debug.html | 2 +- .../get_started/native_install/native_tools.html | 16 +- master/get_started/project_create.html | 12 +- master/objects.inv | Bin 59653 -> 59710 bytes .../os/core_os/context_switch/context_switch.html | 20 + master/os/core_os/porting/port_bsp.html| 18 +- master/os/modules/console/console.html | 30 +- master/os/modules/drivers/chg_ctrl/chg_ctrl.html | 2 +- master/os/modules/drivers/chg_ctrl/sgm4056.html| 4 +- master/os/modules/extcmd/extcmd.html | 16 +- .../os/modules/sysinitconfig/sysconfig_error.html | 150 ++-- master/os/modules/sysinitconfig/sysinitconfig.html | 140 +-- master/os/modules/sysinitdown/sysinitdown.html | 12 +- master/searchindex.js | 2 +- master/tutorials/blinky/arduino_zero.html | 36 +- master/tutorials/blinky/blinky_console.html| 8 +- master/tutorials/blinky/blinky_primo.html | 2 +- master/tutorials/blinky/blinky_stm32f4disc.html| 4 +- master/tutorials/blinky/olimex.html| 10 +- master/tutorials/blinky/rbnano2.html | 10 +- master/tutorials/other/rust.html | 24 +- master/tutorials/repo/add_repos.html | 44 +- master/tutorials/sensors/nrf52_adc.html| 16 +- master/tutorials/sensors/sensor_bleprph_oic.html | 12 +- .../sensors/sensor_thingy_lis2dh12_onb.html| 6 +- master/tutorials/tooling/error_diagnostics.html| 38 +- master/tutorials/tooling/segger_rtt.html | 2 +- sitemap.xml| 20 +- sitemap.xml.gz | Bin 282 -> 281 bytes v0_9_0/download/index.html | 15 +- v0_9_0/faq/answers/index.html | 20 +- v0_9_0/faq/how_to_edit_docs/index.html | 20 +- v0_9_0/index.html | 108 +-- v0_9_0/known_issues/index.html | 10 +- v0_9_0/network/ble/bletiny/bletiny_GATT/index.html | 19 +- v0_9_0/network/ble/bletiny_api/index.html | 55 +- .../network/ble/ini_stack/ble_add_cpu/index.html | 5 +- .../ble/ini_stack/ble_consolepkg/index.html| 5 +- .../ble/ini_stack/ble_controller_ini/index.html| 10 +- v0_9_0/network/ble/ini_stack/ble_devadd/index.html | 5 +- .../network/ble/ini_stack/ble_host_ini/index.html | 10 +- .../network/ble/ini_stack/ble_ini_intro/index.html | 5 +- .../network/ble/ini_stack/ble_mempool/index.html | 5 +- .../ble/ini_stack/ble_parent_ini/index.html| 9 +- .../network/ble/ini_stack/ble_statpkg/index.html |
[mynewt-site] 04/06: asf-site update Fri Jan 06 14:23:37 UTC 2023
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/mynewt-site.git commit 2c684b437d075bd23b28998f17a304a88b52e7eb Author: jenkins AuthorDate: Fri Jan 6 14:23:37 2023 + asf-site update Fri Jan 06 14:23:37 UTC 2023 --- sitemap.xml.gz| Bin 282 -> 282 bytes v0_9_0/sitemap.xml.gz | Bin 2210 -> 2210 bytes v1_0_0/sitemap.xml.gz | Bin 3217 -> 3217 bytes v1_1_0/sitemap.xml.gz | Bin 3446 -> 3446 bytes v1_2_0/sitemap.xml.gz | Bin 3470 -> 3470 bytes v1_3_0/sitemap.xml.gz | Bin 3467 -> 3467 bytes 6 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sitemap.xml.gz b/sitemap.xml.gz index f1e4ee7bec..75388edf18 100644 Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ diff --git a/v0_9_0/sitemap.xml.gz b/v0_9_0/sitemap.xml.gz index 5910904d6a..42a589582d 100644 Binary files a/v0_9_0/sitemap.xml.gz and b/v0_9_0/sitemap.xml.gz differ diff --git a/v1_0_0/sitemap.xml.gz b/v1_0_0/sitemap.xml.gz index 81a85a6d2b..0211e29a36 100644 Binary files a/v1_0_0/sitemap.xml.gz and b/v1_0_0/sitemap.xml.gz differ diff --git a/v1_1_0/sitemap.xml.gz b/v1_1_0/sitemap.xml.gz index 589342875f..311e746cfe 100644 Binary files a/v1_1_0/sitemap.xml.gz and b/v1_1_0/sitemap.xml.gz differ diff --git a/v1_2_0/sitemap.xml.gz b/v1_2_0/sitemap.xml.gz index 7431e7d9ac..1a3075260b 100644 Binary files a/v1_2_0/sitemap.xml.gz and b/v1_2_0/sitemap.xml.gz differ diff --git a/v1_3_0/sitemap.xml.gz b/v1_3_0/sitemap.xml.gz index 5e643936c7..05f6a64335 100644 Binary files a/v1_3_0/sitemap.xml.gz and b/v1_3_0/sitemap.xml.gz differ
[mynewt-site] 02/06: asf-site update Tue Dec 13 21:11:40 UTC 2022
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/mynewt-site.git commit 8be210cb118082da25dd500aff864074a05763c4 Author: jenkins AuthorDate: Tue Dec 13 21:11:40 2022 + asf-site update Tue Dec 13 21:11:40 UTC 2022 --- sitemap.xml.gz| Bin 280 -> 280 bytes v0_9_0/sitemap.xml.gz | Bin 2208 -> 2208 bytes v1_0_0/sitemap.xml.gz | Bin 3215 -> 3215 bytes v1_1_0/sitemap.xml.gz | Bin 3444 -> 3444 bytes v1_2_0/sitemap.xml.gz | Bin 3468 -> 3468 bytes v1_3_0/sitemap.xml.gz | Bin 3465 -> 3465 bytes 6 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sitemap.xml.gz b/sitemap.xml.gz index f58f4d00a2..5c6aeede68 100644 Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ diff --git a/v0_9_0/sitemap.xml.gz b/v0_9_0/sitemap.xml.gz index 193c2b447a..a8cd103c1d 100644 Binary files a/v0_9_0/sitemap.xml.gz and b/v0_9_0/sitemap.xml.gz differ diff --git a/v1_0_0/sitemap.xml.gz b/v1_0_0/sitemap.xml.gz index a2305fe2eb..e6f780aef9 100644 Binary files a/v1_0_0/sitemap.xml.gz and b/v1_0_0/sitemap.xml.gz differ diff --git a/v1_1_0/sitemap.xml.gz b/v1_1_0/sitemap.xml.gz index e66670a3bc..77c211fb09 100644 Binary files a/v1_1_0/sitemap.xml.gz and b/v1_1_0/sitemap.xml.gz differ diff --git a/v1_2_0/sitemap.xml.gz b/v1_2_0/sitemap.xml.gz index ff91d001eb..c908f58f7c 100644 Binary files a/v1_2_0/sitemap.xml.gz and b/v1_2_0/sitemap.xml.gz differ diff --git a/v1_3_0/sitemap.xml.gz b/v1_3_0/sitemap.xml.gz index 7188fd4001..75a20527c0 100644 Binary files a/v1_3_0/sitemap.xml.gz and b/v1_3_0/sitemap.xml.gz differ
[mynewt-nimble] branch master updated: ll: Fix compiler error
This is an automated email from the ASF dual-hosted git repository. rymek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git The following commit(s) were added to refs/heads/master by this push: new e7dead61 ll: Fix compiler error e7dead61 is described below commit e7dead61af783631c828824e4e80636828cb6520 Author: Łukasz Rymanowski AuthorDate: Fri Jan 13 11:28:46 2023 +0100 ll: Fix compiler error Fixing false possitive compiler error /home/rymek/projects/bletiny_proj/repos/apache-mynewt-nimble/nimble/controller/src/ble_ll_scan.c:456:12: error: array subscript is outside array bounds of 'struct ble_ll_scan_advertisers[0]' [␛]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds␇-Werror=array-bounds␛]8;;␇] 456 | memcpy(>adv_addr, addr, BLE_DEV_ADDR_LEN); --- nimble/controller/src/ble_ll_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c index 7c16dd35..b7516e78 100644 --- a/nimble/controller/src/ble_ll_scan.c +++ b/nimble/controller/src/ble_ll_scan.c @@ -442,7 +442,7 @@ ble_ll_scan_add_scan_rsp_adv(uint8_t *addr, uint8_t txadd, /* XXX: for now, if we dont have room, just leave */ num_advs = g_ble_ll_scan_num_rsp_advs; -if (num_advs == MYNEWT_VAL(BLE_LL_NUM_SCAN_RSP_ADVS)) { +if (num_advs >= MYNEWT_VAL(BLE_LL_NUM_SCAN_RSP_ADVS)) { return; }
[GitHub] [mynewt-nimble] rymanluk merged pull request #1427: ll: Fix compiler error
rymanluk merged PR #1427: URL: https://github.com/apache/mynewt-nimble/pull/1427 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2919: Add initial STM32H723ZG MCU support with external repos downloading
apache-mynewt-bot commented on PR #2919: URL: https://github.com/apache/mynewt-core/pull/2919#issuecomment-1387382113 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/mcu/stm/stm32h7xx/src/system_stm32h7xx.c ```diff @@ -1,48 +1,48 @@ /** - ** - * @filesystem_stm32h7xx.c - * @author MCD Application Team - * @brief CMSIS Cortex-Mx Device Peripheral Access Layer System Source File. - * - * This file provides two functions and one global variable to be called from - * user application: - * - SystemInit(): This function is called at startup just after reset and - * before branch to main program. This call is made inside - * the "startup_stm32h7xx.s" file. - * - * - SystemCoreClock variable: Contains the core clock, it can be used - * by the user application to setup the SysTick - * timer or configure other parameters. - * - * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must - * be called whenever the core clock is changed - * during program execution. - * - * - ** - * @attention - * - * Copyright (c) 2017 STMicroelectronics. - * All rights reserved. - * - * This software is licensed under terms that can be found in the LICENSE file - * in the root directory of this software component. - * If no LICENSE file comes with this software, it is provided AS-IS. - * - ** - */ + ** + * @filesystem_stm32h7xx.c + * @author MCD Application Team + * @brief CMSIS Cortex-Mx Device Peripheral Access Layer System Source File. + * + * This file provides two functions and one global variable to be called from + * user application: + * - SystemInit(): This function is called at startup just after reset and + * before branch to main program. This call is made inside + * the "startup_stm32h7xx.s" file. + * + * - SystemCoreClock variable: Contains the core clock, it can be used + * by the user application to setup the SysTick + * timer or configure other parameters. + * + * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must + * be called whenever the core clock is changed + * during program execution. + * + * + ** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ** + */ /** @addtogroup CMSIS - * @{ - */ + * @{ + */ /** @addtogroup stm32h7xx_system - * @{ - */ + * @{ + */ /** @addtogroup STM32H7xx_System_Private_Includes - * @{ - */ + * @{ + */ #include "bsp/stm32h7xx_hal_conf.h" #include "stm32h7xx.h" ``` hw/mcu/stm/stm32_common/src/stm32_driver_mod_spi.c ```diff @@ -56,94 +57,92 @@ #if defined(STM32L152xC) #include "stm32l1xx_hal.h" -HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi) -{ - /* Check the SPI handle allocation */ - if (hspi == NULL) - { -return HAL_ERROR; - } - - /* Check the parameters */ - assert_param(IS_SPI_ALL_INSTANCE(hspi->Instance)); - assert_param(IS_SPI_MODE(hspi->Init.Mode)); - assert_param(IS_SPI_DATASIZE(hspi->Init.DataSize)); - assert_param(IS_SPI_CPOL(hspi->Init.CLKPolarity)); - assert_param(IS_SPI_CPHA(hspi->Init.CLKPhase)); - assert_param(IS_SPI_NSS(hspi->Init.NSS)); - assert_param(IS_SPI_BAUDRATE_PRESCALER(hspi->Init.BaudRatePrescaler)); - assert_param(IS_SPI_FIRST_BIT(hspi->Init.FirstBit)); - - hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; - hspi->Init.CRCPolynomial = 1; - - if (hspi->State == HAL_SPI_STATE_RESET) - { -/* Allocate lock resource and
[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #1428: Fixed a check in ble_att_clt_tx_prep_write() api
apache-mynewt-bot commented on PR #1428: URL: https://github.com/apache/mynewt-nimble/pull/1428#issuecomment-1387374434 ## Style check summary No suggestions at this time! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [mynewt-nimble] IshaESP commented on pull request #1428: Fixed a check in ble_att_clt_tx_prep_write() api
IshaESP commented on PR #1428: URL: https://github.com/apache/mynewt-nimble/pull/1428#issuecomment-1387115322 Hi @sjanc , Can you please take a look? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [mynewt-nimble] IshaESP opened a new pull request, #1428: Fixed a check in ble_att_clt_tx_prep_write() api
IshaESP opened a new pull request, #1428: URL: https://github.com/apache/mynewt-nimble/pull/1428 If application is going to send data more than MTU size using ble_gattc_write_long(), after sending first batch of data of MTU size the offset gets incremented by (MTU - BLE_ATT_PREP_WRITE_CMD_BASE_SZ). This check will always fail in that case, as offset will be equal to (MTU - BLE_ATT_PREP_WRITE_CMD_BASE_SZ), and (offset + OS_MBUF_PKTLEN(txom)) will always be greater than BLE_ATT_ATTR_MAX_LEN. Thus failing to send the whole data. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[mynewt-nffs] branch master updated: Remove travis integration
This is an automated email from the ASF dual-hosted git repository. janc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nffs.git The following commit(s) were added to refs/heads/master by this push: new 033476d Remove travis integration 033476d is described below commit 033476db811b5fa50cf8960029fc63490a4792af Author: Szymon Janc AuthorDate: Tue Jan 17 16:36:11 2023 +0100 Remove travis integration ASF is moving away from Travis towards GithubAction. Since this repo is mostly abandonned for now just disable travis. If needed (unlikely) we can add GHA in future. --- .travis.yml | 62 - 1 file changed, 62 deletions(-) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1040613..000 --- a/.travis.yml +++ /dev/null @@ -1,62 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -language: go - -_addons: _conf - -go: - - "1.10" - -git: - depth: false - -matrix: - include: -- os: linux - addons: -apt: - sources: -- ubuntu-toolchain-r-test - packages: -- gcc-7-multilib -- linux-libc-dev:i386 - env: -- OS=mynewt -- os: linux - language: python - python: -- "3.5" - addons: -apt: - packages: -- gperf - env: -- OS=zephyr - -before_install: - - printenv - -install: - - ./ci/${OS}_install.sh - -script: - - ./ci/${OS}_run.sh - -cache: - directories: - - $HOME/zephyr_sdk_download
[GitHub] [mynewt-nffs] sjanc merged pull request #20: Remove travis integration
sjanc merged PR #20: URL: https://github.com/apache/mynewt-nffs/pull/20 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org