| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # OpenPuck Zephyr configuration.
- #
- # The RADIO peripheral is driven bare-metal (reverse-engineered SC2 protocol),
- # so NO Zephyr radio stack may claim it.
- CONFIG_BT=n
- CONFIG_IEEE802154=n
- CONFIG_NRF_802154_RADIO_DRIVER=n
- # C++ (the ported modes/protocol are C++).
- CONFIG_CPP=y
- CONFIG_STD_CPP17=y
- CONFIG_REQUIRES_FULL_LIBCPP=n
- CONFIG_CPP_EXCEPTIONS=n
- CONFIG_CPP_RTTI=n
- # Console/logging over RTT or UART during bring-up (USB CDC console added later).
- CONFIG_LOG=y
- CONFIG_PRINTK=y
- # Core subsystems used by the port.
- CONFIG_GPIO=y
- CONFIG_FLASH=y
- CONFIG_FLASH_MAP=y
- CONFIG_REBOOT=y
- # Persistence: the Arduino tree stored cfg.bin/bonds.bin in the nRF52 internal
- # LittleFS. We keep LittleFS (Zephyr's fs subsystem on the storage partition) so
- # the persistence code ports behind a thin Adafruit_LittleFS shim.
- CONFIG_FILE_SYSTEM=y
- CONFIG_FILE_SYSTEM_LITTLEFS=y
- # Hardware watchdog (replaces the NRF_WDT poke in the Arduino loop()).
- CONFIG_WATCHDOG=y
- # Microsecond timing for the RF poll busy-waits comes from a dedicated 1 MHz
- # nrfx TIMER in the compat layer (the kernel RTC tick is too coarse), so the
- # kernel clock is left at its board default here.
- # Reasonable main stack for the cooperative loop + protocol state.
- CONFIG_MAIN_STACK_SIZE=4096
- CONFIG_HEAP_MEM_POOL_SIZE=2048
|