forked from EmbeddedTeam/app_photomagnetic
Restructure Led as a template on the DT spec, add a generic signal/slot mechanism for host status, and cache Infrared sensor samples via trigger callbacks. Add new init modules for LED, temp, and watchdog, and build them into the main app.
31 lines
661 B
Plaintext
31 lines
661 B
Plaintext
CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
CONFIG_STD_CPP23=y
|
|
CONFIG_CPP=y
|
|
CONFIG_REQUIRES_FULL_LIBCPP=y
|
|
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_HWINFO=y
|
|
|
|
|
|
CONFIG_LED=y
|
|
|
|
# CONFIG_PRINTK=n
|
|
CONFIG_ADC=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_STM32=y
|
|
# SPI 中断模式:传输带 1s 超时,多路高频 SPI 下不会永久挂死(与 ch9438 测试对齐)
|
|
CONFIG_SPI_STM32_INTERRUPT=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_ADC_MCP320X_ACQUISITION_THREAD_STACK_SIZE=2048
|
|
CONFIG_REBOOT=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_PWM=y
|
|
# # Debug logging
|
|
# CONFIG_LOG=y
|
|
# CONFIG_LOG_MODE_IMMEDIATE=y
|
|
# CONFIG_ADC_LOG_LEVEL_DBG=y
|
|
# CONFIG_SENSOR_LOG_LEVEL_DBG=y
|
|
# CONFIG_SPI_LOG_LEVEL_DBG=y
|