# Serial console (REPL) via LPUART1 → /dev/ttyHS1
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y

# GPIO support
CONFIG_GPIO=y

# I2C support
#   arduino_i2c / i2c2 : PB10 (SCL), PB11 (SDA) — Arduino header SDA/SCL
#   i2c4               : PD12 (SCL), PD13 (SDA) — Qwiic connector
CONFIG_I2C=y

# SPI support
#   arduino_spi / spi2 : PB13 (SCK), PB14 (MISO), PB15 (MOSI), PB9 (NSS)
CONFIG_SPI=y

# ADC support
#   adc1 channels 9/10/11/12/2/1 → Arduino pins A0-A5
CONFIG_ADC=y

# Flash and filesystem for MicroPython /flash mount
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FILE_SYSTEM=y
CONFIG_FILE_SYSTEM_LITTLEFS=y

# Stack and heap sizes for MicroPython
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_HEAP_MEM_POOL_SIZE=16384
