Skip to content

Commit

Permalink
Revert "[nrf fromtree] [nrfconnect] Disable selected BLE features and…
Browse files Browse the repository at this point in the history
… RTT (project-chip#24227)"

This reverts commit a1fbffa.
  • Loading branch information
kkasperczyk-no committed Mar 15, 2023
1 parent 9865937 commit f776793
Show file tree
Hide file tree
Showing 25 changed files with 5 additions and 66 deletions.
12 changes: 0 additions & 12 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,6 @@ config BT_BUF_ACL_TX_SIZE
config BT_RX_STACK_SIZE
default 1200

config BT_CTLR_ECDH
bool
default n

config BT_CTLR_LE_ENC
bool
default n

config BT_DEVICE_NAME_GATT_WRITABLE
bool
default n

# Enable NFC support

config CHIP_NFC_COMMISSIONING
Expand Down
3 changes: 0 additions & 3 deletions examples/all-clusters-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable OTA requestor
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
3 changes: 1 addition & 2 deletions examples/all-clusters-app/nrfconnect/prj_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
# reduce application size by disabling including assertions in the output file.
CONFIG_ASSERT_VERBOSE=n
CONFIG_ASSERT_NO_FILE_INFO=y
CONFIG_ASSERT_NO_COND_INFO=y
Expand Down
1 change: 0 additions & 1 deletion examples/all-clusters-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ CONFIG_BT_DEVICE_NAME="AllClusters"
CONFIG_RESET_ON_FATAL_ERROR=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/all-clusters-minimal-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable OTA requestor
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
3 changes: 1 addition & 2 deletions examples/all-clusters-minimal-app/nrfconnect/prj_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
# reduce application size by disabling including assertions in the output file.
CONFIG_ASSERT_VERBOSE=n
CONFIG_ASSERT_NO_FILE_INFO=y
CONFIG_ASSERT_NO_COND_INFO=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ CONFIG_BT_DEVICE_NAME="AllClusters"
CONFIG_RESET_ON_FATAL_ERROR=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/light-switch-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,3 @@ CONFIG_BT_DEVICE_NAME="MatterSwitch"
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/light-switch-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable Matter OTA DFU
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
1 change: 0 additions & 1 deletion examples/light-switch-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_PM_DEVICE=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/lighting-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/lighting-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Stack size settings
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024

Expand Down
1 change: 0 additions & 1 deletion examples/lighting-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/lock-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ CONFIG_BT_DEVICE_NAME="MatterLock"
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/lock-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable Matter OTA DFU
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
1 change: 0 additions & 1 deletion examples/lock-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_PM_DEVICE=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
6 changes: 3 additions & 3 deletions examples/pump-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# limitations under the License.
#

CONFIG_CHIP=y
CONFIG_STD_CPP14=y

# This sample uses Kconfig.defaults to set options common for all
# samples. This file should contain only options specific for this sample
# or overrides of default values.
Expand All @@ -35,6 +38,3 @@ CONFIG_BT_DEVICE_NAME="MatterPump"
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/pump-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable Matter OTA DFU
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
1 change: 0 additions & 1 deletion examples/pump-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_PM_DEVICE=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/pump-controller-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ CONFIG_BT_DEVICE_NAME="MatterPumpCtrl"
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/pump-controller-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable Matter OTA DFU
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
1 change: 0 additions & 1 deletion examples/pump-controller-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_PM_DEVICE=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down
3 changes: 0 additions & 3 deletions examples/window-app/nrfconnect/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024
CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n
3 changes: 0 additions & 3 deletions examples/window-app/nrfconnect/prj_no_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ CONFIG_THREAD_NAME=y
CONFIG_MPU_STACK_GUARD=y
CONFIG_RESET_ON_FATAL_ERROR=n

# Reduce application size
CONFIG_USE_SEGGER_RTT=n

# Disable Matter OTA DFU
CONFIG_CHIP_OTA_REQUESTOR=n

Expand Down
1 change: 0 additions & 1 deletion examples/window-app/nrfconnect/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=1024
CONFIG_PM_DEVICE=y

# Disable all debug features
CONFIG_USE_SEGGER_RTT=n
CONFIG_SHELL=n
CONFIG_OPENTHREAD_SHELL=n
CONFIG_CONSOLE=n
Expand Down

0 comments on commit f776793

Please sign in to comment.