This shell command was tied to bluetooth and the bluetooth shell and also had messages all related to nordic ICs. Make it generic and put it under drivers/flash/ so it can be included by anyone and independently of bluetooth. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
25 lines
385 B
CMake
25 lines
385 B
CMake
zephyr_library()
|
|
zephyr_library_sources(
|
|
bt.c
|
|
)
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_BT_CONN
|
|
gatt.c
|
|
)
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_BT_BREDR
|
|
bredr.c
|
|
)
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL
|
|
l2cap.c
|
|
)
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_BT_RFCOMM
|
|
rfcomm.c
|
|
)
|
|
zephyr_library_sources_ifdef(
|
|
CONFIG_BT_CTLR
|
|
ll.c
|
|
ticker.c
|
|
)
|