30 lines
602 B
Text
30 lines
602 B
Text
# Enabling log has a big impact in power consumption. Only enable it while debugging.
|
|
CONFIG_LOG=y
|
|
CONFIG_PWM=y
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
CONFIG_I2C=y
|
|
CONFIG_ADC=y
|
|
CONFIG_GPIO=y
|
|
|
|
CONFIG_BT=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_DEVICE_NAME="prst"
|
|
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
|
|
|
CONFIG_SERIAL=n
|
|
CONFIG_PM=y
|
|
CONFIG_PM_DEVICE=y
|
|
|
|
CONFIG_USE_SEGGER_RTT=y
|
|
|
|
CONFIG_CONSOLE=n
|
|
|
|
# Otherwise a weird float multiplication error?
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
|
|
|
# Application config.
|
|
|
|
# See all options in Kconfig.
|
|
# CONFIG_PRST_SLEEP_DURATION_SEC=600
|
|
# CONFIG_PRST_BLE_ENCODING_BTHOME_V2=y
|