syscfg.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. #
  18. syscfg.defs:
  19. BLEPRPH_LE_PHY_SUPPORT:
  20. description: >
  21. Enable support for changing PHY preference on active connection.
  22. PHY preference change is triggered by configured GPIO pins.
  23. Current PHY is indicated using LEDs connected to configured
  24. GPIO pins.
  25. value: 0
  26. BLEPRPH_LE_PHY_BUTTON_GPIO:
  27. description: >
  28. GPIO pins for changing PHY preference on active connection. This
  29. is an array of 4 GPIO pin numbers for 1M, 2M, LE Coded S=2 and
  30. LE Coded S=8 respectively.
  31. value: "(int[]){ BUTTON_1, BUTTON_2, BUTTON_3, BUTTON_4 }"
  32. BLEPRPH_LE_PHY_LED_GPIO:
  33. description: >
  34. GPIO pins for indicating current PHY on active connection. This
  35. is an array of 3 GPIO pin numbers for 1M, 2M and LE Coded
  36. respectively.
  37. value: "(int[]){ LED_1, LED_2, LED_3 }"
  38. syscfg.vals:
  39. # Disable central and observer roles.
  40. BLE_ROLE_BROADCASTER: 1
  41. BLE_ROLE_CENTRAL: 0
  42. BLE_ROLE_OBSERVER: 0
  43. BLE_ROLE_PERIPHERAL: 1
  44. # Log reboot messages to a flash circular buffer.
  45. REBOOT_LOG_FCB: 1
  46. LOG_FCB: 1
  47. CONFIG_FCB: 1
  48. # Enable newtmgr commands.
  49. STATS_NEWTMGR: 1
  50. LOG_NEWTMGR: 1
  51. CONFIG_NEWTMGR: 1
  52. # OS main/default task
  53. OS_MAIN_STACK_SIZE: 468
  54. # Lots of smaller mbufs are required for newtmgr using typical BLE ATT MTU
  55. # values.
  56. MSYS_1_BLOCK_COUNT: 22
  57. MSYS_1_BLOCK_SIZE: 110