apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624585617


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is 
[here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### hw/bsp/nordic_pca10095/src/sbrk.c
   <details>
   
   ```diff
   @@ -25,7 +25,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/nordic/nrf5340/include/mcu/cmsis_nvic.h
   <details>
   
   ```diff
   @@ -10,7 +10,7 @@
    #include <stdint.h>
    #include "nrf.h"
    
   -#define NVIC_NUM_VECTORS      (16 + 38)   // CORE + MCU Peripherals
   +#define NVIC_NUM_VECTORS      (16 + 38)   /* CORE + MCU Peripherals */
    #define NVIC_USER_IRQ_OFFSET  16
    
    #ifdef __cplusplus
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
   <details>
   
   ```diff
   @@ -21,7 +21,7 @@
    #define H_NRF5340_HAL_
    
    #ifdef __cplusplus
   - extern "C" {
   +extern "C" {
    #endif
    
    /* Helper functions to enable/disable interrupts. */
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h
   <details>
   
   ```diff
   @@ -21,7 +21,7 @@
    #define H_NRF5340_PERIPH_
    
    #ifdef __cplusplus
   - extern "C" {
   +extern "C" {
    #endif
    
    void nrf5340_periph_create(void);
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/include/nrfx_config.h
   <details>
   
   ```diff
   @@ -150,755 +150,869 @@
    #define NRF_QDEC        NRF_QDEC0
    #define QDEC_IRQHandler QDEC0_IRQHandler
    
   -// <<< Use Configuration Wizard in Context Menu >>>\n
   -
   -// <h> nRF_Drivers
   -
   -// <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver.
   -//==========================================================
   +/* <<< Use Configuration Wizard in Context Menu >>>\n */
   +
   +/* <h> nRF_Drivers */
   +
   +/*
   +   <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_CLOCK_ENABLED
    #define NRFX_CLOCK_ENABLED 0
    #endif
   -// <o> NRFX_CLOCK_CONFIG_LF_SRC  - LF clock source.
   -
   -// <0=> ULP
   -// <1=> RC
   -// <2=> XTAL
   -// <3=> Synth
   +/* <o> NRFX_CLOCK_CONFIG_LF_SRC  - LF clock source. */
   +
   +/*
   +   <0=> ULP
   +   <1=> RC
   +   <2=> XTAL
   +   <3=> Synth
   + */
    
    #ifndef NRFX_CLOCK_CONFIG_LF_SRC
    #define NRFX_CLOCK_CONFIG_LF_SRC 2
    #endif
    
   -// <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED  - Enables LF Clock Calibration 
Support
   +/* <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED  - Enables LF Clock Calibration 
Support */
    
    #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
    #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
    #endif
    
   -// <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC  - HFCLK192M source.
   -
   -// <0=> HFINT
   -// <1=> HFXO
   +/* <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC  - HFCLK192M source. */
   +
   +/*
   +   <0=> HFINT
   +   <1=> HFXO
   + */
    
    #ifndef NRFX_CLOCK_CONFIG_HFCLK192M_SRC
    #define NRFX_CLOCK_CONFIG_HFCLK192M_SRC 1
    #endif
    
   -// <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
    #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_CLOCK_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_CLOCK_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
    #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_CLOCK_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_CLOCK_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
    #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
    #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_COMP_ENABLED
    #define NRFX_COMP_ENABLED 0
    #endif
    
   -// <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
    #define NRFX_COMP_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_COMP_CONFIG_LOG_LEVEL  - Default Severity level
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_COMP_CONFIG_LOG_LEVEL  - Default Severity level */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
    #define NRFX_COMP_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_COMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_COMP_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_COMP_CONFIG_INFO_COLOR
    #define NRFX_COMP_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_COMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_COMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
    #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator.
   +   ==========================================================
   + */
    #ifndef NRFX_DPPI_ENABLED
    #define NRFX_DPPI_ENABLED 0
    #endif
   -// <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED
    #define NRFX_DPPI_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_DPPI_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_DPPI_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL
    #define NRFX_DPPI_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_DPPI_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_DPPI_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_DPPI_CONFIG_INFO_COLOR
    #define NRFX_DPPI_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_DPPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_DPPI_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_DPPI_CONFIG_DEBUG_COLOR
    #define NRFX_DPPI_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_EGU_ENABLED
    #define NRFX_EGU_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU0_ENABLED  - Enable EGU0 instance.
   +/* <q> NRFX_EGU0_ENABLED  - Enable EGU0 instance. */
    
    #ifndef NRFX_EGU0_ENABLED
    #define NRFX_EGU0_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU1_ENABLED  - Enable EGU1 instance.
   +/* <q> NRFX_EGU1_ENABLED  - Enable EGU1 instance. */
    
    #ifndef NRFX_EGU1_ENABLED
    #define NRFX_EGU1_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU2_ENABLED  - Enable EGU2 instance.
   +/* <q> NRFX_EGU2_ENABLED  - Enable EGU2 instance. */
    
    #ifndef NRFX_EGU2_ENABLED
    #define NRFX_EGU2_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU3_ENABLED  - Enable EGU3 instance.
   +/* <q> NRFX_EGU3_ENABLED  - Enable EGU3 instance. */
    
    #ifndef NRFX_EGU3_ENABLED
    #define NRFX_EGU3_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU4_ENABLED  - Enable EGU4 instance.
   +/* <q> NRFX_EGU4_ENABLED  - Enable EGU4 instance. */
    
    #ifndef NRFX_EGU4_ENABLED
    #define NRFX_EGU4_ENABLED 0
    #endif
    
   -// <q> NRFX_EGU5_ENABLED  - Enable EGU5 instance.
   +/* <q> NRFX_EGU5_ENABLED  - Enable EGU5 instance. */
    
    #ifndef NRFX_EGU5_ENABLED
    #define NRFX_EGU5_ENABLED 0
    #endif
    
   -// <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// </e>
   -
   -// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/*
   +   <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_GPIOTE_ENABLED
    #define NRFX_GPIOTE_ENABLED 0
    #endif
   -// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power 
input pins.
   +/* <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power 
input pins. */
    #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
    #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
    #endif
    
   -// <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
    #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
    #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_GPIOTE_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
    #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
    #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_I2S_ENABLED
    #define NRFX_I2S_ENABLED 0
    #endif
    
   -// <o> NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
    #define NRFX_I2S_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_I2S_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_I2S_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
    #define NRFX_I2S_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_I2S_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_I2S_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_I2S_CONFIG_INFO_COLOR
    #define NRFX_I2S_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_I2S_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_I2S_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
    #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_IPC_ENABLED - nrfx_ipc - IPC peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_IPC_ENABLED - nrfx_ipc - IPC peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_IPC_ENABLED
    #define NRFX_IPC_ENABLED 0
    #endif
    
   -// </e>
   -
   -// <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/*
   +   <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_LPCOMP_ENABLED
    #define NRFX_LPCOMP_ENABLED 0
    #endif
    
   -// <o> NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
    #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL  - Default Severity level
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL  - Default Severity level */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
    #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_LPCOMP_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_LPCOMP_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
    #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
    #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_NFCT_ENABLED
    #define NRFX_NFCT_ENABLED 0
    #endif
   -// <o> NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <o> NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for 
workarounds in the driver.
   -
   -// <0=> 0
   -// <1=> 1
   -// <2=> 2
   +/* <o> NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for 
workarounds in the driver. */
   +
   +/*
   +   <0=> 0
   +   <1=> 1
   +   <2=> 2
   + */
    
    #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID
    #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 2
    #endif
    
   -// <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
    #define NRFX_NFCT_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_NFCT_CONFIG_LOG_LEVEL  - Default Severity level
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_NFCT_CONFIG_LOG_LEVEL  - Default Severity level */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
    #define NRFX_NFCT_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_NFCT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_NFCT_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_NFCT_CONFIG_INFO_COLOR
    #define NRFX_NFCT_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_NFCT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_NFCT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
    #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_NVMC_ENABLED
    #define NRFX_NVMC_ENABLED 0
    #endif
    
   -// </e>
   -
   -// <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/*
   +   <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_PDM_ENABLED
    #define NRFX_PDM_ENABLED 0
    #endif
    
   -// <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
    #define NRFX_PDM_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_PDM_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_PDM_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
    #define NRFX_PDM_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_PDM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PDM_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PDM_CONFIG_INFO_COLOR
    #define NRFX_PDM_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_PDM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PDM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
    #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_POWER_ENABLED
    #define NRFX_POWER_ENABLED 0
    #endif
   -// <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// </e>
   -
   -// <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) 
module.
   -//==========================================================
   +/* </e> */
   +
   +/*
   +   <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) 
module.
   +   ==========================================================
   + */
    #ifndef NRFX_PRS_ENABLED
    #define NRFX_PRS_ENABLED 0
    #endif
   -// <q> NRFX_PRS_BOX_0_ENABLED  - Enables box 0 in the module.
   +/* <q> NRFX_PRS_BOX_0_ENABLED  - Enables box 0 in the module. */
    
    
    #ifndef NRFX_PRS_BOX_0_ENABLED
    #define NRFX_PRS_BOX_0_ENABLED 0
    #endif
    
   -// <q> NRFX_PRS_BOX_1_ENABLED  - Enables box 1 in the module.
   +/* <q> NRFX_PRS_BOX_1_ENABLED  - Enables box 1 in the module. */
    
    
    #ifndef NRFX_PRS_BOX_1_ENABLED
    #define NRFX_PRS_BOX_1_ENABLED 0
    #endif
    
   -// <q> NRFX_PRS_BOX_2_ENABLED  - Enables box 2 in the module.
   +/* <q> NRFX_PRS_BOX_2_ENABLED  - Enables box 2 in the module. */
    
    
    #ifndef NRFX_PRS_BOX_2_ENABLED
    #define NRFX_PRS_BOX_2_ENABLED 0
    #endif
    
   -// <q> NRFX_PRS_BOX_3_ENABLED  - Enables box 3 in the module.
   +/* <q> NRFX_PRS_BOX_3_ENABLED  - Enables box 3 in the module. */
    
    
    #ifndef NRFX_PRS_BOX_3_ENABLED
    #define NRFX_PRS_BOX_3_ENABLED 0
    #endif
    
   -// <q> NRFX_PRS_BOX_4_ENABLED  - Enables box 4 in the module.
   +/* <q> NRFX_PRS_BOX_4_ENABLED  - Enables box 4 in the module. */
    
    
    #ifndef NRFX_PRS_BOX_4_ENABLED
   @@ -906,1258 +1020,1424 @@
    #endif
    
    
   -// <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
    #define NRFX_PRS_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_PRS_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_PRS_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
    #define NRFX_PRS_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_PRS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PRS_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PRS_CONFIG_INFO_COLOR
    #define NRFX_PRS_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_PRS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PRS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
    #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_PWM_ENABLED
    #define NRFX_PWM_ENABLED 0
    #endif
   -// <q> NRFX_PWM0_ENABLED  - Enables PWM0 instance.
   +/* <q> NRFX_PWM0_ENABLED  - Enables PWM0 instance. */
    
    
    #ifndef NRFX_PWM0_ENABLED
    #define NRFX_PWM0_ENABLED 0
    #endif
    
   -// <q> NRFX_PWM1_ENABLED  - Enables PWM1 instance.
   +/* <q> NRFX_PWM1_ENABLED  - Enables PWM1 instance. */
    
    
    #ifndef NRFX_PWM1_ENABLED
    #define NRFX_PWM1_ENABLED 0
    #endif
    
   -// <q> NRFX_PWM2_ENABLED  - Enables PWM2 instance.
   +/* <q> NRFX_PWM2_ENABLED  - Enables PWM2 instance. */
    
    
    #ifndef NRFX_PWM2_ENABLED
    #define NRFX_PWM2_ENABLED 0
    #endif
    
   -// <q> NRFX_PWM3_ENABLED  - Enables PWM3 instance.
   +/* <q> NRFX_PWM3_ENABLED  - Enables PWM3 instance. */
    
    
    #ifndef NRFX_PWM3_ENABLED
    #define NRFX_PWM3_ENABLED 0
    #endif
    
   -// <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
    #define NRFX_PWM_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_PWM_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_PWM_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
    #define NRFX_PWM_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_PWM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PWM_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PWM_CONFIG_INFO_COLOR
    #define NRFX_PWM_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_PWM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_PWM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
    #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_QDEC_ENABLED
    #define NRFX_QDEC_ENABLED 0
    #endif
    
   -// <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
    #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_QDEC_CONFIG_LOG_LEVEL  - Default Severity level
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_QDEC_CONFIG_LOG_LEVEL  - Default Severity level */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
    #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_QDEC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_QDEC_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
    #define NRFX_QDEC_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_QDEC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_QDEC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
    #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_QSPI_ENABLED
    #define NRFX_QSPI_ENABLED 0
    #endif
    
   -// <o> NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// </e>
   -
   -// <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/*
   +   <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_RTC_ENABLED
    #define NRFX_RTC_ENABLED 0
    #endif
   -// <q> NRFX_RTC0_ENABLED  - Enables RTC0 instance.
   +/* <q> NRFX_RTC0_ENABLED  - Enables RTC0 instance. */
    
    
    #ifndef NRFX_RTC0_ENABLED
    #define NRFX_RTC0_ENABLED 0
    #endif
    
   -// <q> NRFX_RTC1_ENABLED  - Enables RTC1 instance.
   +/* <q> NRFX_RTC1_ENABLED  - Enables RTC1 instance. */
    
    
    #ifndef NRFX_RTC1_ENABLED
    #define NRFX_RTC1_ENABLED 0
    #endif
    
   -// <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
    #define NRFX_RTC_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_RTC_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_RTC_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
    #define NRFX_RTC_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_RTC_CONFIG_INFO_COLOR
    #define NRFX_RTC_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
    #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_SAADC_ENABLED
    #define NRFX_SAADC_ENABLED 0
    #endif
    
   -// <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
    #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_SAADC_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_SAADC_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
    #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_SAADC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SAADC_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
    #define NRFX_SAADC_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_SAADC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SAADC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
    #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_SPIM_ENABLED
    #define NRFX_SPIM_ENABLED 0
    #endif
   -// <q> NRFX_SPIM0_ENABLED  - Enables SPIM0 instance.
   +/* <q> NRFX_SPIM0_ENABLED  - Enables SPIM0 instance. */
    
    
    #ifndef NRFX_SPIM0_ENABLED
    #define NRFX_SPIM0_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIM1_ENABLED  - Enables SPIM1 instance.
   +/* <q> NRFX_SPIM1_ENABLED  - Enables SPIM1 instance. */
    
    
    #ifndef NRFX_SPIM1_ENABLED
    #define NRFX_SPIM1_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIM2_ENABLED  - Enables SPIM2 instance.
   +/* <q> NRFX_SPIM2_ENABLED  - Enables SPIM2 instance. */
    
    
    #ifndef NRFX_SPIM2_ENABLED
    #define NRFX_SPIM2_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIM3_ENABLED  - Enables SPIM3 instance.
   +/* <q> NRFX_SPIM3_ENABLED  - Enables SPIM3 instance. */
    
    
    #ifndef NRFX_SPIM3_ENABLED
    #define NRFX_SPIM3_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIM4_ENABLED  - Enables SPIM4 instance.
   +/* <q> NRFX_SPIM4_ENABLED  - Enables SPIM4 instance. */
    
    
    #ifndef NRFX_SPIM4_ENABLED
    #define NRFX_SPIM4_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIM_EXTENDED_ENABLED  - Enable extended SPIM features
   +/* <q> NRFX_SPIM_EXTENDED_ENABLED  - Enable extended SPIM features */
    
    
    #ifndef NRFX_SPIM_EXTENDED_ENABLED
    #define NRFX_SPIM_EXTENDED_ENABLED 0
    #endif
    
   -// <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
    #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_SPIM_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_SPIM_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
    #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_SPIM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SPIM_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
    #define NRFX_SPIM_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_SPIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SPIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
    #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_SPIS_ENABLED
    #define NRFX_SPIS_ENABLED 0
    #endif
   -// <q> NRFX_SPIS0_ENABLED  - Enables SPIS0 instance.
   +/* <q> NRFX_SPIS0_ENABLED  - Enables SPIS0 instance. */
    
    
    #ifndef NRFX_SPIS0_ENABLED
    #define NRFX_SPIS0_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIS1_ENABLED  - Enables SPIS1 instance.
   +/* <q> NRFX_SPIS1_ENABLED  - Enables SPIS1 instance. */
    
    
    #ifndef NRFX_SPIS1_ENABLED
    #define NRFX_SPIS1_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIS2_ENABLED  - Enables SPIS2 instance.
   +/* <q> NRFX_SPIS2_ENABLED  - Enables SPIS2 instance. */
    
    
    #ifndef NRFX_SPIS2_ENABLED
    #define NRFX_SPIS2_ENABLED 0
    #endif
    
   -// <q> NRFX_SPIS3_ENABLED  - Enables SPIS3 instance.
   +/* <q> NRFX_SPIS3_ENABLED  - Enables SPIS3 instance. */
    
    
    #ifndef NRFX_SPIS3_ENABLED
    #define NRFX_SPIS3_ENABLED 0
    #endif
    
   -// <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
    #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_SPIS_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_SPIS_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
    #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_SPIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SPIS_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
    #define NRFX_SPIS_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_SPIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_SPIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
    #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <q> NRFX_SYSTICK_ENABLED  - nrfx_systick - ARM(R) SysTick driver.
   +/* </e> */
   +
   +/* </e> */
   +
   +/* <q> NRFX_SYSTICK_ENABLED  - nrfx_systick - ARM(R) SysTick driver. */
    
    
    #ifndef NRFX_SYSTICK_ENABLED
    #define NRFX_SYSTICK_ENABLED 0
    #endif
    
   -// <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver.
   -//==========================================================
   +/*
   +   <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver.
   +   ==========================================================
   + */
    #ifndef NRFX_TIMER_ENABLED
    #define NRFX_TIMER_ENABLED 0
    #endif
   -// <q> NRFX_TIMER0_ENABLED  - Enables TIMER0 instance.
   +/* <q> NRFX_TIMER0_ENABLED  - Enables TIMER0 instance. */
    
    
    #ifndef NRFX_TIMER0_ENABLED
    #define NRFX_TIMER0_ENABLED 0
    #endif
    
   -// <q> NRFX_TIMER1_ENABLED  - Enables TIMER1 instance.
   +/* <q> NRFX_TIMER1_ENABLED  - Enables TIMER1 instance. */
    
    
    #ifndef NRFX_TIMER1_ENABLED
    #define NRFX_TIMER1_ENABLED 0
    #endif
    
   -// <q> NRFX_TIMER2_ENABLED  - Enables TIMER2 instance.
   +/* <q> NRFX_TIMER2_ENABLED  - Enables TIMER2 instance. */
    
    
    #ifndef NRFX_TIMER2_ENABLED
    #define NRFX_TIMER2_ENABLED 0
    #endif
    
   -// <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
    #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_TIMER_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_TIMER_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
    #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_TIMER_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TIMER_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
    #define NRFX_TIMER_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_TIMER_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TIMER_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
    #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_TWIM_ENABLED
    #define NRFX_TWIM_ENABLED 0
    #endif
   -// <q> NRFX_TWIM0_ENABLED  - Enables TWIM0 instance.
   +/* <q> NRFX_TWIM0_ENABLED  - Enables TWIM0 instance. */
    
    
    #ifndef NRFX_TWIM0_ENABLED
    #define NRFX_TWIM0_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIM1_ENABLED  - Enables TWIM1 instance.
   +/* <q> NRFX_TWIM1_ENABLED  - Enables TWIM1 instance. */
    
    
    #ifndef NRFX_TWIM1_ENABLED
    #define NRFX_TWIM1_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIM2_ENABLED  - Enables TWIM2 instance.
   +/* <q> NRFX_TWIM2_ENABLED  - Enables TWIM2 instance. */
    
    
    #ifndef NRFX_TWIM2_ENABLED
    #define NRFX_TWIM2_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIM3_ENABLED  - Enables TWIM3 instance.
   +/* <q> NRFX_TWIM3_ENABLED  - Enables TWIM3 instance. */
    
    
    #ifndef NRFX_TWIM3_ENABLED
    #define NRFX_TWIM3_ENABLED 0
    #endif
    
   -// <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
    #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_TWIM_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_TWIM_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
    #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_TWIM_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TWIM_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
    #define NRFX_TWIM_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_TWIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TWIM_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
    #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_TWIS_ENABLED
    #define NRFX_TWIS_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIS0_ENABLED  - Enables TWIS0 instance.
   +/* <q> NRFX_TWIS0_ENABLED  - Enables TWIS0 instance. */
    
    #ifndef NRFX_TWIS0_ENABLED
    #define NRFX_TWIS0_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIS1_ENABLED  - Enables TWIS1 instance.
   +/* <q> NRFX_TWIS1_ENABLED  - Enables TWIS1 instance. */
    
    #ifndef NRFX_TWIS1_ENABLED
    #define NRFX_TWIS1_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIS2_ENABLED  - Enables TWIS2 instance.
   +/* <q> NRFX_TWIS2_ENABLED  - Enables TWIS2 instance. */
    
    #ifndef NRFX_TWIS2_ENABLED
    #define NRFX_TWIS2_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIS3_ENABLED  - Enables TWIS3 instance.
   +/* <q> NRFX_TWIS3_ENABLED  - Enables TWIS3 instance. */
    
    #ifndef NRFX_TWIS3_ENABLED
    #define NRFX_TWIS3_ENABLED 0
    #endif
    
   -// <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY  - Assumes that any instance 
would be initialized only once.
   -
   -// <i> Optimization flag. Registers used by TWIS are shared by other 
peripherals. Normally, during initialization driver tries to clear all 
registers to known state before doing the initialization itself. This gives 
initialization safe procedure, no matter when it would be called. If you 
activate TWIS only once and do never uninitialize it - set this flag to 1 what 
gives more optimal code.
   +/* <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY  - Assumes that any instance 
would be initialized only once. */
   +
   +/* <i> Optimization flag. Registers used by TWIS are shared by other 
peripherals. Normally, during initialization driver tries to clear all 
registers to known state before doing the initialization itself. This gives 
initialization safe procedure, no matter when it would be called. If you 
activate TWIS only once and do never uninitialize it - set this flag to 1 what 
gives more optimal code. */
    
    #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
    #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
    #endif
    
   -// <q> NRFX_TWIS_NO_SYNC_MODE  - Removes support for synchronous mode.
   -
   -// <i> Synchronous mode would be used in specific situations. And it uses 
some additional code and data memory to safely process state machine by polling 
it in status functions. If this functionality is not required it may be 
disabled to free some resources.
   +/* <q> NRFX_TWIS_NO_SYNC_MODE  - Removes support for synchronous mode. */
   +
   +/* <i> Synchronous mode would be used in specific situations. And it uses 
some additional code and data memory to safely process state machine by polling 
it in status functions. If this functionality is not required it may be 
disabled to free some resources. */
    
    #ifndef NRFX_TWIS_NO_SYNC_MODE
    #define NRFX_TWIS_NO_SYNC_MODE 0
    #endif
    
   -// <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
    #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_TWIS_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_TWIS_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
    #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_TWIS_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TWIS_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
    #define NRFX_TWIS_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_TWIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_TWIS_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
    #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_UARTE_ENABLED
    #define NRFX_UARTE_ENABLED 0
    #endif
   -// <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances
   +/* <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances */
    #ifndef NRFX_UARTE0_ENABLED
    #define NRFX_UARTE0_ENABLED 0
    #endif
    
   -// <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance.
   +/* <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance. */
    #ifndef NRFX_UARTE1_ENABLED
    #define NRFX_UARTE1_ENABLED 0
    #endif
    
   -// <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance.
   +/* <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance. */
    #ifndef NRFX_UARTE2_ENABLED
    #define NRFX_UARTE2_ENABLED 0
    #endif
    
   -// <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance.
   +/* <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance. */
    #ifndef NRFX_UARTE3_ENABLED
    #define NRFX_UARTE3_ENABLED 0
    #endif
    
   -// <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
    #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_UARTE_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_UARTE_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
    #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_UARTE_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_UARTE_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
    #define NRFX_UARTE_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_UARTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_UARTE_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
    #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_USBD_ENABLED
    #define NRFX_USBD_ENABLED 0
    #endif
   -// <o> NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST  - Give priority to isochronous 
transfers
   -
   -// <i> This option gives priority to isochronous transfers.
   -// <i> Enabling it assures that isochronous transfers are always processed,
   -// <i> even if multiple other transfers are pending.
   -// <i> Isochronous endpoints are prioritized before the 
usbd_dma_scheduler_algorithm
   -// <i> function is called, so the option is independent of the algorithm 
chosen.
   +/* <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST  - Give priority to isochronous 
transfers */
   +
   +/*
   +   <i> This option gives priority to isochronous transfers.
   +   <i> Enabling it assures that isochronous transfers are always processed,
   +   <i> even if multiple other transfers are pending.
   +   <i> Isochronous endpoints are prioritized before the 
usbd_dma_scheduler_algorithm
   +   <i> function is called, so the option is independent of the algorithm 
chosen.
   + */
    
    #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
    #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
    #endif
    
   -// <q> USBD_CONFIG_ISO_IN_ZLP  - Respond to an IN token on ISO IN endpoint 
with ZLP when no data is ready
   -
   -
   -// <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no 
data is ready to be sent.
   -// <i> Else, there will be no response.
   +/* <q> USBD_CONFIG_ISO_IN_ZLP  - Respond to an IN token on ISO IN endpoint 
with ZLP when no data is ready */
   +
   +
   +/*
   +   <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no 
data is ready to be sent.
   +   <i> Else, there will be no response.
   + */
    
    #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
    #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
    #endif
    
   -// <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
   -//==========================================================
   +/*
   +   <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
   +   ==========================================================
   + */
    #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
    #define NRFX_USBD_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_USBD_CONFIG_LOG_LEVEL  - Default Severity level
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_USBD_CONFIG_LOG_LEVEL  - Default Severity level */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
    #define NRFX_USBD_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_USBD_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_USBD_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_USBD_CONFIG_INFO_COLOR
    #define NRFX_USBD_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_USBD_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_USBD_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
    #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver
   +   ==========================================================
   + */
    #ifndef NRFX_USBREG_ENABLED
    #define NRFX_USBREG_ENABLED 0
    #endif
   -// <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver.
   -//==========================================================
   +/* </e> */
   +
   +/* </e> */
   +
   +/*
   +   <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver.
   +   ==========================================================
   + */
    #ifndef NRFX_WDT_ENABLED
    #define NRFX_WDT_ENABLED 0
    #endif
   -// <q> NRFX_WDT0_ENABLED  - Enable WDT0 instance.
   +/* <q> NRFX_WDT0_ENABLED  - Enable WDT0 instance. */
    
    
    #ifndef NRFX_WDT0_ENABLED
    #define NRFX_WDT0_ENABLED 0
    #endif
    
   -// <q> NRFX_WDT1_ENABLED  - Enable WDT1 instance.
   +/* <q> NRFX_WDT1_ENABLED  - Enable WDT1 instance. */
    
    
    #ifndef NRFX_WDT1_ENABLED
    #define NRFX_WDT1_ENABLED 0
    #endif
    
   -// <o> NRFX_WDT_CONFIG_NO_IRQ  - Remove WDT IRQ handling from WDT driver.
   -
   -// <0=> Include WDT IRQ handling
   -// <1=> Remove WDT IRQ handling
   +/* <o> NRFX_WDT_CONFIG_NO_IRQ  - Remove WDT IRQ handling from WDT driver. */
   +
   +/*
   +   <0=> Include WDT IRQ handling
   +   <1=> Remove WDT IRQ handling
   + */
    
    #ifndef NRFX_WDT_CONFIG_NO_IRQ
    #define NRFX_WDT_CONFIG_NO_IRQ 0
    #endif
    
   -// <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority.
   -
   -// <0=> 0 (highest)
   -// <1=> 1
   -// <2=> 2
   -// <3=> 3
   -// <4=> 4
   -// <5=> 5
   -// <6=> 6
   -// <7=> 7
   +/* <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority. */
   +
   +/*
   +   <0=> 0 (highest)
   +   <1=> 1
   +   <2=> 2
   +   <3=> 3
   +   <4=> 4
   +   <5=> 5
   +   <6=> 6
   +   <7=> 7
   + */
    
    #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
    #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 7
    #endif
    
   -// <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
   -//==========================================================
   +/*
   +   <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
   +   ==========================================================
   + */
    #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
    #define NRFX_WDT_CONFIG_LOG_ENABLED 0
    #endif
   -// <o> NRFX_WDT_CONFIG_LOG_LEVEL  - Default severity level.
   -
   -// <0=> Off
   -// <1=> Error
   -// <2=> Warning
   -// <3=> Info
   -// <4=> Debug
   +/* <o> NRFX_WDT_CONFIG_LOG_LEVEL  - Default severity level. */
   +
   +/*
   +   <0=> Off
   +   <1=> Error
   +   <2=> Warning
   +   <3=> Info
   +   <4=> Debug
   + */
    
    #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
    #define NRFX_WDT_CONFIG_LOG_LEVEL 3
    #endif
    
   -// <o> NRFX_WDT_CONFIG_INFO_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_WDT_CONFIG_INFO_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_WDT_CONFIG_INFO_COLOR
    #define NRFX_WDT_CONFIG_INFO_COLOR 0
    #endif
    
   -// <o> NRFX_WDT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
   -
   -// <0=> Default
   -// <1=> Black
   -// <2=> Red
   -// <3=> Green
   -// <4=> Yellow
   -// <5=> Blue
   -// <6=> Magenta
   -// <7=> Cyan
   -// <8=> White
   +/* <o> NRFX_WDT_CONFIG_DEBUG_COLOR  - ANSI escape code prefix. */
   +
   +/*
   +   <0=> Default
   +   <1=> Black
   +   <2=> Red
   +   <3=> Green
   +   <4=> Yellow
   +   <5=> Blue
   +   <6=> Magenta
   +   <7=> Cyan
   +   <8=> White
   + */
    
    #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
    #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
    #endif
    
   -// </e>
   -
   -// </e>
   -
   -// </h>
   -
   -#endif // NRFX_CONFIG_H__
   +/* </e> */
   +
   +/* </e> */
   +
   +/* </h> */
   +
   +#endif /* NRFX_CONFIG_H__ */
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_flash.c
   <details>
   
   ```diff
   @@ -42,7 +42,7 @@
    
    static int
    nrf5340_flash_read(const struct hal_flash *dev, uint32_t address, void *dst,
   -        uint32_t num_bytes)
   +                   uint32_t num_bytes)
    {
        memcpy(dst, (void *)address, num_bytes);
        return 0;
   @@ -53,7 +53,7 @@
     */
    static int
    nrf5340_flash_write(const struct hal_flash *dev, uint32_t address,
   -        const void *src, uint32_t num_bytes)
   +                    const void *src, uint32_t num_bytes)
    {
        int sr;
        int rc = -1;
   @@ -130,7 +130,7 @@
    
    static int
    nrf5340_flash_sector_info(const struct hal_flash *dev, int idx,
   -        uint32_t *address, uint32_t *sz)
   +                          uint32_t *address, uint32_t *sz)
    {
        assert(idx < nrf5340_flash_dev.hf_sector_cnt);
        *address = idx * NRF5340_FLASH_SECTOR_SZ;
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_gpio.c
   <details>
   
   ```diff
   @@ -115,7 +115,7 @@
            port->OUTCLR = HAL_GPIO_MASK(pin);
        }
        port->PIN_CNF[pin_index] = GPIO_PIN_CNF_DIR_Output |
   -        (GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos);
   +                               (GPIO_PIN_CNF_INPUT_Disconnect << 
GPIO_PIN_CNF_INPUT_Pos);
        port->DIRSET = HAL_GPIO_MASK(pin);
    
        return 0;
   @@ -179,8 +179,8 @@
        port = HAL_GPIO_PORT(pin);
    
        return (port->DIR & HAL_GPIO_MASK(pin)) ?
   -        (port->OUT >> HAL_GPIO_INDEX(pin)) & 1UL :
   -        (port->IN >> HAL_GPIO_INDEX(pin)) & 1UL;
   +           (port->OUT >> HAL_GPIO_INDEX(pin)) & 1UL :
   +           (port->IN >> HAL_GPIO_INDEX(pin)) & 1UL;
    }
    
    /**
   @@ -343,7 +343,7 @@
    
        for (i = 0; i < HAL_GPIO_MAX_IRQ; i++) {
            if (hal_gpio_irqs[i].func &&
   -           (NRF_GPIOTE0_S->CONFIG[i] & HAL_GPIOTE_PIN_MASK) == pin) {
   +            (NRF_GPIOTE0_S->CONFIG[i] & HAL_GPIOTE_PIN_MASK) == pin) {
                return i;
            }
        }
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_nvreg.c
   <details>
   
   ```diff
   @@ -30,7 +30,7 @@
    void
    hal_nvreg_write(unsigned int reg, uint32_t val)
    {
   -    if(reg < HAL_NVREG_MAX) {
   +    if (reg < HAL_NVREG_MAX) {
            NRF_POWER_S->GPREGRET[reg] = val;
        }
    }
   @@ -40,19 +40,21 @@
    {
        uint32_t val = 0;
    
   -    if(reg < HAL_NVREG_MAX) {
   +    if (reg < HAL_NVREG_MAX) {
            val = NRF_POWER_S->GPREGRET[reg];
        }
    
        return val;
    }
    
   -unsigned int hal_nvreg_get_num_regs(void)
   +unsigned int
   +hal_nvreg_get_num_regs(void)
    {
        return HAL_NVREG_MAX;
    }
    
   -unsigned int hal_nvreg_get_reg_width(void)
   +unsigned int
   +hal_nvreg_get_reg_width(void)
    {
        return HAL_NVREG_WIDTH_BYTES;
    }
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_os_tick.c
   <details>
   
   ```diff
   @@ -34,8 +34,7 @@
    #define OS_TICK_CMPREG      3   /* generate timer interrupt */
    #define RTC_COMPARE_INT_MASK(ccreg) (1UL << ((ccreg) + 16))
    
   -struct hal_os_tick
   -{
   +struct hal_os_tick {
        int ticks_per_ostick;
        os_time_t max_idle_ticks;
        uint32_t lastocmp;
   @@ -127,7 +126,7 @@
    
        /* Update the time associated with the most recent tick */
        g_hal_os_tick.lastocmp = (g_hal_os_tick.lastocmp +
   -        (ticks * g_hal_os_tick.ticks_per_ostick)) & 0xffffff;
   +                              (ticks * g_hal_os_tick.ticks_per_ostick)) & 
0xffffff;
    
        /* Update the output compare to interrupt at the next tick */
        nrf52_os_tick_set_ocmp(g_hal_os_tick.lastocmp + 
g_hal_os_tick.ticks_per_ostick);
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_system.c
   <details>
   
   ```diff
   @@ -93,7 +93,7 @@
    #if MYNEWT_VAL_CHOICE(MCU_LFCLK_SOURCE, LFSYNTH)
        /* Must turn on HFLCK for synthesized 32768 crystal */
        if ((NRF_CLOCK_S->HFCLKSTAT & CLOCK_HFCLKSTAT_STATE_Msk) !=
   -                (CLOCK_HFCLKSTAT_STATE_Running << 
CLOCK_HFCLKSTAT_STATE_Pos)) {
   +        (CLOCK_HFCLKSTAT_STATE_Running << CLOCK_HFCLKSTAT_STATE_Pos)) {
            NRF_CLOCK_S->EVENTS_HFCLKSTARTED = 0;
            NRF_CLOCK_S->TASKS_HFCLKSTART = 1;
            while (1) {
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_timer.c
   <details>
   
   ```diff
   @@ -360,7 +360,7 @@
        rtctimer = (NRF_RTC_Type *)bsptimer->tmr_reg;
        compare = rtctimer->EVENTS_COMPARE[NRF_RTC_TIMER_CC_INT];
        if (compare) {
   -       rtctimer->EVENTS_COMPARE[NRF_RTC_TIMER_CC_INT] = 0;
   +        rtctimer->EVENTS_COMPARE[NRF_RTC_TIMER_CC_INT] = 0;
        }
    
        tick = rtctimer->EVENTS_TICK;
   @@ -892,7 +892,7 @@
            return EINVAL;
        }
    
   -   bsptimer = (struct nrf5340_hal_timer *)timer->bsp_timer;
   +    bsptimer = (struct nrf5340_hal_timer *)timer->bsp_timer;
    
        __HAL_DISABLE_INTERRUPTS(ctx);
    
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/hal_uart.c
   <details>
   
   ```diff
   @@ -27,17 +27,17 @@
    #include "nrf.h"
    #include "mcu/nrf5340_hal.h"
    
   -#define UARTE_INT_ENDTX             UARTE_INTEN_ENDTX_Msk
   -#define UARTE_INT_ENDRX             UARTE_INTEN_ENDRX_Msk
   -#define UARTE_CONFIG_PARITY UARTE_CONFIG_PARITY_Msk
   -#define UARTE_CONFIG_HWFC   UARTE_CONFIG_HWFC_Msk
   -#define UARTE_ENABLE                UARTE_ENABLE_ENABLE_Enabled
   +#define UARTE_INT_ENDTX     UARTE_INTEN_ENDTX_Msk
   +#define UARTE_INT_ENDRX     UARTE_INTEN_ENDRX_Msk
   +#define UARTE_CONFIG_PARITY UARTE_CONFIG_PARITY_Msk
   +#define UARTE_CONFIG_HWFC   UARTE_CONFIG_HWFC_Msk
   +#define UARTE_ENABLE        UARTE_ENABLE_ENABLE_Enabled
    #define UARTE_DISABLE       UARTE_ENABLE_ENABLE_Disabled
    
    struct hal_uart {
   -    uint8_t u_open:1;
   -    uint8_t u_rx_stall:1;
   -    uint8_t u_tx_started:1;
   +    uint8_t u_open : 1;
   +    uint8_t u_rx_stall : 1;
   +    uint8_t u_tx_started : 1;
        uint8_t u_rx_buf;
        uint8_t u_tx_buf[8];
        hal_uart_rx_char u_rx_func;
   @@ -64,10 +64,10 @@
    static struct hal_uart uart3;
    #endif
    
   -static struct hal_uart*
   +static struct hal_uart *
    hal_uart_get(int port)
    {
   -    switch(port) {
   +    switch (port) {
        #if MYNEWT_VAL(UART_0)
        case 0:
            return &uart0;
   ```
   
   </details>
   
   #### hw/mcu/nordic/nrf5340/src/system_nrf5340.c
   <details>
   
   ```diff
   @@ -1,24 +1,24 @@
    /*
    
   -Copyright (c) 2009-2018 ARM Limited. All rights reserved.
   +   Copyright (c) 2009-2018 ARM Limited. All rights reserved.
    
        SPDX-License-Identifier: Apache-2.0
    
   -Licensed 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
   +   Licensed 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
    
        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.
   -
   -NOTICE: This file has been modified by Nordic Semiconductor ASA.
   -
   -*/
   +   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.
   +
   +   NOTICE: This file has been modified by Nordic Semiconductor ASA.
   +
   + */
    
    /* NOTE: Template files (including this one) are application specific and 
therefore expected to
       be copied into the application project folder prior to its use! */
   @@ -35,14 +35,14 @@
    
    /* NRF5340 application core uses a variable System Clock Frequency that 
starts at 64MHz */
    #define __SYSTEM_CLOCK_MAX      (128000000UL)
   -#define __SYSTEM_CLOCK_INITIAL  ( 64000000UL)
   -
   -#define TRACE_PIN_CNF_VALUE (   (GPIO_PIN_CNF_DIR_Output << 
GPIO_PIN_CNF_DIR_Pos) | \
   -                                (GPIO_PIN_CNF_INPUT_Connect << 
GPIO_PIN_CNF_INPUT_Pos) | \
   -                                (GPIO_PIN_CNF_PULL_Disabled << 
GPIO_PIN_CNF_PULL_Pos) | \
   -                                (GPIO_PIN_CNF_DRIVE_H0H1 << 
GPIO_PIN_CNF_DRIVE_Pos) | \
   -                                (GPIO_PIN_CNF_SENSE_Disabled << 
GPIO_PIN_CNF_SENSE_Pos) | \
   -                                (GPIO_PIN_CNF_MCUSEL_TND << 
GPIO_PIN_CNF_MCUSEL_Pos))
   +#define __SYSTEM_CLOCK_INITIAL  (64000000UL)
   +
   +#define TRACE_PIN_CNF_VALUE ((GPIO_PIN_CNF_DIR_Output << 
GPIO_PIN_CNF_DIR_Pos) | \
   +                             (GPIO_PIN_CNF_INPUT_Connect << 
GPIO_PIN_CNF_INPUT_Pos) | \
   +                             (GPIO_PIN_CNF_PULL_Disabled << 
GPIO_PIN_CNF_PULL_Pos) | \
   +                             (GPIO_PIN_CNF_DRIVE_H0H1 << 
GPIO_PIN_CNF_DRIVE_Pos) | \
   +                             (GPIO_PIN_CNF_SENSE_Disabled << 
GPIO_PIN_CNF_SENSE_Pos) | \
   +                             (GPIO_PIN_CNF_MCUSEL_TND << 
GPIO_PIN_CNF_MCUSEL_Pos))
    
    #define TRACE_TRACECLK_PIN   TAD_PSEL_TRACECLK_PIN_Traceclk
    #define TRACE_TRACEDATA0_PIN TAD_PSEL_TRACEDATA0_PIN_Tracedata0
   @@ -50,15 +50,16 @@
    #define TRACE_TRACEDATA2_PIN TAD_PSEL_TRACEDATA2_PIN_Tracedata2
    #define TRACE_TRACEDATA3_PIN TAD_PSEL_TRACEDATA3_PIN_Tracedata3
    
   -#if defined ( __CC_ARM )
   -    uint32_t SystemCoreClock __attribute__((used)) = __SYSTEM_CLOCK_INITIAL;
   -#elif defined ( __ICCARM__ )
   -    __root uint32_t SystemCoreClock = __SYSTEM_CLOCK_INITIAL;
   -#elif defined   ( __GNUC__ )
   -    uint32_t SystemCoreClock __attribute__((used)) = __SYSTEM_CLOCK_INITIAL;
   +#if defined (__CC_ARM)
   +uint32_t SystemCoreClock __attribute__((used)) = __SYSTEM_CLOCK_INITIAL;
   +#elif defined (__ICCARM__)
   +__root uint32_t SystemCoreClock = __SYSTEM_CLOCK_INITIAL;
   +#elif defined   (__GNUC__)
   +uint32_t SystemCoreClock __attribute__((used)) = __SYSTEM_CLOCK_INITIAL;
    #endif
    
   -void SystemCoreClockUpdate(void)
   +void
   +SystemCoreClockUpdate(void)
    {
    #if defined(NRF_TRUSTZONE_NONSECURE)
        SystemCoreClock = __SYSTEM_CLOCK_MAX >> (NRF_CLOCK_NS->HFCLKCTRL & 
(CLOCK_HFCLKCTRL_HCLK_Msk));
   @@ -67,165 +68,158 @@
    #endif
    }
    
   -void SystemInit(void)
   +void
   +SystemInit(void)
    {
        #if !defined(NRF_TRUSTZONE_NONSECURE)
   -        /* Perform Secure-mode initialization routines. */
   -
   -        /* Set all ARM SAU regions to NonSecure if TrustZone extensions are 
enabled.
   -        * Nordic SPU should handle Secure Attribution tasks */
   +    /* Perform Secure-mode initialization routines. */
   +
   +    /* Set all ARM SAU regions to NonSecure if TrustZone extensions are 
enabled.
   +     * Nordic SPU should handle Secure Attribution tasks */
            #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
   -          SAU->CTRL |= (1 << SAU_CTRL_ALLNS_Pos);
   -        #endif
   -
   -        /* Trimming of the device. Copy all the trimming values from FICR 
into the target addresses. Trim
   -         until one ADDR is not initialized. */
   -        uint32_t index = 0;
   -        for (index = 0; index < 32ul && NRF_FICR_S->TRIMCNF[index].ADDR != 
(uint32_t *)0xFFFFFFFFul; index++){
   -            #if defined ( __ICCARM__ )
   -                /* IAR will complain about the order of volatile pointer 
accesses. */
   +    SAU->CTRL |= (1 << SAU_CTRL_ALLNS_Pos);
   +        #endif
   +
   +    /* Trimming of the device. Copy all the trimming values from FICR into 
the target addresses. Trim
   +       until one ADDR is not initialized. */
   +    uint32_t index = 0;
   +    for (index = 0; index < 32ul && NRF_FICR_S->TRIMCNF[index].ADDR != 
(uint32_t *)0xFFFFFFFFul; index++) {
   +            #if defined (__ICCARM__)
   +        /* IAR will complain about the order of volatile pointer accesses. 
*/
                    #pragma diag_suppress=Pa082
                #endif
   -            *NRF_FICR_S->TRIMCNF[index].ADDR = 
NRF_FICR_S->TRIMCNF[index].DATA;
   -            #if defined ( __ICCARM__ )
   +        *NRF_FICR_S->TRIMCNF[index].ADDR = NRF_FICR_S->TRIMCNF[index].DATA;
   +            #if defined (__ICCARM__)
                    #pragma diag_default=Pa082
                #endif
   +    }
   +
   +    /* errata 64 must be before errata 42, as errata 42 is dependant on the 
changes in errata 64*/
   +    /* Workaround for Errata 64 "VREGMAIN has invalid configuration when 
CPU is running at 128 MHz" found at the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_64()) {
   +        *((volatile uint32_t *)0x5000470Cul) = 0x29ul;
   +        *((volatile uint32_t *)0x5000473Cul) = 0x3ul;
   +    }
   +
   +    /* Workaround for Errata 42 "Reset value of HFCLKCTRL is invalid" found 
at the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_42()) {
   +        *((volatile uint32_t *)0x50039530ul) = 0xBEEF0044ul;
   +        NRF_CLOCK_S->HFCLKCTRL = CLOCK_HFCLKCTRL_HCLK_Div2 << 
CLOCK_HFCLKCTRL_HCLK_Pos;
   +    }
   +
   +    /* Workaround for Errata 46 "Higher power consumption of LFRC" found at 
the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_46()) {
   +        *((volatile uint32_t *)0x5003254Cul) = 0;
   +    }
   +
   +    /* Workaround for Errata 49 "SLEEPENTER and SLEEPEXIT events asserted 
after pin reset" found at the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_49()) {
   +        if (NRF_RESET_S->RESETREAS & RESET_RESETREAS_RESETPIN_Msk) {
   +            NRF_POWER_S->EVENTS_SLEEPENTER = 0;
   +            NRF_POWER_S->EVENTS_SLEEPEXIT = 0;
            }
   -
   -        /* errata 64 must be before errata 42, as errata 42 is dependant on 
the changes in errata 64*/
   -        /* Workaround for Errata 64 "VREGMAIN has invalid configuration 
when CPU is running at 128 MHz" found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_64())
   -        {
   -            *((volatile uint32_t *)0x5000470Cul) = 0x29ul;
   -            *((volatile uint32_t *)0x5000473Cul) = 0x3ul;
   +    }
   +
   +    /* Workaround for Errata 55 "Bits in RESETREAS are set when they should 
not be" found at the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_55()) {
   +        if (NRF_RESET_S->RESETREAS & RESET_RESETREAS_RESETPIN_Msk) {
   +            NRF_RESET_S->RESETREAS = ~RESET_RESETREAS_RESETPIN_Msk;
            }
   -
   -        /* Workaround for Errata 42 "Reset value of HFCLKCTRL is invalid" 
found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_42())
   -        {
   -            *((volatile uint32_t *)0x50039530ul) = 0xBEEF0044ul;
   -            NRF_CLOCK_S->HFCLKCTRL = CLOCK_HFCLKCTRL_HCLK_Div2 << 
CLOCK_HFCLKCTRL_HCLK_Pos;
   -        }
   -
   -        /* Workaround for Errata 46 "Higher power consumption of LFRC" 
found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_46())
   -        {
   -            *((volatile uint32_t *)0x5003254Cul) = 0;
   -        }
   -
   -        /* Workaround for Errata 49 "SLEEPENTER and SLEEPEXIT events 
asserted after pin reset" found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_49())
   -        {
   -            if (NRF_RESET_S->RESETREAS & RESET_RESETREAS_RESETPIN_Msk)
   -            {
   -                NRF_POWER_S->EVENTS_SLEEPENTER = 0;
   -                NRF_POWER_S->EVENTS_SLEEPEXIT = 0;
   -            }
   -        }
   -
   -        /* Workaround for Errata 55 "Bits in RESETREAS are set when they 
should not be" found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_55())
   -        {
   -            if (NRF_RESET_S->RESETREAS & RESET_RESETREAS_RESETPIN_Msk){
   -                NRF_RESET_S->RESETREAS = ~RESET_RESETREAS_RESETPIN_Msk;
   -            }
   -        }
   -
   -        /* Workaround for Errata 69 "VREGMAIN configuration is not retained 
in System OFF" found at the Errata document
   -           for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   -        if (nrf53_errata_69())
   -        {
   -            *((volatile uint32_t *)0x5000470Cul) =0x65ul;
   -        }
   +    }
   +
   +    /* Workaround for Errata 69 "VREGMAIN configuration is not retained in 
System OFF" found at the Errata document
   +       for your device located at 
https://infocenter.nordicsemi.com/index.jsp  */
   +    if (nrf53_errata_69()) {
   +        *((volatile uint32_t *)0x5000470Cul) = 0x65ul;
   +    }
    
            #if defined(CONFIG_NFCT_PINS_AS_GPIOS)
    
   -            if ((NRF_UICR_S->NFCPINS & UICR_NFCPINS_PROTECT_Msk) == 
(UICR_NFCPINS_PROTECT_NFC << UICR_NFCPINS_PROTECT_Pos))
   -            {
   -                NRF_NVMC_S->CONFIG = NVMC_CONFIG_WEN_Wen << 
NVMC_CONFIG_WEN_Pos;
   -
   -                while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   -                NRF_UICR_S->NFCPINS &= ~UICR_NFCPINS_PROTECT_Msk;
   -
   -                while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   -                NRF_NVMC_S->CONFIG = NVMC_CONFIG_WEN_Ren << 
NVMC_CONFIG_WEN_Pos;
   -
   -                while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   -                NVIC_SystemReset();
   -            }
   -
   -        #endif
   -
   -        /* Enable SWO trace functionality. If ENABLE_SWO is not defined, 
SWO pin will be used as GPIO (see Product
   -           Specification to see which one). */
   +    if ((NRF_UICR_S->NFCPINS & UICR_NFCPINS_PROTECT_Msk) == 
(UICR_NFCPINS_PROTECT_NFC << UICR_NFCPINS_PROTECT_Pos)) {
   +        NRF_NVMC_S->CONFIG = NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos;
   +
   +        while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   +        NRF_UICR_S->NFCPINS &= ~UICR_NFCPINS_PROTECT_Msk;
   +
   +        while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   +        NRF_NVMC_S->CONFIG = NVMC_CONFIG_WEN_Ren << NVMC_CONFIG_WEN_Pos;
   +
   +        while (NRF_NVMC_S->READY == NVMC_READY_READY_Busy);
   +        NVIC_SystemReset();
   +    }
   +
   +        #endif
   +
   +    /* Enable SWO trace functionality. If ENABLE_SWO is not defined, SWO 
pin will be used as GPIO (see Product
   +       Specification to see which one). */
            #if defined (ENABLE_SWO)
   -            // Enable Trace And Debug peripheral
   -            NRF_TAD_S->ENABLE = TAD_ENABLE_ENABLE_Msk;
   -            NRF_TAD_S->CLOCKSTART = TAD_CLOCKSTART_START_Msk;
   -
   -            // Set up Trace pad SPU firewall
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA0_PIN);
   -
   -            // Configure trace port pad
   -            NRF_P0_S->PIN_CNF[TRACE_TRACEDATA0_PIN] = TRACE_PIN_CNF_VALUE;
   -
   -            // Select trace pin
   -            NRF_TAD_S->PSEL.TRACEDATA0 = TRACE_TRACEDATA0_PIN;
   -
   -            // Set trace port speed to 64 MHz
   -            NRF_TAD_S->TRACEPORTSPEED = 
TAD_TRACEPORTSPEED_TRACEPORTSPEED_64MHz;
   -        #endif
   -
   -        /* Enable Trace functionality. If ENABLE_TRACE is not defined, 
TRACE pins will be used as GPIOs (see Product
   -           Specification to see which ones). */
   +    /* Enable Trace And Debug peripheral */
   +    NRF_TAD_S->ENABLE = TAD_ENABLE_ENABLE_Msk;
   +    NRF_TAD_S->CLOCKSTART = TAD_CLOCKSTART_START_Msk;
   +
   +    /* Set up Trace pad SPU firewall */
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA0_PIN);
   +
   +    /* Configure trace port pad */
   +    NRF_P0_S->PIN_CNF[TRACE_TRACEDATA0_PIN] = TRACE_PIN_CNF_VALUE;
   +
   +    /* Select trace pin */
   +    NRF_TAD_S->PSEL.TRACEDATA0 = TRACE_TRACEDATA0_PIN;
   +
   +    /* Set trace port speed to 64 MHz */
   +    NRF_TAD_S->TRACEPORTSPEED = TAD_TRACEPORTSPEED_TRACEPORTSPEED_64MHz;
   +        #endif
   +
   +    /* Enable Trace functionality. If ENABLE_TRACE is not defined, TRACE 
pins will be used as GPIOs (see Product
   +       Specification to see which ones). */
            #if defined (ENABLE_TRACE)
   -            // Enable Trace And Debug peripheral
   -            NRF_TAD_S->ENABLE = TAD_ENABLE_ENABLE_Msk;
   -            NRF_TAD_S->CLOCKSTART = TAD_CLOCKSTART_START_Msk;
   -
   -            // Set up Trace pads SPU firewall
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACECLK_PIN);
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA0_PIN);
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA1_PIN);
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA2_PIN);
   -            NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA3_PIN);
   -
   -            // Configure trace port pads
   -            NRF_P0_S->PIN_CNF[TRACE_TRACECLK_PIN] =   TRACE_PIN_CNF_VALUE;
   -            NRF_P0_S->PIN_CNF[TRACE_TRACEDATA0_PIN] = TRACE_PIN_CNF_VALUE;
   -            NRF_P0_S->PIN_CNF[TRACE_TRACEDATA1_PIN] = TRACE_PIN_CNF_VALUE;
   -            NRF_P0_S->PIN_CNF[TRACE_TRACEDATA2_PIN] = TRACE_PIN_CNF_VALUE;
   -            NRF_P0_S->PIN_CNF[TRACE_TRACEDATA3_PIN] = TRACE_PIN_CNF_VALUE;
   -
   -            // Select trace pins
   -            NRF_TAD_S->PSEL.TRACECLK   = TRACE_TRACECLK_PIN;
   -            NRF_TAD_S->PSEL.TRACEDATA0 = TRACE_TRACEDATA0_PIN;
   -            NRF_TAD_S->PSEL.TRACEDATA1 = TRACE_TRACEDATA1_PIN;
   -            NRF_TAD_S->PSEL.TRACEDATA2 = TRACE_TRACEDATA2_PIN;
   -            NRF_TAD_S->PSEL.TRACEDATA3 = TRACE_TRACEDATA3_PIN;
   -
   -            // Set trace port speed to 64 MHz
   -            NRF_TAD_S->TRACEPORTSPEED = 
TAD_TRACEPORTSPEED_TRACEPORTSPEED_64MHz;
   -
   -        #endif
   -
   -        /* Allow Non-Secure code to run FPU instructions.
   -         * If only the secure code should control FPU power state these 
registers should be configured accordingly in the secure application code. */
   -        SCB->NSACR |= (3UL << 10);
   +    /* Enable Trace And Debug peripheral */
   +    NRF_TAD_S->ENABLE = TAD_ENABLE_ENABLE_Msk;
   +    NRF_TAD_S->CLOCKSTART = TAD_CLOCKSTART_START_Msk;
   +
   +    /* Set up Trace pads SPU firewall */
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACECLK_PIN);
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA0_PIN);
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA1_PIN);
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA2_PIN);
   +    NRF_SPU_S->GPIOPORT[0].PERM &= ~(1 << TRACE_TRACEDATA3_PIN);
   +
   +    /* Configure trace port pads */
   +    NRF_P0_S->PIN_CNF[TRACE_TRACECLK_PIN] = TRACE_PIN_CNF_VALUE;
   +    NRF_P0_S->PIN_CNF[TRACE_TRACEDATA0_PIN] = TRACE_PIN_CNF_VALUE;
   +    NRF_P0_S->PIN_CNF[TRACE_TRACEDATA1_PIN] = TRACE_PIN_CNF_VALUE;
   +    NRF_P0_S->PIN_CNF[TRACE_TRACEDATA2_PIN] = TRACE_PIN_CNF_VALUE;
   +    NRF_P0_S->PIN_CNF[TRACE_TRACEDATA3_PIN] = TRACE_PIN_CNF_VALUE;
   +
   +    /* Select trace pins */
   +    NRF_TAD_S->PSEL.TRACECLK = TRACE_TRACECLK_PIN;
   +    NRF_TAD_S->PSEL.TRACEDATA0 = TRACE_TRACEDATA0_PIN;
   +    NRF_TAD_S->PSEL.TRACEDATA1 = TRACE_TRACEDATA1_PIN;
   +    NRF_TAD_S->PSEL.TRACEDATA2 = TRACE_TRACEDATA2_PIN;
   +    NRF_TAD_S->PSEL.TRACEDATA3 = TRACE_TRACEDATA3_PIN;
   +
   +    /* Set trace port speed to 64 MHz */
   +    NRF_TAD_S->TRACEPORTSPEED = TAD_TRACEPORTSPEED_TRACEPORTSPEED_64MHz;
   +
   +        #endif
   +
   +    /* Allow Non-Secure code to run FPU instructions.
   +     * If only the secure code should control FPU power state these 
registers should be configured accordingly in the secure application code. */
   +    SCB->NSACR |= (3UL << 10);
        #endif
    
        /* Enable the FPU if the compiler used floating point unit 
instructions. __FPU_USED is a MACRO defined by the
   -    * compiler. Since the FPU consumes energy, remember to disable FPU use 
in the compiler if floating point unit
   -    * operations are not used in your code. */
   +     * compiler. Since the FPU consumes energy, remember to disable FPU use 
in the compiler if floating point unit
   +     * operations are not used in your code. */
        #if (__FPU_USED == 1)
   -        SCB->CPACR |= (3UL << 20) | (3UL << 22);
   -        __DSB();
   -        __ISB();
   +    SCB->CPACR |= (3UL << 20) | (3UL << 22);
   +    __DSB();
   +    __ISB();
        #endif
    
        SystemCoreClockUpdate();
   ```
   
   </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


Reply via email to