syscfg.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. BSP_NRF52:
  20. description: 'Set to indicate that BSP has NRF52'
  21. value: 1
  22. SOFT_PWM:
  23. description: 'Enable soft PWM'
  24. value: 0
  25. ENC_FLASH_DEV:
  26. description: 'Encrypting flash driver over interal flash for testing'
  27. value: 0
  28. UARTBB_0:
  29. description: 'Enable bit-banger UART 0'
  30. value: 0
  31. RAM_RESIDENT:
  32. description: 'Compile app to be loaded to RAM'
  33. value: 0
  34. syscfg.vals:
  35. HAL_SBRK: 0
  36. OS_TICKS_PER_SEC: 1024
  37. OS_MAIN_STACK_SIZE: 8000
  38. MCU_TIMER_POLLER_PRIO: 0
  39. BLE_LL_PRIO: 1
  40. MCU_UART_POLLER_PRIO: 9
  41. # Enable nRF52832 MCU
  42. MCU_TARGET: nRF52832
  43. # Set default pins for peripherals
  44. UART_0_PIN_TX: 6
  45. UART_0_PIN_RX: 8
  46. UART_0_PIN_RTS: 5
  47. UART_0_PIN_CTS: 7
  48. SPI_0_MASTER_PIN_SCK: 23
  49. SPI_0_MASTER_PIN_MOSI: 24
  50. SPI_0_MASTER_PIN_MISO: 25
  51. SPI_0_SLAVE_PIN_SCK: 23
  52. SPI_0_SLAVE_PIN_MOSI: 24
  53. SPI_0_SLAVE_PIN_MISO: 25
  54. SPI_0_SLAVE_PIN_SS: 22
  55. I2C_0_PIN_SCL: 27
  56. I2C_0_PIN_SDA: 26
  57. CONFIG_FCB_FLASH_AREA: FLASH_AREA_NFFS
  58. REBOOT_LOG_FLASH_AREA: FLASH_AREA_REBOOT_LOG
  59. NFFS_FLASH_AREA: FLASH_AREA_NFFS
  60. COREDUMP_FLASH_AREA: FLASH_AREA_IMAGE_1
  61. MCU_DCDC_ENABLED: 1
  62. MCU_LFCLK_SOURCE: LFXO
  63. BOOT_SERIAL_DETECT_PIN: 13 # Button 1
  64. syscfg.vals.BLE_CONTROLLER:
  65. TIMER_0: 0
  66. TIMER_5: 1
  67. OS_CPUTIME_FREQ: 32768
  68. OS_CPUTIME_TIMER_NUM: 5
  69. BLE_LL_RFMGMT_ENABLE_TIME: 1500