[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2237: [WIP DNM] Added bsp and mcu packages for dialog_da14695-dk-usb

2020-04-13 Thread GitBox
apache-mynewt-bot commented on issue #2237: [WIP DNM] Added bsp and mcu 
packages for dialog_da14695-dk-usb
URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-613053754
 
 
   
   
   
   ## Style check summary
   
   ### Our coding style is 
[here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
    hw/bsp/dialog_da14695-dk-usb/src/sbrk.c
   
   
   ```diff
   @@ -23,7 +23,8 @@
static char *brk __attribute__ ((section (".data")));

void
   -_sbrkInit(char *base, char *limit) {
   +_sbrkInit(char *base, char *limit)
   +{
sbrkBase = base;
sbrkLimit = limit;
brk = base;
   ```
   
   
   
    hw/mcu/dialog/da14695/include/mcu/mcu.h
   
   
   ```diff
   @@ -41,9 +41,9 @@
"I#54=GPIO_P0,I#55=GPIO_P1"

/**
   -* \brief GPIO function
   -*
   -*/
   + * \brief GPIO function
   + *
   + */
typedef enum {
MCU_GPIO_FUNC_GPIO = 0,  /**< GPIO */
MCU_GPIO_FUNC_UART_RX = 1,   /**< GPIO as UART RX */
   @@ -115,8 +115,8 @@
#define MCU_GPIO_MODE_OUTPUT_OPEN_DRAIN 0x700/**< GPIO as an 
open-drain output */

#define MCU_GPIO_PORT0_PIN_COUNT32
   -#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin))
   -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin))
   +#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin))
   +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin))
#define MCU_DMA_CHAN_MAX8

#define MCU_PIN_GPADC_SEL0   MCU_GPIO_PORT1(9)
   ```
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2237: [WIP DNM] Added bsp and mcu packages for dialog_da14695-dk-usb

2020-03-11 Thread GitBox
apache-mynewt-bot commented on issue #2237: [WIP DNM] Added bsp and mcu 
packages for dialog_da14695-dk-usb
URL: https://github.com/apache/mynewt-core/pull/2237#issuecomment-597785395
 
 
   
   
   
   ## Style check summary
   
   ### Our coding style is 
[here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
    hw/bsp/dialog_da14695-dk-usb/src/sbrk.c
   
   
   ```diff
   @@ -23,7 +23,8 @@
static char *brk __attribute__ ((section (".data")));

void
   -_sbrkInit(char *base, char *limit) {
   +_sbrkInit(char *base, char *limit)
   +{
sbrkBase = base;
sbrkLimit = limit;
brk = base;
   ```
   
   
   
    hw/mcu/dialog/da14695/include/mcu/mcu.h
   
   
   ```diff
   @@ -41,9 +41,9 @@
"I#54=GPIO_P0,I#55=GPIO_P1"

/**
   -* \brief GPIO function
   -*
   -*/
   + * \brief GPIO function
   + *
   + */
typedef enum {
MCU_GPIO_FUNC_GPIO = 0,  /**< GPIO */
MCU_GPIO_FUNC_UART_RX = 1,   /**< GPIO as UART RX */
   @@ -115,8 +115,8 @@
#define MCU_GPIO_MODE_OUTPUT_OPEN_DRAIN 0x700/**< GPIO as an 
open-drain output */

#define MCU_GPIO_PORT0_PIN_COUNT32
   -#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin))
   -#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin))
   +#define MCU_GPIO_PORT0(pin) ((0 * 32) + (pin))
   +#define MCU_GPIO_PORT1(pin) ((1 * 32) + (pin))
#define MCU_DMA_CHAN_MAX8

#define MCU_PIN_GPADC_SEL0   MCU_GPIO_PORT1(9)
   ```
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services