Kconfig options

The following table lists all available Kconfig option that can be used by an application.

Autotiler

Name

Type

Description

CNN_FP16

bool

Use SQ8 kernel. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

CNN_NE16

bool

Use NE16 kernel. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

CNN_POW2

bool

Use POW2 kernel. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

CNN_SQ8

bool

Use SQ8 kernel. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

ENABLE_AUTOTILER

bool

Enable AUTOTILER by setting defualt rules for autotiler model compilation and run with the specified options.

MODEL_BUILDDIR

string

Specify the name of the model’s build directory The default name is set to BUILD_MODEL To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_DSP_FLOAT16_TYPE_BFLOAT16

bool

Set DSP Kernels float16 type to BFloat16 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_DSP_FLOAT16_TYPE_IEEE16

bool

Set DSP Kernel float16 type to IEEE16 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_EMUL

bool

Compile and run model in EMUL mode To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLASH_TYPE_DEFAULT

bool

Use default flash type according to the board. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLASH_TYPE_HYPER

bool

Set HyperFlash as model flash type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLASH_TYPE_MRAM

bool

Set MRAM as model flash type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLASH_TYPE_OSPI

bool

Set Octo SPI as model flash type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLASH_TYPE_QSPI

bool

Set Qaad SPI as model flash type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLOAT16_TYPE_BFLOAT16

bool

Set NN Kernel float16 type to BFloat16 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_FLOAT16_TYPE_IEEE16

bool

Set NN Kernel float16 type to IEEE16 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_GEN_EXTRAARGS

string

Specify extra arguments passed to model generation To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_HAS_NO_CONSTANTS

bool

Specify the model has no constants. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_L1_MEMORY

int

Configure L1 Memory available for the Autotiler. It is set by default to 128000 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_L2STATIC_MEMORY

int

Configure L2 Memory available for use for promoting constants for the Autotiler. It is set by default to -1 which means use as much as possible To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_L2_MEMORY

int

Configure L2 Memory available for the Autotiler. It is set by default to 1200000 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_L3STATIC_MEMORY

int

Configure L3 RAM Memory available for use for promoting constants for the Autotiler. It is set by default to -1 which means use as much as possible To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_L3_MEMORY

int

Configure L3 Memory available for the Autotiler. It is set by default to 8000000 To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_LOGLEVEL

int

Configure Autotiler log level. To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_RAM_TYPE_DEFAULT

bool

Use default RAM as model RAM type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_RAM_TYPE_HYPER

bool

Set HyperRAM as model ram type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_RAM_TYPE_OSPI

bool

Set OctoSPI as model ram type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_RAM_TYPE_QSPI

bool

Set QuadSPI as model ram type To be used, this option requires ENABLE_AUTOTILER option to be enabled.

MODEL_REENTRANT_MODE

bool

Generate code for preemptive model execution To be used, this option requires ENABLE_AUTOTILER option to be enabled.

Boards

Name

Type

Description

BOARD_AUDIO_ADDON_NONE

bool

No audio addon board is being selected

BOARD_AUDIO_ADDON_V2_1

bool

Selects the audio addon V2.1 board as part of the hardware setup

BOARD_AUDIO_ADDON_V2_1_OPTION_SSM6515_PCM

bool

Deprecated. Please set CONFIG_AUDIO_ADDON_MODE option to “pcm”

BOARD_AUDIO_ADDON_V2_1_OPTION_SSM6515_PDM

bool

Deprecated. Please set CONFIG_AUDIO_ADDON_MODE option to “pdm”

BOARD_AUDIO_ADDON_V2_2

bool

Selects the audio addon V2.1 board as part of the hardware setup

BOARD_AUDIO_ADDON_V2_2_OPTION_SSM6515_PCM

bool

Deprecated. Please set CONFIG_AUDIO_ADDON_MODE option to “pcm”

BOARD_AUDIO_ADDON_V2_2_OPTION_SSM6515_PDM

bool

Deprecated. Please set CONFIG_AUDIO_ADDON_MODE option to “pdm” for test purpose. It is not a physical board.

BOARD_GAP9AUDIO_IDC747

bool

This options select the idc747 addon board of the Gap9audio.

BOARD_GAP9AUDIO_V1

bool

Selects the Gap9Audio V1 board as hardware setup

BOARD_GAP9AUDIO_V2

bool

Selects the Gap9Audio V2 board as hardware setup

BOARD_GAP9EVK_IDC747

bool

This options select the idc747 addon board of the EVK.

BOARD_GAP9EVK_V1_3

bool

Selects the Gap9EVK V1.3 board as part of the hardware setup

BOARD_GAP9EVK_V1_3_OPTION_PRINTF_UART_0

int

Enable printf uart in device tree on uart 0

BOARD_GAP9EVK_V1_3_OPTION_PRINTF_UART_1

int

Enable printf uart in device tree on uart 1

BOARD_GAP9EVK_V2_0

bool

Selects the Gap9EVK V2.0 board as part of the hardware setup

BOARD_GAP9EVK_V2_0_OPTION_PRINTF_UART_0

int

Enable printf uart in device tree on uart 0

BOARD_GAP9EVK_V2_0_OPTION_PRINTF_UART_1

int

Enable printf uart in device tree on uart 1

BOARD_GAP9MOD_V1_0_B

bool

Selects the GAP9Mod V1.0.b board as part of the hardware setup

BOARD_GAP9_V2_VIRTUAL

bool

Select GAP9 v2 virtual board as hardware setup

Boot

Name

Type

Description

BOOT_DEVICE_JTAG

bool

Boot from JTAG (Not implemented yet for GVSOC)

BOOT_DEVICE_MRAM

bool

Boot from MRAM (On-board 2MB flash memory)

BOOT_NO_FSBL_SSBL

bool

Do not use fsbl and ssbl at boot. /!To speed-up development only Do NOT use in production !

CFLAGS

Name

Type

Description

CFLAGS_ENABLE_DEBUG

bool

This option adds “-g” “-gdwarf-2” and “-gstrict-dwarf” flags to the C flags.

CFLAGS_GLOBAL_OPTIM_LEVEL

string

Select the global optimization level for the whole SDK Available values:

-0s -03 -02 -01 -0g -00

CFLAGS_GLOBAL_OPTIM_LEVEL_O0

bool

Select “-O0” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_GLOBAL_OPTIM_LEVEL_O1

bool

Select “-O1” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_GLOBAL_OPTIM_LEVEL_O2

bool

Select “-O2” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_GLOBAL_OPTIM_LEVEL_O3

bool

Select “-O3” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_GLOBAL_OPTIM_LEVEL_OG

bool

Select “-Og” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_GLOBAL_OPTIM_LEVEL_OS

bool

Select “-Os” as a global optimization level for the whole SDK (Other optimization level can be applied for code sub parts to override the default one)

CFLAGS_MBEDTLS_OPTIM_LEVEL

string

Select the Mbed-TLS library optimization level Available values:

-0s -03 -02 -01 -0g -00

CFLAGS_MBEDTLS_OPTIM_LEVEL_GLOBAL

bool

Optimize the mbed TLS library as the main setting. See CFLAGS_GLOBAL_OPTIM_LEVEL option.

CFLAGS_MBEDTLS_OPTIM_LEVEL_O0

bool

Optimize mbed TLS library to “-O0” level.

CFLAGS_MBEDTLS_OPTIM_LEVEL_O1

bool

Optimize mbed TLS library to “-O1” level.

CFLAGS_MBEDTLS_OPTIM_LEVEL_O2

bool

Optimize mbed TLS library to “-O2” level.

CFLAGS_MBEDTLS_OPTIM_LEVEL_O3

bool

Optimize mbed TLS library to “-O3” level.

CFLAGS_MBEDTLS_OPTIM_LEVEL_OG

bool

Optimize mbed TLS library to “-Og” level.

CFLAGS_MBEDTLS_OPTIM_LEVEL_OS

bool

Optimize mbed TLS library to “-Os” level.

CFLAGS_PRINTF_OPTIM_LEVEL

string

Select the FreeRTOS printf library optimization level Available values:

-0s -03 -02 -01 -0g -00

CFLAGS_PRINTF_OPTIM_LEVEL_GLOBAL

bool

Optimize the FreeRTOS printf library as the main setting. See CFLAGS_GLOBAL_OPTIM_LEVEL option.

CFLAGS_PRINTF_OPTIM_LEVEL_O0

bool

Optimize the FreeRTOS printf library to “-O0” level.

CFLAGS_PRINTF_OPTIM_LEVEL_O1

bool

Optimize the FreeRTOS printf library to “-O1” level.

CFLAGS_PRINTF_OPTIM_LEVEL_O2

bool

Optimize the FreeRTOS printf library to “-O2” level.

CFLAGS_PRINTF_OPTIM_LEVEL_O3

bool

Optimize the FreeRTOS printf library to “-O3” level.

CFLAGS_PRINTF_OPTIM_LEVEL_OG

bool

Optimize the FreeRTOS printf library to “-Og” level.

CFLAGS_PRINTF_OPTIM_LEVEL_OS

bool

Optimize the FreeRTOS printf library to “-Os” level.

ERROR_CFLAGS_GLOBAL_OPTIM_LEVEL

string

Error generated when the global optimization level is set to an invalid value

ERROR_CFLAGS_MBEDTLS_OPTIM_LEVEL

string

Error generated when the mbedtls optimization level is set to an invalid value

ERROR_CFLAGS_PRINTF_OPTIM_LEVEL

string

Error generated when the printf optimization level is set to an invalid value

WARNING_CFLAGS_GLOBAL_OPTIM_LEVEL_DEPRECATION

string

CFLAGS_GLOBAL_OPTIM_LEVEL_Ox deprecation warning Use CFLAGS_GLOBAL_OPTIM_LEVEL set to “-Ox” instead

WARNING_CFLAGS_MBEDTLS_OPTIM_LEVEL_DEPRECATION

string

CFLAGS_MBEDTLS_OPTIM_LEVEL_Ox deprecation warning Use CFLAGS_MBEDTLS_OPTIM_LEVEL set to “-Ox” instead (x=s,3,2,1,0,g)

WARNING_CFLAGS_PRINTF_OPTIM_LEVEL_DEPRECATION

string

CFLAGS_PRINTF_OPTIM_LEVEL_Ox deprecation warning Use CFLAGS_PRINTF_OPTIM_LEVEL set to “-Ox” instead (x=s,3,2,1,0,g)

Drivers

Name

Type

Description

DRIVER_TYPE_FLASH

bool

Enable flash drivers list. If a default driver has been set, it will be automatically selected.

DRIVER_TYPE_RAM

bool

Enable ram drivers list. If a default driver has been set, it will be automatically selected.

24XX1025

Name

Type

Description

DRIVER_24XX1025

bool

Add 24XX1025 driver sources to the compilation process. Automatically enables I2C driver. This option is available only if the hardware setup has such hardware.

ADS1014

Name

Type

Description

DRIVER_ADS1014

bool

Add ADS1014 driver sources to the compilation process. Automatically enables the I2C driver. This option is available only if the board possess such hardware.

APS256XXN

Name

Type

Description

DRIVER_APS256XXN

bool

Add APS256XXN driver sources to the compilation process. Automatically enables UDMA Octospi driver. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_RAM option must be enabled. This option enables the generation of a APS256XXN device per instance on the hardware setup from the device tree, which is accessible from user code.

DRIVER_APS256XXN_BAUDRATE_DEFAULT

bool

Set the APS256XXN baudrate at its default value: The peripheral frequency

DRIVER_APS256XXN_BAUDRATE_USER

bool

Override the default APS256XXN baudrate value

DRIVER_APS256XXN_CONF_PROPERTY_BAUDRATE

int

Manually set the APS256XXN baudrate to override the devicetree’s one

ATXP032

Name

Type

Description

DRIVER_ATXP032

bool

Add ATXP032 driver sources into the compilation process. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_FLASH option must be enabled. Automatically enables the UDAM OctoSPI driver.

BOOTLOADER

Name

Type

Description

DRIVER_BOOTLOADER

bool

Add BOOTLOADER driver sources to the compilation process. Automatically enables OTA and PARTITION APP BIN drivers.

BT

Name

Type

Description

DRIVER_BT_API

bool

Add bluetooth generic API sources to the compilation process.

CAMERA

Name

Type

Description

DRIVER_CAMERA_API

bool

Manually add camera generic API sources to the compilation process. Note: Camera drivers known from the SDK automatically add the API

CLUSTER

Name

Type

Description

DRIVER_CLUSTER

bool

Generate Cluster device instance from devicetree

DRIVER_CLUSTER_CONF_PROPERTY_CC_STACK_SIZE

hex

Cluster controller stack size

DRIVER_CLUSTER_CONF_PROPERTY_FLAGS

int

0: fork-based execution model 1: task-based execution model

DRIVER_CLUSTER_CONF_PROPERTY_ICACHE_CONF

hex

b’0: icache enable b’1: master core icache enable b’2-10: prefetch enable, bit i => core[i]

DRIVER_CLUSTER_CONF_PROPERTY_SCRATCH_SIZE

hex

Size of the L1 reserved for scratch data

CLUSTERDECOMPRESSOR

Name

Type

Description

DRIVER_CLUSTERDECOMPRESSOR

bool

Add Cluster decompressor driver sources to the compilation process. It automatically enables the Cluster Team driver.

CLUSTERTEAM

Name

Type

Description

DRIVER_CLUSTERTEAM

bool

Add Cluster team driver sources to the compilation process.

CLUSTERUART

Name

Type

Description

DRIVER_CLUSTERUART

bool

Add Cluster uart driver sources to the compilation process.

CRC32

Name

Type

Description

DRIVER_CRC32

bool

Add CRC32 driver sources to the compilation process.

DA16200

Name

Type

Description

DRIVER_DA16200

bool

Add NINA W10 driver sources to the compilation process. Automatically enables SPIM and UDMA UART drivers. This option is available only if the hardware setup has such hardware. This option enables the generation of a DA16200 device per instance on the selected board from the device tree, which is accessible from user code.

DRIVER_DA16200_BAUDRATE_115200

bool

Configure DA16200 baudrate to 115200 bauds (default value)

DRIVER_DA16200_BAUDRATE_19200

bool

Configure DA16200 baudrate to 19200 bauds

DRIVER_DA16200_BAUDRATE_230400

bool

Configure DA16200 baudrate to 230400 bauds

DRIVER_DA16200_BAUDRATE_38400

bool

Configure DA16200 baudrate to 38400 bauds

DRIVER_DA16200_BAUDRATE_460800

bool

Configure DA16200 baudrate to 460800 bauds

DRIVER_DA16200_BAUDRATE_57600

bool

Configure DA16200 baudrate to 57600 bauds

DRIVER_DA16200_BAUDRATE_921600

bool

Configure DA16200 baudrate to 921600 bauds

DRIVER_DA16200_BAUDRATE_9600

bool

Configure DA16200 baudrate to 9600 bauds

DRIVER_DA16200_DEBUG

bool

Debug mode for DA16200 driver

DRIVER_DA16200_FLOW_CONTROL

bool

Enable DA16200 Flow control

DRIVER_DA16200_PARITY_BIT_EVEN

bool

Configure DA16200 parity bit to EVEN

DRIVER_DA16200_PARITY_BIT_NONE

bool

Disable DA16200 parity (default)

DRIVER_DA16200_PARITY_BIT_ODD

bool

Configure DA16200 parity bit to ODD

DRIVER_DA16200_STOP_BIT_0

bool

Configure DA16200 stop bit number to 0

DRIVER_DA16200_STOP_BIT_1

bool

Configure DA16200 stop bit number to 1 (default)

DAC

Name

Type

Description

DRIVER_DAC_API

bool

Add DAC generic API sources to the compilation process.

DISPLAY

Name

Type

Description

DRIVER_DISPLAY_API

bool

Add display generic API sources to the compilation process.

DMACPY

Name

Type

Description

DRIVER_DMACPY

bool

Add DMA Copy driver sources to the compilation process.

EEPROM

Name

Type

Description

DRIVER_EEPROM_API

bool

Add eeprom generic API sources to the compilation process.

EFUSE

Name

Type

Description

DRIVER_EFUSE

bool

Add Efuse driver sources to the compilation process.

EPEAS

Name

Type

Description

DRIVER_EPEAS_CIS001

bool

Add CIS001 driver sources to the compilation process. This option is available only if the board possess such hardware.

FFC

Name

Type

Description

DRIVER_FFC

bool

Fixed point / Floating point converter driver

FLASH

Name

Type

Description

DRIVER_FLASH_API

bool

Add flash generic API sources to the compilation process.

FXL6408

Name

Type

Description

DRIVER_FXL6408

bool

Add FXL6408 driver sources to the compilation process. Automatically enables I2C driver. This option is available only if the hardware setup has such hardware. This option enables the generation of a FXL6408 device from the device tree, which is accessible from user code.

GC038

Name

Type

Description

DRIVER_GC038

bool

Add GC038 driver sources to the compilation process. Automatically enables the I2C and UDMACPI driver. This option is available only if the board possess such hardware.

GD25LQ

Name

Type

Description

DRIVER_GD25LQ

bool

Use the Gigadevice GD25LQ Spiflash

DRIVER_GD25LQ_LOG

bool

Enable GD25LQ logs. Their level can be tune using PI_LOG_LEVEL_xx options.

HIMAX

Name

Type

Description

DRIVER_HIMAX

bool

Add HIMAX driver sources to the compilation process. Automatically enables the I2C and UDMACPI driver. This option is available only if the board possess such hardware.

HM0360

Name

Type

Description

DRIVER_HM0360

bool

Add HM0360 driver sources to the compilation process. Automatically enables the I2C UDMACSI2 and UDMACPI driver. This option is available only if the board possess such hardware.

DRIVER_HM0360_CSI2_PATTERN_TEST

bool

configure the camera with a specific pattern

DRIVER_HM0360_DATA_BUS_CPI

bool

Configure the HM0360 data bus over CPI (parallel) interface

DRIVER_HM0360_DATA_BUS_CSI2

bool

Configure the HM0360 data bus over CSI2 (MIPI) interface

DRIVER_HM0360_FORMAT_QVGA

bool

Configure the HM0360 image format to QVGA

DRIVER_HM0360_FORMAT_VGA

bool

Configure the HM0360 image format to VGA

DRIVER_HM0360_LOG

bool

This option enable logs related to HM0360 driver

DRIVER_HM0360_MASTER_CLOCK_12_KHZ

bool

Configure the HM0360 Master Clock at 12 MhZ (external clock)

DRIVER_HM0360_MASTER_CLOCK_24_KHZ

bool

Configure the HM0360 Master Clock at 24 MhZ (internal clock)

HOSTFS

Name

Type

Description

DRIVER_HOSTFS

bool

Add Host FS driver sources into the compilation process.

HYPERFLASH

Name

Type

Description

DRIVER_HYPERFLASH

bool

Add Hyperflash driver sources into the compilation process. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_FLASH option must be enabled. Automatically enables the UDMA Hyperbus driver. This option enables the generation of an Hyperflash device per instance on the hardware setup from the device tree, which is accessible from user code.

DRIVER_HYPERFLASH_BAUDRATE_DEFAULT

bool

Set the HYPERFLASH baudrate at its default value: The peripheral frequency

DRIVER_HYPERFLASH_BAUDRATE_USER

bool

Override the default HYPERFLASH baudrate value

DRIVER_HYPERFLASH_CONF_PROPERTY_BAUDRATE

int

Set the Hyperflash baudrate value to override the devicetree’s one

HYPERRAM

Name

Type

Description

DRIVER_HYPERRAM

bool

Add Hyperram driver sources to the compilation process. Automatically enables UDMA Hyperbus driver. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_RAM option must be enabled. This option enables the generation of a Hyperram device per instance on the hardware setup from the device tree, which is accessible from user code.

DRIVER_HYPERRAM_BAUDRATE_DEFAULT

bool

Set the HYPERRAM baudrate at its default value: The peripheral frequency

DRIVER_HYPERRAM_BAUDRATE_USER

bool

Override the default HYPERRAM baudrate value

DRIVER_HYPERRAM_CONF_PROPERTY_BAUDRATE

int

Manually set the HYPERRAM baudrate to override the devicetree’s one

I2C

Name

Type

Description

DRIVER_I2C

bool

Add I2C driver sources to the compilation process.

I2S

Name

Type

Description

DRIVER_I2S

bool

Add I2S driver sources to the compilation process. It automatically enables the memslab driver.

I2S0

Name

Type

Description

DRIVER_I2S0

bool

Generate I2S0 peripheral instances in devicetree and add the I2S driver to the compilation process.

DRIVER_I2S0_CONF_PROPERTY_CHANNELS

int

Number of words per frame.

DRIVER_I2S0_CONF_PROPERTY_FRAME_CLK_FREQ

int

Frame clock (WS) frequency, this is sampling rate.

DRIVER_I2S0_CONF_PROPERTY_MEM_WORD_SIZE

int

Number of bits representing one data word in memory. If it is -1, this is equal to word_size.

DRIVER_I2S0_CONF_PROPERTY_MODE

int

Select the peripheral mode. 0: Standard 2-channel I2S mode and TDM mode. 1: Pulse density modulation

DRIVER_I2S0_CONF_PROPERTY_OPTIONS

hex

bit0 : Buffer mode (0: PingPong / 1: Mem Slab) bit1 : Full Duplex mode (0: Disabled / 1: Enabled) bit2 : Channel Status (0: Disabled / 1: Enabled) bit3 : Loopback (0: Disabled / 1: Enabled) bit4 : Direction (0: TX / 1: RX) bit5 : Unused bit6 : Clock Source (0: Internal / 1: External) bit7 : WS Source (0: Internal / 1: External) bit8 : Clock internally routed (0: Disabled / 1: Enabled) bit9 : WS internally routed (0: Disabled / 1: Enabled) bit10: Clock polarity (0: Rising edge / 1: Falling edge) bit11: WS polarity (0: Rising edge / 1: Falling edge) bit12: Use ref fast clock (0: Disabled / 1: Enabled)

DRIVER_I2S0_CONF_PROPERTY_PDM_DIFF

int

In PDM Output mode only: set differential mode on pairs bit0: (SDI,WS) bit1: (SDO,SCK)

DRIVER_I2S0_CONF_PROPERTY_PDM_DIRECTION

hex

Only 2b’ LSB are used, for choosing the mode of the pin SDI and the pin SDO: - SDI - b0: 0-TX, 1-RX - SDO - b1: 0-TX, 1-RX In GAP9, if both are configured as 0, the ouput data will be on the SDO. GAP9 uses term pdm_polarity, which is still kept at HAL level for consistency with the HW registers.

DRIVER_I2S0_CONF_PROPERTY_SLOT_WIDTH

int

Bit width of a TDM slot

DRIVER_I2S0_CONF_PROPERTY_WS_DELAY

int

Sets the distance (in bits) in i2s cycles from the WS rising edge to the first bit of the frame.

DRIVER_I2S0_CONF_PROPERTY_WS_TYPE

int

Specifies the form of the WS: 0: WS pulse is one bit wide, 1 during first slot, first bit 1: WS pulse is one slot wide, 1 during first slot 2: WS pulse is half-frame wide, 1 during first half

I2S1

Name

Type

Description

DRIVER_I2S1

bool

Generate I2S1 peripheral instances in devicetree and add the I2S driver to the compilation process.

DRIVER_I2S1_CONF_PROPERTY_CHANNELS

int

Number of words per frame.

DRIVER_I2S1_CONF_PROPERTY_FRAME_CLK_FREQ

int

Frame clock (WS) frequency, this is sampling rate.

DRIVER_I2S1_CONF_PROPERTY_MEM_WORD_SIZE

int

Number of bits representing one data word in memory. If it is -1, this is equal to word_size.

DRIVER_I2S1_CONF_PROPERTY_MODE

int

Select the peripheral mode. 0: Standard 2-channel I2S mode and TDM mode. 1: Pulse density modulation

DRIVER_I2S1_CONF_PROPERTY_OPTIONS

hex

bit0 : Buffer mode (0: PingPong / 1: Mem Slab) bit1 : Full Duplex mode (0: Disabled / 1: Enabled) bit2 : Channel Status (0: Disabled / 1: Enabled) bit3 : Loopback (0: Disabled / 1: Enabled) bit4 : Direction (0: TX / 1: RX) bit5 : Unused bit6 : Clock Source (0: Internal / 1: External) bit7 : WS Source (0: Internal / 1: External) bit8 : Clock internally routed (0: Disabled / 1: Enabled) bit9 : WS internally routed (0: Disabled / 1: Enabled) bit10: Clock polarity (0: Rising edge / 1: Falling edge) bit11: WS polarity (0: Rising edge / 1: Falling edge) bit12: Use ref fast clock (0: Disabled / 1: Enabled)

DRIVER_I2S1_CONF_PROPERTY_PDM_DIFF

int

In PDM Output mode only: set differential mode on pairs bit0: (SDI,WS) bit1: (SDO,SCK)

DRIVER_I2S1_CONF_PROPERTY_PDM_DIRECTION

hex

Only 2b’ LSB are used, for choosing the mode of the pin SDI and the pin SDO: - SDI - b0: 0-TX, 1-RX - SDO - b1: 0-TX, 1-RX In GAP9, if both are configured as 0, the ouput data will be on the SDO. GAP9 uses term pdm_polarity, which is still kept at HAL level for consistency with the HW registers.

DRIVER_I2S1_CONF_PROPERTY_SLOT_WIDTH

int

Bit width of a TDM slot

DRIVER_I2S1_CONF_PROPERTY_WS_DELAY

int

Sets the distance (in bits) in i2s cycles from the WS rising edge to the first bit of the frame.

DRIVER_I2S1_CONF_PROPERTY_WS_TYPE

int

Specifies the form of the WS: 0: WS pulse is one bit wide, 1 during first slot, first bit 1: WS pulse is one slot wide, 1 during first slot 2: WS pulse is half-frame wide, 1 during first half

I2S2

Name

Type

Description

DRIVER_I2S2

bool

Generate I2S2 peripheral instances in devicetree and add the I2S driver to the compilation process.

DRIVER_I2S2_CONF_PROPERTY_CHANNELS

int

Number of words per frame.

DRIVER_I2S2_CONF_PROPERTY_FRAME_CLK_FREQ

int

Frame clock (WS) frequency, this is sampling rate.

DRIVER_I2S2_CONF_PROPERTY_MEM_WORD_SIZE

int

Number of bits representing one data word in memory. If it is -1, this is equal to word_size.

DRIVER_I2S2_CONF_PROPERTY_MODE

int

Select the peripheral mode. 0: Standard 2-channel I2S mode and TDM mode. 1: Pulse density modulation

DRIVER_I2S2_CONF_PROPERTY_OPTIONS

hex

bit0 : Buffer mode (0: PingPong / 1: Mem Slab) bit1 : Full Duplex mode (0: Disabled / 1: Enabled) bit2 : Channel Status (0: Disabled / 1: Enabled) bit3 : Loopback (0: Disabled / 1: Enabled) bit4 : Direction (0: TX / 1: RX) bit5 : Unused bit6 : Clock Source (0: Internal / 1: External) bit7 : WS Source (0: Internal / 1: External) bit8 : Clock internally routed (0: Disabled / 1: Enabled) bit9 : WS internally routed (0: Disabled / 1: Enabled) bit10: Clock polarity (0: Rising edge / 1: Falling edge) bit11: WS polarity (0: Rising edge / 1: Falling edge) bit12: Use ref fast clock (0: Disabled / 1: Enabled)

DRIVER_I2S2_CONF_PROPERTY_PDM_DIFF

int

In PDM Output mode only: set differential mode on pairs bit0: (SDI,WS) bit1: (SDO,SCK)

DRIVER_I2S2_CONF_PROPERTY_PDM_DIRECTION

hex

Only 2b’ LSB are used, for choosing the mode of the pin SDI and the pin SDO: - SDI - b0: 0-TX, 1-RX - SDO - b1: 0-TX, 1-RX In GAP9, if both are configured as 0, the ouput data will be on the SDO. GAP9 uses term pdm_polarity, which is still kept at HAL level for consistency with the HW registers.

DRIVER_I2S2_CONF_PROPERTY_SLOT_WIDTH

int

Bit width of a TDM slot

DRIVER_I2S2_CONF_PROPERTY_WS_DELAY

int

Sets the distance (in bits) in i2s cycles from the WS rising edge to the first bit of the frame.

DRIVER_I2S2_CONF_PROPERTY_WS_TYPE

int

Specifies the form of the WS: 0: WS pulse is one bit wide, 1 during first slot, first bit 1: WS pulse is one slot wide, 1 during first slot 2: WS pulse is half-frame wide, 1 during first half

I3C

Name

Type

Description

DRIVER_I3C

bool

Add I3C driver sources to the compilation process.

IDC747

Name

Type

Description

DRIVER_IDC747

bool

Add IDC747 driver sources to the compilation process. Automatically enable UART and I2S drivers. This option is available only if the hardware setup has such hardware. This option enables the generation of an IDC747 device per instance on the selected board from the device tree, which is accessible from user code.

DRIVER_IDC747_CONF_PROPERTY_I2S_FREQUENCY

int

Configure the IDC747 sampling frequency

DRIVER_IDC747_LOGS

bool

Enable log print in IDC747 Driver

ILI9341

Name

Type

Description

DRIVER_ILI9341

bool

Add ILI9341 driver sources to the compilation process. Automatically enables SPIM driver. This option is available only if the hardware setup has such hardware. This option enables the generation of an ILI9341 device per instance on the hardware setup from the device tree, which is accessible from user code.

L2MALLOC

Name

Type

Description

DRIVER_L2MALLOC

bool

Memory allocation in L2 memory

LITTLEFS

Name

Type

Description

DRIVER_LITTLEFS

bool

Add Little FS driver sources into the compilation process. Automatically enables the PARTITION driver.

LP402035

Name

Type

Description

DRIVER_LP402035

bool

Enable devicetree features about LP402035 device.

LZ4

Name

Type

Description

DRIVER_LZ4

bool

Enables LZ4 Decoder library. Add related sources to the compilation process.

M24C02

Name

Type

Description

DRIVER_M24C02

bool

Add 24XX1025 driver sources to the compilation process. Automatically enables I2C driver. This option is available only if the hardware setup has such hardware.

MD5

Name

Type

Description

DRIVER_MD5

bool

Add CRC MD5 driver sources to the compilation process.

MEMSLAB

Name

Type

Description

DRIVER_MEMSLAB

bool

Memory slab allocator

MIC

Name

Type

Description

DRIVER_MIC_API

bool

Add Mic generic API sources to the compilation process.

MRAM

Name

Type

Description

DRIVER_MRAM

bool

Add MRAM driver sources to the compilation process. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_FLASH option must be enabled. This option enables the generation of an MRAM device per instance on the hardware setup from the device tree, which is accessible from user code.

DRIVER_MRAM_BAUDRATE_DEFAULT

bool

Set the MRAM baudrate at its default value: The peripheral frequency

DRIVER_MRAM_BAUDRATE_USER

bool

Override the default MRAM baudrate value

DRIVER_MRAM_CONF_PROPERTY_BAUDRATE

int

Manually set the MRAM baudrate to override the devicetree’s one.

MT25Q

Name

Type

Description

DRIVER_MT25Q

bool

Use the Micron MT25Q Spiflash

MT9V034

Name

Type

Description

DRIVER_MT9V034

bool

Add MT9V034 driver sources to the compilation process. Automatically enables the I2C and UDMACPI driver. This option is available only if the board possess such hardware.

MX25U51245G

Name

Type

Description

DRIVER_MX25U51245G

bool

Add MX25U51245G driver sources to the compilation process. Automatically enables UDMA Octospi driver. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_FLASH option must be enabled. This option enables the generation of an MX25U51245G device per instance on the hardware setup from the device tree, which is accessible from user code.

DRIVER_MX25U51245G_BAUDRATE_DEFAULT

bool

Set the MX25U51245G baudrate at its default value: The peripheral frequency

DRIVER_MX25U51245G_BAUDRATE_USER

bool

Override the default MX25U51245G baudrate value

DRIVER_MX25U51245G_CONF_PROPERTY_BAUDRATE

int

Manually set the MX25U51245G baudrate to override the devicetree’s one.

DRIVER_MX25U51245G_FLASH_SIZE

int

Sets the flash size to be used for mx25. Affects gapy for flash image generation.

NINAB112

Name

Type

Description

DRIVER_NINAB112

bool

Add NINAB112 driver sources to the compilation. Automatically enables UDMA UART driver. This option is available only if the board possess such hardware.

NINAB312

Name

Type

Description

DRIVER_NINAB312

bool

Add NINAB312 driver sources to the compilation. Automatically enables UDMA UART driver. This option is available only if the board possess such hardware.

DRIVER_NINAB312_DEBUG

bool

Enable the debug mode of the NINAB312 driver. It adds some prints.

NINAW10

Name

Type

Description

DRIVER_NINAW10

bool

Add NINA W10 driver sources to the compilation process. Automatically enables SPIM driver. This option is available only if the hardware setup has such hardware.

OTA

Name

Type

Description

DRIVER_OTA

bool

Add OTA driver sources to the compilation process. Automatically enables Partition driver.

OV5640

Name

Type

Description

DRIVER_OV5640

bool

Add OV5640 driver sources to the compilation process. Automatically enables the I2C and UDMACPI driver. This option is available only if the board possess such hardware.

OV5647

Name

Type

Description

DRIVER_OV5647

bool

Add OV5647 driver sources to the compilation process. Automatically enables I2C, I3C and UDMACSI2 drivers. This option is available only if the board possess such hardware.

DRIVER_OV5647_BUS_I2C

bool

Use I2C driver to drive OV5647 camera

DRIVER_OV5647_BUS_I3C

bool

Use I3C driver to drive OV5647 camera

DRIVER_OV5647_DEV_MODE

bool

This function enables advanced option about this driver

DRIVER_OV5647_FORMAT_HD1080

bool

Configure the OV5647 image format to 1920 * 1080

DRIVER_OV5647_FORMAT_QVGA

bool

Configure the OV5647 image format to QVGA

DRIVER_OV5647_FORMAT_VGA

bool

Configure the OV5647 image format to VGA

DRIVER_OV5647_FPS_15

bool

Configure the OV5647 frame per second to 15

DRIVER_OV5647_FPS_30

bool

Configure the OV5647 frame per second to 30

DRIVER_OV5647_FPS_45

bool

Configure the OV5647 frame per second to 45

DRIVER_OV5647_LOG

bool

This option enable logs related to OV5647 driver

OV7670

Name

Type

Description

DRIVER_OV7670

bool

Add OV7670 driver sources to the compilation process. Automatically enables I2C and UDMACSI2 drivers. This option is available only if the board possess such hardware.

OV9281

Name

Type

Description

DRIVER_OV9281

bool

Add OV9281 driver sources to the compilation process. Automatically enables the UDMACSI2 driver. This option is available only if the board possess such hardware.

DRIVER_OV9281_BUS_I2C

bool

Use I2C driver to drive OV9281 camera

DRIVER_OV9281_BUS_I3C

bool

Use I3C driver to drive OV9281 camera

DRIVER_OV9281_DEV_MODE

bool

This function enables advanced option about this driver

DRIVER_OV9281_FORMAT_QVGA

bool

Configure the OV9281 image format to QVGA

DRIVER_OV9281_FORMAT_QWXGA

bool

Configure the OV9281 image format to QWXGA

DRIVER_OV9281_FORMAT_VGA

bool

Configure the OV9281 image format to VGA

DRIVER_OV9281_FORMAT_WXGA

bool

Configure the OV9281 image format to WXVGA

DRIVER_OV9281_LOG

bool

This option enable logs related to OV9281 driver

OV9750

Name

Type

Description

DRIVER_OV9750

bool

Add OV9281 driver sources to the compilation process. Automatically enables UDMACSI2, I2C and I3C drivers. This option is available only if the board possess such hardware.

PIXART

Name

Type

Description

DRIVER_PIXART

bool

Add PIXART driver sources to the compilation process. Automatically enables SPIM, PWM and CPI drivers. This option is available only if the board possess such hardware.

POWERSUPPLY

Name

Type

Description

DRIVER_POWERSUPPLY_API

bool

Add Powersupply generic API sources to the compilation process.

PWM

Name

Type

Description

DRIVER_PWM

bool

Add PWM driver sources to the compilation process.

Partition

Name

Type

Description

DRIVER_FLASH_PARTITION

bool

Add Flash Partition V1 driver sources to the compilation process.

DRIVER_FLASH_PARTITION_ENABLE

bool

Enables Flash Partition driver.

DRIVER_FLASH_PARTITION_V2

bool

Add Flash Partition V2 driver sources to the compilation process. Automatically enables Partition, Flash and MRAM drivers.

DRIVER_FLASH_PARTITION_V2_DISABLE_AUTO_REGISTRY

bool

Disable the automatic register of memory devices (WARNING: do not use unless you know what you are doing) This option requires DRIVER_FLASH_PARTITION_V2 option to be enabled to be used.

DRIVER_PARTITION

bool

Add Partition driver sources to the compilation process.

DRIVER_PARTITION_APP_BIN

bool

Add Partition app bin (“app binary” gapy template partitions support) driver sources to the compilation process. Automatically enables Flash and LZ4 drivers.

DRIVER_PARTITION_APP_BOOT

bool

Add Partition boot utilities (watchdog arm/disarm etc). Automatically enables Flash driver.

DRIVER_PARTITION_APP_ELF

bool

Add Partition app elf (“rom” gapy template partitions support) driver sources to the compilation process. Automatically enables Flash driver.

QUIDDIKEY

Name

Type

Description

DRIVER_QUIDDIKEY

bool

Add Quiddikey driver sources to the compilation process.

RAM

Name

Type

Description

DRIVER_RAM_API

bool

Add RAM generic API sources to the compilation process.

READFS

Name

Type

Description

DRIVER_READFS

bool

Add Read FS driver sources into the compilation process. Automatically enables the PARTITION driver.

RTC

Name

Type

Description

DRIVER_RTC

bool

Add RTC driver sources to the compilation process. Automatically select the Slow Ref clock as GAP9 clock source.

SFU

Name

Type

Description

DRIVER_SFU

bool

Enables the SFU

DRIVER_SFU_GRAPH_DEBUG

bool

Include SFU node name strings in generated SFU C files. On GVSoC platform this will cause dumping of all internal SFU signals to files named as <node_name>.<port>.

DRIVER_SFU_OPTION_AUDIO_SW_QUEUES

bool

Continuously receive data from MEM_IN or continuously transfer data to MEM_OUT port. This option requires DRIVER_SFU option to be enabled to be used.

DRIVER_SFU_OPTION_CMD_QUEUE

bool

Enqueue ansynchronously several SFU commands which are then treated one by one by the driver. This option requires DRIVER_SFU option to be enabled to be used.

DRIVER_SFU_OPTION_DEBUG

bool

Allocate debug structures.

DRIVER_SFU_OPTION_DOUBLE_CHECK

bool

Additional runtime checks.

DRIVER_SFU_OPTION_MALLOC_STRESS

bool

Add memset after allocations.

DRIVER_SFU_RUNTIME_LEGACY

bool

Enables legacy SFU runtime.

DRIVER_SFU_RUNTIME_V2

bool

Enable SFU runtime v2.

SPIFLASH

Name

Type

Description

DRIVER_SPIFLASH

bool

Add Spiflash driver sources into the compilation process. This option is available only if the hardware setup has such hardware. For this option to be used, the DRIVER_TYPE_FLASH option must be enabled. Automatically enables the SPIM driver.

SPIM

Name

Type

Description

DRIVER_SPIM

bool

Add SPIM driver sources to the compilation process.

SPIRAM

Name

Type

Description

DRIVER_SPIRAM

bool

Add SPIRam driver sources to the compilation process.

Automatically enables SPIM driver. This option is available only if the hardware setup has such hardware.

SSM6515

Name

Type

Description

DRIVER_SSM6515

bool

Add SSM6515 driver sources to the compilation process. Automatically enables I2C and I2S drivers. This option is available only if the hardware setup has such hardware. This option enables the generation of an SSM6515 device per instance on the selected board from the device tree, which is accessible from user code.

STC3117IJT

Name

Type

Description

DRIVER_STC3117IJT

bool

Add STC3117IJT driver sources to the compilation process. Automatically enables I2C driver. This option is available only if the hardware setup has such hardware. This option enables the generation of an STC3117IJT device per instance on the selected board from the device tree, which is accessible from user code.

T3902

Name

Type

Description

DRIVER_T3902

bool

This option is available only if the hardware setup has such hardware. This option enables the generation of T3902 properties from the device tree, which are accessible from user code.

THERMEYE

Name

Type

Description

DRIVER_THERMEYE

bool

Add PIXART driver sources to the compilation process. Automatically enables I2C, PWM and CPI drivers. This option is available only if the board possess such hardware.

TLV320

Name

Type

Description

DRIVER_TLV320

bool

Add TLV320 driver sources to the compilation process. Automatically enables I2C and I2S driver. This option is available only if the board possess such hardware.

DRIVER_TLV320_OPTION_LOG

bool

Enable TLV320 logs. Their level can be tune using PI_LOG_LEVEL_xx options.

UART0

Name

Type

Description

DRIVER_UART0

bool

Add UDMA UART driver sources to the compilation process and enable the devicetree UART0 definition to be outputed to user code. UART0

DRIVER_UART0_BAUDRATE_1152000_CHOICE

bool

Configure UART0’s baudrate to 1152000

DRIVER_UART0_BAUDRATE_115200_CHOICE

bool

Configure UART0’s baudrate to 115200

DRIVER_UART0_BAUDRATE_19200_CHOICE

bool

Configure UART0’s baudrate to 19200

DRIVER_UART0_BAUDRATE_230400_CHOICE

bool

Configure UART0’s baudrate to 230400

DRIVER_UART0_BAUDRATE_38400_CHOICE

bool

Configure UART0’s baudrate to 38400

DRIVER_UART0_BAUDRATE_460800_CHOICE

bool

Configure UART0’s baudrate to 460800

DRIVER_UART0_BAUDRATE_57600_CHOICE

bool

Configure UART0’s baudrate to 57600

DRIVER_UART0_BAUDRATE_921600_CHOICE

bool

Configure UART0’s baudrate to 921600

DRIVER_UART0_BAUDRATE_9600_CHOICE

bool

Configure UART0’s baudrate to 9600

DRIVER_UART0_BAUDRATE_CUSTOM_CHOICE

bool

Configure UART0’s baudrate to a custom value

DRIVER_UART0_BAUDRATE_CUSTOM_VALUE

int

Specify a custom baudrate value for UART0 peripheral

DRIVER_UART0_CLKSRC_FLL_CHOICE

bool

Set FLL as UART0 clock source

DRIVER_UART0_CLKSRC_REF_FAST_CHOICE

bool

Set Ref Fast Clock as UART0 clock source

DRIVER_UART0_CONTROL_FLOW_DISABLE_CHOICE

bool

Disable UART0 Control Flow

DRIVER_UART0_CONTROL_FLOW_ENABLE_CHOICE

bool

Enable UART0 Control Flow

DRIVER_UART0_PAD_CTS_34_CHOICE

bool

Use pad 34 as UART0 CTS.

DRIVER_UART0_PAD_CTS_35_CHOICE

bool

Use pad 35 as UART0 CTS.

DRIVER_UART0_PAD_CTS_40_CHOICE

bool

Use pad 40 as UART0 CTS.

DRIVER_UART0_PAD_CTS_41_CHOICE

bool

Use pad 41 as UART0 CTS.

DRIVER_UART0_PAD_CTS_42_CHOICE

bool

Use pad 42 as UART0 CTS.

DRIVER_UART0_PAD_CTS_43_CHOICE

bool

Use pad 43 as UART0 CTS.

DRIVER_UART0_PAD_CTS_44_CHOICE

bool

Use pad 44 as UART0 CTS.

DRIVER_UART0_PAD_CTS_45_CHOICE

bool

Use pad 45 as UART0 CTS.

DRIVER_UART0_PAD_CTS_60_CHOICE

bool

Use pad 60 as UART0 CTS.

DRIVER_UART0_PAD_CTS_61_CHOICE

bool

Use pad 61 as UART0 CTS.

DRIVER_UART0_PAD_CTS_62_CHOICE

bool

Use pad 62 as UART0 CTS.

DRIVER_UART0_PAD_CTS_63_CHOICE

bool

Use pad 63 as UART0 CTS.

DRIVER_UART0_PAD_CTS_67_CHOICE

bool

Use pad 67 as UART0 CTS.

DRIVER_UART0_PAD_CTS_68_CHOICE

bool

Use pad 68 as UART0 CTS.

DRIVER_UART0_PAD_CTS_DEFAULT_CHOICE

bool

Use default pad (pad40) as UART0 CTS.

DRIVER_UART0_PAD_RTS_34_CHOICE

bool

Use pad 34 as UART0 RTS.

DRIVER_UART0_PAD_RTS_35_CHOICE

bool

Use pad 35 as UART0 RTS.

DRIVER_UART0_PAD_RTS_40_CHOICE

bool

Use pad 40 as UART0 RTS.

DRIVER_UART0_PAD_RTS_41_CHOICE

bool

Use pad 41 as UART0 RTS.

DRIVER_UART0_PAD_RTS_42_CHOICE

bool

Use pad 42 as UART0 RTS.

DRIVER_UART0_PAD_RTS_43_CHOICE

bool

Use pad 43 as UART0 RTS.

DRIVER_UART0_PAD_RTS_44_CHOICE

bool

Use pad 44 as UART0 RTS.

DRIVER_UART0_PAD_RTS_45_CHOICE

bool

Use pad 45 as UART0 RTS.

DRIVER_UART0_PAD_RTS_60_CHOICE

bool

Use pad 60 as UART0 RTS.

DRIVER_UART0_PAD_RTS_61_CHOICE

bool

Use pad 61 as UART0 RTS.

DRIVER_UART0_PAD_RTS_62_CHOICE

bool

Use pad 62 as UART0 RTS.

DRIVER_UART0_PAD_RTS_63_CHOICE

bool

Use pad 63 as UART0 RTS.

DRIVER_UART0_PAD_RTS_67_CHOICE

bool

Use pad 67 as UART0 RTS.

DRIVER_UART0_PAD_RTS_68_CHOICE

bool

Use pad 68 as UART0 RTS.

DRIVER_UART0_PAD_RTS_DEFAULT_CHOICE

bool

Use Default pad (Pad34) as UART0 RTS.

DRIVER_UART0_PAD_RX_34_CHOICE

bool

Use Pad34 as UART0 RX.

DRIVER_UART0_PAD_RX_35_CHOICE

bool

Use Pad35 as UART0 RX.

DRIVER_UART0_PAD_RX_40_CHOICE

bool

Use Pad40 as UART0 RX.

DRIVER_UART0_PAD_RX_41_CHOICE

bool

Use Pad41 as UART0 RX.

DRIVER_UART0_PAD_RX_42_CHOICE

bool

Use Pad42 as UART0 RX.

DRIVER_UART0_PAD_RX_43_CHOICE

bool

Use Pad43 as UART0 RX.

DRIVER_UART0_PAD_RX_44_CHOICE

bool

Use Pad44 as UART0 RX.

DRIVER_UART0_PAD_RX_45_CHOICE

bool

Use Pad45 as UART0 RX.

DRIVER_UART0_PAD_RX_60_CHOICE

bool

Use Pad60 as UART0 RX.

DRIVER_UART0_PAD_RX_61_CHOICE

bool

Use Pad61 as UART0 RX.

DRIVER_UART0_PAD_RX_62_CHOICE

bool

Use Pad62 as UART0 RX.

DRIVER_UART0_PAD_RX_63_CHOICE

bool

Use Pad63 as UART0 RX.

DRIVER_UART0_PAD_RX_67_CHOICE

bool

Use Pad67 as UART0 RX.

DRIVER_UART0_PAD_RX_68_CHOICE

bool

Use Pad68 as UART0 RX.

DRIVER_UART0_PAD_RX_DEFAULT_CHOICE

bool

Use the default pad for UART0 RX (Pad44).

DRIVER_UART0_PAD_TX_34_CHOICE

bool

Use Pad34 as UART0 TX.

DRIVER_UART0_PAD_TX_35_CHOICE

bool

Use Pad35 as UART0 TX.

DRIVER_UART0_PAD_TX_40_CHOICE

bool

Use Pad40 as UART0 TX.

DRIVER_UART0_PAD_TX_41_CHOICE

bool

Use Pad41 as UART0 TX.

DRIVER_UART0_PAD_TX_42_CHOICE

bool

Use Pad42 as UART0 TX.

DRIVER_UART0_PAD_TX_43_CHOICE

bool

Use Pad43 as UART0 TX.

DRIVER_UART0_PAD_TX_44_CHOICE

bool

Use Pad44 as UART0 TX.

DRIVER_UART0_PAD_TX_45_CHOICE

bool

Use Pad45 as UART0 TX.

DRIVER_UART0_PAD_TX_60_CHOICE

bool

Use Pad60 as UART0 TX.

DRIVER_UART0_PAD_TX_61_CHOICE

bool

Use Pad61 as UART0 TX.

DRIVER_UART0_PAD_TX_62_CHOICE

bool

Use Pad62 as UART0 TX.

DRIVER_UART0_PAD_TX_63_CHOICE

bool

Use Pad63 as UART0 TX.

DRIVER_UART0_PAD_TX_67_CHOICE

bool

Use Pad67 as UART0 TX.

DRIVER_UART0_PAD_TX_68_CHOICE

bool

Use Pad68 as UART0 TX.

DRIVER_UART0_PAD_TX_DEFAULT_CHOICE

bool

Configure UART0’s TX pad to be the default one (Pad45)

DRIVER_UART0_PARITY_DISABLE_CHOICE

bool

Disable UART0 parity

DRIVER_UART0_PARITY_ENABLE_CHOICE

bool

Enable UART0 parity

DRIVER_UART0_PHASE_FIRST_CLK_EDGE_CHOICE

bool

Configure UART0’s phase to be sampled on first clock edge

DRIVER_UART0_PHASE_SECOND_CLK_EDGE_CHOICE

bool

Configure UART0’s phase to be sampled on second clock edge

DRIVER_UART0_POLARITY_INVERTED_CHOICE

bool

Configure UART0 polarity to “Inverted”

DRIVER_UART0_POLARITY_NORMAL_CHOICE

bool

Configure UART0 polarity to “Normal”

DRIVER_UART0_RX_DISABLE_CHOICE

bool

Disable UART0 RX

DRIVER_UART0_RX_ENABLE_CHOICE

bool

Enable UART0 RX

DRIVER_UART0_STOP_BIT_ONE_CHOICE

bool

Configure UART0’s stop bit number to 1

DRIVER_UART0_STOP_BIT_TWO_CHOICE

bool

Configure UART0’s stop bit number to 2

DRIVER_UART0_TX_DISABLE_CHOICE

bool

Disable UART0 TX

DRIVER_UART0_TX_ENABLE_CHOICE

bool

Enable UART0 TX

DRIVER_UART0_WORDSIZE_5BITS_CHOICE

bool

Configure UART0’s wordsize to 5 bits

DRIVER_UART0_WORDSIZE_6BITS_CHOICE

bool

Configure UART0’s wordsize to 6 bits

DRIVER_UART0_WORDSIZE_7BITS_CHOICE

bool

Configure UART0’s wordsize to 7 bits

DRIVER_UART0_WORDSIZE_8BITS_CHOICE

bool

Configure UART0’s wordsize to 8 bits

UART1

Name

Type

Description

DRIVER_UART1

bool

Add UDMA UART driver sources to the compilation process and enable the devicetree UART1 definition to be outputed to user code. UART1

DRIVER_UART1_BAUDRATE_1152000_CHOICE

bool

Configure UART1’s baudrate to 1152000

DRIVER_UART1_BAUDRATE_115200_CHOICE

bool

Configure UART1’s baudrate to 115200

DRIVER_UART1_BAUDRATE_19200_CHOICE

bool

Configure UART1’s baudrate to 19200

DRIVER_UART1_BAUDRATE_230400_CHOICE

bool

Configure UART1’s baudrate to 230400

DRIVER_UART1_BAUDRATE_38400_CHOICE

bool

Configure UART1’s baudrate to 38400

DRIVER_UART1_BAUDRATE_460800_CHOICE

bool

Configure UART1’s baudrate to 460800

DRIVER_UART1_BAUDRATE_57600_CHOICE

bool

Configure UART1’s baudrate to 57600

DRIVER_UART1_BAUDRATE_921600_CHOICE

bool

Configure UART1’s baudrate to 921600

DRIVER_UART1_BAUDRATE_9600_CHOICE

bool

Configure UART1’s baudrate to 9600

DRIVER_UART1_BAUDRATE_CUSTOM_CHOICE

bool

Configure UART1’s baudrate to a custom value

DRIVER_UART1_BAUDRATE_CUSTOM_VALUE

int

Specify a custom baudrate value for UART1 peripheral

DRIVER_UART1_CLKSRC_FLL_CHOICE

bool

Set FLL as UART1 clock source

DRIVER_UART1_CLKSRC_REF_FAST_CHOICE

bool

Set Ref Fast Clock as UART1 clock source

DRIVER_UART1_CONTROL_FLOW_DISABLE_CHOICE

bool

Disable UART1 Control Flow

DRIVER_UART1_CONTROL_FLOW_ENABLE_CHOICE

bool

Enable UART1 Control Flow

DRIVER_UART1_PAD_CTS_34_CHOICE

bool

Use pad 34 as UART1 CTS.

DRIVER_UART1_PAD_CTS_35_CHOICE

bool

Use pad 35 as UART1 CTS.

DRIVER_UART1_PAD_CTS_40_CHOICE

bool

Use pad 40 as UART1 CTS.

DRIVER_UART1_PAD_CTS_41_CHOICE

bool

Use pad 41 as UART1 CTS.

DRIVER_UART1_PAD_CTS_42_CHOICE

bool

Use pad 42 as UART1 CTS.

DRIVER_UART1_PAD_CTS_43_CHOICE

bool

Use pad 43 as UART1 CTS.

DRIVER_UART1_PAD_CTS_44_CHOICE

bool

Use pad 44 as UART1 CTS.

DRIVER_UART1_PAD_CTS_45_CHOICE

bool

Use pad 45 as UART1 CTS.

DRIVER_UART1_PAD_CTS_60_CHOICE

bool

Use pad 60 as UART1 CTS.

DRIVER_UART1_PAD_CTS_61_CHOICE

bool

Use pad 61 as UART1 CTS.

DRIVER_UART1_PAD_CTS_62_CHOICE

bool

Use pad 62 as UART1 CTS.

DRIVER_UART1_PAD_CTS_63_CHOICE

bool

Use pad 63 as UART1 CTS.

DRIVER_UART1_PAD_CTS_67_CHOICE

bool

Use pad 67 as UART1 CTS.

DRIVER_UART1_PAD_CTS_68_CHOICE

bool

Use pad 68 as UART1 CTS.

DRIVER_UART1_PAD_CTS_DEFAULT_CHOICE

bool

Use default pad (pad40) as UART1 CTS.

DRIVER_UART1_PAD_RTS_34_CHOICE

bool

Use pad 34 as UART1 RTS.

DRIVER_UART1_PAD_RTS_35_CHOICE

bool

Use pad 35 as UART1 RTS.

DRIVER_UART1_PAD_RTS_40_CHOICE

bool

Use pad 40 as UART1 RTS.

DRIVER_UART1_PAD_RTS_41_CHOICE

bool

Use pad 41 as UART1 RTS.

DRIVER_UART1_PAD_RTS_42_CHOICE

bool

Use pad 42 as UART1 RTS.

DRIVER_UART1_PAD_RTS_43_CHOICE

bool

Use pad 43 as UART1 RTS.

DRIVER_UART1_PAD_RTS_44_CHOICE

bool

Use pad 44 as UART1 RTS.

DRIVER_UART1_PAD_RTS_45_CHOICE

bool

Use pad 45 as UART1 RTS.

DRIVER_UART1_PAD_RTS_60_CHOICE

bool

Use pad 60 as UART1 RTS.

DRIVER_UART1_PAD_RTS_61_CHOICE

bool

Use pad 61 as UART1 RTS.

DRIVER_UART1_PAD_RTS_62_CHOICE

bool

Use pad 62 as UART1 RTS.

DRIVER_UART1_PAD_RTS_63_CHOICE

bool

Use pad 63 as UART1 RTS.

DRIVER_UART1_PAD_RTS_67_CHOICE

bool

Use pad 67 as UART1 RTS.

DRIVER_UART1_PAD_RTS_68_CHOICE

bool

Use pad 68 as UART1 RTS.

DRIVER_UART1_PAD_RTS_DEFAULT_CHOICE

bool

Use Default pad (Pad34) as UART1 RTS.

DRIVER_UART1_PAD_RX_34_CHOICE

bool

Use Pad34 as UART1 RX.

DRIVER_UART1_PAD_RX_35_CHOICE

bool

Use Pad35 as UART1 RX.

DRIVER_UART1_PAD_RX_40_CHOICE

bool

Use Pad40 as UART1 RX.

DRIVER_UART1_PAD_RX_41_CHOICE

bool

Use Pad41 as UART1 RX.

DRIVER_UART1_PAD_RX_42_CHOICE

bool

Use Pad42 as UART1 RX.

DRIVER_UART1_PAD_RX_43_CHOICE

bool

Use Pad43 as UART1 RX.

DRIVER_UART1_PAD_RX_44_CHOICE

bool

Use Pad44 as UART1 RX.

DRIVER_UART1_PAD_RX_45_CHOICE

bool

Use Pad45 as UART1 RX.

DRIVER_UART1_PAD_RX_60_CHOICE

bool

Use Pad60 as UART1 RX.

DRIVER_UART1_PAD_RX_61_CHOICE

bool

Use Pad61 as UART1 RX.

DRIVER_UART1_PAD_RX_62_CHOICE

bool

Use Pad62 as UART1 RX.

DRIVER_UART1_PAD_RX_63_CHOICE

bool

Use Pad63 as UART1 RX.

DRIVER_UART1_PAD_RX_67_CHOICE

bool

Use Pad67 as UART1 RX.

DRIVER_UART1_PAD_RX_68_CHOICE

bool

Use Pad68 as UART1 RX.

DRIVER_UART1_PAD_RX_DEFAULT_CHOICE

bool

Use the default pad for UART1 RX (Pad44).

DRIVER_UART1_PAD_TX_34_CHOICE

bool

Use Pad34 as UART1 TX.

DRIVER_UART1_PAD_TX_35_CHOICE

bool

Use Pad35 as UART1 TX.

DRIVER_UART1_PAD_TX_40_CHOICE

bool

Use Pad40 as UART1 TX.

DRIVER_UART1_PAD_TX_41_CHOICE

bool

Use Pad41 as UART1 TX.

DRIVER_UART1_PAD_TX_42_CHOICE

bool

Use Pad42 as UART1 TX.

DRIVER_UART1_PAD_TX_43_CHOICE

bool

Use Pad43 as UART1 TX.

DRIVER_UART1_PAD_TX_44_CHOICE

bool

Use Pad44 as UART1 TX.

DRIVER_UART1_PAD_TX_45_CHOICE

bool

Use Pad45 as UART1 TX.

DRIVER_UART1_PAD_TX_60_CHOICE

bool

Use Pad60 as UART1 TX.

DRIVER_UART1_PAD_TX_61_CHOICE

bool

Use Pad61 as UART1 TX.

DRIVER_UART1_PAD_TX_62_CHOICE

bool

Use Pad62 as UART1 TX.

DRIVER_UART1_PAD_TX_63_CHOICE

bool

Use Pad63 as UART1 TX.

DRIVER_UART1_PAD_TX_67_CHOICE

bool

Use Pad67 as UART1 TX.

DRIVER_UART1_PAD_TX_68_CHOICE

bool

Use Pad68 as UART1 TX.

DRIVER_UART1_PAD_TX_DEFAULT_CHOICE

bool

Configure UART1’s TX pad to be the default one (Pad45)

DRIVER_UART1_PARITY_DISABLE_CHOICE

bool

Disable UART1 parity

DRIVER_UART1_PARITY_ENABLE_CHOICE

bool

Enable UART1 parity

DRIVER_UART1_PHASE_FIRST_CLK_EDGE_CHOICE

bool

Configure UART1’s phase to be sampled on first clock edge

DRIVER_UART1_PHASE_SECOND_CLK_EDGE_CHOICE

bool

Configure UART1’s phase to be sampled on second clock edge

DRIVER_UART1_POLARITY_INVERTED_CHOICE

bool

Configure UART1 polarity to “Inverted”

DRIVER_UART1_POLARITY_NORMAL_CHOICE

bool

Configure UART1 polarity to “Normal”

DRIVER_UART1_RX_DISABLE_CHOICE

bool

Disable UART1 RX

DRIVER_UART1_RX_ENABLE_CHOICE

bool

Enable UART1 RX

DRIVER_UART1_STOP_BIT_ONE_CHOICE

bool

Configure UART1’s stop bit number to 1

DRIVER_UART1_STOP_BIT_TWO_CHOICE

bool

Configure UART1’s stop bit number to 2

DRIVER_UART1_TX_DISABLE_CHOICE

bool

Disable UART1 TX

DRIVER_UART1_TX_ENABLE_CHOICE

bool

Enable UART1 TX

DRIVER_UART1_WORDSIZE_5BITS_CHOICE

bool

Configure UART1’s wordsize to 5 bits

DRIVER_UART1_WORDSIZE_6BITS_CHOICE

bool

Configure UART1’s wordsize to 6 bits

DRIVER_UART1_WORDSIZE_7BITS_CHOICE

bool

Configure UART1’s wordsize to 7 bits

DRIVER_UART1_WORDSIZE_8BITS_CHOICE

bool

Configure UART1’s wordsize to 8 bits

UARTUSB

Name

Type

Description

DRIVER_UARTUSB

bool

This option is available only if the hardware setup has such hardware. This option enables the generation of an UART USB device from the device tree, which is accessible from user code. Its properties

DRIVER_UARTUSB_BAUDRATE_1152000_CHOICE

bool

Configure the UART USB device baudrate to 1152000 bauds

DRIVER_UARTUSB_BAUDRATE_115200_CHOICE

bool

Configure the UART USB device baudrate to 115200 bauds

DRIVER_UARTUSB_BAUDRATE_19200_CHOICE

bool

Configure the UART USB device baudrate to 19200 bauds

DRIVER_UARTUSB_BAUDRATE_230400_CHOICE

bool

Configure the UART USB device baudrate to 230400 bauds

DRIVER_UARTUSB_BAUDRATE_38400_CHOICE

bool

Configure the UART USB device baudrate to 38400 bauds

DRIVER_UARTUSB_BAUDRATE_460800_CHOICE

bool

Configure the UART USB device baudrate to 460800 bauds

DRIVER_UARTUSB_BAUDRATE_57600_CHOICE

bool

Configure the UART USB device baudrate to 57600 bauds

DRIVER_UARTUSB_BAUDRATE_921600_CHOICE

bool

Configure the UART USB device baudrate to 921600 bauds

DRIVER_UARTUSB_BAUDRATE_9600_CHOICE

bool

Configure the UART USB device baudrate to 9600 bauds

DRIVER_UARTUSB_BAUDRATE_CUSTOM_CHOICE

bool

Configure the UART USB device baudrate to 1152000 bauds

DRIVER_UARTUSB_BAUDRATE_CUSTOM_VALUE

int

Specify a custom baudrate value for UARTUSB peripheral

DRIVER_UARTUSB_CLKSRC_FLL_CHOICE

bool

Set FLL as UARTUSB clock source

DRIVER_UARTUSB_CLKSRC_REF_FAST_CHOICE

bool

Set Ref Fast Clock as UARTUSB clock source

DRIVER_UARTUSB_CONTROL_FLOW_DISABLE_CHOICE

bool

Disable UARTUSB Control Flow

DRIVER_UARTUSB_CONTROL_FLOW_ENABLE_CHOICE

bool

Enable UARTUSB Control Flow

DRIVER_UARTUSB_ID_0_CHOICE

bool

This option configure the UART0 to stream data from GAP to the host via the board USB connector.

DRIVER_UARTUSB_ID_1_CHOICE

bool

This option configure the UART1 to stream data from GAP to the host via the board USB connector.

DRIVER_UARTUSB_PARITY_DISABLE_CHOICE

bool

Disable UARTUSB parity

DRIVER_UARTUSB_PARITY_ENABLE_CHOICE

bool

Enable UARTUSB parity

DRIVER_UARTUSB_PHASE_FIRST_CLK_EDGE_CHOICE

bool

Configure UARTUSB’s phase to be sampled on first clock edge

DRIVER_UARTUSB_PHASE_SECOND_CLK_EDGE_CHOICE

bool

Configure UARTUSB’s phase to be sampled on second clock edge

DRIVER_UARTUSB_POLARITY_INVERTED_CHOICE

bool

Configure UARTUSB polarity to “Inverted”

DRIVER_UARTUSB_POLARITY_NORMAL_CHOICE

bool

Configure UARTUSB polarity to “Normal”

DRIVER_UARTUSB_RX_DISABLE_CHOICE

bool

Disable UARTUSB RX

DRIVER_UARTUSB_RX_ENABLE_CHOICE

bool

Enable UARTUSB TX

DRIVER_UARTUSB_STOP_BIT_ONE_CHOICE

bool

Configure UARTUSB’s stop bit number to 1

DRIVER_UARTUSB_STOP_BIT_TWO_CHOICE

bool

Configure UARTUSB’s stop bit number to 2

DRIVER_UARTUSB_TX_DISABLE_CHOICE

bool

Disable UARTUSB TX

DRIVER_UARTUSB_TX_ENABLE_CHOICE

bool

Enable UARTUSB TX

DRIVER_UARTUSB_WORDSIZE_5BITS_CHOICE

bool

Configure UARTUSB’s wordsize to 5 bits

DRIVER_UARTUSB_WORDSIZE_6BITS_CHOICE

bool

Configure UARTUSB’s wordsize to 6 bits

DRIVER_UARTUSB_WORDSIZE_7BITS_CHOICE

bool

Configure UARTUSB’s wordsize to 7 bits

DRIVER_UARTUSB_WORDSIZE_8BITS_CHOICE

bool

Configure UARTUSB’s wordsize to 8 bits

UDMAAES

Name

Type

Description

DRIVER_UDMAAES

bool

Add UDMA AES driver sources to the compilation process. Automatically enables the QUIDIKKEY driver.

UDMACPI

Name

Type

Description

DRIVER_UDMACPI

bool

Add UDMA CPI driver sources to the compilation process.

UDMACSI2

Name

Type

Description

DRIVER_UDMACSI2

bool

Add UDMA CSI2 driver sources to the compilation process.

UDMADATAMOVE

Name

Type

Description

DRIVER_UDMADATAMOVE

bool

Add UDMA DATAMOVE driver sources to the compilation process.

UDMAFIFO

Name

Type

Description

DRIVER_UDMAFIFO

bool

Add UDMA FIFO driver sources to the compilation process.

UDMAHYPERBUS

Name

Type

Description

DRIVER_UDMAHYPERBUS

bool

Add UDMA HYPERBUS driver sources to the compilation process. Automatically enables the UDMA AES.

UDMAOCTOSPI

Name

Type

Description

DRIVER_UDMAOCTOSPI

bool

Add UDMA OCTOSPI driver sources to the compilation process. Automatically enables the UDMA AES.

UDMATIMEOUT

Name

Type

Description

DRIVER_UDMATIMEOUT

bool

Add UDMA TIMEOUT driver sources to the compilation process.

UDMATIMESTAMP

Name

Type

Description

DRIVER_UDMATIMESTAMP

bool

Add UDMA TIMESTAMP driver sources to the compilation process.

UDMAUART

Name

Type

Description

DRIVER_UDMAUART

bool

Add UDMA UART driver sources to the compilation process. Automatically enables the UDMA TIMEOUT Driver.

VFS

Name

Type

Description

DRIVER_VFS

bool

Add Virtual FS driver sources into the compilation process. Automatically enables the PARTITION driver.

VIRTUALEEPROM

Name

Type

Description

DRIVER_VIRTUALEEPROM

bool

Add 24XX1025 driver sources to the compilation process. Automatically enables I2C driver. This option is available only if the hardware setup has such hardware.

WATCHDOG

Name

Type

Description

DRIVER_WATCHDOG

bool

Enable watchdog driver.

WRITEFS

Name

Type

Description

DRIVER_WRITEFS

bool

Add Write FS driver sources into the compilation process. Automatically enables the PARTITION driver.

XIP

Name

Type

Description

DRIVER_XIP

bool

Add XIP driver sources to the compilation process. The linker_script will automatically be set to the XIP one.

File systems

Name

Type

Description

LITTLEFS_FLASH_TYPE_DEFAULT

bool

Configure the LittleFS flash type to be the default one.

LITTLEFS_FLASH_TYPE_HYPER

bool

Set Hyperflash as the LittleFS flash type

LITTLEFS_FLASH_TYPE_MRAM

bool

Set eMRAM as the LittleFS flash type

LITTLEFS_FLASH_TYPE_OSPI

bool

Set OctoSPI as the LittleFS flash type

LITTLEFS_FLASH_TYPE_QSPI

bool

Set QuadSPI as the LittleFS flash type

MODEL_SKIP_ADD_FILE_TO_FS

bool

Skip adding the flashing of the .dat file(s) generated by the Autotiler

READFS_FLASH_TYPE_DEFAULT

bool

Configure the ReadFS flash type to be the default one.

READFS_FLASH_TYPE_HYPER

bool

Set Hyperflash as the ReadFS flash type

READFS_FLASH_TYPE_MRAM

bool

Set eMRAM as the ReadFS flash type

READFS_FLASH_TYPE_OSPI

bool

Set OctoSPI as the ReadFS flash type

READFS_FLASH_TYPE_QSPI

bool

Set QuadSPI as the ReadFS flash type

VFS_NB

int

Number of VFS

Flash Layout

Name

Type

Description

FLASH_LAYOUT_CUSTOM

bool

Custom layout provided by used

FLASH_LAYOUT_DEFAULT

bool

Default flash layout from gapy.

FLASH_LAYOUT_PATH

string

Indicate the location of a custom layout from a cmake source directory

FreeRTOS

Name

Type

Description

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL

string

Select the FreeRTOS kernel optimization level Available values:

-0s -03 -02 -01 -0g -00

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_GLOBAL

bool

Optimize the FreeRTOS Kernel library as the main setting. See CFLAGS_GLOBAL_OPTIM_LEVEL option.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_O0

bool

Optimize FreeRTOS Kernel library to “-O0” level.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_O1

bool

Optimize FreeRTOS Kernel library to “-O1” level.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_O2

bool

Optimize FreeRTOS Kernel library to “-O2” level.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_O3

bool

Optimize FreeRTOS Kernel library to “-O3” level.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_OG

bool

Optimize FreeRTOS Kernel library to “-Og” level.

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_OS

bool

Optimize FreeRTOS Kernel to “-Os” level.

ERROR_CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL

string

Error generated when the freertos kernel optimization level is set to an invalid value

FREERTOS_MAX_PRIORITIES

int

Configure FreeRTOS task’s max priority

FREERTOS_NATIVE_SCHEDULER

bool

Use FreeRTOS native scheduler.

FREERTOS_QUANTUM_US

int

Set FreeRTOS quantom (in us) for preemption (and time slicing if on).

FREERTOS_SCHEDULER_NOTIF_ALL

bool

Enable all actions for task notification. Otherwise only “eIncrement” action exists.

FREERTOS_SCHEDULER_SEM_BLOCKTIME

bool

Enable the FreeRTOS semaphores block time feature.

FREERTOS_SCHEDULER_THREADS

bool

Enable synchronisation between threads.

FREERTOS_SCHEDULER_V2

bool

Use version 2 of the scheduler.

FREERTOS_SCHEDULER_V2_DEBUG_MODE

bool

Enable it to use freertos-gdb plugin and to dump not ready threads stack usage. Be aware that it DECREASES performances !

FREERTOS_THREADS_START_AT_CREATION

bool

Threads start automatically at creation. Native FreeRTOS behavior.

FREERTOS_TICK_RATE_HZ

int

Configure FreeRTOS tick rate expressed in Hz.

FREERTOS_USE_PREEMPTION

bool

Enable threads preemption (preemptive scheduler). Otherwise it uses the cooperative scheduler.

FREERTOS_USE_QUEUE_SETS

bool

Enable the use of freertos queue sets

FREERTOS_USE_SYSTICK

bool

Enable to use a systick (time-slicing) in FreeRTOS. Otherwise only hw timers will work, and no time slicing will be possible.

FREERTOS_USE_TIMERS

bool

Include software timers functionality.

FREERTOS_USE_TIME_SLICING

bool

Enable time slicing between threads with same prio.

FREERTOS_USE_TRACE_FACILITIES

bool

Enable to use Freertos kernel traces.

WARNING_CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_DEPRECATION

string

CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL_Ox deprecation warning Use CFLAGS_FREERTOS_KERNEL_OPTIM_LEVEL set to “-Ox” instead (x=s,3,2,1,0,g)

Frequency

Name

Type

Description

FAST_OSC

bool

Indicates that the ref fast clock is used by the system

FAST_OSC_FREQUENCY

int

Specify the ref fast clock frequency

FREQUENCY_CLUSTER

int

Configure the Cluster clock frequency at startup

FREQUENCY_FC

int

Configure the Fabric controller (or SOC) clock frequency at startup

FREQUENCY_FPGA

int

Specify the FPGA frequency for tests.

FREQUENCY_PERIPH

int

Configure the PERIPH clock frequency at startup

FREQUENCY_SFU

int

Configure the SFU clock frequency at startup

SLOW_OSC

bool

Indicates that the slow clock is used by the system

GAP CLI

Name

Type

Description

GAP_CLI_DEBUG

bool

Enables debug mode for GAP CLI

GAP_CLI_DEVICE_SPI

bool

Use SPI for communications

GAP_CLI_DEVICE_UART

bool

Use UART for communications

GAP_CLI_FEATURE_ALL

bool

Enable all features on GAP CLI

GAP_CLI_FEATURE_FLASHER

bool

Enable flasher features on GAP CLI

GAP_CLI_FEATURE_HOST_SYNC

bool

Enable host sync features on GAP CLI

GAP_CLI_FEATURE_JTAG

bool

Enable JTAG features on GAP CLI

GAP_CLI_FEATURE_POWER

bool

Enable power features on GAP CLI

GAP_CLI_FEATURE_SECURITY

bool

Enable security features on GAP CLI It requires ssbl features

GAP_CLI_FEATURE_SLEEP

bool

Enable sleep features on GAP CLI

GAP_CLI_FEATURE_SSBL

bool

Enable ssbl features on GAP CLI

GAP_CLI_GVSOC_PROXY_PORT

int

Configure GVSOC proxy port for GAP CLI

GAP_CLI_PROTOCOL_CUSTOM

bool

Use a custom protocol. Otherwise use the default GWT one.

GAP_CLI_PROTOCOL_CUSTOM_PATH

string

Relative path, to the GAP_SDK_HOME env var, of the custom GAP CLI protocol folder.

GAP_CLI_SPI_ITF_1

bool

Select SPI1 as SPI interface for GAP CLI This option requires ENABLE_GAP_CLI option to be enabled to be used.

GAP_CLI_SPI_ITF_2

bool

Select SPI2 as SPI interface for GAP CLI This option requires ENABLE_GAP_CLI option to be enabled to be used.

GAP_CLI_UART_BAUDRATE_115200

bool

Configure GAP CLI interface baudrate to 115200 bauds

GAP_CLI_UART_BAUDRATE_19200

bool

Configure GAP CLI interface baudrate to 19200 bauds

GAP_CLI_UART_BAUDRATE_230400

bool

Configure GAP CLI interface baudrate to 230400 bauds

GAP_CLI_UART_BAUDRATE_38400

bool

Configure GAP CLI interface baudrate to 38400 bauds

GAP_CLI_UART_BAUDRATE_460800

bool

Configure GAP CLI interface baudrate to 460800 bauds

GAP_CLI_UART_BAUDRATE_57600

bool

Configure GAP CLI interface baudrate to 57600 bauds

GAP_CLI_UART_BAUDRATE_921600

bool

Configure GAP CLI interface baudrate to 921600 bauds

GAP_CLI_UART_BAUDRATE_9600

bool

Configure GAP CLI interface baudrate to 9600 bauds

GAP_CLI_UART_FC

bool

Enables flow control for GAP CLI UART interface

GAP_CLI_UART_ITF_0

bool

Select UART0 as UART interface for GAP CLI This option requires ENABLE_GAP_CLI option to be enabled to be used.

GAP_CLI_UART_ITF_1

bool

Select UART1 as UART interface for GAP CLI This option requires ENABLE_GAP_CLI option to be enabled to be used.

GDB

Name

Type

Description

GDB_SERVER

bool

Configure GAPY to run GDB Server.

GDB_SERVER_PORT

int

You can choose any number you want as long as it does not conflict with any TCP ports already in use on the target system.

Libraries

Name

Type

Description

LIB_BASELIBC

bool

Enable extended part of baselibc. Add related sources to the compilation process.

LIB_FRAME_STREAMER

bool

Enables Frame Streamer library. Add related sources to the compilation process.

LIB_MBEDTLS

bool

Enables mbedTLS library. Add related sources to the compilation process.

LIB_OPENMP

bool

Enables openMP library. Add related sources to the compilation process.

LIB_SINE_GENERATOR

bool

Provide a function to generate a sine in a buffer from arguments.

LIB_XXHASH32

bool

Provide a function to compute xxhash32 checksums.

Gap Lib

Name

Type

Description

LIB_GAP_LIB

bool

Enable GAP LIB

LIB_GAP_LIB_FILE_IO

bool

Enables the FILE IO library. Add related sources to the compilation process.

LIB_GAP_LIB_G722_ENC_DEC

bool

Enable G722 encoder decoder.

LIB_GAP_LIB_G722_ENC_DEC_RUN_ON_FC

bool

Run G722 codec on FC. This option requires LIB_GAP_LIB_G722_ENC_DEC to be enabled to be used

LIB_GAP_LIB_IMG_IO

bool

Enable IMG IO library. Automatically enables the Host FS driver.

LIB_GAP_LIB_IMG_IO_EMUL

bool

This option requires LIB_GAP_LIB_IMG_IO to be enabled to be used Enables __EMUL__ flag into GapLib.

LIB_GAP_LIB_JPEG

bool

Enables JPEG library Add related sources to the compilation process.

LIB_GAP_LIB_JPEG_COLORS

bool

Use the JPEG encoder for a colors image. Otherwise will be use with grayscale configuration.

This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

LIB_GAP_LIB_TESTBENCH

bool

Enables the testbench. Add related sources to the compilation process.

LIB_GAP_LIB_TESTBENCH_UART_BAUDRATE

int

Baudrate of the uart used by the testbench.

LIB_GAP_LIB_TESTBENCH_UART_ID

int

ID of the uart used by the testbench.

LIB_GAP_LIB_WAV_IO

bool

Enables the WAV IO library. Add related sources to the compilation process.

LIB_GAP_LIB_WAV_IO_EMUL

bool

Use the WAV IO library in an emulation context This option requires LIB_GAP_LIB_WAV_IO option to be enabled to be used.

SFU

Name

Type

Description

LIB_SFU

bool

Previous name of DRIVER_SFU option. Automatically triggers DRIVER_SFU Used to trigger a deprecation warning

LIB_SFU_LEGACY

bool

Previous name of DRIVER_SFU_RUNTIME_LEGACY option. Automatically triggers DRIVER_SFU_RUNTIME_LEGACY Used to trigger a deprecation warning

LIB_SFU_OPTION_AUDIO_SW_QUEUES

bool

Previous name of DRIVER_SFU_OPTION_AUDIO_SW_QUEUES option. Automatically triggers DRIVER_SFU_OPTION_AUDIO_SW_QUEUES Used to trigger a deprecation warning

LIB_SFU_OPTION_CMD_QUEUE

bool

Previous name of DRIVER_SFU_OPTION_CMD_QUEUE option. Automatically triggers DRIVER_SFU_OPTION_CMD_QUEUE Used to trigger a deprecation warning

LIB_SFU_OPTION_DEBUG

bool

Previous name of DRIVER_SFU_OPTION_DEBUG option. Automatically triggers DRIVER_SFU_OPTION_DEBUG Used to trigger a deprecation warning

LIB_SFU_OPTION_DOUBLE_CHECK

bool

Previous name of DRIVER_SFU_OPTION_DOUBLE_CHECK option. Automatically triggers DRIVER_SFU_OPTION_DOUBLE_CHECK Used to trigger a deprecation warning

LIB_SFU_OPTION_MALLOC_STRESS

bool

Previous name of DRIVER_SFU_OPTION_MALLOC_STRESS option. Automatically triggers DRIVER_SFU_OPTION_MALLOC_STRESS Used to trigger a deprecation warning

LIB_SFU_V2

bool

Previous name of DRIVER_SFU_RUNTIME_V2 option. Automatically triggers DRIVER_SFU_RUNTIME_V2 Used to trigger a deprecation warning

WARNING_LIB_SFU_LEGACY_OPTION_DEPRECATION

string

CONFIG_LIB_SFU_LEGACY deprecation warning

WARNING_LIB_SFU_OPTION_AUDIO_SW_QUEUES_OPTION_DEPRECATION

string

LIB_SFU_OPTION_AUDIO_SW_QUEUES deprecation warning

WARNING_LIB_SFU_OPTION_CMD_QUEUE_OPTION_DEPRECATION

string

LIB_SFU_OPTION_CMD_QUEUE deprecation warning

WARNING_LIB_SFU_OPTION_DEBUG_OPTION_DEPRECATION

string

LIB_SFU_OPTION_DEBUG deprecation warning

WARNING_LIB_SFU_OPTION_DEPRECATION

string

LIB_SFU deprecation warning

WARNING_LIB_SFU_OPTION_DOUBLE_CHECK_OPTION_DEPRECATION

string

LIB_SFU_OPTION_DOUBLE_CHECK deprecation warning

WARNING_LIB_SFU_OPTION_MALLOC_STRESS_OPTION_DEPRECATION

string

LIB_SFU_OPTION_MALLOC_STRESS deprecation warning

WARNING_LIB_SFU_V2_OPTION_DEPRECATION

string

CONFIG_LIB_SFU_V2 deprecation warning

Log

Name

Type

Description

ERROR_PI_LOG_LEVEL_INVALID_VALUE

string

This error is generated whenever an invalid string value is set to PI_LOG_LEVEL option.

PI_LOG_LEVEL

string

Log setting used in the sdk Accepted value:

  • none (Default)

  • error

  • warning

  • info

  • debug

  • trace

PI_LOG_LEVEL_DEBUG

bool

Common information for users. App level.

PI_LOG_LEVEL_ERROR

bool

Report API errors.

PI_LOG_LEVEL_INFO

bool

System info : frequency change, voltage, …

PI_LOG_LEVEL_NONE

bool

No log output

PI_LOG_LEVEL_TRACE

bool

Information low level for driver development.

PI_LOG_LEVEL_WARNING

bool

Display warnings.

NNTool

Name

Type

Description

ENABLE_NNTOOL

bool

Enable NNTOOL in text scripting mode by setting default rules to generate model state and Autotiler model from the specified tflite/onnx and the specified NNTool script. Automatically enables AUTOTILER

NNTOOL_COPY_MODEL_TO_BUILDDIR

bool

Copy model to autotiler build directory This option requires ENABLE_NNTOOL option to be enabled to be used.

NNTOOL_EXPRESSIONS_SRC

string

Specify NNTool expressions file name. This option requires ENABLE_NNTOOL option to be enabled to be used.

NNTOOL_EXTRA_FLAGS

string

Specify NNTOOL extra flags for state creation

NNTOOL_LOGLEVEL

string

Set NNTool Log level. By default it is set to warning. This option requires ENABLE_NNTOOL option to be enabled to be used.

NNTOOL_MODEL_PATH

string

Specify model path. By default it is : model/model.tflite This option requires ENABLE_NNTOOL option to be enabled to be used.

NNTOOL_MODEL_QUANTIZED

bool

Quantize model. This option requires ENABLE_NNTOOL option to be enabled to be used.

NNTOOL_SCRIPT_PATH

string

Specify NNTOOL script path. By default, it is model/nntool_script

Others

Name

Type

Description

ASSERT_NO_EXIT

bool

If selected, the assert do not exit in case of failure.

CLUSTER_ENABLE

bool

Use GAP’s cluster

CLUSTER_IDLE_NB_CORES

int

Execute an idle task when cluster has nothing to do

CLUSTER_IDLE_NB_ITER

int

Execute an idle task when cluster has nothing to do

CLUSTER_IDLE_TASK

bool

Execute an idle task when cluster has nothing to do

CLUSTER_OFF

bool

Do not run the JPEG encoder on cluster This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

CLUSTER_ON

bool

Run the JPEG encoder on cluster This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

CLUSTER_SCHEDULING_HOOK

bool

Enables the use of a custom scheduling hook for cluster cooperative scheduler.

CLUSTER_SCHEDULING_HOOK_AT_PERF

bool

Enables the use of AT generated perf metrics in custom scheduling hook.

CLUSTER_SCHEDULING_HOOK_NAMES

bool

Enables the use of AT generated node names in custom scheduling hook.

DEBUG_ASSERT

bool

This option change the implementation of “pi_assert” function. When deactivated, pi_assert function is set to ((void)0). When activated, pi_assert_function test if the param is valid (=1) or not (=0). When the parameter is no valid, it prints the LINE and FILE where it happened.

DEBUG_SEMAPHORE_REGISTER

bool

This option register semaphores used by OS. This adds memory footprint, and is only useful when using debugger.

DISABLE_WERROR

bool

This option remove “-Werror” from the GCC_C_CXX_FLAGS

ENABLE_GAP_CLI

bool

Enables GAP CLI. Automatically enables required drivers: UDMA UART, UDMA OCTOSPI, RTC & FLASH PARTITION.

ENABLE_LIBMATH

bool

This option adds “-lm” flag to the target’s ldflag list.

ENABLE_OTA_SIGN

bool

Enables signed OTA.

FLL_MAXDCO_FREQ

int

Specify the maximal frequency reachable by FLL’s DCO

GAP9MOD_CONNECTED_TO_EVK

bool

GAP9Mod is connected to an evaluation kit

GVSOC_PROXY_MODE

bool

Selecting this option activates GVSOC peripheral streaming.

GVSOC_PROXY_MODE_PORT

int

Set port for GVSOC peripheral streaming

GVSOC_W_NO_UNCONNECTED_DEVICE

bool

Selecting this option makes GVSOC not sensitive to unconnected devices.

IDC747_MODE_SINK

bool

Select mode sink for a2dp

IDC747_MODE_SOURCE

bool

Select mode source for a2dp

IDC747_PROFILE_CALL

bool

Configure the IDC747 in a call profile : AGHFP or HFP

IDC747_PROFILE_STREAM

bool

Configure the IDC747 in a stream profile : A2DP

LINKER_SCRIPT_APP

bool

Appends linker script provided by app. Will be added before final os ldscript.

LINKER_SCRIPT_APP_CUSTOM

bool

Replace system linker script by the app one.

LINKER_SCRIPT_APP_PATH

string

Indicates the location of app linker script to be used.

LINKER_SCRIPT_DEFAULT

bool

Default linker script.

LINKER_SCRIPT_EXPAND_L2_SHARED_TO_L2_PRIV0

bool

Linker script that puts the program in the L2 private0 memory area. It’s freeing the L2 Shared memory area.

LINKER_SCRIPT_UPPER_MEMORY

bool

Linker script that puts the program in the upper half of the L2 memory. This is useful for “loaders” (programs that load other programs in memory).

LINKER_SCRIPT_XIP

bool

Linker script intented to be used when the application is using XIP.

LZ4_COMPRESSION

bool

Compress app and ssbl with lz4, to save flash space.

MALLOC_NO_L2_PRIV

bool

This option disables the memory allocator in L2 private. The pi_l2_priv_malloc calls are redirected to the classic pi_l2_malloc calls.

NEW_TILER_DSP_LIB

bool

Use the DSP Library v2, v1 is deprecated

OPENOCD_SCRIPT_ABB

bool

Openocd script which leaves ABB on by default

OPENOCD_SCRIPT_DEFAULT

bool

Default openocd script.

OPENOCD_SCRIPT_SPIS

bool

Openocd script which sets boot from spislave mode (JTAG will NOT work)

OPEN_LOOP_BOOT

bool

Boot in open loop mode.

QUALITY_0

bool

Set JPEG Quality to 0. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_10

bool

Set JPEG Quality to 10. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_100

bool

Set JPEG Quality to 100. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_20

bool

Set JPEG Quality to 20. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_50

bool

Set JPEG Quality to 50. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_90

bool

Set JPEG Quality to 90. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

QUALITY_95

bool

Set JPEG Quality to 95. This option requires LIB_GAP_LIB_JPEG option to be enabled to be used.

RTL_GUI

bool

Open GUI automatically

RTL_SIMULATOR_QUESTA

bool

Select Questasim as a RTL Simulator

RTL_SIMULATOR_XCELIUM

bool

Select Xcelium as a RTL Simulator

SECURITY_SIGN_DIGEST

string

Refer to openssl digest choice (default ssbl uses sha256) This option requires ENABLE_OTA_SIGN option to be enables to be used

SECURITY_SIGN_KEY

string

Path to a key in pem format This option requires ENABLE_OTA_SIGN option to be enables to be used

SFU_GRAPH_DEBUG

bool

Previous name of DRIVER_SFU_GRAPH_DEBUG option. Automatically triggers DRIVER_SFU_GRAPH_DEBUG Used to trigger a deprecation warning

SLEEP_WITH_RETENTION

bool

Enable light sleep and deep sleep retentive features.

SPIFLASH_BAUDRATE

int

Defines spiflash’s baudrate in Hz

USE_FAST_REF_CLK_PAD

bool

Configures the GAP clock as external

USE_PRIVILEGED_MRAM

bool

Move all data that can fit into Privileged MRAM (onchip) even if not fit entirely.

WARNING_SFU_GRAPH_DEBUG_OPTION_DEPRECATION

string

SFU_GRAPH_DEBUG deprecation warning

WITHOUT_EFUSE_REG_GET

bool

Disable the efuse reg struct init when system init.

XIP

bool

Enable XIP boot.

Platforms

Name

Type

Description

PLATFORM_BOARD

bool

Execute the program on physical board

PLATFORM_FPGA

bool

Execute the program on FPGA

PLATFORM_GVSOC

bool

Execute the program on simulator

PLATFORM_RTL

bool

Execute the program on RTL. This option enables IO_TYPE_SIMULATION option automatically to get printf.

Printf IO

Name

Type

Description

AUDIO_ADDON_MODE

string

Configure audio addon mode. This option configure the right pads and SAI interface depending on the selected mode:

PDM PCM

SSM6515 Left

WS pad Disabled 57 SDO pad Disabled 59

AUDIO_ADDON_TLV320_SAI

int

Select the TLV320 SAI interface. Set to SAI1 by default WARNING: This requires a hardware modification SAI1: Default state

Solder jumper S19, S20 and S21 are closed. Solder jumper S13, S14 and S15 must be opened. Solder jumper S16, S17 and S18 must be opened.

SAI0

Solder jumper S19, S20 and S21 are closed. Solder jumper S13, S14 and S15 must be opened. Solder jumper S16, S17 and S18 must be opened.

SAI2

Solder jumpers S19, S20 and S21 must be cut/opened. Solder jumper S13, S14 and S15 must be openend. Solder jumper S16, S17 and S18 must be closed.

ERROR_AUDIO_ADDON_INVALID_MODE

string

This error is generated whenever the audio addon mode is set to an invalid value

IO_PRINTF_FLOAT_ENABLE

int

Allows printf to print floats. However, this code takes a lot of space. If this feature is not used, it can be disabled to reduce code size.

IO_PRINTF_FLOAT_EXPONENT_ENABLE

int

This option requires IO_PRINTF_FLOAT_ENABLE option to be enables to be used Thi soption is enabled by default. Format float value to exponent format.

IO_TYPE_CLI

bool

Redirect the output of printf to GAP CLI.

IO_TYPE_DISABLED

bool

Disable printf outputs.

IO_TYPE_SEMIHOSTING

bool

Redirect the output of printf to semihosting.

IO_TYPE_SIMULATION

bool

This option enables a faster printf on simulation platforms. However it does not work on real boards. This option is not available when BOARD is selected as a platform.

IO_TYPE_UART

bool

Redirect the output of printf to UART. Automatically enables Cluster UART and UDMA UART drivers.

IO_UART_BAUDRATE

int

Configure UART baudrate for printf.

IO_UART_FLOW_CONTROL

bool

Enable UART Flow control for printf.

IO_UART_ITF_0

bool

Select UART0 as printf interface.

IO_UART_ITF_1

bool

Select UART1 as printf interface.

WARNING_AUDIO_ADDON_MODE_DEPRECATED_OPTION

string

This warning is generated whenever a deprecated audio addon option is set

Stack Size

Name

Type

Description

CLUSTER_IDLE_STACK_SIZE

int

Execute an idle task when cluster has nothing to do

CL_MASTER_CORE_STACK_SIZE

int

Specify the cluster master core stack size

CL_SLAVE_CORE_STACK_SIZE

int

Specify the cluster slave core stack size

EVENT_KERNEL_STACK_SIZE

int

Specify the event kernel stack size (WARNING: do not use unless you know what you are doing)

FC_APP_MAIN_STACK_SIZE

int

Specify the fabric controller stack size

XIP

Name

Type

Description

XIP_FLASH_ADDRESS

int

Flash address used by XIP

XIP_PAGE_NUMBER

int

Number of pages to be used by XIP

XIP_PAGE_SIZE

int

XIP page size expressed as log(size) - 9

XIP_VIRTUAL_ADDRESS

hex

Virtual address used by XIP