1.0.12 • Published 4 years ago

nrf-config-diff-cli v1.0.12

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

nrf-config-diff-cli

Installation

npm i -g nrf-config-diff-cli

Usage

  1. Set nRF SDK path to NRF_SDK environment variable
  2. In folder with sdk_config.h file run
nrf-config-diff

It will calculate diff compare to $NRF_SDK/config/nrf52840/config/sdk_config.h and write it to app_config.h file

Example

For blinky_freertos (in $NRF_SDK/examples/peripheral/blinky_freertos/pca10056/blank/config/) it creates file with content:

/* Generated by nrf-config-diff-cli */

#ifndef APP_CONFIG_H__
#define APP_CONFIG_H__

#define GPIOTE_ENABLED 1
#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
#define NRFX_CLOCK_ENABLED 1
#define NRFX_GPIOTE_ENABLED 1
#define NRF_CLOCK_ENABLED 1
#define APP_TIMER_ENABLED 1
#define BUTTON_ENABLED 1

#endif // APP_CONFIG_H__
1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago