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 19syscfg.defs: 20 BLEPRPH_LE_PHY_SUPPORT: 21 description: > 22 Enable support for changing PHY preference on active connection. 23 PHY preference change is triggered by configured GPIO pins. 24 Current PHY is indicated using LEDs connected to configured 25 GPIO pins. 26 value: 0 27 BLEPRPH_LE_PHY_BUTTON_GPIO: 28 description: > 29 GPIO pins for changing PHY preference on active connection. This 30 is an array of 4 GPIO pin numbers for 1M, 2M, LE Coded S=2 and 31 LE Coded S=8 respectively. 32 value: "(int[]){ BUTTON_1, BUTTON_2, BUTTON_3, BUTTON_4 }" 33 BLEPRPH_LE_PHY_LED_GPIO: 34 description: > 35 GPIO pins for indicating current PHY on active connection. This 36 is an array of 3 GPIO pin numbers for 1M, 2M and LE Coded 37 respectively. 38 value: "(int[]){ LED_1, LED_2, LED_3 }" 39 40syscfg.vals: 41 # Disable central and observer roles. 42 BLE_ROLE_BROADCASTER: 1 43 BLE_ROLE_CENTRAL: 0 44 BLE_ROLE_OBSERVER: 0 45 BLE_ROLE_PERIPHERAL: 1 46 47 # Log reboot messages to a flash circular buffer. 48 REBOOT_LOG_FCB: 1 49 LOG_FCB: 1 50 CONFIG_FCB: 1 51 52 # Enable newtmgr commands. 53 STATS_NEWTMGR: 1 54 LOG_NEWTMGR: 1 55 CONFIG_NEWTMGR: 1 56 57 # OS main/default task 58 OS_MAIN_STACK_SIZE: 468 59 60 # Lots of smaller mbufs are required for newtmgr using typical BLE ATT MTU 61 # values. 62 MSYS_1_BLOCK_COUNT: 22 63 MSYS_1_BLOCK_SIZE: 110 64