You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/05/06 11:00:05 UTC

[GitHub] [mynewt-core] sjanc opened a new pull request #2282: Add initial support for Nordic nRF5340

sjanc opened a new pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282


   This adds initial support for Nordic nRF5340 chip. This is dual core
   chip with two Cortex M33. Only application core is supported for now.
   
   Supports timers, GPIO, UART and PWM. Tested with blinky and pwm_test.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624640933


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 13:12:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654905076


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624650101


   remaining style issues are on purpose (this is imported code so this will make future code sync easier)


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624641092


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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;
   ```
   
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r480350007



##########
File path: hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h
##########
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _MCU_H_
+#define _MCU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Defines for naming GPIOs. NOTE: the nordic chip docs use numeric labels for
+ * ports. Port A corresponds to Port 0, B to 1, etc. The nrf5340 has two ports
+ * but Port 1 only has 16 pins.
+ */
+#define MCU_GPIO_PORTA(pin) ((0 * 16) + (pin))
+#define MCU_GPIO_PORTB(pin) ((1 * 16) + (pin))
+
+//TODO

Review comment:
       yeap I've miss that TODO :) , this is copy from app core, will fix that




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-681724866


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-684707033


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-638255638


   
   <!-- license-bot -->
   
   ## RAT Report (2020-06-03 15:01:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 42 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3b8390493c020cc2e68d7f68d96e2ff20637897a/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624652703


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 13:33:58)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8ae16c690416bcc6c05d22ffce3428bbc1b8c44b/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654905076


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc edited a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc edited a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654853444


   main missing points:
    - option to set app core into insecure mode
    - support for passing GPIO control to network core


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624647190


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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/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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-646587851


   
   <!-- license-bot -->
   
   ## RAT Report (2020-06-19 11:34:13)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 79 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/df965545735e0c05bc883ae5ec207a15043beaba/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] kasjer commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
kasjer commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r478282550



##########
File path: hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h
##########
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef HW_BUS_DRIVERS_I2C_NRF5340_H_
+#define HW_BUS_DRIVERS_I2C_NRF5340_H_
+
+#include <stddef.h>
+#include <stdint.h>
+#include "os/os_dev.h"
+#include "bus/drivers/i2c_common.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * Initialize os_dev as I2C bus device using nRF5340 TWIM peripheral
+ *
+ * This can be passed as a parameter to os_dev_create() when creating os_dev
+ * object for I2C device, however it's recommended to create devices using helper
+ * like bus_i2c_hal_dev_create().
+ *
+ * @param node  Node device object
+ * @param arg   Node configuration struct (struct bus_node_cfg)
+ */
+int
+bus_i2c_nrf5340_dev_init_func(struct os_dev *odev, void *arg);

Review comment:
       return value not explained

##########
File path: hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c
##########
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_watchdog.h>
+#include <mcu/cmsis_nvic.h>
+#include <nrf.h>
+
+static void
+nrf5340_net_hal_wdt_default_handler(void)
+{
+    assert(0);
+}
+
+/**@brief WDT interrupt handler. */
+static void
+nrf5340_net_wdt_irq_handler(void)
+{
+    os_trace_isr_enter();
+    if (NRF_WDT_NS->INTENSET & WDT_INTENSET_TIMEOUT_Msk) {
+        NRF_WDT_NS->EVENTS_TIMEOUT = 0;
+        nrf5340_net_hal_wdt_default_handler();
+    }
+    os_trace_isr_exit();
+}
+
+int
+hal_watchdog_init(uint32_t expire_msecs)
+{
+    uint64_t expiration;
+
+    NRF_WDT_NS->CONFIG = WDT_CONFIG_SLEEP_Msk;
+
+    /* Convert msec timeout to counts of a 32768 crystal */
+    expiration = ((uint64_t)expire_msecs * 32768) / 1000;
+    NRF_WDT_NS->CRV = (uint32_t)expiration;
+
+    NRF_WDT_NS->CRV = (expire_msecs * 32) + ((expire_msecs * 96) / 125);
+
+    NVIC_SetVector(WDT_IRQn, (uint32_t) nrf5340_net_wdt_irq_handler);
+    NVIC_SetPriority(WDT_IRQn, (1 << __NVIC_PRIO_BITS) - 1);
+    NVIC_ClearPendingIRQ(WDT_IRQn);
+    NVIC_EnableIRQ(WDT_IRQn);
+    NRF_WDT_NS->RREN |= 0x1;
+
+    return (0);

Review comment:
       other place in this PR does not use (0)

##########
File path: hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
##########
@@ -0,0 +1,243 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <os/os.h>
+#include <ipc_nrf5340/ipc_nrf5340.h>
+#include <nrfx.h>
+
+/* TODO for now this allows only for 1-1 connection */
+
+#define IPC_MAX_CHANS MYNEWT_VAL(IPC_NRF5340_CHANNELS)
+#define IPC_BUF_SIZE (MYNEWT_VAL(IPC_NRF5340_BUF_SZ) + 1)
+
+struct ipc_channel {
+    ipc_nrf5340_recv_cb cb;
+    void *user_data;
+};
+
+struct ipc_shm {
+    volatile uint16_t head;
+    volatile uint16_t tail;
+    uint8_t buf[IPC_BUF_SIZE];
+};
+
+static struct ipc_channel ipcs[IPC_MAX_CHANS];
+
+#if MYNEWT_VAL(BSP_NRF5340)
+static struct ipc_shm __attribute__((section (".ipc"))) shms[IPC_MAX_CHANS];
+#elif MYNEWT_VAL(BSP_NRF5340_NET)
+static struct ipc_shm *shms = (void *)0x20000400;
+#else
+#error "Unsupported CPU"
+#endif
+
+static uint16_t
+ipc_nrf5340_shm_get_data_length(uint16_t head, uint16_t tail)
+{
+    if (head >= tail) {
+        return head - tail;
+    }
+
+    return IPC_BUF_SIZE - (tail - head);
+}
+
+static void
+ipc_nrf5340_shm_write(struct ipc_shm *shm, const void *data, uint16_t data_len)
+{
+    uint16_t head = shm->head;
+    uint16_t tail = shm->tail;
+    uint16_t len;
+
+    if (data_len == 0) {
+        return;
+    }
+
+    /* check if full */
+    assert((head + 1) != tail);
+    assert(data_len + ipc_nrf5340_shm_get_data_length(head, tail) < IPC_BUF_SIZE);
+
+    len = min(data_len, IPC_BUF_SIZE - head);
+    memcpy(shm->buf + head, data, len);
+
+    /* copy second fragment */
+    if (data_len > len) {
+        memcpy(shm->buf, data + len, data_len - len);
+    }
+
+    head += data_len;
+    head %= IPC_BUF_SIZE;
+
+    shm->head = head;
+}
+
+static uint16_t
+ipc_nrf5340_shm_read(struct ipc_shm *shm, void *buf, struct os_mbuf *om,
+                     uint16_t len)
+{
+    uint16_t head = shm->head;
+    uint16_t tail = shm->tail;
+    uint16_t frag_len;
+
+    len = min(ipc_nrf5340_shm_get_data_length(head, tail), len);
+    if (len == 0) {
+        return 0;
+    }
+
+    if (buf || om) {
+        if (head >= tail) {
+            if (buf) {
+                memcpy(buf, shm->buf + tail, len);
+            } else {
+                os_mbuf_append(om, shm->buf + tail, len);
+            }
+        } else {
+            /* in this case we may need to copy two fragments */
+            frag_len = min(len, IPC_BUF_SIZE - tail);
+            if (buf) {
+                memcpy(buf, shm->buf + tail, frag_len);
+            } else {
+                os_mbuf_append(om, shm->buf + tail, frag_len);
+            }
+
+            if (frag_len < len) {
+                assert(tail + frag_len == IPC_BUF_SIZE);
+                assert(len - frag_len <= head);
+                if (buf) {
+                    memcpy(buf + frag_len, shm->buf, len - frag_len);
+                } else {
+                    os_mbuf_append(om, shm->buf, len - frag_len);
+                }
+            }
+        }
+    }
+
+    tail += len;
+    tail %= IPC_BUF_SIZE;
+
+    shm->tail = tail;
+
+    return len;
+}
+
+static void
+ipc_nrf5340_isr(void)
+{
+    uint32_t irq_pend;
+    int i;
+
+    os_trace_isr_enter();
+
+    irq_pend = NRF_IPC->INTPEND;
+
+    for (i = 0; i < IPC_MAX_CHANS; i++) {
+        if (irq_pend & (0x1UL << i)) {
+            NRF_IPC->EVENTS_RECEIVE[i] = 0;
+            assert(ipcs[i].cb);
+            ipcs[i].cb(i, ipcs[i].user_data);
+        }
+    }
+
+    os_trace_isr_exit();
+}
+
+void
+ipc_nrf5340_init(void)
+{
+#if MYNEWT_VAL(BSP_NRF5340)
+    /* Make sure network core if off when we set up IPC */
+    NRF_RESET_S->NETWORK.FORCEOFF  = RESET_NETWORK_FORCEOFF_FORCEOFF_Hold;
+    memset(shms, 0, sizeof(shms));
+#endif
+
+    NVIC_SetVector(IPC_IRQn, (uint32_t)ipc_nrf5340_isr);
+    NVIC_EnableIRQ(IPC_IRQn);
+
+#if MYNEWT_VAL(BSP_NRF5340)
+    /* this allows netcore to access appcore RAM */
+    NRF_SPU_S->EXTDOMAIN[0].PERM = SPU_EXTDOMAIN_PERM_SECATTR_Secure << SPU_EXTDOMAIN_PERM_SECATTR_Pos;
+
+    /* Start Network Core */
+    NRF_RESET_S->NETWORK.FORCEOFF = RESET_NETWORK_FORCEOFF_FORCEOFF_Release;
+#endif
+}
+
+void
+ipc_nrf5340_recv(int channel, ipc_nrf5340_recv_cb cb, void *user_data)
+{
+    assert(channel < IPC_MAX_CHANS);
+
+    if (cb) {
+        ipcs[channel].cb = cb;
+        ipcs[channel].user_data = user_data;
+        NRF_IPC->RECEIVE_CNF[channel] = (0x1UL << channel);
+        NRF_IPC->INTENSET = (0x1UL << channel);
+    } else {
+        NRF_IPC->INTENCLR = (0x1UL << channel);
+        NRF_IPC->RECEIVE_CNF[channel] = (0x0UL << channel);

Review comment:
       shifting 0 does not seem to do much

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
##########
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _NRF5340_HAL_H_
+#define _NRF5340_HAL_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Helper functions to enable/disable interrupts. */
+#define __HAL_DISABLE_INTERRUPTS(x)                     \
+    do {                                                \
+        x = __get_PRIMASK();                            \
+        __disable_irq();                                \
+    } while (0)
+
+#define __HAL_ENABLE_INTERRUPTS(x)                      \
+    do {                                                \
+        if (!x) {                                       \
+            __enable_irq();                             \
+        }                                               \
+    } while (0)
+
+struct nrf5340_uart_cfg {
+    int8_t suc_pin_tx;                          /* pins for IO */
+    int8_t suc_pin_rx;
+    int8_t suc_pin_rts;
+    int8_t suc_pin_cts;
+};
+const struct nrf5340_uart_cfg *bsp_uart_config(void);
+
+struct hal_flash;
+extern const struct hal_flash nrf5340_flash_dev;
+
+/* SPI configuration (used for both master and slave) */
+struct nrf5340_hal_spi_cfg {
+    uint8_t sck_pin;

Review comment:
       why pins are of different type then uart's?

##########
File path: hw/mcu/nordic/nrf5340_net/src/hal_uart.c
##########
@@ -0,0 +1,347 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_uart.h>
+#include <mcu/cmsis_nvic.h>
+#include <bsp/bsp.h>
+#include <nrf.h>
+#include <mcu/nrf5340_net_hal.h>
+
+#if MYNEWT_VAL(UART_0)
+#endif
+
+#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;
+    volatile uint8_t u_tx_started : 1;
+
+    uint8_t u_rx_buf;
+    uint8_t u_tx_buf[8];
+
+    hal_uart_rx_char u_rx_func;
+    hal_uart_tx_char u_tx_func;
+    hal_uart_tx_done u_tx_done;
+    void *u_func_arg;
+};
+
+static struct hal_uart uart0;
+
+int
+hal_uart_init_cbs(int port, hal_uart_tx_char tx_func, hal_uart_tx_done tx_done,
+                  hal_uart_rx_char rx_func, void *arg)
+{
+    if (port != 0 || uart0.u_open) {
+        return -1;
+    }
+
+    uart0.u_rx_func = rx_func;
+    uart0.u_tx_func = tx_func;
+    uart0.u_tx_done = tx_done;
+    uart0.u_func_arg = arg;
+
+    return 0;
+}
+
+static int
+hal_uart_tx_fill_buf(struct hal_uart *u)
+{
+    int data;
+    int i;
+
+    for (i = 0; i < sizeof(u->u_tx_buf); i++) {
+        data = u->u_tx_func(u->u_func_arg);
+        if (data < 0) {
+            break;
+        }
+        u->u_tx_buf[i] = data;
+    }
+    return i;
+}
+
+void
+hal_uart_start_tx(int port)
+{
+    int sr;
+    int rc;
+
+    if (port != 0) {
+        return;
+    }
+
+    __HAL_DISABLE_INTERRUPTS(sr);
+    if (uart0.u_tx_started == 0) {
+        rc = hal_uart_tx_fill_buf(&uart0);
+        if (rc > 0) {
+            NRF_UARTE0_NS->INTENSET = UARTE_INT_ENDTX;
+            NRF_UARTE0_NS->TXD.PTR = (uint32_t)&uart0.u_tx_buf;
+            NRF_UARTE0_NS->TXD.MAXCNT = rc;
+            NRF_UARTE0_NS->TASKS_STARTTX = 1;
+            uart0.u_tx_started = 1;
+        }
+    }
+    __HAL_ENABLE_INTERRUPTS(sr);
+}
+
+void
+hal_uart_start_rx(int port)
+{
+    int sr;
+    int rc;
+
+    if (port != 0) {
+        return;
+    }
+
+    if (uart0.u_rx_stall) {
+        __HAL_DISABLE_INTERRUPTS(sr);
+        rc = uart0.u_rx_func(uart0.u_func_arg, uart0.u_rx_buf);
+        if (rc == 0) {
+            uart0.u_rx_stall = 0;
+            NRF_UARTE0_NS->TASKS_STARTRX = 1;
+        }
+
+        __HAL_ENABLE_INTERRUPTS(sr);
+    }
+}
+
+void
+hal_uart_blocking_tx(int port, uint8_t data)
+{
+    if (port != 0 || !uart0.u_open) {
+        return;
+    }
+
+    /* If we have started, wait until the current uart dma buffer is done */
+    if (uart0.u_tx_started) {
+        while (NRF_UARTE0_NS->EVENTS_ENDTX == 0) {
+            /* Wait here until the dma is finished */
+        }
+    }
+
+    NRF_UARTE0_NS->EVENTS_ENDTX = 0;
+    NRF_UARTE0_NS->TXD.PTR = (uint32_t)&data;
+    NRF_UARTE0_NS->TXD.MAXCNT = 1;
+    NRF_UARTE0_NS->TASKS_STARTTX = 1;
+
+    while (NRF_UARTE0_NS->EVENTS_ENDTX == 0) {
+        /* Wait till done */
+    }
+
+    /* Stop the uart */
+    NRF_UARTE0_NS->TASKS_STOPTX = 1;
+}
+
+static void
+uart0_irq_handler(void)
+{
+    int rc;
+
+    os_trace_isr_enter();
+
+    if (NRF_UARTE0_NS->EVENTS_ENDTX) {
+        NRF_UARTE0_NS->EVENTS_ENDTX = 0;
+        rc = hal_uart_tx_fill_buf(&uart0);
+        if (rc > 0) {
+            NRF_UARTE0_NS->TXD.PTR = (uint32_t)uart0.u_tx_buf;
+            NRF_UARTE0_NS->TXD.MAXCNT = rc;
+            NRF_UARTE0_NS->TASKS_STARTTX = 1;
+        } else {
+            if (uart0.u_tx_done) {
+                uart0.u_tx_done(uart0.u_func_arg);
+            }
+            NRF_UARTE0_NS->INTENCLR = UARTE_INT_ENDTX;
+            NRF_UARTE0_NS->TASKS_STOPTX = 1;
+            uart0.u_tx_started = 0;
+        }
+    }
+    if (NRF_UARTE0_NS->EVENTS_ENDRX) {
+        NRF_UARTE0_NS->EVENTS_ENDRX = 0;
+        rc = uart0.u_rx_func(uart0.u_func_arg, uart0.u_rx_buf);
+        if (rc < 0) {
+            uart0.u_rx_stall = 1;
+        } else {
+            NRF_UARTE0_NS->TASKS_STARTRX = 1;
+        }
+    }
+    os_trace_isr_exit();
+}
+
+static uint32_t
+hal_uart_baudrate(int baudrate)
+{
+    switch (baudrate) {
+    case 1200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud1200;
+    case 2400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud2400;
+    case 4800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud4800;
+    case 9600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud9600;
+    case 14400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud14400;
+    case 19200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud19200;
+    case 28800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud28800;
+    case 38400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud38400;
+    case 56000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud56000;
+    case 57600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud57600;
+    case 76800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud76800;
+    case 115200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud115200;
+    case 230400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud230400;
+    case 250000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud250000;
+    case 460800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud460800;
+    case 921600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud921600;
+    case 1000000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud1M;
+    default:
+        return 0;
+    }
+}
+
+int
+hal_uart_init(int port, void *arg)
+{
+    struct nrf5340_net_uart_cfg *cfg = arg;
+
+    if (port != 0) {
+        return -1;
+    }
+
+    NRF_UARTE0_NS->PSEL.TXD = cfg->suc_pin_tx;
+    NRF_UARTE0_NS->PSEL.RXD = cfg->suc_pin_rx;
+    NRF_UARTE0_NS->PSEL.RTS = cfg->suc_pin_rts;
+    NRF_UARTE0_NS->PSEL.CTS = cfg->suc_pin_cts;
+
+    NVIC_SetVector(SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn,
+                   (uint32_t)uart0_irq_handler);
+
+    return 0;
+}
+
+int
+hal_uart_config(int port, int32_t baudrate, uint8_t databits, uint8_t stopbits,
+                enum hal_uart_parity parity, enum hal_uart_flow_ctl flow_ctl)
+{
+    uint32_t cfg_reg = 0;
+    uint32_t baud_reg;
+
+    if (port != 0 || uart0.u_open) {
+        return -1;
+    }
+
+    /*
+     * pin config
+     * UART config
+     * nvic config
+     * enable uart
+     */
+    if (databits != 8) {
+        return -1;
+    }
+    if (stopbits != 1) {
+        return -1;
+    }
+
+    switch (parity) {
+    case HAL_UART_PARITY_NONE:
+        break;
+    case HAL_UART_PARITY_ODD:
+        return -1;

Review comment:
       Odd parity is supported by this chip

##########
File path: hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c
##########
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <string.h>
+#include <hal/hal_bsp.h>
+#include <nrf.h>
+#include <os/os.h>
+
+int
+hal_bsp_hw_id_len(void)
+{
+    return sizeof(NRF_FICR_S->INFO.DEVICEID);
+}
+
+/*
+ * These values are generated at random.
+ * DEVICEID
+ */
+int
+hal_bsp_hw_id(uint8_t *id, int max_len)
+{
+    max_len = min(sizeof(NRF_FICR_S->INFO.DEVICEID), max_len);
+
+    memcpy(id, (void *) &NRF_FICR_S->INFO.DEVICEID, max_len);

Review comment:
       space after cast

##########
File path: hw/mcu/nordic/nrf5340/src/hal_watchdog.c
##########
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_watchdog.h>
+#include <mcu/cmsis_nvic.h>
+#include <nrf.h>
+
+static void
+nrf5340_hal_wdt_default_handler(void)
+{
+    assert(0);
+}
+
+/**@brief WDT interrupt handler. */
+static void
+nrf5340_wdt_irq_handler(void)
+{
+    os_trace_isr_enter();
+    if (NRF_WDT0_S->INTENSET & WDT_INTENSET_TIMEOUT_Msk) {
+        NRF_WDT0_S->EVENTS_TIMEOUT = 0;
+        nrf5340_hal_wdt_default_handler();
+    }
+    os_trace_isr_exit();
+}
+
+int
+hal_watchdog_init(uint32_t expire_msecs)
+{
+    uint64_t expiration;
+
+    NRF_WDT0_S->CONFIG = WDT_CONFIG_SLEEP_Msk;
+
+    /* Convert msec timeout to counts of a 32768 crystal */
+    expiration = ((uint64_t)expire_msecs * 32768) / 1000;
+    NRF_WDT0_S->CRV = (uint32_t)expiration;
+
+    NRF_WDT0_S->CRV = (expire_msecs * 32) + ((expire_msecs * 96) / 125);
+
+    NVIC_SetVector(WDT0_IRQn, (uint32_t) nrf5340_wdt_irq_handler);
+    NVIC_SetPriority(WDT0_IRQn, (1 << __NVIC_PRIO_BITS) - 1);
+    NVIC_ClearPendingIRQ(WDT0_IRQn);
+    NVIC_EnableIRQ(WDT0_IRQn);
+    NRF_WDT0_S->RREN |= 0x1;
+
+    return (0);

Review comment:
       **(0)** not so common in this PR

##########
File path: hw/mcu/nordic/nrf5340_net/include/mcu/cmsis_nvic.h
##########
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - cmsis_nvic
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ *
+ * CMSIS-style functionality to support dynamic vectors
+ */
+
+#ifndef _CMSIS_NVIC_H_
+#define _CMSIS_NVIC_H_
+
+#include <stdint.h>
+#include <nrf.h>
+
+#define NVIC_NUM_VECTORS      (16 + 20)   /* CORE + MCU Peripherals */

Review comment:
       where this number (20) come from?

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/cmsis_nvic.h
##########
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - cmsis_nvic
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ *
+ * CMSIS-style functionality to support dynamic vectors
+ */
+
+#ifndef _CMSIS_NVIC_H_
+#define _CMSIS_NVIC_H_
+
+#include <stdint.h>
+#include <nrf.h>
+
+#define NVIC_NUM_VECTORS      (16 + 39)   /* CORE + MCU Peripherals */

Review comment:
       Are you sure 39 is correct number?

##########
File path: hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c
##########
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_watchdog.h>
+#include <mcu/cmsis_nvic.h>
+#include <nrf.h>
+
+static void
+nrf5340_net_hal_wdt_default_handler(void)
+{
+    assert(0);
+}
+
+/**@brief WDT interrupt handler. */
+static void
+nrf5340_net_wdt_irq_handler(void)
+{
+    os_trace_isr_enter();
+    if (NRF_WDT_NS->INTENSET & WDT_INTENSET_TIMEOUT_Msk) {
+        NRF_WDT_NS->EVENTS_TIMEOUT = 0;
+        nrf5340_net_hal_wdt_default_handler();
+    }
+    os_trace_isr_exit();
+}
+
+int
+hal_watchdog_init(uint32_t expire_msecs)
+{
+    uint64_t expiration;
+
+    NRF_WDT_NS->CONFIG = WDT_CONFIG_SLEEP_Msk;
+
+    /* Convert msec timeout to counts of a 32768 crystal */
+    expiration = ((uint64_t)expire_msecs * 32768) / 1000;
+    NRF_WDT_NS->CRV = (uint32_t)expiration;
+
+    NRF_WDT_NS->CRV = (expire_msecs * 32) + ((expire_msecs * 96) / 125);
+
+    NVIC_SetVector(WDT_IRQn, (uint32_t) nrf5340_net_wdt_irq_handler);

Review comment:
       cast used few lines above does not have space

##########
File path: hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh
##########
@@ -0,0 +1,46 @@
+#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Called with following variables set:
+#  - CORE_PATH is absolute path to @apache-mynewt-core
+#  - BSP_PATH is absolute path to hw/bsp/bsp_name
+#  - BIN_BASENAME is the path to prefix to target binary,
+#    .elf appended to name is the ELF file
+#  - FEATURES holds the target features string
+#  - EXTRA_JTAG_CMD holds extra parameters to pass to jtag software
+#  - RESET set if target should be reset when attaching
+#  - NO_GDB set if we should not start gdb to debug
+#
+
+. $CORE_PATH/hw/scripts/jlink.sh
+
+FILE_NAME=$BIN_BASENAME.elf
+
+if [ $# -gt 2 ]; then
+    SPLIT_ELF_NAME=$3.elf
+    # TODO -- this magic number 0x82000 is the location of the second image

Review comment:
       Comment is strange, magic number is nowhere to be seen

##########
File path: hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h
##########
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _HW_DRIVERS_IPC_NRF5340_H
+#define _HW_DRIVERS_IPC_NRF5340_H
+
+#include <stdint.h>
+
+typedef void (*ipc_nrf5340_recv_cb)(int channel, void *user_data);
+
+void ipc_nrf5340_init(void);

Review comment:
       Doxygen in this header would not hurt

##########
File path: hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
##########
@@ -0,0 +1,243 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <os/os.h>
+#include <ipc_nrf5340/ipc_nrf5340.h>
+#include <nrfx.h>
+
+/* TODO for now this allows only for 1-1 connection */

Review comment:
       For TODO I would specify what needs to be done.
   It here is no intention to do anything about it, maybe NOTE would do.

##########
File path: hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h
##########
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _HW_DRIVERS_IPC_NRF5340_H
+#define _HW_DRIVERS_IPC_NRF5340_H
+
+#include <stdint.h>
+
+typedef void (*ipc_nrf5340_recv_cb)(int channel, void *user_data);
+
+void ipc_nrf5340_init(void);
+void ipc_nrf5340_recv(int channel, ipc_nrf5340_recv_cb cb, void *user_data);
+void ipc_nrf5340_send(int channel, const void *data, uint16_t len);
+
+/* should be used only from ipc_nrf5340_recv_cb context */
+uint16_t ipc_nrf5340_read(int channel, void *data, uint16_t len);
+uint16_t ipc_nrf5340_read_om(int channel, struct os_mbuf *om, uint16_t len);
+uint16_t ipc_nrf5340_len(int channel);

Review comment:
       **_available** instead of **_len** seems more common

##########
File path: hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
##########
@@ -0,0 +1,243 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <os/os.h>
+#include <ipc_nrf5340/ipc_nrf5340.h>
+#include <nrfx.h>
+
+/* TODO for now this allows only for 1-1 connection */
+
+#define IPC_MAX_CHANS MYNEWT_VAL(IPC_NRF5340_CHANNELS)
+#define IPC_BUF_SIZE (MYNEWT_VAL(IPC_NRF5340_BUF_SZ) + 1)
+
+struct ipc_channel {
+    ipc_nrf5340_recv_cb cb;
+    void *user_data;
+};
+
+struct ipc_shm {
+    volatile uint16_t head;
+    volatile uint16_t tail;
+    uint8_t buf[IPC_BUF_SIZE];
+};
+
+static struct ipc_channel ipcs[IPC_MAX_CHANS];
+
+#if MYNEWT_VAL(BSP_NRF5340)
+static struct ipc_shm __attribute__((section (".ipc"))) shms[IPC_MAX_CHANS];
+#elif MYNEWT_VAL(BSP_NRF5340_NET)
+static struct ipc_shm *shms = (void *)0x20000400;
+#else
+#error "Unsupported CPU"
+#endif
+
+static uint16_t
+ipc_nrf5340_shm_get_data_length(uint16_t head, uint16_t tail)
+{
+    if (head >= tail) {
+        return head - tail;
+    }
+
+    return IPC_BUF_SIZE - (tail - head);
+}
+
+static void
+ipc_nrf5340_shm_write(struct ipc_shm *shm, const void *data, uint16_t data_len)
+{
+    uint16_t head = shm->head;
+    uint16_t tail = shm->tail;
+    uint16_t len;
+
+    if (data_len == 0) {
+        return;
+    }
+
+    /* check if full */
+    assert((head + 1) != tail);
+    assert(data_len + ipc_nrf5340_shm_get_data_length(head, tail) < IPC_BUF_SIZE);

Review comment:
       If those asserts are a way to halt execution when write can't be performed. First one could be removed since it is also covered by second check.
   If on the other hand they are here for development sake to assert what are conditions (and could be later removed by NDEBUG) then function will fail when Mynewt finally adopt convention that assert no code when NDEBUG is defined.

##########
File path: hw/mcu/nordic/nrf5340/src/hal_uart.c
##########
@@ -0,0 +1,459 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_uart.h>
+#include <mcu/cmsis_nvic.h>
+#include <bsp/bsp.h>
+#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_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_rx_buf;
+    uint8_t u_tx_buf[8];
+    hal_uart_rx_char u_rx_func;
+    hal_uart_tx_char u_tx_func;
+    hal_uart_tx_done u_tx_done;
+    void *u_func_arg;
+
+    NRF_UARTE_Type *nrf_uart;
+    uint32_t handler;
+    IRQn_Type irqn;
+};
+
+
+#if MYNEWT_VAL(UART_0)
+static struct hal_uart uart0;
+#endif
+#if MYNEWT_VAL(UART_1)
+static struct hal_uart uart1;
+#endif
+#if MYNEWT_VAL(UART_2)
+static struct hal_uart uart2;
+#endif
+#if MYNEWT_VAL(UART_3)
+static struct hal_uart uart3;
+#endif
+
+static struct hal_uart *
+hal_uart_get(int port)
+{
+    switch (port) {
+    #if MYNEWT_VAL(UART_0)
+    case 0:
+        return &uart0;
+    #endif
+    #if MYNEWT_VAL(UART_1)
+    case 1:
+        return &uart1;
+    #endif
+    #if MYNEWT_VAL(UART_2)
+    case 2:
+        return &uart2;
+    #endif
+    #if MYNEWT_VAL(UART_3)
+    case 3:
+        return &uart3;
+    #endif
+    default:
+        return NULL;
+    }
+}
+
+int
+hal_uart_init_cbs(int port, hal_uart_tx_char tx_func, hal_uart_tx_done tx_done,
+                  hal_uart_rx_char rx_func, void *arg)
+{
+    struct hal_uart *u = hal_uart_get(port);
+
+    if (!u || u->u_open) {
+        return -1;
+    }
+    u->u_rx_func = rx_func;
+    u->u_tx_func = tx_func;
+    u->u_tx_done = tx_done;
+    u->u_func_arg = arg;
+
+    return 0;
+}
+
+static int
+hal_uart_tx_fill_buf(struct hal_uart *u)
+{
+    int data;
+    int i;
+
+    for (i = 0; i < sizeof(u->u_tx_buf); i++) {
+        data = u->u_tx_func(u->u_func_arg);
+        if (data < 0) {
+            break;
+        }
+        u->u_tx_buf[i] = data;
+    }
+    return i;
+}
+
+void
+hal_uart_start_tx(int port)
+{
+    struct hal_uart *u = hal_uart_get(port);
+    int sr;
+    int rc;
+
+    if (!u) {
+        return;
+    }
+
+    __HAL_DISABLE_INTERRUPTS(sr);
+    if (u->u_tx_started == 0) {
+        rc = hal_uart_tx_fill_buf(u);
+        if (rc > 0) {
+            u->nrf_uart->INTENSET = UARTE_INT_ENDTX;
+            u->nrf_uart->TXD.PTR = (uint32_t)&u->u_tx_buf;
+            u->nrf_uart->TXD.MAXCNT = rc;
+            u->nrf_uart->TASKS_STARTTX = 1;
+            u->u_tx_started = 1;
+        }
+    }
+    __HAL_ENABLE_INTERRUPTS(sr);
+}
+
+void
+hal_uart_start_rx(int port)
+{
+    struct hal_uart *u = hal_uart_get(port);
+    int sr;
+    int rc;
+
+    if (!u) {
+        return;
+    }
+
+    if (u->u_rx_stall) {
+        __HAL_DISABLE_INTERRUPTS(sr);
+        rc = u->u_rx_func(u->u_func_arg, u->u_rx_buf);
+        if (rc == 0) {
+            u->u_rx_stall = 0;
+            u->nrf_uart->TASKS_STARTRX = 1;
+        }
+
+        __HAL_ENABLE_INTERRUPTS(sr);
+    }
+}
+
+void
+hal_uart_blocking_tx(int port, uint8_t data)
+{
+    struct hal_uart *u = hal_uart_get(port);
+
+    if (!u || !u->u_open) {
+        return;
+    }
+
+    /* If we have started, wait until the current uart dma buffer is done */
+    if (u->u_tx_started) {
+        while (u->nrf_uart->EVENTS_ENDTX == 0) {
+            /* Wait here until the dma is finished */
+        }
+    }
+
+    u->nrf_uart->EVENTS_ENDTX = 0;
+    u->nrf_uart->TXD.PTR = (uint32_t)&data;
+    u->nrf_uart->TXD.MAXCNT = 1;
+    u->nrf_uart->TASKS_STARTTX = 1;
+
+    while (u->nrf_uart->EVENTS_ENDTX == 0) {
+        /* Wait till done */
+    }
+
+    /* Stop the uart */
+    u->nrf_uart->TASKS_STOPTX = 1;
+}
+
+#if MYNEWT_VAL(UART_0) || MYNEWT_VAL(UART_1) || MYNEWT_VAL(UART_2) || MYNEWT_VAL(UART_3)
+static void
+uart_irq_handler(struct hal_uart *u)
+{
+    NRF_UARTE_Type *nrf_uart = u->nrf_uart;
+    int rc;
+
+    os_trace_isr_enter();
+
+    if (nrf_uart->EVENTS_ENDTX) {
+        nrf_uart->EVENTS_ENDTX = 0;
+        rc = hal_uart_tx_fill_buf(u);
+        if (rc > 0) {
+            nrf_uart->TXD.PTR = (uint32_t)&u->u_tx_buf;
+            nrf_uart->TXD.MAXCNT = rc;
+            nrf_uart->TASKS_STARTTX = 1;
+        } else {
+            if (u->u_tx_done) {
+                u->u_tx_done(u->u_func_arg);
+            }
+            nrf_uart->INTENCLR = UARTE_INT_ENDTX;
+            nrf_uart->TASKS_STOPTX = 1;
+            u->u_tx_started = 0;
+        }
+    }
+    if (nrf_uart->EVENTS_ENDRX) {
+        nrf_uart->EVENTS_ENDRX = 0;
+        rc = u->u_rx_func(u->u_func_arg, u->u_rx_buf);
+        if (rc < 0) {
+            u->u_rx_stall = 1;
+        } else {
+            nrf_uart->TASKS_STARTRX = 1;
+        }
+    }
+    os_trace_isr_exit();
+}
+#endif
+
+#if MYNEWT_VAL(UART_0)
+static void
+uart0_irq_handler(void)
+{
+    uart_irq_handler(&uart0);
+}
+#endif
+
+#if MYNEWT_VAL(UART_1)
+static void
+uart1_irq_handler(void)
+{
+    uart_irq_handler(&uart1);
+}
+#endif
+
+#if MYNEWT_VAL(UART_2)
+static void
+uart2_irq_handler(void)
+{
+    uart_irq_handler(&uart2);
+}
+#endif
+
+#if MYNEWT_VAL(UART_3)
+static void
+uart3_irq_handler(void)
+{
+    uart_irq_handler(&uart3);
+}
+#endif
+
+static uint32_t
+hal_uart_baudrate(int baudrate)
+{
+    switch (baudrate) {
+    case 1200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud1200;
+    case 2400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud2400;
+    case 4800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud4800;
+    case 9600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud9600;
+    case 14400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud14400;
+    case 19200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud19200;
+    case 28800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud28800;
+    case 38400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud38400;
+    case 56000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud56000;
+    case 57600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud57600;
+    case 76800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud76800;
+    case 115200:
+        return UARTE_BAUDRATE_BAUDRATE_Baud115200;
+    case 230400:
+        return UARTE_BAUDRATE_BAUDRATE_Baud230400;
+    case 250000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud250000;
+    case 460800:
+        return UARTE_BAUDRATE_BAUDRATE_Baud460800;
+    case 921600:
+        return UARTE_BAUDRATE_BAUDRATE_Baud921600;
+    case 1000000:
+        return UARTE_BAUDRATE_BAUDRATE_Baud1M;
+    default:
+        return 0;
+    }
+}
+
+int
+hal_uart_init(int port, void *arg)
+{
+    struct hal_uart *u = hal_uart_get(port);
+    struct nrf5340_uart_cfg *cfg = arg;
+
+    if (!u) {
+        return -1;
+    }
+
+    switch (port) {
+    #if MYNEWT_VAL(UART_0)
+    case 0:
+        u->nrf_uart = NRF_UARTE0_S;
+        u->handler = (uint32_t)uart0_irq_handler;
+        u->irqn = SPIM0_SPIS0_TWIM0_TWIS0_UARTE0_IRQn;
+        break;
+    #endif
+    #if MYNEWT_VAL(UART_1)
+    case 1:
+        u->nrf_uart = NRF_UARTE1_S;
+        u->handler = (uint32_t)uart1_irq_handler;
+        u->irqn = SPIM1_SPIS1_TWIM1_TWIS1_UARTE1_IRQn;
+        break;
+    #endif
+    #if MYNEWT_VAL(UART_2)
+    case 2:
+        u->nrf_uart = NRF_UARTE2_S;
+        u->handler = (uint32_t)uart2_irq_handler;
+        u->irqn = SPIM2_SPIS2_TWIM2_TWIS2_UARTE2_IRQn;
+        break;
+    #endif
+    #if MYNEWT_VAL(UART_3)
+    case 3:
+        u->nrf_uart = NRF_UARTE3_S;
+        u->handler = (uint32_t)uart3_irq_handler;
+        u->irqn = SPIM3_SPIS3_TWIM3_TWIS3_UARTE3_IRQn;
+        break;
+    #endif
+    default:
+        assert(false);
+    }
+
+    u->nrf_uart->PSEL.TXD = cfg->suc_pin_tx;
+    u->nrf_uart->PSEL.RXD = cfg->suc_pin_rx;
+    u->nrf_uart->PSEL.RTS = cfg->suc_pin_rts;
+    u->nrf_uart->PSEL.CTS = cfg->suc_pin_cts;
+
+    NVIC_SetVector(u->irqn, u->handler);
+
+    return 0;
+}
+
+int
+hal_uart_config(int port, int32_t baudrate, uint8_t databits, uint8_t stopbits,
+                enum hal_uart_parity parity, enum hal_uart_flow_ctl flow_ctl)
+{
+    struct hal_uart *u = hal_uart_get(port);
+    uint32_t cfg_reg = 0;
+    uint32_t baud_reg;
+
+    if (!u || u->u_open) {
+        return -1;
+    }
+
+    /*
+     * pin config
+     * UART config
+     * nvic config
+     * enable uart
+     */
+    if (databits != 8) {
+        return -1;
+    }
+    if (stopbits != 1) {
+        return -1;
+    }
+
+    switch (parity) {
+    case HAL_UART_PARITY_NONE:
+        break;
+    case HAL_UART_PARITY_ODD:

Review comment:
       Odd parity is supported by this chip I think.

##########
File path: hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c
##########
@@ -0,0 +1,243 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <os/os.h>
+#include <ipc_nrf5340/ipc_nrf5340.h>
+#include <nrfx.h>
+
+/* TODO for now this allows only for 1-1 connection */
+
+#define IPC_MAX_CHANS MYNEWT_VAL(IPC_NRF5340_CHANNELS)
+#define IPC_BUF_SIZE (MYNEWT_VAL(IPC_NRF5340_BUF_SZ) + 1)
+
+struct ipc_channel {
+    ipc_nrf5340_recv_cb cb;
+    void *user_data;
+};
+
+struct ipc_shm {
+    volatile uint16_t head;
+    volatile uint16_t tail;
+    uint8_t buf[IPC_BUF_SIZE];
+};
+
+static struct ipc_channel ipcs[IPC_MAX_CHANS];
+
+#if MYNEWT_VAL(BSP_NRF5340)
+static struct ipc_shm __attribute__((section (".ipc"))) shms[IPC_MAX_CHANS];
+#elif MYNEWT_VAL(BSP_NRF5340_NET)
+static struct ipc_shm *shms = (void *)0x20000400;
+#else

Review comment:
       This conditional definition could be avoided if following things were added to linker scripts:
   **hw/bsp/nordic_pca10095_net/nrf5340_net.ld**
   ```
   MEMORY
   {
     FLASH (rx) : ORIGIN = 0x01008000, LENGTH = 0x19000
     RAM (rwx) : ORIGIN = 0x21000000, LENGTH = 0x10000
     IPC (rw)  : ORIGIN = 0x20000400, LENGTH = 0x1000
   }
   ```
   and **hw/mcu/nordic/nrf5340_net/nrf5340_net.ld**
   ```
       .ipc (NOLOAD):
       {
           *(.ipc)
       } > IPC
   ```
   It also generates slightly sorter code with GCC.

##########
File path: hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h
##########
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _MCU_H_
+#define _MCU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Defines for naming GPIOs. NOTE: the nordic chip docs use numeric labels for
+ * ports. Port A corresponds to Port 0, B to 1, etc. The nrf5340 has two ports
+ * but Port 1 only has 16 pins.
+ */
+#define MCU_GPIO_PORTA(pin) ((0 * 16) + (pin))
+#define MCU_GPIO_PORTB(pin) ((1 * 16) + (pin))
+
+//TODO

Review comment:
       Is there anything to do here?

##########
File path: hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c
##########
@@ -0,0 +1,210 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <assert.h>
+#include <os/mynewt.h>
+#include <hal/hal_os_tick.h>
+#include <nrf.h>
+#include <mcu/cmsis_nvic.h>
+
+/* The OS scheduler requires a low-frequency timer. */
+#if MYNEWT_VAL(OS_SCHEDULING) && !MYNEWT_VAL(MCU_LFCLK_SOURCE)
+    #error The OS scheduler requires a low-frequency timer; configure MCU_LFCLK_SOURCE
+#endif
+
+#define RTC_FREQ            32768       /* in Hz */
+#define OS_TICK_TIMER       NRF_RTC1_NS
+#define OS_TICK_IRQ         RTC1_IRQn
+#define OS_TICK_CMPREG      3   /* generate timer interrupt */

Review comment:
       This comment is very mysterious.




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-646587931


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-638255960


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624640933


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 13:12:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/4d103fbb56f02ae490ac0f97f46d13381752640b/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654904646


   
   <!-- license-bot -->
   
   ## RAT Report (2020-07-07 14:31:11)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 81 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/2bcaa73223a1329c94c1871207fbb33986eb4dfe/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-680826068


   
   <!-- license-bot -->
   
   ## RAT Report (2020-08-26 11:38:04)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 85 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/pkg.yml">hw/drivers/ipc_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/syscfg.yml">hw/drivers/ipc_nrf5340/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h">hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c">hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3aa873503428e20731fd4e16901f6903ed64d78d/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-681724493


   
   <!-- license-bot -->
   
   ## RAT Report (2020-08-27 07:52:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 85 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/pkg.yml">hw/drivers/ipc_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/syscfg.yml">hw/drivers/ipc_nrf5340/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h">hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c">hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3aa873503428e20731fd4e16901f6903ed64d78d/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624641092


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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;
   ```
   
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] kasjer commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
kasjer commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r421374800



##########
File path: hw/bsp/nordic_pca10095/include/bsp/bsp.h
##########
@@ -0,0 +1,89 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef H_BSP_H
+#define H_BSP_H
+
+#include <inttypes.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Define special stackos sections */
+#define sec_data_core   __attribute__((section(".data.core")))
+#define sec_bss_core    __attribute__((section(".bss.core")))
+#define sec_bss_nz_core __attribute__((section(".bss.core.nz")))
+
+/* More convenient section placement macros. */
+#define bssnz_t         sec_bss_nz_core
+
+extern uint8_t _ram_start;
+#define RAM_SIZE        0x80000
+
+/* LED pins */
+#define LED_1           (28)
+#define LED_2           (29)
+#define LED_3           (30)
+#define LED_4           (31)
+#define LED_BLINK_PIN   (LED_1)
+
+/* Buttons */
+#define BUTTON_1        (23)
+#define BUTTON_2        (24)
+#define BUTTON_3        (8)
+#define BUTTON_4        (9)
+
+/* Arduino pins */
+#define ARDUINO_PIN_D0      0

Review comment:
       ARDUINO_PIN_Dx are wrong which should be obvious since D2 is not same as A0
   Dx pins should be increased by 32

##########
File path: hw/bsp/nordic_pca10095/split-nordic_pca10056.ld
##########
@@ -0,0 +1,205 @@
+/* Linker script for Nordic Semiconductor nRF5 devices
+ *
+ * Version: Sourcery G++ 4.5-1
+ * Support: https://support.codesourcery.com/GNUToolchain/
+ *
+ * Copyright (c) 2007, 2008, 2009, 2010 CodeSourcery, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions.  No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
+
+MEMORY
+{
+  FLASH (rx) : ORIGIN =  0x00082000, LENGTH = 0x76000
+  RAM  (rwx) : ORIGIN =  0x20000000, LENGTH = 0x40000

Review comment:
       RAM size should be 0x80000

##########
File path: hw/bsp/nordic_pca10095/src/hal_bsp.c
##########
@@ -0,0 +1,145 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <stdint.h>
+#include <stddef.h>
+#include <assert.h>
+#include "os/mynewt.h"
+#include "nrfx.h"
+#include "flash_map/flash_map.h"
+#include "hal/hal_bsp.h"
+#include "hal/hal_flash.h"
+#include "hal/hal_system.h"
+#include "mcu/nrf5340_hal.h"
+#include "mcu/nrf5340_periph.h"
+#include "bsp/bsp.h"
+
+/*
+ * What memory to include in coredump.
+ */
+static const struct hal_bsp_mem_dump dump_cfg[] = {
+    [0] = {
+        .hbmd_start = &_ram_start,
+        .hbmd_size = RAM_SIZE
+    }
+};
+
+const struct hal_flash *
+hal_bsp_flash_dev(uint8_t id)
+{
+    /*
+     * Internal flash mapped to id 0.
+     */
+    if (id == 0) {
+        return &nrf5340_flash_dev;
+    }
+#if MYNEWT_VAL(QSPI_ENABLE)
+    if (id == 1) {
+        return &nrf52k_qspi_dev;
+    }
+#endif
+    return NULL;
+}
+
+const struct hal_bsp_mem_dump *
+hal_bsp_core_dump(int *area_cnt)
+{
+    *area_cnt = sizeof(dump_cfg) / sizeof(dump_cfg[0]);
+    return dump_cfg;
+}
+
+int
+hal_bsp_power_state(int state)
+{
+    return (0);
+}
+
+void
+hal_bsp_init(void)
+{
+    /* Make sure system clocks have started */
+    hal_system_clock_start();
+
+    /* Create all available nRF52840 peripherals */
+    nrf5340_periph_create();
+}
+
+#if MYNEWT_VAL(BSP_USE_HAL_SPI)
+void
+bsp_spi_read_buf(uint8_t addr, uint8_t *buf, uint8_t size)
+{
+    int i;
+    uint8_t rxval;
+    NRF_SPI_Type *spi;
+    spi = NRF_SPI0;
+
+    if (size == 0) {
+        return;
+    }
+
+    i = -1;
+    spi->EVENTS_READY = 0;
+    spi->TXD = (uint8_t)addr;
+    while (size != 0) {
+        spi->TXD = 0;
+        while (!spi->EVENTS_READY) {}
+        spi->EVENTS_READY = 0;
+        rxval = (uint8_t)(spi->RXD);
+        if (i >= 0) {
+            buf[i] = rxval;
+        }
+        size -= 1;
+        ++i;
+        if (size == 0) {
+            while (!spi->EVENTS_READY) {}
+            spi->EVENTS_READY = 0;
+            buf[i] = (uint8_t)(spi->RXD);
+        }
+    }
+}
+
+void
+bsp_spi_write_buf(uint8_t addr, uint8_t *buf, uint8_t size)
+{
+    uint8_t i;
+    uint8_t rxval;
+    NRF_SPI_Type *spi;
+
+    if (size == 0) {
+        return;
+    }
+
+    spi = NRF_SPI0;
+
+    spi->EVENTS_READY = 0;
+
+    spi->TXD = (uint8_t)addr;

Review comment:
       casting from uint8_t to uint8_t seems spurious

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/cmsis_nvic.h
##########
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - cmsis_nvic
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ *
+ * CMSIS-style functionality to support dynamic vectors
+ */
+
+#ifndef MBED_CMSIS_NVIC_H
+#define MBED_CMSIS_NVIC_H
+
+#include <stdint.h>
+#include "nrf.h"
+
+#define NVIC_NUM_VECTORS      (16 + 38)   /* CORE + MCU Peripherals */

Review comment:
       this should be (16 + 69)
   Last vector is
   CRYPTOCELL_IRQn           =  68

##########
File path: hw/bsp/nordic_pca10095/nordic_pca10095_no_boot.ld
##########
@@ -0,0 +1,194 @@
+/* Linker script for Nordic Semiconductor nRF5 devices
+ *
+ * Version: Sourcery G++ 4.5-1
+ * Support: https://support.codesourcery.com/GNUToolchain/
+ *
+ * Copyright (c) 2007, 2008, 2009, 2010 CodeSourcery, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions.  No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
+
+MEMORY
+{
+  FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x100000
+  RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x40000

Review comment:
       RAM size should be 0x80000

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/mcu.h
##########
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef __MCU_MCU_H_
+#define __MCU_MCU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Defines for naming GPIOs. NOTE: the nordic chip docs use numeric labels for
+ * ports. Port A corresponds to Port 0, B to 1, etc. The nrf52832 has only one
+ * port and thus uses pins 0 - 31. The nrf52840 has two ports but Port 1 only
+ * has 16 pins.
+ *
+ * TODO
+ */
+#define MCU_GPIO_PORTA(pin) ((0 * 16) + (pin))
+#define MCU_GPIO_PORTB(pin) ((1 * 16) + (pin))
+
+#define MCU_SYSVIEW_INTERRUPTS \
+    "I#1=Reset,I#2=MNI,I#3=HardFault,I#4=MemoryMgmt,I#5=BusFault,I#6=UsageFault," \
+    "I#11=SVCall,I#12=DebugMonitor,I#14=PendSV,I#15=SysTick," \
+    "I#16=POWER_CLOCK,I#17=RADIO,I#18=UARTE0_UART0,I#19=SPIx0_TWIx0," \

Review comment:
       Some of the interrupt vectors are incorrect

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/mcu.h
##########
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef __MCU_MCU_H_
+#define __MCU_MCU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Defines for naming GPIOs. NOTE: the nordic chip docs use numeric labels for
+ * ports. Port A corresponds to Port 0, B to 1, etc. The nrf52832 has only one
+ * port and thus uses pins 0 - 31. The nrf52840 has two ports but Port 1 only
+ * has 16 pins.
+ *
+ * TODO
+ */
+#define MCU_GPIO_PORTA(pin) ((0 * 16) + (pin))

Review comment:
       should be * 16 in both lines

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
##########
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef H_NRF5340_HAL_
+#define H_NRF5340_HAL_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Helper functions to enable/disable interrupts. */
+#define __HAL_DISABLE_INTERRUPTS(x)                     \
+    do {                                                \
+        x = __get_PRIMASK();                            \
+        __disable_irq();                                \
+    } while(0);

Review comment:
       When do {} while(0) is used trailing ; should not be in the macro.
   
   Missing space after while

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/mcu.h
##########
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef __MCU_MCU_H_
+#define __MCU_MCU_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Defines for naming GPIOs. NOTE: the nordic chip docs use numeric labels for
+ * ports. Port A corresponds to Port 0, B to 1, etc. The nrf52832 has only one
+ * port and thus uses pins 0 - 31. The nrf52840 has two ports but Port 1 only

Review comment:
       nrf52840 not related here

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
##########
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef H_NRF5340_HAL_
+#define H_NRF5340_HAL_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Helper functions to enable/disable interrupts. */
+#define __HAL_DISABLE_INTERRUPTS(x)                     \
+    do {                                                \
+        x = __get_PRIMASK();                            \
+        __disable_irq();                                \
+    } while(0);
+
+#define __HAL_ENABLE_INTERRUPTS(x)                      \
+    do {                                                \
+        if (!x) {                                       \
+            __enable_irq();                             \
+        }                                               \
+    } while(0);

Review comment:
       see above

##########
File path: hw/mcu/nordic/nrf5340/src/hal_system.c
##########
@@ -0,0 +1,124 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include "syscfg/syscfg.h"
+#include "mcu/cortex_m33.h"
+#include "hal/hal_system.h"
+#include "hal/hal_debug.h"
+#include "nrf.h"
+
+/**
+ * Function called at startup. Called after BSS and .data initialized but
+ * prior to the _start function.
+ *
+ * NOTE: this function is called by both the bootloader and the application.
+ * If you add code here that you do not want executed in either case you need
+ * to conditionally compile it using the config variable BOOT_LOADER (will
+ * be set to 1 in case of bootloader build)
+ *
+ */
+void
+hal_system_init(void)
+{
+#if MYNEWT_VAL(MCU_DCDC_ENABLED)
+    NRF_REGULATORS_S->VREGMAIN.DCDCEN = 1;
+#endif
+}
+
+void
+hal_system_reset(void)
+{
+

Review comment:
       unorthodox empty line here

##########
File path: hw/mcu/nordic/nrf5340/src/hal_flash.c
##########
@@ -0,0 +1,162 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <string.h>
+#include <assert.h>
+#include "nrf.h"
+#include "mcu/nrf5340_hal.h"
+#include <hal/hal_flash_int.h>
+
+#define NRF5340_FLASH_SECTOR_SZ 4096
+
+#define NRF5340_FLASH_READY() (NRF_NVMC->READY == NVMC_READY_READY_Ready)
+
+static int
+nrf5340_flash_wait_ready(void)
+{
+    int i;
+
+    for (i = 0; i < 100000; i++) {
+        if (NRF_NVMC_S->READY == NVMC_READY_READY_Ready) {
+            return 0;
+        }
+    }
+    return -1;
+}
+
+static int
+nrf5340_flash_read(const struct hal_flash *dev, uint32_t address, void *dst,
+                   uint32_t num_bytes)
+{
+    memcpy(dst, (void *)address, num_bytes);
+    return 0;
+}
+
+/*
+ * Flash write is done by writing 4 bytes at a time at a word boundary.
+ */
+static int
+nrf5340_flash_write(const struct hal_flash *dev, uint32_t address,
+                    const void *src, uint32_t num_bytes)
+{
+    int sr;
+    int rc = -1;
+    uint32_t val;
+    int cnt;
+    uint32_t tmp;
+
+    if (nrf5340_flash_wait_ready()) {
+        return -1;
+    }
+    __HAL_DISABLE_INTERRUPTS(sr);
+    NRF_NVMC_S->CONFIG = NVMC_CONFIG_WEN_Wen; /* Enable erase OP */
+    tmp = address & 0x3;
+    if (tmp) {
+        if (nrf5340_flash_wait_ready()) {
+            goto out;
+        }
+        /*
+         * Starts at a non-word boundary. Read 4 bytes which were there
+         * before, update with new data, and write back.
+         */
+        val = *(uint32_t *)(address & ~0x3);
+        cnt = 4 - tmp;
+        if (cnt > num_bytes) {
+            cnt = num_bytes;
+        }
+        memcpy((uint8_t *)&val + tmp, src, cnt);
+        *(uint32_t *)(address & ~0x3) = val;
+        address += cnt;
+        num_bytes -= cnt;
+        src += cnt;
+    }
+
+    while (num_bytes >= sizeof(uint32_t)) {
+        /*
+         * Write data 4 bytes at a time.
+         */
+        if (nrf5340_flash_wait_ready()) {
+            goto out;
+        }
+        *(uint32_t *)address = *(uint32_t *)src;
+        address += sizeof(uint32_t);
+        src += sizeof(uint32_t);
+        num_bytes -= sizeof(uint32_t);
+    }
+    if (num_bytes) {
+        /*
+         * Deal with the trailing bytes.
+         */
+        val = *(uint32_t *)address;
+        memcpy(&val, src, num_bytes);
+        if (nrf5340_flash_wait_ready()) {
+            goto out;
+        }
+        *(uint32_t *)address = val;
+    }
+    rc = 0;
+    if (nrf5340_flash_wait_ready()) {
+        rc = -1;

Review comment:
       rc was -1, then was changed to 0, then to -1 again, maybe condition could be reversed and =0 put in block

##########
File path: hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
##########
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef H_NRF5340_HAL_
+#define H_NRF5340_HAL_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Helper functions to enable/disable interrupts. */
+#define __HAL_DISABLE_INTERRUPTS(x)                     \
+    do {                                                \
+        x = __get_PRIMASK();                            \
+        __disable_irq();                                \
+    } while(0);
+
+#define __HAL_ENABLE_INTERRUPTS(x)                      \
+    do {                                                \
+        if (!x) {                                       \
+            __enable_irq();                             \
+        }                                               \
+    } while(0);
+
+struct nrf5340_uart_cfg {
+    int8_t suc_pin_tx;                          /* pins for IO */
+    int8_t suc_pin_rx;
+    int8_t suc_pin_rts;
+    int8_t suc_pin_cts;
+};
+const struct nrf5340_uart_cfg *bsp_uart_config(void);
+
+struct nrf5340_hal_i2c_cfg {
+    int scl_pin;

Review comment:
       uart, i2c and spi all use different type for specifying pin it would no hurt to use same type everywhere

##########
File path: hw/mcu/nordic/nrf5340/src/hal_gpio.c
##########
@@ -0,0 +1,563 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <stdlib.h>
+#include <assert.h>
+#include "os/mynewt.h"
+#include "hal/hal_gpio.h"
+#include "mcu/cmsis_nvic.h"
+#include "nrf.h"
+#include "mcu/nrf5340_hal.h"
+
+/* XXX:
+ * 1) The code probably does not handle "re-purposing" gpio very well.
+ * "Re-purposing" means changing a gpio from input to output, or calling
+ * gpio_init_in and expecting previously enabled interrupts to be stopped.
+ *
+ */
+
+/* GPIO interrupts */
+#define HAL_GPIO_MAX_IRQ        8
+
+#if MYNEWT_VAL(MCU_GPIO_USE_PORT_EVENT)
+#define HAL_GPIO_SENSE_TRIG_NONE    0x00 /* just 0 */
+#define HAL_GPIO_SENSE_TRIG_BOTH    0x01 /* something else than both below */
+#define HAL_GPIO_SENSE_TRIG_HIGH    0x02 /* GPIO_PIN_CNF_SENSE_High */
+#define HAL_GPIO_SENSE_TRIG_LOW     0x03 /* GPIO_PIN_CNF_SENSE_Low */
+#endif
+
+/* Storage for GPIO callbacks. */
+struct hal_gpio_irq {
+    hal_gpio_irq_handler_t func;
+    void *arg;
+#if MYNEWT_VAL(MCU_GPIO_USE_PORT_EVENT)
+    int pin;
+    uint8_t sense_trig;
+#endif
+};
+
+static struct hal_gpio_irq hal_gpio_irqs[HAL_GPIO_MAX_IRQ];
+
+/**
+ * gpio init in
+ *
+ * Initializes the specified pin as an input
+ *
+ * @param pin   Pin number to set as input
+ * @param pull  pull type
+ *
+ * @return int  0: no error; -1 otherwise.
+ */
+int
+hal_gpio_init_in(int pin, hal_gpio_pull_t pull)
+{
+    uint32_t conf;
+    NRF_GPIO_Type *port;
+    int pin_index = HAL_GPIO_INDEX(pin);
+
+    switch (pull) {
+    case HAL_GPIO_PULL_UP:
+        conf = GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos;
+        break;
+    case HAL_GPIO_PULL_DOWN:
+        conf = GPIO_PIN_CNF_PULL_Pulldown << GPIO_PIN_CNF_PULL_Pos;
+        break;
+    case HAL_GPIO_PULL_NONE:
+    default:
+        conf = 0;
+        break;
+    }
+
+    port = HAL_GPIO_PORT(pin);
+    port->PIN_CNF[pin_index] = conf;
+    port->DIRCLR = HAL_GPIO_MASK(pin);
+
+    return 0;
+}
+
+/**
+ * gpio init out
+ *
+ * Initialize the specified pin as an output, setting the pin to the specified
+ * value.
+ *
+ * @param pin Pin number to set as output
+ * @param val Value to set pin
+ *
+ * @return int  0: no error; -1 otherwise.
+ */
+int
+hal_gpio_init_out(int pin, int val)
+{
+    NRF_GPIO_Type *port;
+    int pin_index = HAL_GPIO_INDEX(pin);
+
+    port = HAL_GPIO_PORT(pin);
+    if (val) {
+        port->OUTSET = HAL_GPIO_MASK(pin);
+    } else {
+        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);
+    port->DIRSET = HAL_GPIO_MASK(pin);
+
+    return 0;
+}
+
+/**
+ * Deinitialize the specified pin to revert to default configuration
+ *
+ * @param pin Pin number to unset
+ *
+ * @return int  0: no error; -1 otherwise.
+ */
+int
+hal_gpio_deinit(int pin)
+{
+    uint32_t conf;
+    NRF_GPIO_Type *port;
+    int pin_index = HAL_GPIO_INDEX(pin);
+
+    conf = GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos;
+    port = HAL_GPIO_PORT(pin);
+    port->PIN_CNF[pin_index] = conf;
+
+    return 0;
+}
+
+/**
+ * gpio write
+ *
+ * Write a value (either high or low) to the specified pin.
+ *
+ * @param pin Pin to set
+ * @param val Value to set pin (0:low 1:high)
+ */
+void
+hal_gpio_write(int pin, int val)
+{
+    NRF_GPIO_Type *port;
+
+    port = HAL_GPIO_PORT(pin);
+    if (val) {
+        port->OUTSET = HAL_GPIO_MASK(pin);
+    } else {
+        port->OUTCLR = HAL_GPIO_MASK(pin);
+    }
+}
+
+/**
+ * gpio read
+ *
+ * Reads the specified pin.
+ *
+ * @param pin Pin number to read
+ *
+ * @return int 0: low, 1: high
+ */
+int
+hal_gpio_read(int pin)
+{
+    NRF_GPIO_Type *port;
+    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;
+}
+
+/**
+ * gpio toggle
+ *
+ * Toggles the specified pin
+ *
+ * @param pin Pin number to toggle
+ *
+ * @return current pin state int 0: low, 1: high
+ */
+int
+hal_gpio_toggle(int pin)
+{
+    int pin_state = (hal_gpio_read(pin) == 0);
+    hal_gpio_write(pin, pin_state);
+    return pin_state;
+}
+
+/*
+ * GPIO irq handler
+ *
+ * Handles the gpio interrupt attached to a gpio pin.
+ *
+ * @param index

Review comment:
       there is not parameter here

##########
File path: hw/mcu/nordic/nrf5340/src/hal_timer.c
##########
@@ -0,0 +1,925 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <string.h>
+#include <stdint.h>
+#include <assert.h>
+#include <errno.h>
+#include "os/mynewt.h"
+#include "mcu/cmsis_nvic.h"
+#include "hal/hal_timer.h"
+#include "nrf.h"
+#include "mcu/nrf5340_hal.h"
+
+/* IRQ prototype */
+typedef void (*hal_timer_irq_handler_t)(void);
+
+/* User CC 2 for reading counter, CC 3 for timer isr */
+#define NRF_TIMER_CC_READ       (2)
+#define NRF_TIMER_CC_INT        (3)
+
+/* Output compare 2 used for RTC timers */
+#define NRF_RTC_TIMER_CC_INT    (2)
+
+/* Maximum number of hal timers used */
+#define nrf5340_hal_timer_MAX     (6)
+
+/* Maximum timer frequency */
+#define NRF5340_MAX_TIMER_FREQ    (16000000)
+
+struct nrf5340_hal_timer {
+    uint8_t tmr_enabled;
+    uint8_t tmr_irq_num;
+    uint8_t tmr_rtc;
+    uint8_t tmr_pad;
+    uint32_t tmr_cntr;
+    uint32_t timer_isrs;
+    uint32_t tmr_freq;
+    void *tmr_reg;
+    TAILQ_HEAD(hal_timer_qhead, hal_timer) hal_timer_q;
+};
+
+#if MYNEWT_VAL(TIMER_0)
+struct nrf5340_hal_timer nrf5340_hal_timer0;
+#endif
+#if MYNEWT_VAL(TIMER_1)
+struct nrf5340_hal_timer nrf5340_hal_timer1;
+#endif
+#if MYNEWT_VAL(TIMER_2)
+struct nrf5340_hal_timer nrf5340_hal_timer2;
+#endif
+#if MYNEWT_VAL(TIMER_3)
+struct nrf5340_hal_timer nrf5340_hal_timer3;
+#endif
+#if MYNEWT_VAL(TIMER_4)
+struct nrf5340_hal_timer nrf5340_hal_timer4;
+#endif
+
+static const struct nrf5340_hal_timer *nrf5340_hal_timers[nrf5340_hal_timer_MAX] = {
+#if MYNEWT_VAL(TIMER_0)
+    &nrf5340_hal_timer0,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_1)
+    &nrf5340_hal_timer1,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_2)
+    &nrf5340_hal_timer2,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_3)
+    &nrf5340_hal_timer3,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_4)
+    &nrf5340_hal_timer4,
+#else
+    NULL,
+#endif
+};
+
+/* Resolve timer number into timer structure */
+#define nrf5340_hal_timer_RESOLVE(__n, __v)       \
+    if ((__n) >= nrf5340_hal_timer_MAX) {         \
+        rc = EINVAL;                            \
+        goto err;                               \
+    }                                           \
+    (__v) = (struct nrf5340_hal_timer *) nrf5340_hal_timers[(__n)];            \
+    if ((__v) == NULL) {                        \
+        rc = EINVAL;                            \
+        goto err;                               \
+    }
+
+/* Interrupt mask for interrupt enable/clear */
+#define NRF_TIMER_INT_MASK(x)    ((1 << (uint32_t)(x)) << 16)

Review comment:
       << TIMER_INTENCLR_COMPARE0_Pos could be more readable instead of << 16

##########
File path: hw/mcu/nordic/nrf5340/src/hal_gpio.c
##########
@@ -0,0 +1,563 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <stdlib.h>
+#include <assert.h>
+#include "os/mynewt.h"
+#include "hal/hal_gpio.h"
+#include "mcu/cmsis_nvic.h"
+#include "nrf.h"
+#include "mcu/nrf5340_hal.h"
+
+/* XXX:
+ * 1) The code probably does not handle "re-purposing" gpio very well.
+ * "Re-purposing" means changing a gpio from input to output, or calling
+ * gpio_init_in and expecting previously enabled interrupts to be stopped.
+ *
+ */
+
+/* GPIO interrupts */
+#define HAL_GPIO_MAX_IRQ        8
+
+#if MYNEWT_VAL(MCU_GPIO_USE_PORT_EVENT)
+#define HAL_GPIO_SENSE_TRIG_NONE    0x00 /* just 0 */
+#define HAL_GPIO_SENSE_TRIG_BOTH    0x01 /* something else than both below */
+#define HAL_GPIO_SENSE_TRIG_HIGH    0x02 /* GPIO_PIN_CNF_SENSE_High */
+#define HAL_GPIO_SENSE_TRIG_LOW     0x03 /* GPIO_PIN_CNF_SENSE_Low */
+#endif
+
+/* Storage for GPIO callbacks. */
+struct hal_gpio_irq {
+    hal_gpio_irq_handler_t func;
+    void *arg;
+#if MYNEWT_VAL(MCU_GPIO_USE_PORT_EVENT)
+    int pin;
+    uint8_t sense_trig;
+#endif
+};
+
+static struct hal_gpio_irq hal_gpio_irqs[HAL_GPIO_MAX_IRQ];
+
+/**
+ * gpio init in

Review comment:
       First line of comment just duplicates name of the function with hal and underscores removed. It does not provide any useful information.

##########
File path: hw/mcu/nordic/nrf5340/src/hal_timer.c
##########
@@ -0,0 +1,925 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#include <string.h>
+#include <stdint.h>
+#include <assert.h>
+#include <errno.h>
+#include "os/mynewt.h"
+#include "mcu/cmsis_nvic.h"
+#include "hal/hal_timer.h"
+#include "nrf.h"
+#include "mcu/nrf5340_hal.h"
+
+/* IRQ prototype */
+typedef void (*hal_timer_irq_handler_t)(void);
+
+/* User CC 2 for reading counter, CC 3 for timer isr */
+#define NRF_TIMER_CC_READ       (2)
+#define NRF_TIMER_CC_INT        (3)
+
+/* Output compare 2 used for RTC timers */
+#define NRF_RTC_TIMER_CC_INT    (2)
+
+/* Maximum number of hal timers used */
+#define nrf5340_hal_timer_MAX     (6)
+
+/* Maximum timer frequency */
+#define NRF5340_MAX_TIMER_FREQ    (16000000)
+
+struct nrf5340_hal_timer {
+    uint8_t tmr_enabled;
+    uint8_t tmr_irq_num;
+    uint8_t tmr_rtc;
+    uint8_t tmr_pad;
+    uint32_t tmr_cntr;
+    uint32_t timer_isrs;
+    uint32_t tmr_freq;
+    void *tmr_reg;
+    TAILQ_HEAD(hal_timer_qhead, hal_timer) hal_timer_q;
+};
+
+#if MYNEWT_VAL(TIMER_0)
+struct nrf5340_hal_timer nrf5340_hal_timer0;
+#endif
+#if MYNEWT_VAL(TIMER_1)
+struct nrf5340_hal_timer nrf5340_hal_timer1;
+#endif
+#if MYNEWT_VAL(TIMER_2)
+struct nrf5340_hal_timer nrf5340_hal_timer2;
+#endif
+#if MYNEWT_VAL(TIMER_3)
+struct nrf5340_hal_timer nrf5340_hal_timer3;
+#endif
+#if MYNEWT_VAL(TIMER_4)
+struct nrf5340_hal_timer nrf5340_hal_timer4;
+#endif
+
+static const struct nrf5340_hal_timer *nrf5340_hal_timers[nrf5340_hal_timer_MAX] = {
+#if MYNEWT_VAL(TIMER_0)
+    &nrf5340_hal_timer0,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_1)
+    &nrf5340_hal_timer1,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_2)
+    &nrf5340_hal_timer2,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_3)
+    &nrf5340_hal_timer3,
+#else
+    NULL,
+#endif
+#if MYNEWT_VAL(TIMER_4)
+    &nrf5340_hal_timer4,
+#else
+    NULL,
+#endif
+};
+
+/* Resolve timer number into timer structure */
+#define nrf5340_hal_timer_RESOLVE(__n, __v)       \
+    if ((__n) >= nrf5340_hal_timer_MAX) {         \
+        rc = EINVAL;                            \
+        goto err;                               \
+    }                                           \
+    (__v) = (struct nrf5340_hal_timer *) nrf5340_hal_timers[(__n)];            \
+    if ((__v) == NULL) {                        \
+        rc = EINVAL;                            \
+        goto err;                               \
+    }
+
+/* Interrupt mask for interrupt enable/clear */
+#define NRF_TIMER_INT_MASK(x)    ((1 << (uint32_t)(x)) << 16)
+
+static uint32_t
+nrf_read_timer_cntr(NRF_TIMER_Type *hwtimer)
+{
+    uint32_t tcntr;
+
+    /* Force a capture of the timer into 'cntr' capture channel; read it */
+    hwtimer->TASKS_CAPTURE[NRF_TIMER_CC_READ] = 1;
+    tcntr = hwtimer->CC[NRF_TIMER_CC_READ];
+
+    return tcntr;
+}
+
+/**
+ * nrf timer set ocmp

Review comment:
       In all cases starting from here first line of comment repeats function name with underscores changed to spaces.
   It does not provide any useful information and could be safely removed.




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-681724493


   
   <!-- license-bot -->
   
   ## RAT Report (2020-08-27 07:52:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 85 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/pkg.yml">hw/drivers/ipc_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/syscfg.yml">hw/drivers/ipc_nrf5340/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h">hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/96fb6b142df11e05a9a80901c2ca755eb027024b/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c">hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3aa873503428e20731fd4e16901f6903ed64d78d/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-638255656


   SPI was tested with BME280
   I2C was tested with BMP388


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-646587931


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-646587851


   
   <!-- license-bot -->
   
   ## RAT Report (2020-06-19 11:34:13)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 79 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e40602ccd71530fa9a2518f308cf72f323410743/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/df965545735e0c05bc883ae5ec207a15043beaba/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/762b2882833af1ee444f7bf1a4a904f4538bee49/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/ce8ef3e0c8802dfef1e6f499505186fb868e1723/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-681724866


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r480384168



##########
File path: hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h
##########
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#ifndef _NRF5340_HAL_H_
+#define _NRF5340_HAL_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Helper functions to enable/disable interrupts. */
+#define __HAL_DISABLE_INTERRUPTS(x)                     \
+    do {                                                \
+        x = __get_PRIMASK();                            \
+        __disable_irq();                                \
+    } while (0)
+
+#define __HAL_ENABLE_INTERRUPTS(x)                      \
+    do {                                                \
+        if (!x) {                                       \
+            __enable_irq();                             \
+        }                                               \
+    } while (0)
+
+struct nrf5340_uart_cfg {
+    int8_t suc_pin_tx;                          /* pins for IO */
+    int8_t suc_pin_rx;
+    int8_t suc_pin_rts;
+    int8_t suc_pin_cts;
+};
+const struct nrf5340_uart_cfg *bsp_uart_config(void);
+
+struct hal_flash;
+extern const struct hal_flash nrf5340_flash_dev;
+
+/* SPI configuration (used for both master and slave) */
+struct nrf5340_hal_spi_cfg {
+    uint8_t sck_pin;

Review comment:
       no reason... I'll just make them as in uart




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-627319869


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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/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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-680828221


   https://github.com/apache/mynewt-nimble/pull/841 was updated with HCI transport utilizing IPC allowing to run controller on network core and host on application core.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-638255960


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654853444


   main missing points:
    - IPC support between cores
    - option to set app core into insecure mode
    - support for passing GPIO control to network core


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-684539999


   
   <!-- license-bot -->
   
   ## RAT Report (2020-09-01 08:10:03)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 85 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/2174da8f121f98d626e937c2a8d4451381c22bf7/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/2174da8f121f98d626e937c2a8d4451381c22bf7/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/2174da8f121f98d626e937c2a8d4451381c22bf7/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/0eeabdceef6780c526278d3ffa83f8121e85ce9b/hw/drivers/ipc_nrf5340/pkg.yml">hw/drivers/ipc_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/0eeabdceef6780c526278d3ffa83f8121e85ce9b/hw/drivers/ipc_nrf5340/syscfg.yml">hw/drivers/ipc_nrf5340/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/0eeabdceef6780c526278d3ffa83f8121e85ce9b/hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h">hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/0eeabdceef6780c526278d3ffa83f8121e85ce9b/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c">hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/fa4c14f164b2e10396bf6b367ca12a4590b191b2/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/5ed13d1706399092176d24af61f51e1b0f2ea9da/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/10f53c83eda4a97dc7a5ed4a23f50f06f7b89ba6/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-684536639


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624585445


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 11:08:52)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r480381782



##########
File path: hw/mcu/nordic/nrf5340/include/mcu/cmsis_nvic.h
##########
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - cmsis_nvic
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ *
+ * CMSIS-style functionality to support dynamic vectors
+ */
+
+#ifndef _CMSIS_NVIC_H_
+#define _CMSIS_NVIC_H_
+
+#include <stdint.h>
+#include <nrf.h>
+
+#define NVIC_NUM_VECTORS      (16 + 39)   /* CORE + MCU Peripherals */

Review comment:
       no idea where I took this from :-) will fix it




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment 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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624652809


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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/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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-680826246


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624647190


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### 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/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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-627319761


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-12 12:45:30)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/7678007dafad03e34d9a23b8469d99e720a38ec2/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-638255638


   
   <!-- license-bot -->
   
   ## RAT Report (2020-06-03 15:01:33)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 42 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/a256e4948a91eee319e95ed943da5e09b2bfc587/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3b8390493c020cc2e68d7f68d96e2ff20637897a/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/dad86ede661da2917a534a76dfe9280bf33f8364/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624647050


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 13:24:14)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r480375712



##########
File path: hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh
##########
@@ -0,0 +1,46 @@
+#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Called with following variables set:
+#  - CORE_PATH is absolute path to @apache-mynewt-core
+#  - BSP_PATH is absolute path to hw/bsp/bsp_name
+#  - BIN_BASENAME is the path to prefix to target binary,
+#    .elf appended to name is the ELF file
+#  - FEATURES holds the target features string
+#  - EXTRA_JTAG_CMD holds extra parameters to pass to jtag software
+#  - RESET set if target should be reset when attaching
+#  - NO_GDB set if we should not start gdb to debug
+#
+
+. $CORE_PATH/hw/scripts/jlink.sh
+
+FILE_NAME=$BIN_BASENAME.elf
+
+if [ $# -gt 2 ]; then
+    SPLIT_ELF_NAME=$3.elf
+    # TODO -- this magic number 0x82000 is the location of the second image

Review comment:
       yeah, it should be 0xc000 but since I don't provide linker script for split anyway I'll just remove that




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-684536639


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624647050


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 13:24:14)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e4131128f740fc4a29a610d1f6983fcee609e177/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654904646


   
   <!-- license-bot -->
   
   ## RAT Report (2020-07-07 14:31:11)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 81 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/8b240f71a714e7220f9669fac0ace5e1e1fa0cbd/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/2bcaa73223a1329c94c1871207fbb33986eb4dfe/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/157a24331cc49b4e10463a0a65689ba3b0217c55/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/e979fe577ecd15af1858dcd374d28996760fcd09/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-654852518


   radio driver https://github.com/apache/mynewt-nimble/pull/841


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc merged pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc merged pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-624585445


   
   <!-- license-bot -->
   
   ## RAT Report (2020-05-06 11:08:52)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   
   ## 36 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/1ef4480784f8a702acf781a28dc5e05cc02e0115/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] sjanc commented on a change in pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#discussion_r480378397



##########
File path: hw/mcu/nordic/nrf5340_net/include/mcu/cmsis_nvic.h
##########
@@ -0,0 +1,28 @@
+/* mbed Microcontroller Library - cmsis_nvic
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ *
+ * CMSIS-style functionality to support dynamic vectors
+ */
+
+#ifndef _CMSIS_NVIC_H_
+#define _CMSIS_NVIC_H_
+
+#include <stdint.h>
+#include <nrf.h>
+
+#define NVIC_NUM_VECTORS      (16 + 20)   /* CORE + MCU Peripherals */

Review comment:
       yeap, miss that there are holes in irqs numbering (20 interrupts) but the largest one is 29




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-680826068


   
   <!-- license-bot -->
   
   ## RAT Report (2020-08-26 11:38:04)
   
   ## New files with unknown licenses
   
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a>
   * <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a>
   * <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a>
   
   ## 85 new files were excluded from check (.rat-excludes)
   
   <details>
     <summary>Detailed analysis</summary>
   
   ## New files in this PR
   
   | License | File |
   |---------|------|
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/boot-nrf5340.ld">hw/bsp/nordic_pca10095/boot-nrf5340.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/bsp.yml">hw/bsp/nordic_pca10095/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh">hw/bsp/nordic_pca10095/nordic_pca10095_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd">hw/bsp/nordic_pca10095/nordic_pca10095_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/nordic_pca10095_download.sh">hw/bsp/nordic_pca10095/nordic_pca10095_download.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/pkg.yml">hw/bsp/nordic_pca10095/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/syscfg.yml">hw/bsp/nordic_pca10095/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/include/bsp/bsp.h">hw/bsp/nordic_pca10095/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/hal_bsp.c">hw/bsp/nordic_pca10095/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/bsp/nordic_pca10095/src/sbrk.c">hw/bsp/nordic_pca10095/src/sbrk.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld">hw/bsp/nordic_pca10095_net/boot-nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/bsp.yml">hw/bsp/nordic_pca10095_net/bsp.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_debug.sh</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.cmd</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_download.sh</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld">hw/bsp/nordic_pca10095_net/nordic_pca10095_net_no_boot.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/nrf5340_net.ld">hw/bsp/nordic_pca10095_net/nrf5340_net.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/pkg.yml">hw/bsp/nordic_pca10095_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/syscfg.yml">hw/bsp/nordic_pca10095_net/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/include/bsp/bsp.h">hw/bsp/nordic_pca10095_net/include/bsp/bsp.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/hal_bsp.c">hw/bsp/nordic_pca10095_net/src/hal_bsp.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/sbrk.c">hw/bsp/nordic_pca10095_net/src/sbrk.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s">hw/bsp/nordic_pca10095_net/src/arch/cortex_m33/gcc_startup_nrf5340_net.s</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/pkg.yml">hw/bus/drivers/i2c_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h">hw/bus/drivers/i2c_nrf5340/include/bus/drivers/i2c_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/740948eef2d80a9367b5cf87fed2f92b7546a63d/hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c">hw/bus/drivers/i2c_nrf5340/src/i2c_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/pkg.yml">hw/drivers/ipc_nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/syscfg.yml">hw/drivers/ipc_nrf5340/syscfg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h">hw/drivers/ipc_nrf5340/include/ipc_nrf5340/ipc_nrf5340.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/bf65b506c40b200bfeee4425c5d917d1c97bd76c/hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c">hw/drivers/ipc_nrf5340/src/ipc_nrf5340.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/pkg.yml">hw/mcu/nordic/nrf5340/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/syscfg.yml">hw/mcu/nordic/nrf5340/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/nrfx_config.h">hw/mcu/nordic/nrf5340/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/mcu.h">hw/mcu/nordic/nrf5340/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h">hw/mcu/nordic/nrf5340/include/mcu/nrf5340_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_flash.c">hw/mcu/nordic/nrf5340/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_gpio.c">hw/mcu/nordic/nrf5340/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_nvreg.c">hw/mcu/nordic/nrf5340/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_os_tick.c">hw/mcu/nordic/nrf5340/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/3aa873503428e20731fd4e16901f6903ed64d78d/hw/mcu/nordic/nrf5340/src/hal_spi.c">hw/mcu/nordic/nrf5340/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system.c">hw/mcu/nordic/nrf5340/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_system_start.c">hw/mcu/nordic/nrf5340/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_timer.c">hw/mcu/nordic/nrf5340/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_uart.c">hw/mcu/nordic/nrf5340/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/hal_watchdog.c">hw/mcu/nordic/nrf5340/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c">hw/mcu/nordic/nrf5340/src/nrf5340_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/d72783a3db7d2497c313755e80aee6f01b1fe52e/hw/mcu/nordic/nrf5340/src/nrf5340_periph.c">hw/mcu/nordic/nrf5340/src/nrf5340_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net.ld</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld">hw/mcu/nordic/nrf5340_net/nrf5340_net_ram_resident.ld</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/pkg.yml">hw/mcu/nordic/nrf5340_net/pkg.yml</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/syscfg.yml">hw/mcu/nordic/nrf5340_net/syscfg.yml</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/nrfx_config.h">hw/mcu/nordic/nrf5340_net/include/nrfx_config.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h">hw/mcu/nordic/nrf5340_net/include/mcu/cortex_m33.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h">hw/mcu/nordic/nrf5340_net/include/mcu/mcu.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_clock.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_hal.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h">hw/mcu/nordic/nrf5340_net/include/mcu/nrf5340_net_periph.h</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_flash.c">hw/mcu/nordic/nrf5340_net/src/hal_flash.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_gpio.c">hw/mcu/nordic/nrf5340_net/src/hal_gpio.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c">hw/mcu/nordic/nrf5340_net/src/hal_nvreg.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c">hw/mcu/nordic/nrf5340_net/src/hal_os_tick.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c">hw/mcu/nordic/nrf5340_net/src/hal_reset_cause.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_spi.c">hw/mcu/nordic/nrf5340_net/src/hal_spi.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system.c">hw/mcu/nordic/nrf5340_net/src/hal_system.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_system_start.c">hw/mcu/nordic/nrf5340_net/src/hal_system_start.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_timer.c">hw/mcu/nordic/nrf5340_net/src/hal_timer.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_uart.c">hw/mcu/nordic/nrf5340_net/src/hal_uart.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c">hw/mcu/nordic/nrf5340_net/src/hal_watchdog.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_clock.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_hw_id.c</a> |
   | AL     | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c">hw/mcu/nordic/nrf5340_net/src/nrf5340_net_periph.c</a> |
   | ?????  | <a href="https://github.com/apache/mynewt-core/blob/6ed171c61f64ddfef471f458497ed590171e2d88/hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c">hw/mcu/nordic/nrf5340_net/src/system_nrf5340_net.c</a> |
   </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:
users@infra.apache.org



[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2282: Add initial support for Nordic nRF5340

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2282:
URL: https://github.com/apache/mynewt-core/pull/2282#issuecomment-680826246


   <!-- style-bot -->
   ## Style check fail: Payload was too large


----------------------------------------------------------------
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:
users@infra.apache.org