Introducing CMake is an important step in a larger effort to make Zephyr easy to use for application developers working on different platforms with different development environment needs. Simplified, this change retains Kconfig as-is, and replaces all Makefiles with CMakeLists.txt. The DSL-like Make language that KBuild offers is replaced by a set of CMake extentions. These extentions have either provided simple one-to-one translations of KBuild features or introduced new concepts that replace KBuild concepts. This is a breaking change for existing test infrastructure and build scripts that are maintained out-of-tree. But for FW itself, no porting should be necessary. For users that just want to continue their work with minimal disruption the following should suffice: Install CMake 3.8.2+ Port any out-of-tree Makefiles to CMake. Learn the absolute minimum about the new command line interface: $ cd samples/hello_world $ mkdir build && cd build $ cmake -DBOARD=nrf52_pca10040 .. $ cd build $ make PR: zephyrproject-rtos#4692 docs: http://docs.zephyrproject.org/getting_started/getting_started.html Signed-off-by: Sebastian Boe <sebastian.boe@nordicsemi.no>
48 lines
1022 B
Plaintext
48 lines
1022 B
Plaintext
CONFIG_INIT_STACKS=y
|
|
CONFIG_MAIN_STACK_SIZE=512
|
|
CONFIG_MICROBIT_DISPLAY=y
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=250
|
|
CONFIG_GPIO=y
|
|
|
|
CONFIG_BT=y
|
|
CONFIG_BT_TINYCRYPT_ECC=y
|
|
CONFIG_BT_RX_STACK_SIZE=1100
|
|
|
|
CONFIG_BT_CTLR_DUP_FILTER_LEN=0
|
|
CONFIG_BT_OBSERVER=y
|
|
CONFIG_BT_BROADCASTER=y
|
|
|
|
CONFIG_BT_CTLR_LE_ENC=n
|
|
CONFIG_BT_CTLR_LE_PING=n
|
|
CONFIG_BT_CTLR_DATA_LENGTH=n
|
|
CONFIG_BT_CTLR_PHY=n
|
|
CONFIG_BT_CTLR_CHAN_SEL_2=n
|
|
CONFIG_BT_CTLR_MIN_USED_CHAN=n
|
|
CONFIG_BT_CTLR_ADV_EXT=n
|
|
CONFIG_BT_CTLR_PRIVACY=n
|
|
|
|
CONFIG_BT_MESH=y
|
|
CONFIG_BT_MESH_RX_SDU_MAX=36
|
|
CONFIG_BT_MESH_R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