[GitHub] [mynewt-core] mlaz merged pull request #2258: Documentation SGM4056 + Charge Control
mlaz merged pull request #2258: Documentation SGM4056 + Charge Control URL: https://github.com/apache/mynewt-core/pull/2258 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[mynewt-core] branch master updated (f54786e -> 9d0fcf7)
This is an automated email from the ASF dual-hosted git repository. mlaz pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git. from f54786e hw/drivers/i2s: Add I2S driver for STM32F4 family new c02d9c9 docs/os/modules/drivers/chg_ctrl: Add charge control driver doc new 01f8001 docs/drivers/chg_ctrl/sgm4056: Add SGM4056 specific doc new 9d0fcf7 Merge pull request #2258 from caspermeijn/doc-sgm4056 The 9592 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: docs/os/modules/drivers/chg_ctrl/chg_ctrl.rst | 145 ++ docs/os/modules/drivers/chg_ctrl/sgm4056.rst | 101 ++ docs/os/modules/drivers/driver.rst| 5 +- 3 files changed, 250 insertions(+), 1 deletion(-) create mode 100644 docs/os/modules/drivers/chg_ctrl/chg_ctrl.rst create mode 100644 docs/os/modules/drivers/chg_ctrl/sgm4056.rst
[GitHub] [mynewt-newtmgr] ccollins476ad merged pull request #160: mojave / catalina support
ccollins476ad merged pull request #160: mojave / catalina support URL: https://github.com/apache/mynewt-newtmgr/pull/160 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[mynewt-newtmgr] branch master updated: mojave / catalina support
This is an automated email from the ASF dual-hosted git repository. ccollins pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git The following commit(s) were added to refs/heads/master by this push: new 1c5d2dc mojave / catalina support 1c5d2dc is described below commit 1c5d2dcf5101274a3c94895455442440fe9c711a Author: Christopher Collins AuthorDate: Mon Apr 13 13:58:35 2020 -0700 mojave / catalina support This commit switches newtmgr from the official go-ble library to the runtimeco fork. The runtimeco fork implements central functionality using the CoreBluetooth API rather than XPC messages. This makes it compatible across all versions of macOS. The runtimeco fork does not implement any peripheral functionality. That is why the changes are not being merged upstream. This is fine for our use case since newtmgr doesn't need any peripheral functionality. --- go.mod| 16 +++- go.sum| 32 newtmgr/bll/bll_common.go | 2 +- newtmgr/bll/bll_sesn.go | 2 +- newtmgr/bll/bll_sesn_cfg.go | 2 +- newtmgr/bll/bll_util.go | 2 +- newtmgr/bll/bll_xport.go | 11 ++- newtmgr/bll/bll_xport_linux.go| 6 +++--- newtmgr/bll/bll_xport_nonlinux.go | 2 +- newtmgr/config/bll_config.go | 2 +- 10 files changed, 54 insertions(+), 23 deletions(-) diff --git a/go.mod b/go.mod index 2706735..6112ac2 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,10 @@ module mynewt.apache.org/newtmgr go 1.12 require ( + github.com/JuulLabs-OSS/ble v0.0.0-20200415235928-df3a9e6783a9 + github.com/abiosoft/ishell v2.0.0+incompatible // indirect github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db // indirect - github.com/cheggaaa/pb v2.0.7+incompatible + github.com/cheggaaa/pb v2.0.7+incompatible // indirect github.com/chzyer/logex v1.1.10 // indirect github.com/chzyer/readline v0.0.0-20171208011716-f6d7a1f6fbf3 // indirect github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect @@ -12,31 +14,27 @@ require ( github.com/fatih/color v1.7.0 // indirect github.com/fatih/structs v1.1.0 github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect - github.com/go-ble/ble v0.0.0-20190521171521-147700f13610 - github.com/go-delve/delve v1.3.1 // indirect github.com/joaojeronimo/go-crc16 v0.0.0-20140729130949-59bd0194935e github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect - github.com/mattn/go-colorable v0.1.4 // indirect - github.com/mattn/go-isatty v0.0.10 // indirect + github.com/mattn/go-colorable v0.1.6 // indirect github.com/mattn/go-runewidth v0.0.6 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mgutz/logxi v0.0.0-20161027140823-aebf8a7d67ab // indirect github.com/mitchellh/go-homedir v1.1.0 github.com/peterh/liner v1.1.0 // indirect github.com/pkg/errors v0.8.1 - github.com/raff/goble v0.0.0-20190909174656-72afc67d6a99 // indirect + github.com/raff/goble v0.0.0-20200327175727-d63360dcfd80 // indirect github.com/runtimeco/go-coap v0.0.0-20190911184520-8e5532820fc0 github.com/sirupsen/logrus v1.4.2 github.com/spf13/cast v1.3.0 github.com/spf13/cobra v0.0.5 github.com/spf13/pflag v1.0.5 // indirect github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07 - github.com/ugorji/go v1.1.7 + github.com/ugorji/go v1.1.7 // indirect github.com/ugorji/go/codec v1.1.7 go.starlark.net v0.0.0-20190919145610-979af19b165c // indirect golang.org/x/arch v0.0.0-20190927153633-4e8777c89be4 // indirect golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914 - golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e // indirect gopkg.in/VividCortex/ewma.v1 v1.1.1 // indirect gopkg.in/abiosoft/ishell.v2 v2.0.0 gopkg.in/cheggaaa/pb.v1 v1.0.28 @@ -46,5 +44,5 @@ require ( gopkg.in/mattn/go-isatty.v0 v0.0.4 // indirect gopkg.in/mattn/go-runewidth.v0 v0.0.4 // indirect gopkg.in/yaml.v2 v2.2.4 // indirect - mynewt.apache.org/newt v0.0.0-20191121024904-fffae9bf8db8 + mynewt.apache.org/newt v0.0.0-20200409145402-c5d1e422bfa3 ) diff --git a/go.sum b/go.sum index 494a900..ddf1498 100644 --- a/go.sum +++ b/go.sum @@ -1,17 +1,23 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/JuulLabs-OSS/ble v0.0.0-20200415235928-df3a9e6783a9 h1:2VXy9m1Bl4unkc3ZcWUrwn/sv1uCoimg99wmFv4xoNE= +github.com/JuulLabs-OSS/ble v0.0.0-20200415235928-df3a9e6783a9/go.mod h1:qMsm/vRFvBk32uWdeFzvSZ8xsw0DUopgJFRgxaYpzt4=
[GitHub] [mynewt-newtmgr] ccollins476ad commented on issue #160: mojave / catalina support
ccollins476ad commented on issue #160: mojave / catalina support URL: https://github.com/apache/mynewt-newtmgr/pull/160#issuecomment-614342467 Thanks for checking it @vrahane. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-614335628 ## 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-614314320 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/mcu/dialog/da14695/include/mcu/mcu.h ```diff @@ -116,7 +116,7 @@ #define MCU_GPIO_PORT0_PIN_COUNT32 #define MCU_GPIO_PORT0(pin)((0 * 32) + (pin)) -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) #define MCU_DMA_CHAN_MAX8 #define MCU_PIN_GPADC_SEL0 MCU_GPIO_PORT1(9) ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-614314320 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/mcu/dialog/da14695/include/mcu/mcu.h ```diff @@ -116,7 +116,7 @@ #define MCU_GPIO_PORT0_PIN_COUNT32 #define MCU_GPIO_PORT0(pin)((0 * 32) + (pin)) -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) #define MCU_DMA_CHAN_MAX8 #define MCU_PIN_GPADC_SEL0 MCU_GPIO_PORT1(9) ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-614273784 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/mcu/dialog/da14695/include/mcu/mcu.h ```diff @@ -115,8 +115,8 @@ #define MCU_GPIO_MODE_OUTPUT_OPEN_DRAIN 0x700/**< GPIO as an open-drain output */ #define MCU_GPIO_PORT0_PIN_COUNT32 -#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) +#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) #define MCU_DMA_CHAN_MAX8 #define MCU_PIN_GPADC_SEL0 MCU_GPIO_PORT1(9) ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-newtmgr] ccollins476ad opened a new pull request #160: mojave / catalina support
ccollins476ad opened a new pull request #160: mojave / catalina support URL: https://github.com/apache/mynewt-newtmgr/pull/160 This PR switches newtmgr from the official go-ble library to the runtimeco fork. The runtimeco fork implements central functionality using the CoreBluetooth API rather than XPC messages. This makes it compatible across all versions of macOS. The runtimeco fork does not implement any peripheral functionality. That is why the changes are not being merged upstream. This is fine for our use case since newtmgr doesn't need any peripheral functionality. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot removed a comment on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-613053754 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/bsp/dialog_da14695-dk-usb/src/sbrk.c ```diff @@ -23,7 +23,8 @@ static char *brk __attribute__ ((section (".data"))); void -_sbrkInit(char *base, char *limit) { +_sbrkInit(char *base, char *limit) +{ sbrkBase = base; sbrkLimit = limit; brk = base; ``` hw/mcu/dialog/da14695/include/mcu/mcu.h ```diff @@ -41,9 +41,9 @@ "I#54=GPIO_P0,I#55=GPIO_P1" /** -* \brief GPIO function -* -*/ + * \brief GPIO function + * + */ typedef enum { MCU_GPIO_FUNC_GPIO = 0, /**< GPIO */ MCU_GPIO_FUNC_UART_RX = 1, /**< GPIO as UART RX */ @@ -115,8 +115,8 @@ #define MCU_GPIO_MODE_OUTPUT_OPEN_DRAIN 0x700/**< GPIO as an open-drain output */ #define MCU_GPIO_PORT0_PIN_COUNT32 -#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) +#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) #define MCU_DMA_CHAN_MAX8 #define MCU_PIN_GPADC_SEL0 MCU_GPIO_PORT1(9) ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb
apache-mynewt-bot commented on issue #2237: Adding bsp and mcu packages for dialog_da14695-dk-usb URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-614273784 ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) hw/mcu/dialog/da14695/include/mcu/mcu.h ```diff @@ -115,8 +115,8 @@ #define MCU_GPIO_MODE_OUTPUT_OPEN_DRAIN 0x700/**< GPIO as an open-drain output */ #define MCU_GPIO_PORT0_PIN_COUNT32 -#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) +#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin)) +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin)) #define MCU_DMA_CHAN_MAX8 #define MCU_PIN_GPADC_SEL0 MCU_GPIO_PORT1(9) ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2270: hw/mcu/nordic: Remove old entries for ignored files
apache-mynewt-bot commented on issue #2270: hw/mcu/nordic: Remove old entries for ignored files URL: https://github.com/apache/mynewt-core/pull/2270#issuecomment-614050617 ## 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] sjanc opened a new pull request #2270: hw/mcu/nordic: Remove old entries for ignored files
sjanc opened a new pull request #2270: hw/mcu/nordic: Remove old entries for ignored files URL: https://github.com/apache/mynewt-core/pull/2270 Modified copies of those are no longer present in tree. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2269: hw/drivers/i2s: Add I2S driver for NRF52 family
apache-mynewt-bot commented on issue #2269: hw/drivers/i2s: Add I2S driver for NRF52 family URL: https://github.com/apache/mynewt-core/pull/2269#issuecomment-613941415 ## 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] kasjer commented on issue #2252: [RFC] I2S API and driver for STM32 and NRF52 MCUs
kasjer commented on issue #2252: [RFC] I2S API and driver for STM32 and NRF52 MCUs URL: https://github.com/apache/mynewt-core/pull/2252#issuecomment-613919209 PR split into few smaller ones 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] kasjer closed pull request #2252: [RFC] I2S API and driver for STM32 and NRF52 MCUs
kasjer closed pull request #2252: [RFC] I2S API and driver for STM32 and NRF52 MCUs URL: https://github.com/apache/mynewt-core/pull/2252 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-core] kasjer opened a new pull request #2269: hw/drivers/i2s: Add I2S driver for NRF52 family
kasjer opened a new pull request #2269: hw/drivers/i2s: Add I2S driver for NRF52 family URL: https://github.com/apache/mynewt-core/pull/2269 I2S driver implementation for NRF52 MCUs. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-nimble] rymanluk commented on issue #783: Make ble_gap_rx_l2cap_update_req() behave like ble_gap_rx_param_req()
rymanluk commented on issue #783: Make ble_gap_rx_l2cap_update_req() behave like ble_gap_rx_param_req() URL: https://github.com/apache/mynewt-nimble/pull/783#issuecomment-613907117 @andrzej-kaczmarek I agree. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [mynewt-nimble] sjanc commented on issue #796: Apps: central added
sjanc commented on issue #796: Apps: central added URL: https://github.com/apache/mynewt-nimble/pull/796#issuecomment-613865725 some general comments on how I'd like to see this sample: - no need to parse full adv data and print those, just look for specified UUID and print info when it is found - then initiate connection - when connected (or failed) print proper info about that - update conn params, notify when updated - change PHY eg to 2M and notify when done, - disconnect - wait for few sconds and go back to 1 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services