prj.conf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Copyright (c) 2020 Project CHIP Authors
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. CONFIG_CHIP=y
  17. CONFIG_STD_CPP17=y
  18. # This sample uses Kconfig.defaults to set options common for all
  19. # samples. This file should contain only options specific for this sample
  20. # or overrides of default values.
  21. # Add support for LEDs and buttons on Nordic development kits
  22. CONFIG_DK_LIBRARY=y
  23. # Configure CHIP shell
  24. CONFIG_CHIP_LIB_SHELL=y
  25. CONFIG_OPENTHREAD_SHELL=y
  26. # Some shell commands require OpenThread FTD configuration
  27. CONFIG_OPENTHREAD_MTD=n
  28. CONFIG_OPENTHREAD_FTD=y
  29. # Additional configs for debbugging experience.
  30. CONFIG_THREAD_NAME=y
  31. CONFIG_MPU_STACK_GUARD=y
  32. # Disable OTA requestor
  33. CONFIG_CHIP_OTA_REQUESTOR=n
  34. # Disable QSPI NOR
  35. CONFIG_CHIP_QSPI_NOR=n
  36. # CHIP configuration
  37. CONFIG_CHIP_PROJECT_CONFIG="CHIPProjectConfig.h"
  38. # 32786 == 0x8012 (example shell-app)
  39. CONFIG_CHIP_DEVICE_PRODUCT_ID=32786
  40. CONFIG_CHIP_NFC_COMMISSIONING=n
  41. # Disable factory data support.
  42. CONFIG_CHIP_FACTORY_DATA=n
  43. CONFIG_CHIP_FACTORY_DATA_BUILD=n