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-bot -->
   
   ## 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
   <details>
   
   ```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;
   ```
   
   </details>
   
   #### hw/mcu/dialog/da14695/include/mcu/mcu.h
   <details>
   
   ```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_COUNT            32
   -#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_MAX                    8
    
    #define MCU_PIN_GPADC_SEL0               MCU_GPIO_PORT1(9)
   ```
   
   </details>

----------------------------------------------------------------
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

Reply via email to