(mynewt-core) 01/01: hw/mcu/dialog: Add 1MHz i2c speed

2024-05-16 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 6ccc2f224f439622188cf14d4b01598b72f6d1f9
Author: Will San Filippo 
AuthorDate: Thu May 16 13:22:43 2024 -0400

hw/mcu/dialog: Add 1MHz i2c speed

Adds 1MHz i2c speed to the i2c hal. The 1MHz speed requires
high speed mode on the chip. In order for this to work it appears
that the RESTART_EN bit has to be set in the control register or
a tx abort condition occurs (bit 8 in tx abort source reg).
---
 hw/mcu/dialog/da1469x/src/hal_i2c.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/hw/mcu/dialog/da1469x/src/hal_i2c.c 
b/hw/mcu/dialog/da1469x/src/hal_i2c.c
index d6983b9c6..30147e9ca 100644
--- a/hw/mcu/dialog/da1469x/src/hal_i2c.c
+++ b/hw/mcu/dialog/da1469x/src/hal_i2c.c
@@ -186,8 +186,9 @@ i2c_config(const struct da1469x_hal_i2c *i2c, uint32_t 
frequency)
 /* Configure I2C_CON_REG */
 i2c_con_reg = i2c->data->I2C_CON_REG;
 
-/* Clear speed register */
-i2c_con_reg &= ~I2C_I2C_CON_REG_I2C_SPEED_Msk;
+/* Clear speed and restart enable bits */
+i2c_con_reg &= ~(I2C_I2C_CON_REG_I2C_SPEED_Msk |
+ I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
 switch (frequency) {
 case 100:
 i2c_con_reg |= (1 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
@@ -195,6 +196,10 @@ i2c_config(const struct da1469x_hal_i2c *i2c, uint32_t 
frequency)
 case 400:
 i2c_con_reg |= (2 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
 break;
+case 1000:
+i2c_con_reg |= ((3 << I2C_I2C_CON_REG_I2C_SPEED_Pos) |
+I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
+break;
 default:
 return HAL_I2C_ERR_INVAL;
 }



(mynewt-core) branch da1469x_i2c_1mhz created (now 6ccc2f224)

2024-05-16 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


  at 6ccc2f224 hw/mcu/dialog: Add 1MHz i2c speed

This branch includes the following new commits:

 new 6ccc2f224 hw/mcu/dialog: Add 1MHz i2c speed

The 1 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.




(mynewt-core) branch da1469x_i2c_1mhz deleted (was 6ccc2f224)

2024-05-16 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


 was 6ccc2f224 hw/mcu/dialog: Add 1MHz i2c speed

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(mynewt-core) branch master updated: hw/mcu/dialog: Add 1MHz high-speed mode to hal i2c

2024-05-20 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new f8effc74e hw/mcu/dialog: Add 1MHz high-speed mode to hal i2c
f8effc74e is described below

commit f8effc74e2a99786d43a315a76aa498f4bb084e0
Author: Will San Filippo 
AuthorDate: Thu May 16 14:40:35 2024 -0400

hw/mcu/dialog: Add 1MHz high-speed mode to hal i2c

Adds 1MHz i2c speed to the i2c hal. The 1MHz speed requires
high speed mode on the chip. In order for this to work it
appears that the RESTART_EN bit has to be set in the control
register or a tx abort condition occurs (bit 8 in tx abort source reg)
---
 hw/mcu/dialog/da1469x/src/hal_i2c.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/hw/mcu/dialog/da1469x/src/hal_i2c.c 
b/hw/mcu/dialog/da1469x/src/hal_i2c.c
index d6983b9c6..53b9c7d3a 100644
--- a/hw/mcu/dialog/da1469x/src/hal_i2c.c
+++ b/hw/mcu/dialog/da1469x/src/hal_i2c.c
@@ -187,7 +187,8 @@ i2c_config(const struct da1469x_hal_i2c *i2c, uint32_t 
frequency)
 i2c_con_reg = i2c->data->I2C_CON_REG;
 
 /* Clear speed register */
-i2c_con_reg &= ~I2C_I2C_CON_REG_I2C_SPEED_Msk;
+i2c_con_reg &= ~(I2C_I2C_CON_REG_I2C_SPEED_Msk |
+ I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
 switch (frequency) {
 case 100:
 i2c_con_reg |= (1 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
@@ -195,6 +196,10 @@ i2c_config(const struct da1469x_hal_i2c *i2c, uint32_t 
frequency)
 case 400:
 i2c_con_reg |= (2 << I2C_I2C_CON_REG_I2C_SPEED_Pos);
 break;
+case 1000:
+i2c_con_reg |= ((3 << I2C_I2C_CON_REG_I2C_SPEED_Pos) |
+I2C_I2C_CON_REG_I2C_RESTART_EN_Msk);
+break;
 default:
 return HAL_I2C_ERR_INVAL;
 }



(mynewt-core) branch master updated: pwm/pwm_da1469x: Preserve timer state on frequency change.

2024-05-23 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new f2b4e4102 pwm/pwm_da1469x: Preserve timer state on frequency change.
f2b4e4102 is described below

commit f2b4e4102edaa6afaff1dac6ba0af2b8c3c4
Author: Will San Filippo 
AuthorDate: Tue May 21 13:00:21 2024 -0400

pwm/pwm_da1469x: Preserve timer state on frequency change.

Read the current timer state (timer control reg) and preserve
its running state when setting frequency. The only bits that
should be set in the control register are the bits to enable
the timer in the proper mode and enable the clock.
---
 hw/drivers/pwm/pwm_da1469x/src/pwm_da1469x.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/hw/drivers/pwm/pwm_da1469x/src/pwm_da1469x.c 
b/hw/drivers/pwm/pwm_da1469x/src/pwm_da1469x.c
index b6c74da6c..1f7c5b804 100644
--- a/hw/drivers/pwm/pwm_da1469x/src/pwm_da1469x.c
+++ b/hw/drivers/pwm/pwm_da1469x/src/pwm_da1469x.c
@@ -91,7 +91,7 @@ da1469x_pwm_configure_channel(struct pwm_dev *dev, uint8_t 
channel,
 
 pwm = da1469x_pwm_resolve(dev->pwm_instance_id);
 if (!pwm || !pwm->in_use) {
-   return SYS_EINVAL;
+return SYS_EINVAL;
 }
 
 mcu_gpio_set_pin_function(cfg->pin, MCU_GPIO_MODE_OUTPUT, pwm->gpio_func);
@@ -220,6 +220,7 @@ da1469x_pwm_set_freq(struct pwm_dev *dev, uint32_t freq)
 int tim_pwm_freq;
 uint32_t sys_clk_en;
 uint32_t actual_freq;
+uint32_t clk_reg;
 
 pwm = da1469x_pwm_resolve(dev->pwm_instance_id);
 if (!pwm || !pwm->in_use) {
@@ -232,7 +233,8 @@ da1469x_pwm_set_freq(struct pwm_dev *dev, uint32_t freq)
 }
 
 pwm->timer_regs->TIMER_PRESCALER_REG = 0;
-pwm->timer_regs->TIMER_CTRL_REG = sys_clk_en;
+clk_reg = pwm->timer_regs->TIMER_CTRL_REG & 
~TIMER_TIMER_CTRL_REG_TIM_SYS_CLK_EN_Msk;
+pwm->timer_regs->TIMER_CTRL_REG = (sys_clk_en | clk_reg);
 pwm->timer_regs->TIMER_PWM_FREQ_REG = tim_pwm_freq;
 
 pwm->freq = actual_freq;



[mynewt-core] branch master updated: da1469x: otp and serial script enhancements (#2262)

2020-04-08 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 817ba5b  da1469x: otp and serial script enhancements (#2262)
817ba5b is described below

commit 817ba5b516da1241a7f0e9355b1fa0834c15c53d
Author: Naveen Kaje 
AuthorDate: Wed Apr 8 12:07:46 2020 -0500

da1469x: otp and serial script enhancements (#2262)

* hw/bsp/da1469x: da1469x_serial: Make the reset script optional

Make the reset script an optional parameter. This gives the
user an option to manually reset the board to make it enter
the serial load mode or use JLink or OpenOCD based reset script.

Signed-off-by: Naveen Kaje 

* hw/bsp/da1469x: otp_tool: provide common function for serial

Provide common method for serial port opening opens the port, flushes
and returns port handle. This eleminates repeated code.

Signed-off-by: Naveen Kaje 

* hw/bsp/da1469x: da1469x_serial: drain the port after open

Drain the port after opening to ensure the
buffers are empty.

Signed-off-by: Naveen Kaje 
---
 hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py | 16 +-
 hw/bsp/dialog_da1469x-dk-pro/otp_tool.py   | 70 +-
 2 files changed, 39 insertions(+), 47 deletions(-)

diff --git a/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py 
b/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py
index 1d7d7aa..598c609 100755
--- a/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py
+++ b/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py
@@ -26,7 +26,7 @@ from datetime import datetime
 
 @click.argument('infile')
 @click.option('-u', '--uart', required=True, help='uart port')
-@click.option('-r', '--reset_script', required=True, help='Custom reset script 
to switch to serial load')
+@click.option('-r', '--reset_script', required=False, help='Custom reset 
script to switch to serial load')
 @click.command(help='Load the provided file using serial load protocol')
 def load(infile, uart, reset_script):
 try:
@@ -35,6 +35,15 @@ def load(infile, uart, reset_script):
 except serial.SerialException:
 raise SystemExit("Failed to open serial port")
 
+# drain serial port buffer
+try:
+while True:
+data = ser.read(1)
+if len(data) == 0:
+break
+except serial.SerialException:
+raise SystemExit("Failed to open serial port")
+
 try:
 f = open(infile, "rb")
 except IOError:
@@ -59,12 +68,15 @@ def load(infile, uart, reset_script):
 prev = datetime.now()
 reset_delay_us = 25
 
+if reset_script is None:
+print("Please reset board to enter ROM uart recovery")
+
 while True:
 elapsed = datetime.now() - prev
 if elapsed.seconds >= 15:
 raise SystemExit("Failed to receive SOM, aborting")
 if not som_detected and not reset_triggered:
-if elapsed.microseconds >= reset_delay_us:
+if reset_script and elapsed.microseconds >= reset_delay_us:
 print("Triggering SWD reset...")
 # Run in background
 os.system(reset_script + " &")
diff --git a/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py 
b/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py
index fbe3086..8883365 100755
--- a/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py
+++ b/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py
@@ -125,14 +125,26 @@ def validate_response(response):
 return True
 
 
-def otp_read_key(index, segment, uart):
-seg_map = {'signature': 0, 'data': 1, 'qspi': 2}
-
+def get_serial_port(port, baudrate, timeout, bytesize, stopbits):
 try:
-ser = serial.Serial(port=uart, baudrate=100, timeout=1,
-bytesize=8, stopbits=serial.STOPBITS_ONE)
+ser = serial.Serial(port=port, baudrate=baudrate, timeout=timeout,
+bytesize=bytesize, stopbits=stopbits)
 except serial.SerialException:
 raise SystemExit("Failed to open serial port")
+# drain serial port buffer
+try:
+while True:
+data = ser.read(1)
+if len(data) == 0:
+break
+except serial.SerialException:
+raise SystemExit("Failed to open serial port")
+return ser
+
+
+def otp_read_key(index, segment, uart):
+seg_map = {'signature': 0, 'data': 1, 'qspi': 2}
+ser = get_serial_port(uart, 100, 1, 8, serial.STOPBITS_ONE)
 
 cmd = cmd_read_key(0xaa55aa55, Cmd.OTP_READ_KEY, seg_map[segment], index)
 data = struct.pack('',

[mynewt-core] branch master updated: hw/mcu/stm/stm32_common: Add include for os_cputime.h (#2318)

2020-06-16 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new afe3836  hw/mcu/stm/stm32_common: Add include for os_cputime.h (#2318)
afe3836 is described below

commit afe3836e2b3209c22e223d488856b74bd7911409
Author: wes3 
AuthorDate: Tue Jun 16 12:31:12 2020 -0700

hw/mcu/stm/stm32_common: Add include for os_cputime.h (#2318)

The stm32_periph.c file may not include os_cputime.h if certain
syscfg values are not set. This explicitly include os_cputime.h
if OS_CPUTIME_TIMER_NUM is >= 0.

Fix parentheses.
---
 hw/mcu/stm/stm32_common/src/stm32_periph.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/mcu/stm/stm32_common/src/stm32_periph.c 
b/hw/mcu/stm/stm32_common/src/stm32_periph.c
index 179a2be..b6cdf0e 100644
--- a/hw/mcu/stm/stm32_common/src/stm32_periph.c
+++ b/hw/mcu/stm/stm32_common/src/stm32_periph.c
@@ -52,6 +52,9 @@
 #include "stm32f4xx_hal_adc.h"
 #include "adc_stm32f4/adc_stm32f4.h"
 #endif
+#if MYNEWT_VAL(OS_CPUTIME_TIMER_NUM) >= 0
+#include "os/os_cputime.h"
+#endif
 
 #include "mcu/stm32_hal.h"
 



[mynewt-core] branch master updated: net/ip: Re-arrange lwip (#2323)

2020-06-25 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 0c29e69  net/ip: Re-arrange lwip (#2323)
0c29e69 is described below

commit 0c29e69b4267f2a7e916d33d07d2cefcd59e82c7
Author: wes3 
AuthorDate: Thu Jun 25 08:29:00 2020 -0700

net/ip: Re-arrange lwip (#2323)

* net/ip: Re-arrange lwip

This commit changes how the mynewt lwip code is arranged in
the repository. Hopefully, this new arrangement makes it easier
to include lwip_base so other lwip implementations can use it
without having to bring the mynewt lwip code. Packages requiring
the base lwip code (and not the mynewt lwip code) can depend
on net/ip/lwip_base. Applications wanting to include the mynewt
lwip code should depend on net/ip/lwip_mn. None of the previous
functionality should change; the code was simply moved from
net/ip/src to net/ip/lwip_mn/src and a new package created.

* net/ip: Re-arrange lwip

Place a dependency to lwip_mn in the lwip driver for stm32_eth.
This is needed as the previous package in net/ip was modified
and the mynewt lwip code was moved.
---
 hw/drivers/lwip/stm32_eth/pkg.yml  |  4 ++--
 net/ip/{ => lwip_mn}/include/lwipopts.h|  0
 net/ip/{ => lwip_mn}/pkg.yml   |  7 ++-
 net/ip/{ => lwip_mn}/src/ip_init.c |  0
 net/ip/{ => lwip_mn}/src/ip_priv.h |  0
 net/ip/{ => lwip_mn}/src/lwip_cli.c|  0
 net/ip/{ => lwip_mn}/src/lwip_if.c |  0
 net/ip/{ => lwip_mn}/src/lwip_mynewt.c |  0
 net/ip/{ => lwip_mn}/src/lwip_socket.c |  0
 net/ip/{ => lwip_mn}/src/os_queue.c|  0
 net/ip/{ => lwip_mn}/syscfg.yml|  0
 net/ip/mn_socket/include/mn_socket/mn_socket.h |  6 ++
 net/ip/pkg.yml | 11 ---
 13 files changed, 10 insertions(+), 18 deletions(-)

diff --git a/hw/drivers/lwip/stm32_eth/pkg.yml 
b/hw/drivers/lwip/stm32_eth/pkg.yml
index 6819c45..b5d92e6 100644
--- a/hw/drivers/lwip/stm32_eth/pkg.yml
+++ b/hw/drivers/lwip/stm32_eth/pkg.yml
@@ -27,7 +27,7 @@ pkg.keywords:
 - ethernet
 pkg.deps:
 - "@apache-mynewt-core/hw/hal"
-- "@apache-mynewt-core/net/ip/lwip_base"
+- "@apache-mynewt-core/net/ip/lwip_mn"
 
 pkg.deps.MCU_STM32F4:
 - "@apache-mynewt-core/hw/mcu/stm/stm32f4xx"
@@ -35,7 +35,7 @@ pkg.deps.MCU_STM32F4:
 pkg.deps.MCU_STM32F7:
 - "@apache-mynewt-core/hw/mcu/stm/stm32f7xx"
 
-pkg.req_apis: 
+pkg.req_apis:
 
 pkg.init:
 stm32_eth_open: 'MYNEWT_VAL(STM32_ETH_SYSINIT_STAGE)'
diff --git a/net/ip/include/lwipopts.h b/net/ip/lwip_mn/include/lwipopts.h
similarity index 100%
rename from net/ip/include/lwipopts.h
rename to net/ip/lwip_mn/include/lwipopts.h
diff --git a/net/ip/pkg.yml b/net/ip/lwip_mn/pkg.yml
similarity index 95%
copy from net/ip/pkg.yml
copy to net/ip/lwip_mn/pkg.yml
index 998e0dd..b41b8da 100644
--- a/net/ip/pkg.yml
+++ b/net/ip/lwip_mn/pkg.yml
@@ -17,15 +17,12 @@
 # under the License.
 #
 
-pkg.name: net/ip
+pkg.name: net/ip/lwip_mn
 pkg.description: LwIP adaptation to Mynewt
 pkg.author: "Apache Mynewt "
 pkg.homepage:
 pkg.keywords:
-- ip
-- ipv6
-- tcp
-- udp
+- lwip
 
 pkg.deps:
 - "@apache-mynewt-core/kernel/os"
diff --git a/net/ip/src/ip_init.c b/net/ip/lwip_mn/src/ip_init.c
similarity index 100%
rename from net/ip/src/ip_init.c
rename to net/ip/lwip_mn/src/ip_init.c
diff --git a/net/ip/src/ip_priv.h b/net/ip/lwip_mn/src/ip_priv.h
similarity index 100%
rename from net/ip/src/ip_priv.h
rename to net/ip/lwip_mn/src/ip_priv.h
diff --git a/net/ip/src/lwip_cli.c b/net/ip/lwip_mn/src/lwip_cli.c
similarity index 100%
rename from net/ip/src/lwip_cli.c
rename to net/ip/lwip_mn/src/lwip_cli.c
diff --git a/net/ip/src/lwip_if.c b/net/ip/lwip_mn/src/lwip_if.c
similarity index 100%
rename from net/ip/src/lwip_if.c
rename to net/ip/lwip_mn/src/lwip_if.c
diff --git a/net/ip/src/lwip_mynewt.c b/net/ip/lwip_mn/src/lwip_mynewt.c
similarity index 100%
rename from net/ip/src/lwip_mynewt.c
rename to net/ip/lwip_mn/src/lwip_mynewt.c
diff --git a/net/ip/src/lwip_socket.c b/net/ip/lwip_mn/src/lwip_socket.c
similarity index 100%
rename from net/ip/src/lwip_socket.c
rename to net/ip/lwip_mn/src/lwip_socket.c
diff --git a/net/ip/src/os_queue.c b/net/ip/lwip_mn/src/os_queue.c
similarity index 100%
rename from net/ip/src/os_queue.c
rename to net/ip/lwip_mn/src/os_queue.c
diff --git a/net/ip/syscfg.yml b/net/ip/lwip_mn/syscfg.yml
similarity index 100%
rename from net/ip/syscfg.yml
rename to net/ip/lwip_mn/syscfg.yml
diff --git a/net/ip/mn_socket/include/mn_socket/mn_socket.h 
b/net/ip/mn_socket/include/mn_socket/mn_socket.h
index 42b0fef

[mynewt-core] branch master updated: hw/mcu/stm/stm32_common: Clear overrun error (#2325)

2020-07-06 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 1883c01  hw/mcu/stm/stm32_common: Clear overrun error (#2325)
1883c01 is described below

commit 1883c011cdbe15a62d30df4a162e03730dd43705
Author: wes3 
AuthorDate: Mon Jul 6 10:52:03 2020 -0700

hw/mcu/stm/stm32_common: Clear overrun error (#2325)

The uart irq handler for certain stm32 mcu's was not handling
the clearing of an rx overrun error. This code should handle it
properly.
---
 hw/mcu/stm/stm32_common/src/hal_uart.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/hw/mcu/stm/stm32_common/src/hal_uart.c 
b/hw/mcu/stm/stm32_common/src/hal_uart.c
index 6671d28..394a9f6 100644
--- a/hw/mcu/stm/stm32_common/src/hal_uart.c
+++ b/hw/mcu/stm/stm32_common/src/hal_uart.c
@@ -223,6 +223,11 @@ uart_irq_handler(int num)
 if (isr & USART_ISR_ORE) {
 regs->ICR |= USART_ICR_ORECF;
 }
+#else
+/* clear overrun */
+if (isr & USART_SR_ORE) {
+(void)RXDR(regs);
+}
 #endif
 }
 



[mynewt-nimble] branch master updated: cmac/driver: Make CMAC2SYS IRQ priority configurable

2020-11-16 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

wes3 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 4dc6f04  cmac/driver: Make CMAC2SYS IRQ priority configurable
 new 19d599b  Merge pull request #885 from wes3/cmac2sys_priority
4dc6f04 is described below

commit 4dc6f0494b2878c7cb4b64754148ba2ad4a9c37d
Author: Will San Filippo 
AuthorDate: Fri Nov 13 19:24:49 2020 -0800

cmac/driver: Make CMAC2SYS IRQ priority configurable

Allow the application to modify the CMAC2SYS IRQ priority.
---
 nimble/transport/dialog_cmac/cmac_driver/src/cmac_host.c | 2 +-
 nimble/transport/dialog_cmac/cmac_driver/syscfg.yml  | 6 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/nimble/transport/dialog_cmac/cmac_driver/src/cmac_host.c 
b/nimble/transport/dialog_cmac/cmac_driver/src/cmac_host.c
index 78c722c..d07d127 100644
--- a/nimble/transport/dialog_cmac/cmac_driver/src/cmac_host.c
+++ b/nimble/transport/dialog_cmac/cmac_driver/src/cmac_host.c
@@ -235,7 +235,7 @@ cmac_host_init(void)
 
 /* Setup CMAC2SYS interrupt */
 NVIC_SetVector(CMAC2SYS_IRQn, (uint32_t)cmac2sys_isr);
-NVIC_SetPriority(CMAC2SYS_IRQn, 0);
+NVIC_SetPriority(CMAC2SYS_IRQn, MYNEWT_VAL(CMAC_CMAC2SYS_IRQ_PRIORITY));
 NVIC_DisableIRQ(CMAC2SYS_IRQn);
 
 /* Enable Radio LDO */
diff --git a/nimble/transport/dialog_cmac/cmac_driver/syscfg.yml 
b/nimble/transport/dialog_cmac/cmac_driver/syscfg.yml
index e3f3a2d..a382c42 100644
--- a/nimble/transport/dialog_cmac/cmac_driver/syscfg.yml
+++ b/nimble/transport/dialog_cmac/cmac_driver/syscfg.yml
@@ -94,5 +94,11 @@ syscfg.defs:
 CMAC binary.
 value: 128K
 
+CMAC_CMAC2SYS_IRQ_PRIORITY:
+description: >
+The priority of the CMAC2SYS IRQ. Default is 0, or highest
+priority.
+value: 0
+
 syscfg.restrictions.BLE_HOST:
 - TRNG



[mynewt-core] branch master updated: hw/mcu/da1469x: Configurable RCX reference count calibration value

2020-12-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new fc00736  hw/mcu/da1469x: Configurable RCX reference count calibration 
value
fc00736 is described below

commit fc007362e1f5722a9ac458dfb2404f0d4865aa99
Author: Will San Filippo 
AuthorDate: Mon Dec 21 13:53:04 2020 -0800

hw/mcu/da1469x: Configurable RCX reference count calibration value

Code prior to this change fixed the reference count value used
for RCX calibration to 100. This change allows it to be configured
by the user as a value of 100 makes for a long calibration time
(on the order of 6.67 msecs).
---
 hw/mcu/dialog/da1469x/src/da1469x_clock.c |  9 ++---
 hw/mcu/dialog/da1469x/syscfg.yml  | 13 -
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/hw/mcu/dialog/da1469x/src/da1469x_clock.c 
b/hw/mcu/dialog/da1469x/src/da1469x_clock.c
index 5e856f8..d825529 100644
--- a/hw/mcu/dialog/da1469x/src/da1469x_clock.c
+++ b/hw/mcu/dialog/da1469x/src/da1469x_clock.c
@@ -204,13 +204,8 @@ da1469x_clock_calibrate(uint8_t clock_sel, uint16_t 
ref_cnt)
 void
 da1469x_clock_lp_rcx_calibrate(void)
 {
-/*
- * XXX not sure what is a good value here, this is just some value that
- * seems to work fine; we need to check how accurate this is and 
perhaps
- * also make it configurable if necessary
- */
-const uint32_t ref_cnt = 100;
-g_mcu_clock_rcx_freq = da1469x_clock_calibrate(3, ref_cnt);
+g_mcu_clock_rcx_freq =
+da1469x_clock_calibrate(3, MYNEWT_VAL(MCU_CLOCK_RCX_CAL_REF_CNT));
 }
 
 void
diff --git a/hw/mcu/dialog/da1469x/syscfg.yml b/hw/mcu/dialog/da1469x/syscfg.yml
index af65773..7fb7b09 100644
--- a/hw/mcu/dialog/da1469x/syscfg.yml
+++ b/hw/mcu/dialog/da1469x/syscfg.yml
@@ -66,6 +66,17 @@ syscfg.defs:
 description: >
 Specifies settling time [ms] of 32K crystal oscillator.
 value: 8000
+
+MCU_CLOCK_RCX_CAL_REF_CNT:
+description: >
+Reference count value for calibration of RCX clock. The higher
+the value the more accurate the calibration but also increases
+calibration time. The calibration time is approximately this
+value multiplied by one 15kHz clock cycle, thus total calibration
+time will be approx 66.67 usecs * MCU_CLOCK_RCX_CAL_REF_CNT.
+value: 100
+restrictions: '!0'
+
 MCU_SYSCLK_SOURCE:
 description: >
 Specifies system clock source
@@ -114,7 +125,7 @@ syscfg.defs:
 value: 0
 MCU_DMA_IRQ_PRIO:
 description: >
-Specifies the NVIC interrupt priority to assign for the DMA_IRQn 
+Specifies the NVIC interrupt priority to assign for the DMA_IRQn
 interrupt.
 value: 15
 



[mynewt-core] 01/01: Merge pull request #368 from rymanluk/bt5_wl

2017-06-30 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 9805d4e678aad8a3ead8464cbdfeded7f784cb04
Merge: e6b3480 b723905
Author: wes3 
AuthorDate: Fri Jun 30 10:24:59 2017 -0700

Merge pull request #368 from rymanluk/bt5_wl

nimble/controller: Allow to configure usage of hardware while list

 net/nimble/controller/include/controller/ble_hw.h | 4 +++-
 net/nimble/controller/syscfg.yml  | 7 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)

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


[mynewt-core] branch bluetooth5 updated (e6b3480 -> 9805d4e)

2017-06-30 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from e6b3480  Merge pull request #364 from sjanc/bluetooth5_master
 add 5d68786  nimble/controller: Add MYNEWT_VAL to enable/disable HW 
whitelist
 add b723905  nimble/controller: For Bluetooth5 disable HW whitelist
 new 9805d4e  Merge pull request #368 from rymanluk/bt5_wl

The 1 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:
 net/nimble/controller/include/controller/ble_hw.h | 4 +++-
 net/nimble/controller/syscfg.yml  | 7 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #377 from iotvietmember/add_vbluno52_board

2017-07-05 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 35cc4912a8a97081eb03d380042c017c18085bde
Merge: 5420968 2f07acf
Author: wes3 
AuthorDate: Wed Jul 5 14:23:04 2017 -0700

Merge pull request #377 from iotvietmember/add_vbluno52_board

Add support for the VBLUno52 board

 README.md  |   1 +
 hw/bsp/vbluno52/boot-nrf52xxaa.ld  |  25 ++
 hw/bsp/vbluno52/bsp.yml|  64 +
 hw/bsp/vbluno52/include/bsp/bsp.h  |  58 
 hw/bsp/vbluno52/include/bsp/cmsis_nvic.h   |  29 ++
 hw/bsp/vbluno52/nrf52xxaa.ld   |  25 ++
 hw/bsp/vbluno52/pkg.yml|  95 +++
 hw/bsp/vbluno52/split-vbluno52.ld  | 208 ++
 .../src/arch/cortex_m4/gcc_startup_nrf52.s | 301 +
 .../src/arch/cortex_m4/gcc_startup_nrf52_split.s   | 166 
 hw/bsp/vbluno52/src/hal_bsp.c  | 230 
 hw/bsp/vbluno52/src/sbrk.c |  59 
 hw/bsp/vbluno52/syscfg.yml | 102 +++
 hw/bsp/vbluno52/vbluno52_debug.cmd |  22 ++
 hw/bsp/vbluno52/vbluno52_debug.sh  |  38 +++
 hw/bsp/vbluno52/vbluno52_download.cmd  |  22 ++
 hw/bsp/vbluno52/vbluno52_download.sh   |  49 
 hw/bsp/vbluno52/vbluno52_no_boot.ld| 191 +
 18 files changed, 1685 insertions(+)

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


[mynewt-core] branch master updated (5420968 -> 35cc491)

2017-07-05 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 5420968  Merge pull request #349 from francois-berder/periph-i2c
 add 2f07acf  Add support for the VBLUno52 board The VBLUno52 board from 
VNG (Nordic nRF52832 Cortex-M4 SoC based)
 new 35cc491  Merge pull request #377 from iotvietmember/add_vbluno52_board

The 1 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:
 README.md  |  1 +
 hw/bsp/{telee02 => vbluno52}/boot-nrf52xxaa.ld |  0
 hw/bsp/{rb-nano2 => vbluno52}/bsp.yml  | 14 +--
 .../include/bsp/bsp.h  | 15 
 .../{telee02 => vbluno52}/include/bsp/cmsis_nvic.h |  0
 hw/bsp/{telee02 => vbluno52}/nrf52xxaa.ld  |  0
 hw/bsp/{ada_feather_nrf52 => vbluno52}/pkg.yml | 19 +++
 .../split-vbluno52.ld} |  0
 .../src/arch/cortex_m4/gcc_startup_nrf52.s |  0
 .../src/arch/cortex_m4/gcc_startup_nrf52_split.s   |  0
 .../{ada_feather_nrf52 => vbluno52}/src/hal_bsp.c  | 28 --
 hw/bsp/{vbluno51 => vbluno52}/src/sbrk.c   |  0
 hw/bsp/{nrf52dk => vbluno52}/syscfg.yml| 12 ++
 .../vbluno52_debug.cmd}|  0
 .../vbluno52_debug.sh} |  6 ++---
 .../vbluno52_download.cmd} |  0
 .../vbluno52_download.sh}  |  1 -
 .../vbluno52_no_boot.ld}   |  0
 18 files changed, 59 insertions(+), 37 deletions(-)
 copy hw/bsp/{telee02 => vbluno52}/boot-nrf52xxaa.ld (100%)
 copy hw/bsp/{rb-nano2 => vbluno52}/bsp.yml (82%)
 copy hw/bsp/{arduino_primo_nrf52 => vbluno52}/include/bsp/bsp.h (88%)
 copy hw/bsp/{telee02 => vbluno52}/include/bsp/cmsis_nvic.h (100%)
 copy hw/bsp/{telee02 => vbluno52}/nrf52xxaa.ld (100%)
 copy hw/bsp/{ada_feather_nrf52 => vbluno52}/pkg.yml (87%)
 copy hw/bsp/{telee02/split-telee02.ld => vbluno52/split-vbluno52.ld} (100%)
 copy hw/bsp/{telee02 => vbluno52}/src/arch/cortex_m4/gcc_startup_nrf52.s (100%)
 copy hw/bsp/{telee02 => vbluno52}/src/arch/cortex_m4/gcc_startup_nrf52_split.s 
(100%)
 copy hw/bsp/{ada_feather_nrf52 => vbluno52}/src/hal_bsp.c (91%)
 copy hw/bsp/{vbluno51 => vbluno52}/src/sbrk.c (100%)
 copy hw/bsp/{nrf52dk => vbluno52}/syscfg.yml (93%)
 copy hw/bsp/{vbluno51/vbluno51_download.cmd => vbluno52/vbluno52_debug.cmd} 
(100%)
 copy hw/bsp/{rb-blend2/rb-blend2_debug.sh => vbluno52/vbluno52_debug.sh} (99%)
 copy hw/bsp/{vbluno51/vbluno51_download.cmd => vbluno52/vbluno52_download.cmd} 
(100%)
 copy hw/bsp/{rb-nano2/rb-nano2_download.sh => vbluno52/vbluno52_download.sh} 
(99%)
 copy hw/bsp/{telee02/telee02_no_boot.ld => vbluno52/vbluno52_no_boot.ld} (100%)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #369 from wes3/myn792

2017-07-06 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit a731eb413725ba57976983fd6399e3262f5e8524
Merge: ab7d6fb 2c7f5f9
Author: wes3 
AuthorDate: Thu Jul 6 14:07:15 2017 -0700

Merge pull request #369 from wes3/myn792

MYNEWT-792: Return hal_timer error codes from os_cputime functions

 kernel/os/include/os/os_cputime.h | 15 +--
 kernel/os/src/os_cputime.c| 27 +--
 2 files changed, 34 insertions(+), 8 deletions(-)

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


[mynewt-core] branch master updated (ab7d6fb -> a731eb4)

2017-07-06 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from ab7d6fb  Merge pull request #371 from bgiori/remove_lls
 add 2c7f5f9  MYNEWT-792: Return hal_timer error codes from os_cputime 
functions
 new a731eb4  Merge pull request #369 from wes3/myn792

The 1 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:
 kernel/os/include/os/os_cputime.h | 15 +--
 kernel/os/src/os_cputime.c| 27 +--
 2 files changed, 34 insertions(+), 8 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #403 from wes3/myn810

2017-07-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit abe5e6b39526aef7c1c18d08f41f30606b25f17f
Merge: a32718a 76a1a16
Author: wes3 
AuthorDate: Wed Jul 12 10:27:07 2017 -0700

Merge pull request #403 from wes3/myn810

nimble/controller: Fix scheduler advertising halt error

 net/nimble/controller/include/controller/ble_ll_adv.h | 2 +-
 net/nimble/controller/src/ble_ll_adv.c| 6 --
 net/nimble/controller/src/ble_ll_sched.c  | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

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


[mynewt-core] branch master updated (a32718a -> abe5e6b)

2017-07-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from a32718a  Merge pull request #407 from michal-narajowski/tinyprintf-fix
 add 76a1a16  nimble/controller: Fix scheduler advertising halt error
 new abe5e6b  Merge pull request #403 from wes3/myn810

The 1 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:
 net/nimble/controller/include/controller/ble_ll_adv.h | 2 +-
 net/nimble/controller/src/ble_ll_adv.c| 6 --
 net/nimble/controller/src/ble_ll_sched.c  | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (73b4f37 -> 7063531)

2017-07-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 73b4f37  Merge pull request #440 from jacobrosenthal/nrf52-thingy-fix
 add 7a8d326  Add hal_system_init in startup file for VBLUno51 board
 new 7063531  Merge pull request #455 from iotvietmember/add_hal_system_init

The 1 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:
 hw/bsp/vbluno51/src/arch/cortex_m0/gcc_startup_nrf51.s | 3 +++
 1 file changed, 3 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #455 from iotvietmember/add_hal_system_init

2017-07-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 7063531fd32a253088f463ed231aa9c2485083bb
Merge: 73b4f37 7a8d326
Author: wes3 
AuthorDate: Sat Jul 22 14:37:47 2017 -0700

Merge pull request #455 from iotvietmember/add_hal_system_init

Add hal_system_init in startup file for VBLUno51 board

 hw/bsp/vbluno51/src/arch/cortex_m0/gcc_startup_nrf51.s | 3 +++
 1 file changed, 3 insertions(+)

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


[mynewt-core] 01/01: Merge pull request #454 from iotvietmember/fix_err_led

2017-07-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 7cc95f7ed1b2c013936dd1c14b11eaf81faa2daf
Merge: 7063531 596f215
Author: wes3 
AuthorDate: Sat Jul 22 14:46:07 2017 -0700

Merge pull request #454 from iotvietmember/fix_err_led

Clear LED define for the VBLUno51, VBLUno52 board.

 hw/bsp/vbluno51/include/bsp/bsp.h | 6 ++
 hw/bsp/vbluno52/include/bsp/bsp.h | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

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


[mynewt-core] branch master updated (7063531 -> 7cc95f7)

2017-07-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 7063531  Merge pull request #455 from iotvietmember/add_hal_system_init
 add 596f215  Clear LED define for the VBLUno51, VBLUno52 board. Because 
`LED` was be used in other file
 new 7cc95f7  Merge pull request #454 from iotvietmember/fix_err_led

The 1 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:
 hw/bsp/vbluno51/include/bsp/bsp.h | 6 ++
 hw/bsp/vbluno52/include/bsp/bsp.h | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (fd82a5c -> 2568066)

2017-08-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from fd82a5c  lwip - Fix "defined but not used" warnings.
 add f0bc75f  nimble/bletest: fix bletest build
 new 2568066  Merge pull request #485 from wes3/bletest

The 1 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/bletest/src/bletest_hci.c | 1 -
 apps/bletest/src/main.c| 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #485 from wes3/bletest

2017-08-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 256806637973174e3ba938ae3d4fa99527d57ac5
Merge: fd82a5c f0bc75f
Author: wes3 
AuthorDate: Fri Aug 11 11:58:45 2017 -0700

Merge pull request #485 from wes3/bletest

nimble/bletest: fix bletest build

 apps/bletest/src/bletest_hci.c | 1 -
 apps/bletest/src/main.c| 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

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


[mynewt-core] branch master updated (2568066 -> e5dc8fc)

2017-08-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 2568066  Merge pull request #485 from wes3/bletest
 add d3cbb4e  hw/mcu/nordic: HFXO was not being turned on by hal timer
 new e5dc8fc  Merge pull request #486 from wes3/nrf_timer_hfxo

The 1 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:
 hw/mcu/nordic/nrf51xxx/src/hal_timer.c | 5 +++--
 hw/mcu/nordic/nrf52xxx/src/hal_timer.c | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #486 from wes3/nrf_timer_hfxo

2017-08-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit e5dc8fc3d006d1956a9a03d778ba92960fbef893
Merge: 2568066 d3cbb4e
Author: wes3 
AuthorDate: Fri Aug 11 12:04:26 2017 -0700

Merge pull request #486 from wes3/nrf_timer_hfxo

hw/mcu/nordic: HFXO was not being turned on by hal timer

 hw/mcu/nordic/nrf51xxx/src/hal_timer.c | 5 +++--
 hw/mcu/nordic/nrf52xxx/src/hal_timer.c | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

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


[mynewt-core] branch master updated (887f885 -> b9a658f)

2017-08-14 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 887f885  Merge pull request #474 from IMGJulian/pic32
 add 1497a78  nordic/hal_flash: Fix coverity issue 174090
 add 80255f4  nordic/hal_flash: Fix for coverity issue 174066
 add 5eada4d  mcu/nordic/hal_i2c: fix coverity issue 174082
 add f6a9bb5  mcu/nordic/hal_timer: fix coverity issue 174078
 new b9a658f  Merge pull request #487 from wes3/wes_coverity

The 1 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:
 hw/mcu/nordic/nrf51xxx/src/hal_flash.c | 2 +-
 hw/mcu/nordic/nrf51xxx/src/hal_i2c.c   | 8 
 hw/mcu/nordic/nrf51xxx/src/hal_timer.c | 1 +
 hw/mcu/nordic/nrf52xxx/src/hal_flash.c | 2 +-
 hw/mcu/nordic/nrf52xxx/src/hal_i2c.c   | 8 
 hw/mcu/nordic/nrf52xxx/src/hal_timer.c | 1 +
 6 files changed, 12 insertions(+), 10 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #487 from wes3/wes_coverity

2017-08-14 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit b9a658fd1478b209967a90e98aa5a5cfe7df77fb
Merge: 887f885 f6a9bb5
Author: wes3 
AuthorDate: Mon Aug 14 07:43:42 2017 -0700

Merge pull request #487 from wes3/wes_coverity

Coverity fixes

 hw/mcu/nordic/nrf51xxx/src/hal_flash.c | 2 +-
 hw/mcu/nordic/nrf51xxx/src/hal_i2c.c   | 8 
 hw/mcu/nordic/nrf51xxx/src/hal_timer.c | 1 +
 hw/mcu/nordic/nrf52xxx/src/hal_flash.c | 2 +-
 hw/mcu/nordic/nrf52xxx/src/hal_i2c.c   | 8 
 hw/mcu/nordic/nrf52xxx/src/hal_timer.c | 1 +
 6 files changed, 12 insertions(+), 10 deletions(-)

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


[mynewt-core] branch master updated (5712cb6 -> 41ef712)

2017-08-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 5712cb6  Merge pull request #489 from sjanc/static_check
 add 3926cca  MYNEWT-801: Lora API
 new 41ef712  Merge pull request #491 from wes3/lora_api

The 1 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/{lorashell => lora_app_shell}/pkg.yml |6 +-
 apps/lora_app_shell/src/las_cmd.c  |  936 +++
 apps/lora_app_shell/src/main.c |  144 +
 apps/{ocf_sample => lora_app_shell}/syscfg.yml |7 +-
 hw/drivers/lora/sx1276/src/sx1276-board.c  |3 +-
 hw/drivers/lora/sx1276/src/sx1276-board.h  |6 +-
 hw/drivers/lora/sx1276/src/sx1276.c|   82 +-
 hw/drivers/lora/sx1276/src/sx1276.h|   50 +-
 net/lora/node/include/node/lora.h  |  240 +
 .../node/include/node/{lora_priv.h => lora_band.h} |8 +-
 net/lora/node/include/node/lora_priv.h |   53 +-
 .../node/include/node/mac/LoRaMac-definitions.h| 1220 +--
 net/lora/node/include/node/mac/LoRaMac.h   | 3801 -
 net/lora/node/include/node/mac/LoRaMacCrypto.h |  222 +-
 net/lora/node/include/node/mac/LoRaMacTest.h   |  162 +-
 net/lora/node/src/lora_app.c   |  544 ++
 net/lora/node/src/lora_node.c  |  619 +-
 net/lora/node/src/mac/LoRaMac.c| 8829 ++--
 net/lora/node/src/mac/LoRaMacCrypto.c  |  406 +-
 net/lora/node/syscfg.yml   |   18 +-
 20 files changed, 9956 insertions(+), 7400 deletions(-)
 copy apps/{lorashell => lora_app_shell}/pkg.yml (86%)
 create mode 100644 apps/lora_app_shell/src/las_cmd.c
 create mode 100644 apps/lora_app_shell/src/main.c
 copy apps/{ocf_sample => lora_app_shell}/syscfg.yml (90%)
 copy net/lora/node/include/node/{lora_priv.h => lora_band.h} (94%)
 create mode 100644 net/lora/node/src/lora_app.c

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #491 from wes3/lora_api

2017-08-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 41ef7122425a8f8f17d2253061fd097e07d0d894
Merge: 5712cb6 3926cca
Author: wes3 
AuthorDate: Thu Aug 17 10:30:50 2017 -0700

Merge pull request #491 from wes3/lora_api

MYNEWT-801: Lora API

 .../node/syscfg.yml => apps/lora_app_shell/pkg.yml |   35 +-
 apps/lora_app_shell/src/las_cmd.c  |  936 +++
 apps/lora_app_shell/src/main.c |  144 +
 {net/lora/node => apps/lora_app_shell}/syscfg.yml  |   26 +-
 hw/drivers/lora/sx1276/src/sx1276-board.c  |3 +-
 hw/drivers/lora/sx1276/src/sx1276-board.h  |6 +-
 hw/drivers/lora/sx1276/src/sx1276.c|   82 +-
 hw/drivers/lora/sx1276/src/sx1276.h|   50 +-
 net/lora/node/include/node/lora.h  |  240 +
 .../node/include/node/{lora_priv.h => lora_band.h} |8 +-
 net/lora/node/include/node/lora_priv.h |   53 +-
 .../node/include/node/mac/LoRaMac-definitions.h| 1220 +--
 net/lora/node/include/node/mac/LoRaMac.h   | 3801 -
 net/lora/node/include/node/mac/LoRaMacCrypto.h |  222 +-
 net/lora/node/include/node/mac/LoRaMacTest.h   |  162 +-
 net/lora/node/src/lora_app.c   |  544 ++
 net/lora/node/src/lora_node.c  |  619 +-
 net/lora/node/src/mac/LoRaMac.c| 8829 ++--
 net/lora/node/src/mac/LoRaMacCrypto.c  |  406 +-
 net/lora/node/syscfg.yml   |   18 +-
 20 files changed, 9970 insertions(+), 7434 deletions(-)

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


[mynewt-core] branch nrf_cputime deleted (was 244227b)

2017-08-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


 was 244227b  The number of concurrent connections should be default to 1.

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #498 from wes3/nrfclock

2017-08-24 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d78860e3add3b8c4851503d83af2dcffd4b804b8
Merge: da54580 5813a7d
Author: wes3 
AuthorDate: Thu Aug 24 12:08:30 2017 -0700

Merge pull request #498 from wes3/nrfclock

nordic: LF clock modifications

 hw/bsp/ada_feather_nrf52/src/hal_bsp.c |   5 ++
 hw/bsp/ada_feather_nrf52/syscfg.yml|   5 +-
 hw/bsp/arduino_primo_nrf52/src/hal_bsp.c   |   4 +
 hw/bsp/arduino_primo_nrf52/syscfg.yml  |   5 +-
 hw/bsp/bbc_microbit/syscfg.yml |   5 +-
 hw/bsp/ble400/syscfg.yml   |  13 +---
 hw/bsp/bmd200/syscfg.yml   |  13 +---
 hw/bsp/bmd300eval/src/hal_bsp.c|   4 +
 hw/bsp/bmd300eval/syscfg.yml   |   5 +-
 hw/bsp/nina-b1/src/hal_bsp.c   |   4 +
 hw/bsp/nrf51-arduino_101/syscfg.yml|   5 +-
 hw/bsp/nrf51-blenano/syscfg.yml|   5 +-
 hw/bsp/nrf51dk-16kbram/syscfg.yml  |   5 +-
 hw/bsp/nrf51dk/syscfg.yml  |   9 +--
 hw/bsp/nrf52-thingy/src/hal_bsp.c  |   5 ++
 hw/bsp/nrf52-thingy/syscfg.yml |   5 +-
 hw/bsp/nrf52840pdk/src/hal_bsp.c   |   4 +
 hw/bsp/nrf52840pdk/syscfg.yml  |   5 +-
 hw/bsp/nrf52dk/src/hal_bsp.c   |   5 ++
 hw/bsp/nrf52dk/syscfg.yml  |   5 +-
 hw/bsp/rb-blend2/src/hal_bsp.c |   4 +
 hw/bsp/rb-nano2/src/hal_bsp.c  |   4 +
 hw/bsp/rb-nano2/syscfg.yml |   5 +-
 hw/bsp/ruuvi_tag_revb2/src/hal_bsp.c   |   5 ++
 hw/bsp/ruuvi_tag_revb2/syscfg.yml  |   5 +-
 hw/bsp/telee02/src/hal_bsp.c   |   5 ++
 hw/bsp/telee02/syscfg.yml  |   5 +-
 hw/bsp/vbluno51/syscfg.yml |   5 +-
 hw/bsp/vbluno52/src/hal_bsp.c  |   5 ++
 hw/bsp/vbluno52/syscfg.yml |   5 +-
 hw/mcu/nordic/nrf51xxx/src/hal_os_tick.c   |  16 +---
 hw/mcu/nordic/nrf51xxx/syscfg.yml  |  24 ++
 hw/mcu/nordic/nrf52xxx/include/mcu/cortex_m4.h |   4 -
 hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c   | 104 +
 hw/mcu/nordic/nrf52xxx/src/hal_system.c|  76 ++
 hw/mcu/nordic/nrf52xxx/syscfg.yml  |  24 ++
 36 files changed, 199 insertions(+), 213 deletions(-)

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


[mynewt-core] branch master updated (da54580 -> d78860e)

2017-08-24 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from da54580  Merge pull request #497 from ccollins476ad/complete-reset
 add 5813a7d  nordic: LF clock modifications
 new d78860e  Merge pull request #498 from wes3/nrfclock

The 1 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:
 hw/bsp/ada_feather_nrf52/src/hal_bsp.c |   5 ++
 hw/bsp/ada_feather_nrf52/syscfg.yml|   5 +-
 hw/bsp/arduino_primo_nrf52/src/hal_bsp.c   |   4 +
 hw/bsp/arduino_primo_nrf52/syscfg.yml  |   5 +-
 hw/bsp/bbc_microbit/syscfg.yml |   5 +-
 hw/bsp/ble400/syscfg.yml   |  13 +---
 hw/bsp/bmd200/syscfg.yml   |  13 +---
 hw/bsp/bmd300eval/src/hal_bsp.c|   4 +
 hw/bsp/bmd300eval/syscfg.yml   |   5 +-
 hw/bsp/nina-b1/src/hal_bsp.c   |   4 +
 hw/bsp/nrf51-arduino_101/syscfg.yml|   5 +-
 hw/bsp/nrf51-blenano/syscfg.yml|   5 +-
 hw/bsp/nrf51dk-16kbram/syscfg.yml  |   5 +-
 hw/bsp/nrf51dk/syscfg.yml  |   9 +--
 hw/bsp/nrf52-thingy/src/hal_bsp.c  |   5 ++
 hw/bsp/nrf52-thingy/syscfg.yml |   5 +-
 hw/bsp/nrf52840pdk/src/hal_bsp.c   |   4 +
 hw/bsp/nrf52840pdk/syscfg.yml  |   5 +-
 hw/bsp/nrf52dk/src/hal_bsp.c   |   5 ++
 hw/bsp/nrf52dk/syscfg.yml  |   5 +-
 hw/bsp/rb-blend2/src/hal_bsp.c |   4 +
 hw/bsp/rb-nano2/src/hal_bsp.c  |   4 +
 hw/bsp/rb-nano2/syscfg.yml |   5 +-
 hw/bsp/ruuvi_tag_revb2/src/hal_bsp.c   |   5 ++
 hw/bsp/ruuvi_tag_revb2/syscfg.yml  |   5 +-
 hw/bsp/telee02/src/hal_bsp.c   |   5 ++
 hw/bsp/telee02/syscfg.yml  |   5 +-
 hw/bsp/vbluno51/syscfg.yml |   5 +-
 hw/bsp/vbluno52/src/hal_bsp.c  |   5 ++
 hw/bsp/vbluno52/syscfg.yml |   5 +-
 hw/mcu/nordic/nrf51xxx/src/hal_os_tick.c   |  16 +---
 hw/mcu/nordic/nrf51xxx/syscfg.yml  |  24 ++
 hw/mcu/nordic/nrf52xxx/include/mcu/cortex_m4.h |   4 -
 hw/mcu/nordic/nrf52xxx/src/hal_os_tick.c   | 104 +
 hw/mcu/nordic/nrf52xxx/src/hal_system.c|  76 ++
 hw/mcu/nordic/nrf52xxx/syscfg.yml  |  24 ++
 36 files changed, 199 insertions(+), 213 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (9b94b71 -> 141e0ff)

2017-08-31 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 9b94b71  Merge pull request #515 from vsyn/pic32-i2c-ackfix
 add b79894e  net/lora: Radio events now post to lora mac task
 add e9b7a32  net/lora: Additional lora stack improvements
 add 4abf63f  net/lora: lora mac stack now uses dedicated timer instead of 
os_cputime
 new 141e0ff  Merge pull request #513 from wes3/lora_improv

The 1 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/lora_app_shell/syscfg.yml   |2 +-
 hw/drivers/lora/sx1276/src/sx1276.c  |   78 +-
 net/lora/node/include/node/lora.h|   19 +
 net/lora/node/include/node/mac/LoRaMac.h |8 +-
 net/lora/node/src/lora_node.c|   35 +-
 net/lora/node/src/mac/LoRaMac.c  | 1463 +++---
 net/lora/node/src/utilities.c|4 +-
 net/lora/node/syscfg.yml |   16 +
 8 files changed, 847 insertions(+), 778 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #513 from wes3/lora_improv

2017-08-31 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 141e0ff058b70393c7286fdec72d74e36758f57a
Merge: 9b94b71 4abf63f
Author: wes3 
AuthorDate: Thu Aug 31 22:35:03 2017 -0700

Merge pull request #513 from wes3/lora_improv

Lora improv

 apps/lora_app_shell/syscfg.yml   |2 +-
 hw/drivers/lora/sx1276/src/sx1276.c  |   78 +-
 net/lora/node/include/node/lora.h|   19 +
 net/lora/node/include/node/mac/LoRaMac.h |8 +-
 net/lora/node/src/lora_node.c|   35 +-
 net/lora/node/src/mac/LoRaMac.c  | 1463 +++---
 net/lora/node/src/utilities.c|4 +-
 net/lora/node/syscfg.yml |   16 +
 8 files changed, 847 insertions(+), 778 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #532 from wes3/lora_improv

2017-09-06 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 732b5e9657a1c835ec9932a4715eb365cc988e85
Merge: 467deb0 d847ae4
Author: wes3 
AuthorDate: Wed Sep 6 11:32:15 2017 -0700

Merge pull request #532 from wes3/lora_improv

net/lora: Additional modifications

 hw/drivers/lora/sx1276/src/sx1276-board.c |  2 +
 hw/drivers/lora/sx1276/src/sx1276.c   |  2 +-
 net/lora/node/include/node/lora_priv.h|  2 +
 net/lora/node/src/lora_node.c |  9 +--
 net/lora/node/src/mac/LoRaMac.c   | 96 ---
 5 files changed, 68 insertions(+), 43 deletions(-)

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


[mynewt-core] branch master updated (467deb0 -> 732b5e9)

2017-09-06 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 467deb0  Merge pull request #527 from francois-berder/pic32-buttons
 add d847ae4  net/lora: Additional modifications
 new 732b5e9  Merge pull request #532 from wes3/lora_improv

The 1 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:
 hw/drivers/lora/sx1276/src/sx1276-board.c |  2 +
 hw/drivers/lora/sx1276/src/sx1276.c   |  2 +-
 net/lora/node/include/node/lora_priv.h|  2 +
 net/lora/node/src/lora_node.c |  9 +--
 net/lora/node/src/mac/LoRaMac.c   | 96 ---
 5 files changed, 68 insertions(+), 43 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (2e7e3c5 -> c3896c6)

2017-09-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 2e7e3c5  Add repos for 1.2 release
 add 847bece  Fix TWI pin configuration for the EE-02 board.
 new c3896c6  Merge pull request #546 from gordonklaus/telee02-fix-twi-pins

The 1 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:
 hw/bsp/telee02/pkg.yml   | 4 ++--
 hw/bsp/telee02/src/hal_bsp.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #546 from gordonklaus/telee02-fix-twi-pins

2017-09-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit c3896c646dcd10f08ffd5908d3a9e10ade0b6917
Merge: 2e7e3c5 847bece
Author: wes3 
AuthorDate: Tue Sep 12 12:22:21 2017 -0700

Merge pull request #546 from gordonklaus/telee02-fix-twi-pins

Fix TWI pin configuration for the EE-02 board.

 hw/bsp/telee02/pkg.yml   | 4 ++--
 hw/bsp/telee02/src/hal_bsp.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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


[mynewt-core] branch master updated (c3896c6 -> a8522e6)

2017-09-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from c3896c6  Merge pull request #546 from gordonklaus/telee02-fix-twi-pins
 add f7832c4  Enable the external antenna for the SX1276 on the EE-02 board.
 new a8522e6  Merge pull request #545 from 
gordonklaus/telee02-enable-sx1276-antenna

The 1 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:
 hw/bsp/telee02/src/hal_bsp.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #545 from gordonklaus/telee02-enable-sx1276-antenna

2017-09-12 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit a8522e6f7b549af6ad07b85f04a91ede6b606779
Merge: c3896c6 f7832c4
Author: wes3 
AuthorDate: Tue Sep 12 14:28:41 2017 -0700

Merge pull request #545 from gordonklaus/telee02-enable-sx1276-antenna

Enable the external antenna for the SX1276 on the EE-02 board.

 hw/bsp/telee02/src/hal_bsp.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)


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


[mynewt-core] 01/01: Merge pull request #557 from wes3/lora_improv

2017-09-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 50ce61b95815a654089c3a280245cc09ed56f1dd
Merge: f3a554a b63a317
Author: wes3 
AuthorDate: Mon Sep 18 14:27:52 2017 -0700

Merge pull request #557 from wes3/lora_improv

net/lora: Get old apps building.

 net/lora/node/src/lora_node.c | 4 
 1 file changed, 4 insertions(+)

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


[mynewt-core] branch master updated (f3a554a -> 50ce61b)

2017-09-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from f3a554a  Merge pull request #555 from sjanc/repo_fix
 add b63a317  net/lora: Get old apps building.
 new 50ce61b  Merge pull request #557 from wes3/lora_improv

The 1 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:
 net/lora/node/src/lora_node.c | 4 
 1 file changed, 4 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (b0a2a89 -> b652876)

2017-09-20 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from b0a2a89  Merge pull request #559 from 
michal-narajowski/btshell-help-fix
 add d6760fe  Do not allow both SPI 0 and I2C 0 to be enabled on the EE-02 
board.
 new b652876  Merge pull request #564 from 
gordonklaus/telee02-restrict-spi-i2c

The 1 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:
 hw/bsp/telee02/syscfg.yml | 11 +++
 1 file changed, 11 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #564 from gordonklaus/telee02-restrict-spi-i2c

2017-09-20 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit b652876b35730e48024cf4385f6592eedd916d37
Merge: b0a2a89 d6760fe
Author: wes3 
AuthorDate: Wed Sep 20 08:11:48 2017 -0700

Merge pull request #564 from gordonklaus/telee02-restrict-spi-i2c

Do not allow both SPI 0 and I2C 0 to be enabled on the EE-02 board.

 hw/bsp/telee02/syscfg.yml | 11 +++
 1 file changed, 11 insertions(+)

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


[mynewt-site] branch master updated: Update lorawanapp.md

2017-09-20 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

wes3 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git


The following commit(s) were added to refs/heads/master by this push:
 new bd14678  Update lorawanapp.md
bd14678 is described below

commit bd14678811164ccd63ea68b17535d8228018fc1b
Author: wes3 
AuthorDate: Wed Sep 20 08:32:17 2017 -0700

Update lorawanapp.md
---
 docs/os/tutorials/lora/lorawanapp.md | 105 +--
 1 file changed, 39 insertions(+), 66 deletions(-)

diff --git a/docs/os/tutorials/lora/lorawanapp.md 
b/docs/os/tutorials/lora/lorawanapp.md
index 8f9e724..2a721ac 100644
--- a/docs/os/tutorials/lora/lorawanapp.md
+++ b/docs/os/tutorials/lora/lorawanapp.md
@@ -4,18 +4,22 @@
 
 ### Objective
 
-The purpose of this tutorial is to demonstrate how to build the lora app shell 
application for either a class A or class C lora device.
+The purpose of this tutorial is to demonstrate how to build the lora app shell 
application for either a class A or class C lora device and to perform basic 
functions such as joining and sending data packets to a lora gateway/server.
+
+NOTE: This tutorial presumes that you have a running lora gateway and lora 
network server. No description of the gateway/server is provided. It is 
expected that the user understands how to configure and operate the 
gateway/server so that it can communicate with a class A or class C device.
 
 
 
 ### Hardware needed
 
-* Telennor EE02 module
+* Telenor EE02 module
 * Segger J-Link or similar debugger
 * LORA gateway
 * Laptop running Mac OS
 * It is assumed you have already installed newt tool. 
 * It is assumed you understand the basics of the mynewt OS
+* 3-wire serial cable to connect telenor module to your laptop
+* Some form of terminal emulation application running on your laptop.
 
 
 
@@ -56,83 +60,52 @@ that you can get started.
 
 ### Create the targets
 
-Create two targets - one for the bootloader and one for the ee02 module.  
-
-
-Note: The correct bsp must be chosen for the board you are using. 
-
-* For the Nordic Dev Kit choose @apache-mynewt-core/hw/bsp/nrf52dk instead (in 
the highlighted lines)
-* For the Rigado Eval Kit choose @apache-mynewt-core/hw/bsp/bmd300eval instead 
(in the highlighted lines)
-
-For the app itself we're going to extend the 
[bleprph](belpprph/bleprph-app.md) app so that we
-get the Bluetooth communications built in, so the first thing we'll need to do 
is copy that app
-into our own app directory:
+Create two targets - one for the bootloader and one for the lora app shell 
application.  
 
 ```no-highlight
-$ mkdir -p apps/nrf52_adc
-$ cp -Rp repos/apache-mynewt-core/apps/bleprph/* apps/nrf52_adc
-```
-
-Next, you'll modify the `pkg.yml` file for your app. Note the change in 
`pkg.name` and `pkg.description`. Also make sure that you specify the full path 
of all the packages with the prefix `@apache-mynewt-core/` as shown in the 
third highlighted line.
+$ newt target create telee02_boot
+$ newt target set telee02_boot bsp=@apache-mynewt-core/hw/bsp/telee02
+$ newt target set telee02_boot app=@apache-mynewt-core/apps/boot
+$ newt target set telee02_boot build_profile=optimized
 
-```hl_lines="3 5 11"
-$ cat apps/nrf52_adc/pkg.yml
-...
-pkg.name: apps/nrf52_adc
-pkg.type: app
-pkg.description: Simple BLE peripheral application for ADC Sensors.
-pkg.author: "Apache Mynewt "
-pkg.homepage: "http://mynewt.apache.org/";
-pkg.keywords:
-
-pkg.deps: 
-- "@apache-mynewt-core/boot/split"
-- "@apache-mynewt-core/kernel/os"
-- "@apache-mynewt-core/mgmt/imgmgr"
-- "@apache-mynewt-core/mgmt/newtmgr"
-- "@apache-mynewt-core/mgmt/newtmgr/transport/ble"
-- "@apache-mynewt-core/net/nimble/controller"
-- "@apache-mynewt-core/net/nimble/host"
-- "@apache-mynewt-core/net/nimble/host/services/ans"
-- "@apache-mynewt-core/net/nimble/host/services/gap"
-- "@apache-mynewt-core/net/nimble/host/services/gatt"
-- "@apache-mynewt-core/net/nimble/host/store/ram"
-- "@apache-mynewt-core/net/nimble/transport/ram"
-- "@apache-mynewt-core/sys/console/full"
-- "@apache-mynewt-core/sys/log/full"
-- "@apache-mynewt-core/sys/stats/full"
-- "@apache-mynewt-core/sys/sysinit"
-- "@apache-mynewt-core/sys/id"
+$ newt target create lora_app_shell_telee02
+$ newt target set lora_app_shell_telee02 bsp=@apache-mynewt-core/hw/bsp/telee02
+$ newt target set lora_app_shell_telee02 
app=@apache-mynewt-core/apps/lora_app_shell
+$ newt target set lora_app_shell_telee02 build_profile=optimized
 ```
+The lora app shell application requires a few additional system configuration 
variables. 
+Create and edit a file called syscfg.yml in dev/mylora/t

[mynewt-site] branch master updated: Update lorawanapp.md

2017-09-20 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

wes3 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git


The following commit(s) were added to refs/heads/master by this push:
 new 4807fa2  Update lorawanapp.md
4807fa2 is described below

commit 4807fa229d0b40046b29b9adfc560d36626bb3b0
Author: wes3 
AuthorDate: Wed Sep 20 11:42:19 2017 -0700

Update lorawanapp.md
---
 docs/os/tutorials/lora/lorawanapp.md | 637 +--
 1 file changed, 1 insertion(+), 636 deletions(-)

diff --git a/docs/os/tutorials/lora/lorawanapp.md 
b/docs/os/tutorials/lora/lorawanapp.md
index 2a721ac..c34813c 100644
--- a/docs/os/tutorials/lora/lorawanapp.md
+++ b/docs/os/tutorials/lora/lorawanapp.md
@@ -111,35 +111,14 @@ not need to create a target for it here, or build and 
load it as below. 
 
 ### Build the target executables 
 
-```
-$ newt build nrf52_boot
-...
-Compiling boot.c
-Archiving boot.a
-Linking boot.elf
-App successfully built: ~/dev/myadc/bin/nrf52_boot/apps/boot/boot.elf
-```
-```
-$ newt build nrf52_adc
-...
-Compiling main.c
-Archiving nrf52_adc.a
-Linking nrf52_adc.elf
-App successfully built: ~/dev/myadc/bin/nrf52_adc/apps/nrf52_adc/nrf52_adc.elf
-```
 
-
-
-### Sign and create the nrf52_adc application image 
+### Sign and create the application image 
 
 You must sign and version your application image to download it using newt to 
the board. 
 Use the newt create-image command to perform this action. You may assign an 
arbitrary 
 version (e.g. 1.0.0) to the image.
 
 ```
-$ newt create-image nrf52_adc 1.0.0
-App image successfully generated: 
~/dev/myadc/bin/nrf52_adc/apps/nrf52_adc/nrf52_adc.img
-Build manifest: ~/dev/myadc/bin/nrf52_adc/apps/nrf52_adc/manifest.json
 ```
 
 
@@ -152,13 +131,6 @@ Connect the evaluation board via micro-USB to your PC via 
USB cable.
 
 ### Download to the target
 
-Download the bootloader first and then the nrf52_adc executable to the target 
platform. 
-Don't forget to reset the board if you don't see the LED blinking right away!
-
-```
-$ newt load nrf52_boot
-$ newt load nrf52_adc
-```
 
 
 
@@ -190,616 +162,9 @@ $
 ```
 
 
-So you have a BLE app, but really all you've done is change the name of the 
**bleprph** app to **nrf52_adc** and load that.
-Not all that impressive, and it certainly won't read an Analog Sensor right 
now. So let's do that next. In order to 
-read an ADC sensor, and since the ADC package is in an external, licensed, 
repository, we'll create a driver for it
-here in our app that will leverage the existing driver in the external 
repository. It adds another layer of 
-indirection, but it will also give us a look at building our own driver, so 
we'll do it this way. 
-
-
-
-### Building a Driver
-
-The first thing to do is to create the directory structure for your driver:
-
-```no-highlight
-[user@IsMyLaptop:~/src/air_quality]$ mkdir -p 
libs/my_drivers/myadc/include/myadc
-[user@IsMyLaptop:~/src/air_quality]$ mkdir -p libs/my_drivers/myadc/src
-```
-
-Now you can add the files you need. You'll need a pkg.yml to describe the 
driver, and then header stub followed by source stub.
-
-```no-highlight
-[user@IsMyLaptop:~/src/air_quality]$ cat libs/my_drivers/myadc/pkg.yml
-```
-
-```c
-#
-# 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.
-#
-pkg.name: libs/my_drivers/myadc
-pkg.deps:
-- "@apache-mynewt-core/hw/hal"
-- "@mynewt_nordic/hw/drivers/adc/adc_nrf52"
-```
-
-First, let's create the required header file `myadc.h` in the includes 
directory i.e. `libs/my_drivers/myadc/include/myadc/myadc.h`.
-It's a pretty straightforward header file, since we only need to do 2 things:
-
-* Initialize the ADC device
-* Read ADC Values
-
-
-```c
-#ifndef _NRF52_ADC_H_
-#define _NRF52_ADC_H_
-
-void * adc_init(void);
-int adc_read(void *buffer, int buffer_len);
-
-#endif /* _NRF52_ADC_H_ */
-
-```
-
-Next we'll need a corresponding source file `myadc.c` in the src directory. 
This is where
-we'll implement the specifics of the driver:
-
-```c
-
-#include 
-#include 
-/* ADC */
-#include "myadc/myadc.h&q

[mynewt-core] 01/01: Merge pull request #566 from gordonklaus/telee02-remove-i2c0-init

2017-09-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 79fc382a38e8bee56839d511932be497dd5ab2fc
Merge: b652876 f39a488
Author: wes3 
AuthorDate: Thu Sep 21 05:17:08 2017 -0700

Merge pull request #566 from gordonklaus/telee02-remove-i2c0-init

Remove I2C0 initialization code from the EE-02 BSP.

 hw/bsp/telee02/src/hal_bsp.c | 13 -
 1 file changed, 13 deletions(-)

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


[mynewt-core] branch master updated (b652876 -> 79fc382)

2017-09-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from b652876  Merge pull request #564 from 
gordonklaus/telee02-restrict-spi-i2c
 add f39a488  Remove I2C0 initialization code from the EE-02 BSP.
 new 79fc382  Merge pull request #566 from 
gordonklaus/telee02-remove-i2c0-init

The 1 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:
 hw/bsp/telee02/src/hal_bsp.c | 13 -
 1 file changed, 13 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-site] branch master updated: Update lorawanapp.md

2017-09-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

wes3 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git


The following commit(s) were added to refs/heads/master by this push:
 new aa34564  Update lorawanapp.md
aa34564 is described below

commit aa34564c06a1b774e1b4f4c3fae2601357a2a29e
Author: wes3 
AuthorDate: Thu Sep 21 08:06:50 2017 -0700

Update lorawanapp.md
---
 docs/os/tutorials/lora/lorawanapp.md | 41 ++--
 1 file changed, 39 insertions(+), 2 deletions(-)

diff --git a/docs/os/tutorials/lora/lorawanapp.md 
b/docs/os/tutorials/lora/lorawanapp.md
index c34813c..9586516 100644
--- a/docs/os/tutorials/lora/lorawanapp.md
+++ b/docs/os/tutorials/lora/lorawanapp.md
@@ -111,6 +111,38 @@ not need to create a target for it here, or build and load 
it as below. 
 
 ### Build the target executables 
 
+```
+$ newt clean telee02_boot
+$ newt clean telee02_boot
+Building target targets/telee02_boot
+Compiling repos/apache-mynewt-core/boot/bootutil/src/image_rsa.c
+Compiling repos/apache-mynewt-core/boot/bootutil/src/image_ec.c
+Compiling repos/apache-mynewt-core/boot/bootutil/src/image_ec256.c
+
+. . .
+
+Archiving telee02_boot-sysinit-app.a
+Archiving util_mem.a
+Linking /Users/wes/dev/wes/bin/targets/telee02_boot/app/apps/boot/boot.elf
+Target successfully built: targets/telee02_boot
+
+$ newt clean lora_app_shell_telee02
+$ newt build lora_app_shell_telee02
+Building target targets/lora_app_shell_telee02
+Assembling 
repos/apache-mynewt-core/hw/bsp/telee02/src/arch/cortex_m4/gcc_startup_nrf52_split.s
+Compiling repos/apache-mynewt-core/encoding/base64/src/hex.c
+Compiling repos/apache-mynewt-core/encoding/base64/src/base64.c
+. . .
+
+
+Archiving util_mem.a
+Archiving util_parse.a
+Linking 
/Users/wes/dev/wes/bin/targets/lora_app_shell_telee02/app/apps/lora_app_shell/lora_app_shell.elf
+Target successfully built: targets/lora_app_shell_telee0
+```
+
+Note: The newt clean step is not necessary but shown here for good measure. 

+
 
 ### Sign and create the application image 
 
@@ -119,17 +151,22 @@ Use the newt create-image command to perform this action. 
You may assign an arbi
 version (e.g. 1.0.0) to the image.
 
 ```
+$ newt create-image lora_app_shell_telee02 0.0.0
+App image succesfully generated: 
/Users/wes/dev/wes/bin/targets/lora_app_shell_telee02/app/apps/lora_app_shell/lora_app_shell.img
 ```
 
+
+Note: Only the application image requires this step; the bootloader does not 

 
 
 ### Connect the board
 
-Connect the evaluation board via micro-USB to your PC via USB cable.
+Connect the evaluation board via micro-USB to your PC via USB cable. Connect 
the Segger J-link debugger to the 9-pin
+SWD connector. Connect the UART pins (RX, TX and GND) to the board.
 
 
 
-### Download to the target
+### Download bootloader and application
 
 
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-site] branch master updated: Update lorawanapp.md

2017-09-25 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

wes3 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git


The following commit(s) were added to refs/heads/master by this push:
 new 94e0ba4  Update lorawanapp.md
94e0ba4 is described below

commit 94e0ba4e501dc5b6d01fd99425a88b90b8fcf628
Author: wes3 
AuthorDate: Mon Sep 25 16:26:38 2017 -0700

Update lorawanapp.md

Added sections which show how to load the bootload and application, display 
the shell commands, perform an over-the-air join and transmit application 
messages.
---
 docs/os/tutorials/lora/lorawanapp.md | 143 ++-
 1 file changed, 142 insertions(+), 1 deletion(-)

diff --git a/docs/os/tutorials/lora/lorawanapp.md 
b/docs/os/tutorials/lora/lorawanapp.md
index 9586516..19f3a45 100644
--- a/docs/os/tutorials/lora/lorawanapp.md
+++ b/docs/os/tutorials/lora/lorawanapp.md
@@ -162,7 +162,7 @@ Note: Only the application image requires this step; the 
bootloader does not 
 
@@ -197,6 +197,147 @@ Erasing done.
 J-Link>exit
 $
 ```
+
+
+```
+$ newt load telee02_boot
+Loading bootloader
+$ newt load lora_app_shell_telee02
+Loading app image into slot 1
+```
+
+Assuming you attached the serial port and have a terminal up you should set 
the following output on the terminal:
+```
+02 lora_app_shell
+```
+
+### Shell Commands
+
+There are a number of shell commands that will allow you to join and send both 
unconfirmed and confirmed data. If you type 'help' in your terminal you will 
see the various commands displayed. Here is a screen shot of the output of help
+
+```
+02 lora_app_shell
+help
+
+032766 help
+032766 stat  
+032767 tasks 
+032768 mpool 
+032769 date  
+032770 las_wr_mib
+032771 las_rd_mib
+032772 las_rd_dev_eui
+032773 las_wr_dev_eui
+032774 las_rd_app_eui
+032775 las_wr_app_eui
+032776 las_rd_app_key
+032777 las_wr_app_key
+032778 las_app_port  
+032779 las_app_tx
+032780 las_join  
+032781 las_link_chk  
+032782 compat> 
+```
+
+The following table lists the commands and gives a brief description of the 
commands. The lora commands are described in more detail later in the tutorial 
as well as their syntax (syntax not shown in the table).
+
+|Command|Description|
+|---|---|
+| help | Display list of available shell commands |
+| stat | Display statistics. Syntax: stat \. 'stat' with no 
group displays avaialable groups |
+| tasks | Display OS tasks |
+| mpool | Displays OS memory pools and memory pool statistics |
+| date | Displays current date/time |
+| las_wr_mib | Write lora MIB |
+| las_rd_mib | Read lora MIB |
+| las_rd_dev_eui | Read lora device EUI |
+| las_wr_dev_eui | Write lora device EUI |
+| las_rd_app_eui | Read lora application EUI |
+| las_wr_app_eui | Write lora application EUI |
+| las_rd_app_key | Read lora application key |
+| las_wr_app_key | Write lora application key |
+| las_app_port | Open/close lora application port |
+| las_app_tx | Transmit on lora application port |
+| las_join | Perform a lora OTA join |
+| las_link_chk | Perform a lora link check |
+
+### OTA Join
+
+Before sending any application data a lora end device must be joined to its 
lora network. To perform a lora OTA (over-the-air) join there are some commands 
that must be issued prior to attempting to join. The reason for these commands 
is that a lora end device must be configured with a device EUI, application EUI 
and application key prior to performing an OTA join.
+
+```
+598763 compat> las_wr_app_eui 0x00:0x11:0x22:0x01:0x01:0x00:0x10:10
+
+623106 compat> las_wr_app_key 03:03:03:03:03:03:03:03:03:03:03:03:03:03:03:03
+
+623758 compat> las_wr_dev_eui 0x00:0x11:0x22:0x02:0x02:0x00:0x00:0x00
+
+630333 compat> las_join 1
+
+630634 Attempting to join...
+019802 compat> Join cb. status=0 attempts=1
+```
+If the join is successful the status returned should be 0. If it fails the 
status will be a non-zero lora status code (lora status error codes are 
described later in this tutorial).
+
+A note about "endianness" in the device EUI commands. The first three bytes of 
the EUI are the OUI and the last 5 bytes are unique (for that OUI). The above 
example assumes an OUI of 001122. This is not the same order as the address 
over the air as device addresses are sent "least significant byte" first 
(little endian). The same convention also applies to keys: they are in 
big-endian order in the command but sent little endian over the air.
+
+
+### Opening/closing an application port
+
+Another step that must be performed prior to sending application data is to 
open an appl

[mynewt-core] branch master updated (616c917 -> 24afbc2)

2017-09-27 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 616c917  Merge pull request #575 from ccollins476ad/rm-apps-test
 add 77a7bf3  Move SPI and I2C config definitions from BSPs to MCUs.
 add 6ac8fe6  Move SPI_0_MASTER_SS_PIN into drivers/lora/sx1276 and rename 
to LORA_SPI_CS_PIN.
 add af4c3be  Rename LORA_SPI_CS_PIN to SX1276_SPI_CS_PIN, remove it from 
all the BSPs (except telee02), and add SPITEST_SS_PIN to apps/spitest.
 new 24afbc2  Merge pull request #573 from 
gordonklaus/move-spi-i2c-from-bsps-to-mcus

The 1 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/spitest/src/main.c|  7 +++-
 apps/spitest/syscfg.yml|  5 +++
 hw/bsp/ada_feather_nrf52/syscfg.yml| 18 --
 hw/bsp/arduino_primo_nrf52/syscfg.yml  | 28 +--
 hw/bsp/bbc_microbit/syscfg.yml | 10 --
 hw/bsp/ble400/syscfg.yml   | 24 -
 hw/bsp/bmd200/syscfg.yml   | 24 -
 hw/bsp/bmd300eval/syscfg.yml   | 19 --
 hw/bsp/calliope_mini/syscfg.yml| 17 -
 hw/bsp/nina-b1/syscfg.yml  | 32 -
 hw/bsp/nrf51-arduino_101/syscfg.yml| 12 ++-
 hw/bsp/nrf51-blenano/syscfg.yml| 16 -
 hw/bsp/nrf51dk-16kbram/syscfg.yml  | 14 
 hw/bsp/nrf51dk/syscfg.yml  | 14 
 hw/bsp/nrf52-thingy/syscfg.yml | 18 --
 hw/bsp/nrf52840pdk/syscfg.yml  | 18 --
 hw/bsp/nrf52dk/syscfg.yml  | 18 --
 hw/bsp/nucleo-f401re/syscfg.yml| 16 -
 hw/bsp/olimex_stm32-e407_devboard/syscfg.yml   | 16 -
 hw/bsp/pic32mx470_6lp_clicker/syscfg.yml   | 15 ++--
 hw/bsp/rb-blend2/syscfg.yml| 18 --
 hw/bsp/rb-nano2/syscfg.yml | 14 
 hw/bsp/ruuvi_tag_revb2/syscfg.yml  | 15 
 hw/bsp/stm32f4discovery/syscfg.yml |  4 ---
 hw/bsp/telee02/syscfg.yml  | 31 ++--
 hw/bsp/vbluno51/syscfg.yml | 20 ++-
 hw/bsp/vbluno52/syscfg.yml | 24 ++---
 hw/drivers/lora/sx1276/src/sx1276-board.h  |  2 +-
 hw/drivers/lora/sx1276/syscfg.yml  |  4 +++
 .../microchip/pic32mx470f512h}/syscfg.yml  | 36 +--
 .../microchip/pic32mz2048efg100}/syscfg.yml| 36 +--
 hw/mcu/nordic/nrf51xxx/syscfg.yml  | 42 ++
 hw/mcu/nordic/nrf52xxx/syscfg.yml  | 42 ++
 hw/mcu/stm/stm32f4xx/syscfg.yml| 15 
 34 files changed, 161 insertions(+), 483 deletions(-)
 copy hw/{bsp/nucleo-f401re => mcu/microchip/pic32mx470f512h}/syscfg.yml (66%)
 copy hw/{bsp/nucleo-f401re => mcu/microchip/pic32mz2048efg100}/syscfg.yml (66%)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #573 from gordonklaus/move-spi-i2c-from-bsps-to-mcus

2017-09-27 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 24afbc2dd3d125b7a9d64f0eee14990140e11075
Merge: 616c917 af4c3be
Author: wes3 
AuthorDate: Wed Sep 27 09:46:31 2017 -0700

Merge pull request #573 from gordonklaus/move-spi-i2c-from-bsps-to-mcus

Move SPI and I2C config definitions from BSPs to MCUs.

 apps/spitest/src/main.c|  7 +++-
 apps/spitest/syscfg.yml|  5 +++
 hw/bsp/ada_feather_nrf52/syscfg.yml| 18 --
 hw/bsp/arduino_primo_nrf52/syscfg.yml  | 28 +--
 hw/bsp/bbc_microbit/syscfg.yml | 10 --
 hw/bsp/ble400/syscfg.yml   | 24 -
 hw/bsp/bmd200/syscfg.yml   | 24 -
 hw/bsp/bmd300eval/syscfg.yml   | 19 --
 hw/bsp/calliope_mini/syscfg.yml| 17 -
 hw/bsp/nina-b1/syscfg.yml  | 32 -
 hw/bsp/nrf51-arduino_101/syscfg.yml| 12 ++-
 hw/bsp/nrf51-blenano/syscfg.yml| 16 -
 hw/bsp/nrf51dk-16kbram/syscfg.yml  | 14 
 hw/bsp/nrf51dk/syscfg.yml  | 14 
 hw/bsp/nrf52-thingy/syscfg.yml | 18 --
 hw/bsp/nrf52840pdk/syscfg.yml  | 18 --
 hw/bsp/nrf52dk/syscfg.yml  | 18 --
 hw/bsp/nucleo-f401re/syscfg.yml| 16 -
 hw/bsp/olimex_stm32-e407_devboard/syscfg.yml   | 16 -
 hw/bsp/pic32mx470_6lp_clicker/syscfg.yml   | 15 ++--
 hw/bsp/rb-blend2/syscfg.yml| 18 --
 hw/bsp/rb-nano2/syscfg.yml | 14 
 hw/bsp/ruuvi_tag_revb2/syscfg.yml  | 15 
 hw/bsp/stm32f4discovery/syscfg.yml |  4 ---
 hw/bsp/telee02/syscfg.yml  | 31 ++--
 hw/bsp/vbluno51/syscfg.yml | 20 ++-
 hw/bsp/vbluno52/syscfg.yml | 24 ++---
 hw/drivers/lora/sx1276/src/sx1276-board.h  |  2 +-
 hw/drivers/lora/sx1276/syscfg.yml  |  4 +++
 .../microchip/pic32mx470f512h}/syscfg.yml  | 36 +--
 .../microchip/pic32mz2048efg100}/syscfg.yml| 36 +--
 hw/mcu/nordic/nrf51xxx/syscfg.yml  | 42 ++
 hw/mcu/nordic/nrf52xxx/syscfg.yml  | 42 ++
 hw/mcu/stm/stm32f4xx/syscfg.yml| 15 
 34 files changed, 161 insertions(+), 483 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #584 from gordonklaus/move-spi-i2c-from-bsps-to-mcus

2017-09-28 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d48ef0ecbb46da245b381b7ef2ac9aeacc2ca001
Merge: 55f4290 f254fe1
Author: wes3 
AuthorDate: Thu Sep 28 09:06:40 2017 -0700

Merge pull request #584 from gordonklaus/move-spi-i2c-from-bsps-to-mcus

Remove some SPI_1_MASTER_SS_PIN defs that were missed.

 hw/mcu/microchip/pic32mx470f512h/syscfg.yml   | 3 ---
 hw/mcu/microchip/pic32mz2048efg100/syscfg.yml | 3 ---
 hw/mcu/nordic/nrf51xxx/syscfg.yml | 3 ---
 hw/mcu/nordic/nrf52xxx/syscfg.yml | 3 ---
 4 files changed, 12 deletions(-)

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


[mynewt-core] branch master updated (55f4290 -> d48ef0e)

2017-09-28 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 55f4290  Merge pull request #585 from andrzej-kaczmarek/nimble-host-fix
 add f254fe1  Remove some SPI_1_MASTER_SS_PIN defs that were missed.
 new d48ef0e  Merge pull request #584 from 
gordonklaus/move-spi-i2c-from-bsps-to-mcus

The 1 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:
 hw/mcu/microchip/pic32mx470f512h/syscfg.yml   | 3 ---
 hw/mcu/microchip/pic32mz2048efg100/syscfg.yml | 3 ---
 hw/mcu/nordic/nrf51xxx/syscfg.yml | 3 ---
 hw/mcu/nordic/nrf52xxx/syscfg.yml | 3 ---
 4 files changed, 12 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #610 from wes3/class_c_tx

2017-10-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 80aaec8c63df7923c7c2328a3d33e1569d0a1de5
Merge: 878da3c 07c385d
Author: wes3 
AuthorDate: Wed Oct 11 06:30:55 2017 -0700

Merge pull request #610 from wes3/class_c_tx

Class c tx

 apps/lora_app_shell/src/las_cmd.c |  1 +
 net/lora/node/src/lora_node.c |  6 +--
 net/lora/node/src/mac/LoRaMac.c   | 87 ---
 3 files changed, 66 insertions(+), 28 deletions(-)

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


[mynewt-core] branch master updated (878da3c -> 80aaec8)

2017-10-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 878da3c  Merge pull request #598 from 
francois-berder/pic32-fix-spi-mode
 add 256125f  net/lora: Class C unconfirmed transmission bug fixes
 add 07c385d  net/lora: Additional fixes for Class C transmit
 new 80aaec8  Merge pull request #610 from wes3/class_c_tx

The 1 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/lora_app_shell/src/las_cmd.c |  1 +
 net/lora/node/src/lora_node.c |  6 +--
 net/lora/node/src/mac/LoRaMac.c   | 87 ---
 3 files changed, 66 insertions(+), 28 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #624 from wes3/gw_conf_tx

2017-10-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit af48785a3e9c5a8176e0741bcfc68265628d47a4
Merge: 9ee8295 8d7f41b
Author: wes3 
AuthorDate: Wed Oct 18 10:12:57 2017 -0700

Merge pull request #624 from wes3/gw_conf_tx

Gw conf tx

 apps/lora_app_shell/pkg.yml|   2 +
 apps/lora_app_shell/src/las_cmd.c  |   5 +
 apps/lora_app_shell/src/main.c |  16 ++
 apps/lora_app_shell/syscfg.yml |   3 +
 kernel/os/include/os/os_mbuf.h |  66 ++---
 net/lora/node/include/node/lora.h  |  10 +-
 net/lora/node/include/node/lora_priv.h |  10 +-
 net/lora/node/src/lora_app.c   |  12 +
 net/lora/node/src/lora_node.c  |  87 +--
 net/lora/node/src/mac/LoRaMac.c|  98 +---
 net/oic/include/oic/port/oc_connectivity.h |  12 +
 net/oic/pkg.yml|  19 +-
 net/oic/src/port/mynewt/adaptor.c  |  21 ++
 net/oic/src/port/mynewt/adaptor.h  |   6 +
 net/oic/src/port/mynewt/lora_adaptor.c | 376 +
 net/oic/syscfg.yml |   6 +
 16 files changed, 653 insertions(+), 96 deletions(-)

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


[mynewt-core] branch master updated (9ee8295 -> af48785)

2017-10-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 9ee8295  Merge pull request #625 from granaghan/patch-1
 add 60951cb  net/lora: End-device ACK fixes and mac command handling mods
 add 2f01405  os_mbuf.h; remove whitespace for end of lines.
 add 78847bb  lora; add lora_app_mtu() which tells maximum payload which 
will be accepted by lora_app_port_send().
 add fd4976c  Coap over Lora; first rough cut.
 add 6bc0bd9  lora_app_shell; enable coap over lora for this app.
 add 271c2da  lora; add counter for plain mac flush frames. When reporting 
size to use for TX, take into accoutn queued mac commands.
 add 1219318  Merge branch 'coap_lora' of 
github.com:mkiiskila/incubator-mynewt-core into gw_conf_tx
 add 8d7f41b  net/lora: oc send buffer modification
 new af48785  Merge pull request #624 from wes3/gw_conf_tx

The 1 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/lora_app_shell/pkg.yml|   2 +
 apps/lora_app_shell/src/las_cmd.c  |   5 +
 apps/lora_app_shell/src/main.c |  16 ++
 apps/lora_app_shell/syscfg.yml |   3 +
 kernel/os/include/os/os_mbuf.h |  66 ++---
 net/lora/node/include/node/lora.h  |  10 +-
 net/lora/node/include/node/lora_priv.h |  10 +-
 net/lora/node/src/lora_app.c   |  12 +
 net/lora/node/src/lora_node.c  |  87 +--
 net/lora/node/src/mac/LoRaMac.c|  98 +---
 net/oic/include/oic/port/oc_connectivity.h |  12 +
 net/oic/pkg.yml|  19 +-
 net/oic/src/port/mynewt/adaptor.c  |  21 ++
 net/oic/src/port/mynewt/adaptor.h  |   6 +
 net/oic/src/port/mynewt/lora_adaptor.c | 376 +
 net/oic/syscfg.yml |   6 +
 16 files changed, 653 insertions(+), 96 deletions(-)
 create mode 100644 net/oic/src/port/mynewt/lora_adaptor.c

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (af48785 -> d77a753)

2017-10-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from af48785  Merge pull request #624 from wes3/gw_conf_tx
 add ecf3319  Commit of initial BMA253 driver.
 new d77a753  Merge pull request #628 from wes3/accel

The 1 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:
 hw/drivers/sensors/bma253/include/bma253/bma253.h  |  253 ++
 hw/drivers/sensors/{lis2dh12 => bma253}/pkg.yml|   12 +-
 hw/drivers/sensors/bma253/src/bma253.c | 3557 
 .../drivers/sensors/bma253}/syscfg.yml |4 +-
 hw/sensor/creator/pkg.yml  |2 +
 hw/sensor/creator/src/sensor_creator.c |   71 +
 hw/sensor/creator/syscfg.yml   |3 +
 7 files changed, 3893 insertions(+), 9 deletions(-)
 create mode 100644 hw/drivers/sensors/bma253/include/bma253/bma253.h
 copy hw/drivers/sensors/{lis2dh12 => bma253}/pkg.yml (83%)
 create mode 100644 hw/drivers/sensors/bma253/src/bma253.c
 copy {mgmt/newtmgr/nmgr_os => hw/drivers/sensors/bma253}/syscfg.yml (93%)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #628 from wes3/accel

2017-10-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d77a75396fbf1b46a2e2d12d242d60402ebfbb57
Merge: af48785 ecf3319
Author: wes3 
AuthorDate: Wed Oct 18 12:57:34 2017 -0700

Merge pull request #628 from wes3/accel

Commit of initial BMA253 driver.

 hw/drivers/sensors/bma253/include/bma253/bma253.h  |  253 ++
 .../syscfg.yml => drivers/sensors/bma253/pkg.yml}  |   39 +-
 hw/drivers/sensors/bma253/src/bma253.c | 3557 
 .../creator => drivers/sensors/bma253}/syscfg.yml  |   30 +-
 hw/sensor/creator/pkg.yml  |2 +
 hw/sensor/creator/src/sensor_creator.c |   71 +
 hw/sensor/creator/syscfg.yml   |3 +
 7 files changed, 3903 insertions(+), 52 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #637 from wes3/lora_dr

2017-10-27 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit be934fce49f84db4fcf93838d1c1f0638bf37177
Merge: 1e05ad7 50304d2
Author: wes3 
AuthorDate: Fri Oct 27 10:00:15 2017 -0700

Merge pull request #637 from wes3/lora_dr

LoRa Datarate changes

 apps/lora_app_shell/src/las_cmd.c  |  21 +-
 net/lora/node/include/node/lora.h  |   7 +-
 net/lora/node/include/node/lora_band.h |   3 +
 net/lora/node/include/node/lora_priv.h |   1 +
 net/lora/node/src/lora_app.c   |  16 +-
 net/lora/node/src/lora_node.c  |   6 -
 net/lora/node/src/mac/LoRaMac.c| 482 -
 net/lora/node/syscfg.yml   |  11 +
 8 files changed, 266 insertions(+), 281 deletions(-)

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


[mynewt-core] branch master updated (1e05ad7 -> be934fc)

2017-10-27 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 1e05ad7  Merge pull request #636 from ccollins476ad/ble-sock-off16
 add a678444  net/lora: no feature changes; just stylistic/coding standard 
changes.
 add af14d99  net/lora: Remove datarate from port
 add 50304d2  net/lora: Fix parsing of las_app_port cfg command.
 new be934fc  Merge pull request #637 from wes3/lora_dr

The 1 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/lora_app_shell/src/las_cmd.c  |  21 +-
 net/lora/node/include/node/lora.h  |   7 +-
 net/lora/node/include/node/lora_band.h |   3 +
 net/lora/node/include/node/lora_priv.h |   1 +
 net/lora/node/src/lora_app.c   |  16 +-
 net/lora/node/src/lora_node.c  |   6 -
 net/lora/node/src/mac/LoRaMac.c| 482 -
 net/lora/node/syscfg.yml   |  11 +
 8 files changed, 266 insertions(+), 281 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #638 from wes3/lora_mbuf

2017-10-30 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 1ce1891be8f9c37fb1292fc3884dbce51467
Merge: b678645 45315b9
Author: wes3 
AuthorDate: Mon Oct 30 13:28:12 2017 -0700

Merge pull request #638 from wes3/lora_mbuf

net/lora: Fix assumption of flat buffers

 net/lora/node/include/node/mac/LoRaMac.h |  24 -
 net/lora/node/src/lora_app.c |   6 +-
 net/lora/node/src/lora_node.c|   8 --
 net/lora/node/src/mac/LoRaMac.c  | 163 +++
 4 files changed, 83 insertions(+), 118 deletions(-)

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


[mynewt-core] branch master updated (b678645 -> 1ce1891)

2017-10-30 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from b678645  Merge pull request #630 from vsyn/lp5523
 add 45315b9  net/lora: Fix assumption of flat buffers
 new 1ce1891  Merge pull request #638 from wes3/lora_mbuf

The 1 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:
 net/lora/node/include/node/mac/LoRaMac.h |  24 -
 net/lora/node/src/lora_app.c |   6 +-
 net/lora/node/src/lora_node.c|   8 --
 net/lora/node/src/mac/LoRaMac.c  | 163 +++
 4 files changed, 83 insertions(+), 118 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #645 from wes3/lora_mac_cmd

2017-11-03 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit f0307a536b5acfd3ab3b834b31adff9311c6114b
Merge: 0e35d62 6f78d46
Author: wes3 
AuthorDate: Fri Nov 3 11:25:42 2017 -0700

Merge pull request #645 from wes3/lora_mac_cmd

net/lora: Fix MAC command issues

 net/lora/node/include/node/mac/LoRaMac.h |   2 +
 net/lora/node/src/lora_node.c|  33 ++-
 net/lora/node/src/mac/LoRaMac.c  | 392 +++
 3 files changed, 218 insertions(+), 209 deletions(-)

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


[mynewt-core] branch master updated (0e35d62 -> f0307a5)

2017-11-03 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 0e35d62  Merge pull request #639 from IMGJulian/ci40
 add 6f78d46  net/lora: Fix MAC command issues
 new f0307a5  Merge pull request #645 from wes3/lora_mac_cmd

The 1 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:
 net/lora/node/include/node/mac/LoRaMac.h |   2 +
 net/lora/node/src/lora_node.c|  33 ++-
 net/lora/node/src/mac/LoRaMac.c  | 392 +++
 3 files changed, 218 insertions(+), 209 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #647 from wes3/hfxo_fix

2017-11-10 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit feede0363245604a781cda1d8b3f9f23b98bdb94
Merge: 904be3e ba6139a
Author: wes3 
AuthorDate: Fri Nov 10 12:08:47 2017 -0800

Merge pull request #647 from wes3/hfxo_fix

net/nimble: MYNEWT-862 HFXO not always turning off

 net/nimble/controller/src/ble_ll_adv.c   |  9 +++--
 net/nimble/controller/src/ble_ll_sched.c | 27 +++
 2 files changed, 18 insertions(+), 18 deletions(-)

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


[mynewt-core] branch master updated (904be3e -> feede03)

2017-11-10 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 904be3e  Merge pull request #654 from mkiiskila/remove_lock_held
 add ba6139a  net/nimble: MYNEWT-862 HFXO not always turning off
 new feede03  Merge pull request #647 from wes3/hfxo_fix

The 1 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:
 net/nimble/controller/src/ble_ll_adv.c   |  9 +++--
 net/nimble/controller/src/ble_ll_sched.c | 27 +++
 2 files changed, 18 insertions(+), 18 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (c33b6c3 -> d55e3cb)

2017-11-10 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from c33b6c3  Merge pull request #655 from ccollins476ad/apollo2
 add 01e7302  net/lora: Fix link check command failing
 new d55e3cb  Merge pull request #656 from wes3/lora_link_chk

The 1 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:
 net/lora/node/include/node/lora_priv.h |  3 ++
 net/lora/node/src/lora_node.c  | 61 +-
 net/lora/node/src/mac/LoRaMac.c| 33 +++---
 3 files changed, 47 insertions(+), 50 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #656 from wes3/lora_link_chk

2017-11-10 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d55e3cb6db22c36bc54a7380fdc19fa87c3ed66b
Merge: c33b6c3 01e7302
Author: wes3 
AuthorDate: Fri Nov 10 14:08:17 2017 -0800

Merge pull request #656 from wes3/lora_link_chk

net/lora: Fix link check command failing

 net/lora/node/include/node/lora_priv.h |  3 ++
 net/lora/node/src/lora_node.c  | 61 +-
 net/lora/node/src/mac/LoRaMac.c| 33 +++---
 3 files changed, 47 insertions(+), 50 deletions(-)

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


[mynewt-core] branch master updated (0da13ed -> 970acaa)

2017-12-19 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 0da13ed  Merge 1_3_0_dev
 add 9b463f6  MYNEWT-879: OS scheduler issues with TAILQ_INSERT_TAIL
 add 288f593  MYNEWT-879: fixup incorrect comment.
 new 970acaa  Merge pull request #709 from wes3/os_sched_fixes

The 1 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:
 kernel/os/src/os_sched.c | 33 +
 1 file changed, 25 insertions(+), 8 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #709 from wes3/os_sched_fixes

2017-12-19 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 970acaab1b537582236b7092729db3c901dddfb5
Merge: 0da13ed 288f593
Author: wes3 
AuthorDate: Tue Dec 19 18:14:54 2017 -0800

Merge pull request #709 from wes3/os_sched_fixes

MYNEWT-879: OS scheduler issues with TAILQ_INSERT_TAIL

 kernel/os/src/os_sched.c | 33 +
 1 file changed, 25 insertions(+), 8 deletions(-)

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


[mynewt-core] branch master updated (12b1b90 -> fc8acbf)

2017-12-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 12b1b90  Merge pull request #704 from ccollins476ad/ble-hs-no-store
 add f994022  MYNEWT-878
 new fc8acbf  Merge pull request #712 from wes3/lora_dr_fix

The 1 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:
 net/lora/node/src/mac/LoRaMac.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #712 from wes3/lora_dr_fix

2017-12-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit fc8acbf03381b097855971f6257d9018b5f87aff
Merge: 12b1b90 f994022
Author: wes3 
AuthorDate: Thu Dec 21 09:56:05 2017 -0800

Merge pull request #712 from wes3/lora_dr_fix

MYNEWT-878

 net/lora/node/src/mac/LoRaMac.c | 2 ++
 1 file changed, 2 insertions(+)

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


[mynewt-core] 01/01: Merge pull request #713 from wes3/lora_txpwr

2017-12-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 999e3c93cfaa4fb5d056b0af3e7bd5e6548127b1
Merge: 4df0a17 17f03b5
Author: wes3 
AuthorDate: Fri Dec 22 12:19:54 2017 -0800

Merge pull request #713 from wes3/lora_txpwr

net/lora: display transmit power in dbm

 apps/lora_app_shell/src/main.c  | 2 +-
 net/lora/node/src/mac/LoRaMac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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


[mynewt-core] branch master updated (4df0a17 -> 999e3c9)

2017-12-22 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 4df0a17  Merge pull request #710 from 
andrzej-kaczmarek/nimble-iphone-fix
 add 17f03b5  net/lora: display transmit power in dbm
 new 999e3c9  Merge pull request #713 from wes3/lora_txpwr

The 1 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/lora_app_shell/src/main.c  | 2 +-
 net/lora/node/src/mac/LoRaMac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #714 from wes3/lora_primitives

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit b858818f5937451a0747a60f0e31098157b78881
Merge: 999e3c9 5f360ef
Author: wes3 
AuthorDate: Thu Jan 4 12:47:45 2018 -0800

Merge pull request #714 from wes3/lora_primitives

net/lora: Remove MLME and MAC primitives from code

 net/lora/node/include/node/lora.h|  25 ++-
 net/lora/node/include/node/lora_priv.h   |  50 +
 net/lora/node/include/node/mac/LoRaMac.h | 324 ++-
 net/lora/node/src/lora_node.c| 140 +++--
 net/lora/node/src/mac/LoRaMac.c  | 232 ++
 5 files changed, 222 insertions(+), 549 deletions(-)

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


[mynewt-core] branch master updated (999e3c9 -> b858818)

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 999e3c9  Merge pull request #713 from wes3/lora_txpwr
 add 5f360ef  net/lora: Remove MLME and MAC primitives from code
 new b858818  Merge pull request #714 from wes3/lora_primitives

The 1 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:
 net/lora/node/include/node/lora.h|  25 ++-
 net/lora/node/include/node/lora_priv.h   |  50 +
 net/lora/node/include/node/mac/LoRaMac.h | 324 ++-
 net/lora/node/src/lora_node.c| 140 +++--
 net/lora/node/src/mac/LoRaMac.c  | 232 ++
 5 files changed, 222 insertions(+), 549 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #716 from wes3/lora_ant_sw

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit add6d2083534d3f5cb9f5909fb453b24474e9637
Merge: b858818 67d1010
Author: wes3 
AuthorDate: Thu Jan 4 12:49:10 2018 -0800

Merge pull request #716 from wes3/lora_ant_sw

net/lora  Add config variable for antenna switch

 hw/bsp/telee02/syscfg.yml | 1 +
 hw/drivers/lora/sx1276/src/sx1276-board.c | 6 ++
 hw/drivers/lora/sx1276/src/sx1276-board.h | 2 ++
 hw/drivers/lora/sx1276/src/sx1276.c   | 2 ++
 hw/drivers/lora/sx1276/syscfg.yml | 5 +
 5 files changed, 16 insertions(+)

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


[mynewt-core] branch master updated (b858818 -> add6d20)

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from b858818  Merge pull request #714 from wes3/lora_primitives
 add 67d1010  net/lora  Add config variable for antenna switch
 new add6d20  Merge pull request #716 from wes3/lora_ant_sw

The 1 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:
 hw/bsp/telee02/syscfg.yml | 1 +
 hw/drivers/lora/sx1276/src/sx1276-board.c | 6 ++
 hw/drivers/lora/sx1276/src/sx1276-board.h | 2 ++
 hw/drivers/lora/sx1276/src/sx1276.c   | 2 ++
 hw/drivers/lora/sx1276/syscfg.yml | 5 +
 5 files changed, 16 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] 01/01: Merge pull request #717 from wes3/myn879

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit eb3d264c92eb8f9963fb46be52843d261a31da10
Merge: add6d20 9c98520
Author: wes3 
AuthorDate: Thu Jan 4 13:17:47 2018 -0800

Merge pull request #717 from wes3/myn879

Revert changes for mynewt-879

 kernel/os/src/os_sched.c | 33 -
 1 file changed, 8 insertions(+), 25 deletions(-)

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


[mynewt-core] branch master updated (add6d20 -> eb3d264)

2018-01-04 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from add6d20  Merge pull request #716 from wes3/lora_ant_sw
 add 8a36be7  Revert "MYNEWT-879: fixup incorrect comment."
 add 9c98520  Revert "MYNEWT-879: OS scheduler issues with 
TAILQ_INSERT_TAIL"
 new eb3d264  Merge pull request #717 from wes3/myn879

The 1 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:
 kernel/os/src/os_sched.c | 33 -
 1 file changed, 8 insertions(+), 25 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mynewt.apache.org" '].


[mynewt-core] branch master updated (1ce6bb0 -> 03b9f29)

2018-01-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 1ce6bb0  Merge pull request #742 from rymanluk/hci_test_cmd
 add 899e745  Initial ARCv2 port of mynewt
 add b833bc0  hw/mcu/arcMinor changes from PR comments
 add 7fd53ee  Initial arc port: additional PR review changes
 new 03b9f29  Merge pull request #711 from wes3/initarc

The 1 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:
 LICENSE|4 +
 compiler/arc/compiler.yml  |   36 +
 compiler/arc/pkg.yml   |   27 +
 hw/bsp/embarc_emsk/arc_core.ld |  128 ++
 hw/bsp/embarc_emsk/bsp.yml |   62 +
 hw/bsp/embarc_emsk/include/bsp/arc_core_config.h   |  179 +++
 hw/bsp/embarc_emsk/include/bsp/bsp.h   |   39 +
 hw/bsp/embarc_emsk/include/bsp/embARC_BSP_config.h |   66 +
 hw/bsp/embarc_emsk/pkg.yml |   33 +
 hw/bsp/embarc_emsk/src/board.c |   50 +
 hw/bsp/embarc_emsk/src/hal_bsp.c   |  109 ++
 hw/bsp/embarc_emsk/src/sbrk.c  |   60 +
 hw/bsp/embarc_emsk/syscfg.yml  |   42 +
 hw/mcu/arc/pkg.yml |   39 +
 hw/mcu/arc/snps/include/mcu/mcu_arc.h  |   35 +
 hw/mcu/arc/snps/pkg.yml|   29 +
 hw/mcu/arc/snps/src/arch/arc/arc_startup.S |  264 
 hw/mcu/arc/snps/src/hal_os_tick.c  |  103 ++
 hw/mcu/arc/snps/src/hal_system.c   |   68 +
 hw/mcu/arc/snps/src/hal_timer.c|  199 +++
 hw/mcu/arc/snps/src/hal_watchdog.c |   39 +
 hw/mcu/arc/snps/syscfg.yml |   19 +
 hw/mcu/arc/src/ext/sdk/README.md   |   22 +
 hw/mcu/arc/src/ext/sdk/arc/arc_cache.c |  420 ++
 hw/mcu/arc/src/ext/sdk/arc/arc_exc_asm.S   |  202 +++
 hw/mcu/arc/src/ext/sdk/arc/arc_exception.c |  514 +++
 hw/mcu/arc/src/ext/sdk/arc/arc_timer.c |  211 +++
 .../arc/src/ext/sdk/arc/startup/arc_cxx_support.c  |  168 +++
 hw/mcu/arc/src/ext/sdk/arc/startup/arc_startup.S   |  266 
 hw/mcu/arc/src/ext/sdk/board/board.h   |   68 +
 .../arc/src/ext/sdk/board/emsk/common/emsk_init.c  |  116 ++
 .../arc/src/ext/sdk/board/emsk/common/emsk_timer.c |  189 +++
 .../arc/src/ext/sdk/board/emsk/common/emsk_timer.h |   63 +
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux.c |  116 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux.h |  186 +++
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux_hal.h |   69 +
 hw/mcu/arc/src/ext/sdk/board/emsk/emsk.h   |  128 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/emsk_hardware.h  |  119 ++
 .../arc/src/ext/sdk/board/emsk/gpio/dw_gpio_obj.c  |  379 +
 .../arc/src/ext/sdk/board/emsk/gpio/dw_gpio_obj.h  |   90 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/gpio/emsk_gpio.c |  199 +++
 hw/mcu/arc/src/ext/sdk/board/emsk/gpio/emsk_gpio.h |   96 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/iic/dw_iic_obj.c |  302 
 hw/mcu/arc/src/ext/sdk/board/emsk/iic/dw_iic_obj.h |   83 +
 hw/mcu/arc/src/ext/sdk/board/emsk/spi/dw_spi_obj.c |  322 
 hw/mcu/arc/src/ext/sdk/board/emsk/spi/dw_spi_obj.h |   82 +
 .../arc/src/ext/sdk/board/emsk/uart/dw_uart_obj.c  |  266 
 .../arc/src/ext/sdk/board/emsk/uart/dw_uart_obj.h  |   89 ++
 hw/mcu/arc/src/ext/sdk/common/console_io.c |  164 ++
 hw/mcu/arc/src/ext/sdk/common/console_io.h |   57 +
 hw/mcu/arc/src/ext/sdk/common/xprintf.c|  391 +
 hw/mcu/arc/src/ext/sdk/common/xprintf.h|   48 +
 .../src/ext/sdk/device/designware/gpio/dw_gpio.c   |  481 ++
 .../src/ext/sdk/device/designware/gpio/dw_gpio.h   |  145 ++
 .../arc/src/ext/sdk/device/designware/iic/dw_iic.c | 1584 
 .../arc/src/ext/sdk/device/designware/iic/dw_iic.h |  242 +++
 .../src/ext/sdk/device/designware/iic/dw_iic_hal.h |  186 +++
 .../ext/sdk/device/designware/iic/dw_iic_hal_cfg.h |   82 +
 .../arc/src/ext/sdk/device/designware/spi/dw_spi.c | 1337 +
 .../arc/src/ext/sdk/device/designware/spi/dw_spi.h |  190 +++
 .../src/ext/sdk/device/designware/spi/dw_spi_hal.h |  141 ++
 .../ext/sdk/device/designware/spi/dw_spi_hal_cfg.h |   58 +
 .../src/ext/sdk/device/designware/uart/dw_uart.c   |  956 
 .../src/ext/sdk/device/designware/uart/dw_uart.h   |  141 ++
 .../ext/sdk/device/designware/uart/dw_uart_hal.h   |  253 
 .../src/ext/sdk/device/device_hal/inc/dev_common.h |  173 +++
 .../src/ext/sdk/device/device_hal/inc/dev_gpio.h   |  424 ++
 .../src/ext/sdk/d

[mynewt-core] 01/01: Merge pull request #711 from wes3/initarc

2018-01-18 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 03b9f29b54ae0019c31f9f0efb4b5319d9a718f1
Merge: 1ce6bb0 7fd53ee
Author: wes3 
AuthorDate: Thu Jan 18 09:54:30 2018 -0800

Merge pull request #711 from wes3/initarc

Initial ARCv2 port of mynewt

 LICENSE|4 +
 compiler/arc/compiler.yml  |   36 +
 compiler/arc/pkg.yml   |   27 +
 hw/bsp/embarc_emsk/arc_core.ld |  128 ++
 hw/bsp/embarc_emsk/bsp.yml |   62 +
 hw/bsp/embarc_emsk/include/bsp/arc_core_config.h   |  179 +++
 hw/bsp/embarc_emsk/include/bsp/bsp.h   |   39 +
 hw/bsp/embarc_emsk/include/bsp/embARC_BSP_config.h |   66 +
 hw/bsp/embarc_emsk/pkg.yml |   33 +
 hw/bsp/embarc_emsk/src/board.c |   50 +
 hw/bsp/embarc_emsk/src/hal_bsp.c   |  109 ++
 hw/bsp/embarc_emsk/src/sbrk.c  |   60 +
 hw/bsp/embarc_emsk/syscfg.yml  |   42 +
 hw/mcu/arc/pkg.yml |   39 +
 hw/mcu/arc/snps/include/mcu/mcu_arc.h  |   35 +
 hw/mcu/arc/snps/pkg.yml|   29 +
 hw/mcu/arc/snps/src/arch/arc/arc_startup.S |  264 
 hw/mcu/arc/snps/src/hal_os_tick.c  |  103 ++
 hw/mcu/arc/snps/src/hal_system.c   |   68 +
 hw/mcu/arc/snps/src/hal_timer.c|  199 +++
 hw/mcu/arc/snps/src/hal_watchdog.c |   39 +
 hw/mcu/arc/snps/syscfg.yml |   19 +
 hw/mcu/arc/src/ext/sdk/README.md   |   22 +
 hw/mcu/arc/src/ext/sdk/arc/arc_cache.c |  420 ++
 hw/mcu/arc/src/ext/sdk/arc/arc_exc_asm.S   |  202 +++
 hw/mcu/arc/src/ext/sdk/arc/arc_exception.c |  514 +++
 hw/mcu/arc/src/ext/sdk/arc/arc_timer.c |  211 +++
 .../arc/src/ext/sdk/arc/startup/arc_cxx_support.c  |  168 +++
 hw/mcu/arc/src/ext/sdk/arc/startup/arc_startup.S   |  266 
 hw/mcu/arc/src/ext/sdk/board/board.h   |   68 +
 .../arc/src/ext/sdk/board/emsk/common/emsk_init.c  |  116 ++
 .../arc/src/ext/sdk/board/emsk/common/emsk_timer.c |  189 +++
 .../arc/src/ext/sdk/board/emsk/common/emsk_timer.h |   63 +
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux.c |  116 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux.h |  186 +++
 hw/mcu/arc/src/ext/sdk/board/emsk/common/mux_hal.h |   69 +
 hw/mcu/arc/src/ext/sdk/board/emsk/emsk.h   |  128 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/emsk_hardware.h  |  119 ++
 .../arc/src/ext/sdk/board/emsk/gpio/dw_gpio_obj.c  |  379 +
 .../arc/src/ext/sdk/board/emsk/gpio/dw_gpio_obj.h  |   90 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/gpio/emsk_gpio.c |  199 +++
 hw/mcu/arc/src/ext/sdk/board/emsk/gpio/emsk_gpio.h |   96 ++
 hw/mcu/arc/src/ext/sdk/board/emsk/iic/dw_iic_obj.c |  302 
 hw/mcu/arc/src/ext/sdk/board/emsk/iic/dw_iic_obj.h |   83 +
 hw/mcu/arc/src/ext/sdk/board/emsk/spi/dw_spi_obj.c |  322 
 hw/mcu/arc/src/ext/sdk/board/emsk/spi/dw_spi_obj.h |   82 +
 .../arc/src/ext/sdk/board/emsk/uart/dw_uart_obj.c  |  266 
 .../arc/src/ext/sdk/board/emsk/uart/dw_uart_obj.h  |   89 ++
 hw/mcu/arc/src/ext/sdk/common/console_io.c |  164 ++
 hw/mcu/arc/src/ext/sdk/common/console_io.h |   57 +
 hw/mcu/arc/src/ext/sdk/common/xprintf.c|  391 +
 hw/mcu/arc/src/ext/sdk/common/xprintf.h|   48 +
 .../src/ext/sdk/device/designware/gpio/dw_gpio.c   |  481 ++
 .../src/ext/sdk/device/designware/gpio/dw_gpio.h   |  145 ++
 .../arc/src/ext/sdk/device/designware/iic/dw_iic.c | 1584 
 .../arc/src/ext/sdk/device/designware/iic/dw_iic.h |  242 +++
 .../src/ext/sdk/device/designware/iic/dw_iic_hal.h |  186 +++
 .../ext/sdk/device/designware/iic/dw_iic_hal_cfg.h |   82 +
 .../arc/src/ext/sdk/device/designware/spi/dw_spi.c | 1337 +
 .../arc/src/ext/sdk/device/designware/spi/dw_spi.h |  190 +++
 .../src/ext/sdk/device/designware/spi/dw_spi_hal.h |  141 ++
 .../ext/sdk/device/designware/spi/dw_spi_hal_cfg.h |   58 +
 .../src/ext/sdk/device/designware/uart/dw_uart.c   |  956 
 .../src/ext/sdk/device/designware/uart/dw_uart.h   |  141 ++
 .../ext/sdk/device/designware/uart/dw_uart_hal.h   |  253 
 .../src/ext/sdk/device/device_hal/inc/dev_common.h |  173 +++
 .../src/ext/sdk/device/device_hal/inc/dev_gpio.h   |  424 ++
 .../src/ext/sdk/device/device_hal/inc/dev_iic.h|  526 +++
 .../src/ext/sdk/device/device_hal/inc/dev_spi.h|  577 +++
 .../src/ext/sdk/device/device_hal/inc/dev_uart.h   |  475 ++
 hw/mcu/arc/src/ext/sdk/inc/arc/arc.h   |  436 ++
 hw/mcu/arc/src/ext/sdk/inc/arc/arc_asm_common.h|  541 +++
 hw/mcu/arc/src/ext/sdk/inc/arc/arc_builtin.h   |  301

[mynewt-core] 01/01: Merge pull request #793 from wes3/lora_node_ind

2018-02-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 1c204baa205ac863c2d1f201e1b0ae6e6b9fe9fa
Merge: 86b320e 99c229c
Author: wes3 
AuthorDate: Sun Feb 11 17:15:30 2018 -0800

Merge pull request #793 from wes3/lora_node_ind

lora: make the lora driver not dependent on lora node

 apps/loraping/pkg.yml  |   1 -
 apps/loraping/src/main.c   |   6 +-
 .../sx1276/pkg.yml => apps/loraping/syscfg.yml |  26 +-
 hw/drivers/lora/sx1276/include/radio/radio.h   | 324 +++-
 hw/drivers/lora/sx1276/pkg.yml |   3 +-
 hw/drivers/lora/sx1276/src/sx1276-board.c  |   2 +-
 hw/drivers/lora/sx1276/src/sx1276.c|  40 ++-
 hw/drivers/lora/sx1276/src/sx1276.h|  17 +-
 net/lora/node/include/node/radio.h | 337 -
 net/lora/node/src/lora_node.c  |  15 -
 net/lora/node/src/mac/LoRaMac.c|   9 +-
 net/lora/node/src/utilities.c  |  24 --
 12 files changed, 383 insertions(+), 421 deletions(-)

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


[mynewt-core] branch master updated (86b320e -> 1c204ba)

2018-02-11 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 86b320e  Merge pull request #798 from mkiiskila/oic_client_rsp_ep
 add 99c229c  lora: make the lora driver not dependent on lora node
 new 1c204ba  Merge pull request #793 from wes3/lora_node_ind

The 1 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/loraping/pkg.yml|   1 -
 apps/loraping/src/main.c |   6 +-
 apps/{lora_app_shell => loraping}/syscfg.yml |  14 +-
 hw/drivers/lora/sx1276/include/radio/radio.h | 324 -
 hw/drivers/lora/sx1276/pkg.yml   |   3 +-
 hw/drivers/lora/sx1276/src/sx1276-board.c|   2 +-
 hw/drivers/lora/sx1276/src/sx1276.c  |  40 ++--
 hw/drivers/lora/sx1276/src/sx1276.h  |  17 +-
 net/lora/node/include/node/radio.h   | 337 ---
 net/lora/node/src/lora_node.c|  15 --
 net/lora/node/src/mac/LoRaMac.c  |   9 +-
 net/lora/node/src/utilities.c|  24 --
 12 files changed, 379 insertions(+), 413 deletions(-)
 copy apps/{lora_app_shell => loraping}/syscfg.yml (78%)
 delete mode 100644 net/lora/node/include/node/radio.h

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


[mynewt-core] branch master updated (917aa3f -> 5f6451a)

2018-02-15 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 917aa3f  Merge pull request #811 from andrzej-kaczmarek/nrf52-2m-phy
 add 78467ec  lora: Initial version of sx1272 driver
 new 5f6451a  Merge pull request #813 from wes3/sx1272

The 1 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:
 .../node => hw/drivers/lora/sx1272}/LICENSE.txt|0
 .../lora/{sx1276 => sx1272}/include/radio/radio.h  |0
 hw/drivers/lora/{sx1276 => sx1272}/pkg.yml |5 +-
 hw/drivers/lora/sx1272/src/sx1272-board.c  |  278 
 .../sx1276-board.h => sx1272/src/sx1272-board.h}   |   54 +-
 hw/drivers/lora/sx1272/src/sx1272.c| 1660 
 .../{sx1276/src/sx1276.h => sx1272/src/sx1272.h}   |  792 +-
 .../src/sx1272Regs-Fsk.h}  |  214 +--
 .../src/sx1272Regs-LoRa.h} |  176 +--
 hw/drivers/lora/{sx1276 => sx1272}/syscfg.yml  |   16 +-
 10 files changed, 2556 insertions(+), 639 deletions(-)
 copy {net/lora/node => hw/drivers/lora/sx1272}/LICENSE.txt (100%)
 copy hw/drivers/lora/{sx1276 => sx1272}/include/radio/radio.h (100%)
 copy hw/drivers/lora/{sx1276 => sx1272}/pkg.yml (89%)
 create mode 100644 hw/drivers/lora/sx1272/src/sx1272-board.c
 copy hw/drivers/lora/{sx1276/src/sx1276-board.h => sx1272/src/sx1272-board.h} 
(70%)
 create mode 100644 hw/drivers/lora/sx1272/src/sx1272.c
 copy hw/drivers/lora/{sx1276/src/sx1276.h => sx1272/src/sx1272.h} (79%)
 copy hw/drivers/lora/{sx1276/src/sx1276Regs-Fsk.h => 
sx1272/src/sx1272Regs-Fsk.h} (88%)
 copy hw/drivers/lora/{sx1276/src/sx1276Regs-LoRa.h => 
sx1272/src/sx1272Regs-LoRa.h} (77%)
 copy hw/drivers/lora/{sx1276 => sx1272}/syscfg.yml (75%)

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


[mynewt-core] 01/01: Merge pull request #813 from wes3/sx1272

2018-02-15 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 5f6451ae75b3fb72019085a31298bdcce94f0fc9
Merge: 917aa3f 78467ec
Author: wes3 
AuthorDate: Thu Feb 15 09:11:54 2018 -0800

Merge pull request #813 from wes3/sx1272

lora: Initial version of sx1272 driver

 hw/drivers/lora/sx1272/LICENSE.txt   |   25 +
 hw/drivers/lora/sx1272/include/radio/radio.h |  337 ++
 hw/drivers/lora/sx1272/pkg.yml   |   32 +
 hw/drivers/lora/sx1272/src/sx1272-board.c|  278 +
 hw/drivers/lora/sx1272/src/sx1272-board.h|  127 ++
 hw/drivers/lora/sx1272/src/sx1272.c  | 1660 ++
 hw/drivers/lora/sx1272/src/sx1272.h  |  393 ++
 hw/drivers/lora/sx1272/src/sx1272Regs-Fsk.h  | 1134 ++
 hw/drivers/lora/sx1272/src/sx1272Regs-LoRa.h |  545 +
 hw/drivers/lora/sx1272/syscfg.yml|   44 +
 10 files changed, 4575 insertions(+)

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


[mynewt-core] 01/01: Merge pull request #816 from wes3/lora_irq_fix

2018-02-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit fd3ffefa18880744f3e43d9e44a561bad82cb501
Merge: 2f5ebaf 29f3bdc
Author: wes3 
AuthorDate: Sat Feb 17 15:43:44 2018 -0800

Merge pull request #816 from wes3/lora_irq_fix

lora:   Do not enable an IRQ if no handler present.

 hw/drivers/lora/sx1272/src/sx1272-board.c | 82 -
 hw/drivers/lora/sx1276/src/sx1276-board.c | 86 ---
 2 files changed, 113 insertions(+), 55 deletions(-)

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


[mynewt-core] branch master updated (2f5ebaf -> fd3ffef)

2018-02-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 2f5ebaf  Merge pull request #812 from 
andrzej-kaczmarek/btshell-nomalloc
 add 29f3bdc  lora: Do not enable an IRQ if no handler present.
 new fd3ffef  Merge pull request #816 from wes3/lora_irq_fix

The 1 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:
 hw/drivers/lora/sx1272/src/sx1272-board.c | 82 -
 hw/drivers/lora/sx1276/src/sx1276-board.c | 86 ---
 2 files changed, 113 insertions(+), 55 deletions(-)

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


[mynewt-core] branch master updated (fd3ffef -> d1d83e1)

2018-02-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from fd3ffef  Merge pull request #816 from wes3/lora_irq_fix
 add 449ade0  mcu/nrf52xx: Modify hal_uart so that UARTE1 can be used.
 new d1d83e1  Merge pull request #817 from wes3/nrf52840_uart

The 1 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:
 hw/mcu/nordic/nrf52xxx/src/hal_uart.c | 190 +-
 1 file changed, 142 insertions(+), 48 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #817 from wes3/nrf52840_uart

2018-02-17 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d1d83e1f4963a07bc147c5fe4d1ba480774eec15
Merge: fd3ffef 449ade0
Author: wes3 
AuthorDate: Sat Feb 17 15:59:37 2018 -0800

Merge pull request #817 from wes3/nrf52840_uart

mcu/nrf52xx: Modify hal_uart so that UARTE1 can be used.

 hw/mcu/nordic/nrf52xxx/src/hal_uart.c | 190 +-
 1 file changed, 142 insertions(+), 48 deletions(-)

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


[mynewt-core] branch master updated (3b58dde -> 6d55bf7)

2018-02-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 3b58dde  Merge pull request #797 from 
ccollins476ad/stm32cube-missing-headers
 add be19af0  hal/uart: Fix nrf52840 (and nrf52) uart1 addition.
 new 6d55bf7  Merge pull request #828 from wes3/nrf52840_uart

The 1 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:
 hw/drivers/uart/uart_hal/src/uart_hal.c |  7 +++--
 hw/mcu/nordic/nrf52xxx/src/hal_uart.c   | 50 -
 2 files changed, 42 insertions(+), 15 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #828 from wes3/nrf52840_uart

2018-02-21 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 6d55bf7d9820009c8f22b8e94fa41a9634ec23c6
Merge: 3b58dde be19af0
Author: wes3 
AuthorDate: Wed Feb 21 07:51:17 2018 -0800

Merge pull request #828 from wes3/nrf52840_uart

hal/uart: Fix nrf52840 (and nrf52) uart1 addition.

 hw/drivers/uart/uart_hal/src/uart_hal.c |  7 +++--
 hw/mcu/nordic/nrf52xxx/src/hal_uart.c   | 50 -
 2 files changed, 42 insertions(+), 15 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #846 from wes3/lora_ant_sw

2018-02-26 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit 588a4830d567d7c99419e1710ad918af5eefd4fa
Merge: bca0ddc 32e9b10
Author: wes3 
AuthorDate: Mon Feb 26 23:57:58 2018 -0800

Merge pull request #846 from wes3/lora_ant_sw

lora: Add single pole antenna switch to sx1272 and fix initial sx1276…

 hw/drivers/lora/sx1272/src/sx1272-board.c | 626 +++---
 hw/drivers/lora/sx1276/src/sx1276-board.c |   2 +-
 2 files changed, 317 insertions(+), 311 deletions(-)

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


[mynewt-core] branch master updated (bca0ddc -> 588a483)

2018-02-26 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from bca0ddc  Merge pull request #854 from PaxLabs/bma253_set_config
 add 32e9b10  lora: Add single pole antenna switch to sx1272 and fix 
initial sx1276 state
 new 588a483  Merge pull request #846 from wes3/lora_ant_sw

The 1 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:
 hw/drivers/lora/sx1272/src/sx1272-board.c | 626 +++---
 hw/drivers/lora/sx1276/src/sx1276-board.c |   2 +-
 2 files changed, 317 insertions(+), 311 deletions(-)

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


[mynewt-core] branch master updated (55967c4 -> d46cdb1)

2018-02-28 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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


from 55967c4  Fix linker script's boot size to match bsp.yml
 add 40eb21f  hw/mcu/nordic/nrf52xxx: HAL spi broken for 52840.
 new d46cdb1  Merge pull request #857 from wes3/issue856

The 1 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:
 hw/mcu/nordic/nrf52xxx/include/mcu/nrf52_hal.h | 29 +++
 hw/mcu/nordic/nrf52xxx/src/hal_gpio.c  | 30 +--
 hw/mcu/nordic/nrf52xxx/src/hal_spi.c   | 40 +++---
 3 files changed, 59 insertions(+), 40 deletions(-)

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


[mynewt-core] 01/01: Merge pull request #857 from wes3/issue856

2018-02-28 Thread wes3
This is an automated email from the ASF dual-hosted git repository.

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

commit d46cdb11734f25cd29a819c4816d116b427a9672
Merge: 55967c4 40eb21f
Author: wes3 
AuthorDate: Wed Feb 28 10:41:39 2018 -0800

Merge pull request #857 from wes3/issue856

hw/mcu/nordic/nrf52xxx: HAL spi broken for 52840.

 hw/mcu/nordic/nrf52xxx/include/mcu/nrf52_hal.h | 29 +++
 hw/mcu/nordic/nrf52xxx/src/hal_gpio.c  | 30 +--
 hw/mcu/nordic/nrf52xxx/src/hal_spi.c   | 40 +++---
 3 files changed, 59 insertions(+), 40 deletions(-)

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


  1   2   >