List of Preprocessor Build Settings#

This section provides the list of preprocessor macros that can be edited in the build settings and are available with the WiSeConnect™ SDK v3.x with the SiWx91x™ and EFR32™ hosts.

Some macros shown in the preprocessor build settings window are not listed here as you cannot modify it.

Macros are listed in alphabetical order.

Macro Name and Default Value

Valid Values

Description

SL_SI91X_AWS_IOT_ROOT_CA_1

1 to enable, 0 to disable

Enabling or disabling the Intermediate Amazon Root CA 1 certificate.

SL_SI91X_EVENT_HANDLER_STACK_SIZE

User defined value

Stack size of the event handler thread that processes all Wi-Fi and networking callbacks.

SL_SI91X_FAST_FW_UP

1 to enable, 0 to disable

Enabling or disabling fast firmware update. Used to flash firmware image in primary location of NWP.

SL_SI91X_MCU_ALARM_BASED_WAKEUP=1

1 to enable, 0 to disable

Enabling or disabling the alarm-based wake up method. Only used when the Si91x Cortex-M4 Powersave component is enabled.

SL_SI91X_MCU_BUTTON_BASED_WAKEUP=1

1 to enable, 0 to disable

Enabling or disabling the button-based wake up method. Only used when the Si91x Cortex-M4 Powersave component is enabled.

SL_SI91X_MCU_WIRELESS_BASED_WAKEUP=1

1 to enable, 0 to disable

Enabling or disabling the wireless-based wake up method. Only used when the Si91x Cortex-M4 Powersave component is enabled.

SL_SI91X_PRINT_DBG_LOG=1

1 to enable, 0 to disable

Enabling or disabling LOG_PRINT support in Bluetooth Low Energy (BLE) mode and Wi-Fi + BLE mode.

SL_SI91X_REQUIRES_INTF_PLL

1 to enable, 0 to disable

Enabling or disabling the INTF_PLL (Interface PLL) clock for HP peripherals.

SL_SI91X_UART_HFC_ENABLE

1 to enable, 0 to disable

Enabling or disabling hardware flow control in NCP UART. Should only be used when SL_SI91X_UART_HIGH_SPEED_ENABLE is enabled.

SL_SI91X_UART_HIGH_SPEED_ENABLE

1 to enable, 0 to disable

Enabling or disabling the switching of NCP UART to operate on higher baudrate.

SL_SI91X_ULP_STATE_ENABLE

1 to enable, 0 to disable

Enabling or disabling the required configuration for ultra-low power state by trimming the ULP_RC (Ultra-Low Power RC) clock to 20 MHz.

SLI_SI91X_CONFIG_WIFI6_PARAMS=1

1 to enable, 0 to disable

Enabling or disabling the Wi-Fi 6 protocol. Only used when the Wi-Fi component is enabled.

SLI_SI91X_EMBEDDED_MQTT_CLIENT=1

1 to enable, 0 to disable

Enabling or disabling the Message Queue Telemetry Transport (MQTT) client functionality of the SiWx91x chipset. Only used when the MQTT Client component is enabled.

SLI_SI91X_ENABLE_IPV6=1

1 to enable, 0 to disable

Enabling or disabling Internet Protocol version 6 (IPv6) support.

SLI_SI91X_INTERNAL_HTTP_CLIENT=1

1 to enable, 0 to disable

Enabling or disabling the Hyper-Text Transfer Protocol (HTTP) client functionality of the SiWx91x chipset with asynchronous event support. Only used when the HTTP Client component is enabled.

SLI_SI91X_INTERNAL_MDNS

1 to enable, 0 to disable

Enabling or disabling the Multicast Domain Name System (mDNS) functionality of the SiWx91x chipset. Only used when the MDNS component is enabled.

SLI_SI91X_INTERNAL_SNTP_CLIENT=1

1 to enable, 0 to disable

Enabling or disabling the Simple Network Time Protocol (SNTP) client functionality of the SiWx91x chipset. Only used when the SNTP Client component is enabled.

SLI_SI91X_LWIP_HOSTED_NETWORK_STACK=1

1 to enable, 0 to disable

Enabling or disabling the lightweight Internet Protocol (LwIP) network stack on the external microcontroller unit (MCU) host in Network Co-Processor (NCP) mode.

SLI_SI91X_LWIP_NETWORK_STACK=1

1 to enable, 0 to disable

Enabling or disabling the lightweight Internet Protocol (LwIP) network stack on the application processor in System-on-Chip (SoC) mode.

SLI_SI91X_MCU_ENABLE_PSRAM_FEATURE=1

1 to enable, 0 to disable

Enabling or disabling the sleep and wakeup functionality of the Pseudo-Static Random-Access Memory (PSRAM) of the SiWx91x chipset. This option is only available on radio boards that include PSRAM.

SLI_SI91X_MCU_FW_UPGRADE_OTA_DUAL_FLASH=1

1 to enable, 0 to disable

Enabling or disabling the firmware update of the application processor on dual flash radio boards using the OTAF protocol. This option is only available on dual flash boards.

SLI_SI91X_MCU_INTR_BASED_RX_ON_UART=1

1 to enable, 0 to disable

Enabling or disabling the receiving of data over the Universal Asynchronous Receiver-Transmitter (UART) interface using interrupts.

SLI_SI91X_SOCKETS=1

1 to enable, 0 to disable

Enabling or disabling socket programming support. Only used when the Internal Network Stack component is enabled.