Skip to content

File fal_cfg.h

FileList > base > config > fal_cfg.h

Go to the source code of this file.

  • #include <fal_def.h>

Public Attributes

Type Name
fal_partition_t fal_root_part
"Root" partition entry, representing the entire flash. Declared and initialized in lt_main.c.
const struct fal_flash_dev flash0

Public Functions

Type Name
void printf_nop (const char * fmt, ...)

Macros

Type Name
define FAL_DEBUG 0
define FAL_DEV_NAME_MAX 16
define FAL_FLASH_DEV_NAME "flash0"
define FAL_FLASH_DEV_TABLE { &flash0, }
define FAL_PART_HAS_TABLE_CFG
define FAL_PART_TABLE_ITEM (part_lower, part_upper)
define FAL_PRINTF printf_nop

Public Attributes Documentation

variable fal_root_part

fal_partition_t fal_root_part;

variable flash0

const struct fal_flash_dev flash0;

Public Functions Documentation

function printf_nop

inline void printf_nop (
    const char * fmt,
    ...
) 

Macro Definition Documentation

define FAL_DEBUG

#define FAL_DEBUG 0

define FAL_DEV_NAME_MAX

#define FAL_DEV_NAME_MAX 16

define FAL_FLASH_DEV_NAME

#define FAL_FLASH_DEV_NAME "flash0"

define FAL_FLASH_DEV_TABLE

#define FAL_FLASH_DEV_TABLE { &flash0, }

define FAL_PART_HAS_TABLE_CFG

#define FAL_PART_HAS_TABLE_CFG 

define FAL_PART_TABLE_ITEM

#define FAL_PART_TABLE_ITEM (
    part_lower,
    part_upper
) {                                                                                                                  \
        .magic_word = FAL_PART_MAGIC_WORD,         /* magic word */                                                    \
        .name       = #part_lower,                 /* lowercase name as string */                                      \
        .flash_name = FAL_FLASH_DEV_NAME,          /* flash device name */                                             \
        .offset     = FLASH_##part_upper##_OFFSET, /* partition offset macro as uppercase string */                    \
        .len        = FLASH_##part_upper##_LENGTH, /* partition length macro as uppercase string */                    \
    },

define FAL_PRINTF

#define FAL_PRINTF printf_nop

The documentation for this class was generated from the following file cores/common/base/config/fal_cfg.h